summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/HTML5VideoView.java
Commit message (Collapse)AuthorAgeFilesLines
* Delete the old WebView.Torne (Richard Coles)2013-10-151-383/+0
| | | | | | | | | Delete all the Java classes used only by the old WebView implementation, and also sections of common classes that were only needed for the old WebView. Bug: 10427705 Change-Id: I02549a71104b35d86d99058c71f43e054730ec7d
* Back key to dismiss full screen videoTeng-Hui Zhu2012-09-061-3/+0
| | | | | | | | Also cleanup some warnings. bug:6722752 Change-Id: Ib612cf79e9546d40a048c5f09a1be6ca37ce51f8
* Add license info to the HTML5Video files.Teng-Hui Zhu2012-08-011-0/+15
| | | | Change-Id: I44775bcdcc48d2c024b086098e140dae92f53339
* Release the media player when trimming memoryTeng-Hui Zhu2012-07-101-1/+14
| | | | Change-Id: I2bb2880546311761fc38d6208de080a66216fa2f
* Avoid redundant reload in inline mode after exit from full screen.Teng-Hui Zhu2012-06-271-5/+0
| | | | | | | | | | | | | | | bug:5710646 First, if we exit the full screen mode while playing, we can continue to play in inline mode. If it is paused, then we can avoid a reload if user try to play the same video again after the full screen mode. webkit change: https://android-git.corp.google.com/g/#/c/202138/ Change-Id: Ia69fa22a50d916cd8dd2b995cf3531fe9b637531
* Merge "Keep the controller when video ended." into jb-devTeng-Hui Zhu2012-05-111-0/+3
|\
| * Keep the controller when video ended.Teng-Hui Zhu2012-05-101-0/+3
| | | | | | | | | | | | | | | | Use the media controller as a reminder to the user when the video ended. We don't quit the video here b/c user may want to replay the video. bug:5340224 Change-Id: I6d5fdb54bb614277b75e1a18ebe0a7dadd47017e
* | Avoid inline->fullscreen reload for html5 video.Teng-Hui Zhu2012-05-101-34/+49
|/ | | | | | | | | | | Now when a user start inline play and then switch to full screen, there is no reload any more. Basically, we change mediaplayer as a static member, and detect possible situation to skip the prepare work. bug:5710646 Change-Id: Ida34cf2e919a6cc8e0d52cd1175d51b5f5d527f7
* Refactor WebView to be a thin proxy classJonathan Dixon2012-03-021-1/+1
| | | | | | | | | | | | | | | | Splits interface and implementation; all client calls are forwarded to an abstract WebViewProvider interface, and the existing implementation moved into the WebViewClassic implementor of this interface. Originally taken from a snapshot from the development branch, by: git diff HEAD 9a4c328a54cc05e5 | git apply - but then rebased to keep up to date with master Interdepends on webkit and Browser changes: https://android-git.corp.google.com/g/158979 https://android-git.corp.google.com/g/167911 Change-Id: I91403f32654ff308934e95c832d17b292a7d9b2e
* Support full screen back to back playing using javascriptTeng-Hui Zhu2012-01-181-13/+31
| | | | | | bug:5766427 Change-Id: I0117e50a3e547ac8c33cf966bef18e6d75f98660
* Query the native side to decide to play when going into full screen modeTeng-Hui Zhu2012-01-101-10/+1
| | | | | | | | | | | | | Previously we save the state in Java side, but it is better to check with native side since the exact state is already there. This will help to get the updated state from javascript too. bug:5765848 Webkit side change: https://android-git.corp.google.com/g/#/c/157866/ Change-Id: Id0316b694c1597b50a1c3b123b31efc6b0fac706
* Release the media player when exiting the full screenTeng-Hui Zhu2011-06-301-4/+12
| | | | | | | | Once we switch out from full screen mode, the player will be re-created for the next video, we should release the sources as early as possible. bug:4332676 Change-Id: I4c26523b3600d3100f81e422979236fca57beb7c
* Correctly detect when switching back from full screenTeng-Hui Zhu2011-06-011-0/+5
| | | | | | | | | In full screen mode, the play message can be trigger, that means we can't assume that the play message only comes from inline mode. bug:4498120 Change-Id: Ibf85bb74778df207a6ce786dc63b0845356a281c
* The screen shot support for inline video on Java sideTeng-Hui Zhu2011-06-011-1/+6
| | | | | | | | | | | Basically, the GL texture bound with Surface Texture is not a singleton any more. And the Surface Texture will be recreated every time a new video starts. This can help to recycle the decoder's memory while using the GL texture to show the screen shot. The corresponding webkit change is: 112500 Change-Id: I3c35f6a0abc70b9039c316ca82b236c797d81c7e
* Fix the Uri parsing issueTeng-Hui Zhu2011-05-121-3/+4
| | | | | | | Switching back to use the setDataSource with Uri, which can handle both the file and http path correctly. Change-Id: I5bfc1d01a8de0a4f8640ffceafbc17984833097a
* DO NOT MERGE : cherry pick of change Ieb7ae26b from masterTeng-Hui Zhu2011-04-071-0/+18
| | | | | | | Buffering in full screen mode will show progressView bug:4187252 Change-Id: Ia44d880ab126c2439fb13504db87492d45c90bc8
* DO NOT MERGE : cherry pick of change I0f9f2c65 from masterTeng-Hui Zhu2011-04-071-2/+6
| | | | | | | Add the loading progress UI when buffering bug:4187252 Change-Id: Ifbf63b248ac5f0e340be4057e0dcd80d33483662
* fix for pause when loadingTeng-Hui Zhu2011-03-221-6/+15
| | | | | | bug:4148903 Change-Id: Ib0b59c8c36eb5df8c6755156a5d2753f84ad9677
* Fix a crashTeng-Hui Zhu2011-03-211-6/+15
| | | | | bug:4139931 Change-Id: Ifc18f964d5aedb268eb0d5fa08db3ffed1de4ff8
* Support loading image and paused image for inline videoTeng-Hui Zhu2011-03-211-4/+17
| | | | | | bug:4142131 Change-Id: I28d82a8e30a2146a3380c63dcdcbd51228f23f56
* Fix the aspect ratio for full screen playingTeng-Hui Zhu2011-03-171-7/+0
| | | | | | bug:4116475 Change-Id: I0b04ef4a6db24a9bc5c8d0f0a987783695bc3489
* Support html5 video switching b/t full screen and inline modeTeng-Hui Zhu2011-03-161-83/+143
| | | | | | bug:2126902 Change-Id: I5c4b25358c76e35f0f51794d6d04fcc5098a0d70
* Inline HTML5 Video supportTeng-Hui Zhu2011-03-101-0/+211
Use the HTML5VideoView to make inline HTML5 video possible. Full screen support will be the next step. The native side change is at 101310. bug:3506407, 2126902 Change-Id: I012f33a4d0c7b83d37b184fceb3923e1fb277b80