summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/HTML5VideoFullScreen.java
Commit message (Collapse)AuthorAgeFilesLines
* Delete the old WebView.Torne (Richard Coles)2013-10-151-421/+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
* Add tracing to WebView API methods and callbacksJonathan Dixon2013-08-301-0/+5
| | | | | | | | Bug: 10488419 This is useful for debugging numerous SxS issues. Change-Id: I5d0d2e253499741c5f9454582988c99e42dc0a81
* Add VideoView.getAudioSessionId()Marco Nelissen2013-05-091-0/+8
| | | | | | | | This lets apps get the audio session id of the video being played, so they can apply effects to the audio track. b/8767565 Change-Id: Iaa39d97d0b6fb528ed04b52d579afa58444ebcfe
* Back key to dismiss full screen videoTeng-Hui Zhu2012-09-061-1/+8
| | | | | | | | 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-23/+18
| | | | | | | | | | | | | | | 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
* Notify Java side to start when transition into full screen mode without a ↵Teng-Hui Zhu2012-06-151-7/+10
| | | | | | | | | | | | reload. When video start in inline mode, and then transition into full screen mode, the video is still playing, so we need to notify the player, such that the controller can get the state correctly. bug:6675847 Change-Id: Ib5f712ca91fe1c374dcc20de996dac6ff7b9e983
* Fix a crash.Teng-Hui Zhu2012-05-111-1/+3
| | | | | | | End can happen when error happens, but media controller may be not ready yet. bug:5340224 Change-Id: I94607dfdf26d2dc4c7bbc9c2a62f98deccb8d198
* Merge "Keep the controller when video ended." into jb-devTeng-Hui Zhu2012-05-111-0/+6
|\
| * Keep the controller when video ended.Teng-Hui Zhu2012-05-101-0/+6
| | | | | | | | | | | | | | | | 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-5/+5
|/ | | | | | | | | | | 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
* Live streaming video may not have the right size at preparedTeng-Hui Zhu2012-03-141-0/+13
| | | | | | | The fix is add the OnVideoSizeChangedListener. bug:5420327 Change-Id: I1e0b371b8b95b86a1c0903f4bdb1d8f38de793b7
* 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-0/+4
| | | | | | bug:5766427 Change-Id: I0117e50a3e547ac8c33cf966bef18e6d75f98660
* Query the native side to decide to play when going into full screen modeTeng-Hui Zhu2012-01-101-8/+5
| | | | | | | | | | | | | 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
* set System UI visibility based on MediaController stateMichael Kolb2011-12-021-7/+30
| | | | | | | | | Bug: 5494143 still doesn't remove the buttons in dimmed state, but at least dims them correctly Change-Id: Idcfc10616d31f6ccf8cd84b706a17d048bf505a1
* HTML5 Video runs into super full screen modeTeng-Hui Zhu2011-11-211-0/+2
| | | | | | | | | bug:5569146 Browser change https://android-git.corp.google.com/g/#/c/151035/ Change-Id: Ib8449a670caf4aa2b540a170ed5e9f6adea2b12e
* Make MediaController use low profile system UIMarco Nelissen2011-10-311-1/+3
| | | | | | | | This makes the MediaController iused by the full screen html5 video view copy the system ui visibility of its owner. Some issues remain. b/5494143 Change-Id: I6b157226974befbee5ba685d42d1ef72c113664d
* Release the media player when exiting the full screenTeng-Hui Zhu2011-06-301-0/+5
| | | | | | | | 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
* Media player should be paused while the surface is still aliveTeng-Hui Zhu2011-06-291-3/+6
| | | | | bug:4975014 Change-Id: Ic3ff5480c3ab18fb1037d270aa822bacdd7d6b20
* Fix a NPE if the Chrome Client is not setupTeng-Hui Zhu2011-06-131-11/+12
| | | | | | | This can happen when applications are using WebView to show HTML5 video in full screen mode while not setting up WebChromeClient correctly. Change-Id: I6575e3364f04f6eaf800f854d60992fe6c3be651
* am 5a9bbc34: am b5141a9f: am 90bdb69b: Merge "fix one NPE when ↵Teng-Hui Zhu2011-06-101-4/+6
|\ | | | | | | | | | | | | webChromeClient don\'t have progress view support" into honeycomb-mr2 * commit '5a9bbc34cb2a83188b7407c4f7bae47e40593c34': fix one NPE when webChromeClient don't have progress view support
| * fix one NPE when webChromeClient don't have progress view supportTeng-Hui Zhu2011-06-101-4/+6
| | | | | | | | Change-Id: I5a88365f216d5dea38ab2eac9562d26b00a2d617
| * DO NOT MERGE : cherry pick of change Ieb7ae26b from masterTeng-Hui Zhu2011-04-071-2/+9
| | | | | | | | | | | | | | Buffering in full screen mode will show progressView bug:4187252 Change-Id: Ia44d880ab126c2439fb13504db87492d45c90bc8
* | Correctly detect when switching back from full screenTeng-Hui Zhu2011-06-011-0/+3
| | | | | | | | | | | | | | | | | | 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
* | Exit full screen support on java sideTeng-Hui Zhu2011-05-091-2/+3
| | | | | | | | | | | | bug:4312214 Change-Id: Id3c755db0a824d42f1f8d1a0952f63d2078d163a
* | am d4e8e4bb: am b3bb6fd5: am b25181aa: Merge "Fix the issue the video can\'t ↵Teng-Hui Zhu2011-04-071-7/+0
|\| | | | | | | | | | | | | start to play" into honeycomb-mr1 * commit 'd4e8e4bb3c2921ae9e15ef012bafc504b48c7efe': Fix the issue the video can't start to play
| * Fix the issue the video can't start to playTeng-Hui Zhu2011-04-061-7/+0
| | | | | | | | | | | | | | | | | | | | | | In full screen mode, we shall not always rely on the auto start info. If the auto start is false, it will prevent the video from playing. The auto start should always happen inline mode when prepared. If we switch into full screen mode while playing, we will also do auto start. bug:4260063 Change-Id: I4b13c30b1f2c219951dc8edd659e221a21c86c2b
* | Buffering in full screen mode will show progressViewTeng-Hui Zhu2011-03-301-2/+9
|/ | | | | bug:4187252 Change-Id: Ieb7ae26b5bfa9abc79556e2fc063b7e3ef17ab52
* Merge "Make sure the full screen playing continue when timeout" into ↵Teng-Hui Zhu2011-03-231-1/+1
|\ | | | | | | honeycomb-mr1
| * Make sure the full screen playing continue when timeoutTeng-Hui Zhu2011-03-231-1/+1
| | | | | | | | | | bug:4165804 Change-Id: I5e0f4bdaecce36d074941ae6631b211227c13fcb
* | fix for pause when loadingTeng-Hui Zhu2011-03-221-0/+7
|/ | | | | | bug:4148903 Change-Id: Ib0b59c8c36eb5df8c6755156a5d2753f84ad9677
* Fix a crashTeng-Hui Zhu2011-03-211-3/+0
| | | | | bug:4139931 Change-Id: Ifc18f964d5aedb268eb0d5fa08db3ffed1de4ff8
* Fix the aspect ratio for full screen playingTeng-Hui Zhu2011-03-171-13/+47
| | | | | | bug:4116475 Change-Id: I0b04ef4a6db24a9bc5c8d0f0a987783695bc3489
* Support html5 video switching b/t full screen and inline modeTeng-Hui Zhu2011-03-161-0/+286
bug:2126902 Change-Id: I5c4b25358c76e35f0f51794d6d04fcc5098a0d70