summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/HTML5VideoInline.java
Commit message (Collapse)AuthorAgeFilesLines
* Delete the old WebView.Torne (Richard Coles)2013-10-151-132/+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-1/+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
* Avoid redundant reload in inline mode after exit from full screen.Teng-Hui Zhu2012-06-271-4/+6
| | | | | | | | | | | | | | | 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
* Avoid inline->fullscreen reload for html5 video.Teng-Hui Zhu2012-05-101-8/+6
| | | | | | | | | | | 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
* Clean up Surface Texture on Java sideTeng-Hui Zhu2012-03-011-0/+5
| | | | | | bug:6079959 Change-Id: I5869d4fe4dc6eb12a117937b95a8277897d71ebb
* Query the native side to decide to play when going into full screen modeTeng-Hui Zhu2012-01-101-3/+2
| | | | | | | | | | | | | 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
* Create GL texture when it is missing for video layerTeng-Hui Zhu2011-11-021-4/+6
| | | | | | | | In any case that the HTMLVideoView is recreated with no GL texture, we should recreate the GL texture to make sure we always have a valid texture ID. bug:5530006 Change-Id: I703a987a7530dbeef74e502f3c9ff329beca8c4e
* Double check the permission before setting the Wake LockTeng-Hui Zhu2011-09-261-1/+8
| | | | | bug:5361732 Change-Id: Ia9092b25d62c4a14cba885f5e3fac0326d0fde1c
* Don't sleep when inline video startTeng-Hui Zhu2011-09-081-0/+2
| | | | | | bug:4563692 Change-Id: I0174403e3f78b5a637500fbaaf7f9219efe0cbc8
* HTML5VideoView: switch to MediaPlayer#setSurfaceJamie Gennis2011-08-291-1/+5
| | | | | | | This change updates HTML5VideoView to use the new MediaPlayer#setSurface method rather than MediaPlayer#setTexture, which is going to be removed. Change-Id: Ia4c8c822bd4735caf95f3f295485d60f016577c1
* The screen shot support for inline video on Java sideTeng-Hui Zhu2011-06-011-18/+31
| | | | | | | | | | | 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 for pause when loadingTeng-Hui Zhu2011-03-221-1/+3
| | | | | | bug:4148903 Change-Id: Ib0b59c8c36eb5df8c6755156a5d2753f84ad9677
* Support loading image and paused image for inline videoTeng-Hui Zhu2011-03-211-15/+0
| | | | | | bug:4142131 Change-Id: I28d82a8e30a2146a3380c63dcdcbd51228f23f56
* Support html5 video switching b/t full screen and inline modeTeng-Hui Zhu2011-03-161-0/+99
bug:2126902 Change-Id: I5c4b25358c76e35f0f51794d6d04fcc5098a0d70