5558eacfbfb1294912c5dde2179793ccfe2b7324 |
|
06-Sep-2012 |
Teng-Hui Zhu <ztenghui@google.com> |
Back key to dismiss full screen video Also cleanup some warnings. bug:6722752 Change-Id: Ib612cf79e9546d40a048c5f09a1be6ca37ce51f8
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
156f97b6c8580b790600b09b679b9dab8b271c5d |
|
10-Jul-2012 |
Teng-Hui Zhu <ztenghui@google.com> |
Release the media player when trimming memory Change-Id: I2bb2880546311761fc38d6208de080a66216fa2f
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
c3a2858de909145a382e7932d5fb044e1388c0b3 |
|
01-Jun-2012 |
Teng-Hui Zhu <ztenghui@google.com> |
Avoid redundant reload in inline mode after exit from full screen. 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
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
6a9586bc57b162a2d68dd3e417f0fd43d8932fd0 |
|
15-Jun-2012 |
Teng-Hui Zhu <ztenghui@google.com> |
Notify Java side to start when transition into full screen mode without a 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
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
9ac320406bcd0212923bfc0b4068df0b022fd4f7 |
|
11-May-2012 |
Teng-Hui Zhu <ztenghui@google.com> |
Merge "Keep the controller when video ended." into jb-dev
|
4dd9dc8204105a25e37dacbc392ea3c7212a8063 |
|
11-May-2012 |
Teng-Hui Zhu <ztenghui@google.com> |
Keep the controller when video ended. 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
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
c2b06d5a83f8f118eaf46f093126da08a28715eb |
|
09-May-2012 |
Teng-Hui Zhu <ztenghui@google.com> |
Avoid inline->fullscreen reload for html5 video. 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
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
a6c4d8e018e39ff94263ce8f2a31b768104d1bb6 |
|
08-Mar-2012 |
Jonathan Dixon <joth@google.com> |
Rename getWebView() to getWebViewClassic Interdepends on https://android-git.corp.google.com/g/170037 Tidys up a TODO from my webview proxy patch. This allows me to re-introduce getWebView(), but now returning the actual WebView instance which is needed by my upcoming change to WebKit linked above. Also moves sendPluginDrawMsg() to WebViewCore for convenience in the MediaTexture code that calls this. Change-Id: I57b72504a792de58d15f386abf4a9d821449ab0a
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
2b64c5a6f70bfae7db95f763441b52a506d6f630 |
|
19-Mar-2012 |
Teng-Hui Zhu <ztenghui@google.com> |
Don't allow enter full screen while still in full screen mode. bug:5504581 Change-Id: Ib4922ce2cdb89b24120f87177658ce94c483f118
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
3c90952036a5ff7ddb2946c643f1a0bf1c31d53a |
|
28-Feb-2012 |
Jonathan Dixon <joth@google.com> |
Refactor WebView to be a thin proxy class 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
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
96fae5e088916e1da8d4afaf40758ceec6e7187a |
|
19-Jan-2012 |
Teng-Hui Zhu <ztenghui@google.com> |
Support full screen back to back playing using javascript bug:5766427 Change-Id: I0117e50a3e547ac8c33cf966bef18e6d75f98660
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
d7678a1684966cac10717b34b161b5241b9865c5 |
|
17-Jan-2012 |
Teng-Hui Zhu <ztenghui@google.com> |
Support javascript to exit full screen video. When javascript request exit full screen, WebViewCore need to handle the message from webkit thread and hide the custom view. Webkit part: https://android-git.corp.google.com/g/#/c/158652/ Change-Id: I9edbb5a4059f330fb29df116ae076ec52f81a1af
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
e4c89e321c7a33a7baf1a90237d21220d637e966 |
|
11-Jan-2012 |
Teng-Hui Zhu <ztenghui@google.com> |
Query the native side to decide to play when going into full screen mode 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
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
1a88acbed9cd04d7c8ddd0c33a15926238157a07 |
|
01-Jun-2011 |
Teng-Hui Zhu <ztenghui@google.com> |
Correctly detect when switching back from full screen 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
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
3fafd39d0776a15c3613795183043a2c28277691 |
|
01-Jun-2011 |
Teng-Hui Zhu <ztenghui@google.com> |
The screen shot support for inline video on Java side 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
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
b109c8877139077fe25fa26ea2e0961b7cbb8341 |
|
05-May-2011 |
Teng-Hui Zhu <ztenghui@google.com> |
Exit full screen support on java side bug:4312214 Change-Id: Id3c755db0a824d42f1f8d1a0952f63d2078d163a
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
22954d435d645d48885f653bd4ca6bc79e1bcd83 |
|
08-Apr-2011 |
Teng-Hui Zhu <ztenghui@google.com> |
Don't send pause again when coming back from full screen When we enter full screen, the inline video has been paused. When we re-play in the inline mode, we don't need to paused the previous video, which is the full screen one. bug:4259109 Change-Id: Ib951846e6c22893713b00699263f7d038bcb7353
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
c1b4d9691dad77586e9a38f857137bb6f010f254 |
|
07-Apr-2011 |
Teng-Hui Zhu <ztenghui@google.com> |
am d4e8e4bb: am b3bb6fd5: am b25181aa: Merge "Fix the issue the video can\'t start to play" into honeycomb-mr1 * commit 'd4e8e4bb3c2921ae9e15ef012bafc504b48c7efe': Fix the issue the video can't start to play
|
0504967cb05f7bbd0c17962360a5d88ace8d173f |
|
07-Apr-2011 |
Teng-Hui Zhu <ztenghui@google.com> |
Fix the issue the video can't start to play 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
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
f4d4e9e05f7605118910739c16e493e2ab869aae |
|
30-Mar-2011 |
Teng-Hui Zhu <ztenghui@google.com> |
Buffering in full screen mode will show progressView bug:4187252 Change-Id: Ieb7ae26b5bfa9abc79556e2fc063b7e3ef17ab52
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
c0fccd1292de4d2743fb30fef8310bcda4ce9824 |
|
29-Mar-2011 |
Teng-Hui Zhu <ztenghui@google.com> |
Add the loading progress UI when buffering bug:4187252 Change-Id: I0f9f2c659303b391b1be896b9a30cc6bf7455da5
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
1e26d82ffaf983dc288152cfe8c0a821de33f2a4 |
|
24-Mar-2011 |
Teng-Hui Zhu <ztenghui@google.com> |
When the video is not on the front, it should be paused bug:4165855 Change-Id: Icbdab81fe5beb8642841b16773b0e5350b4221cf
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
158fbdb29b8fdda57f942ec2056d908714c326be |
|
22-Mar-2011 |
Teng-Hui Zhu <ztenghui@google.com> |
fix for pause when loading bug:4148903 Change-Id: Ib0b59c8c36eb5df8c6755156a5d2753f84ad9677
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
265db32f31a9db60d4a93d59befa07c825cbe4f2 |
|
18-Mar-2011 |
Teng-Hui Zhu <ztenghui@google.com> |
Support loading image and paused image for inline video bug:4142131 Change-Id: I28d82a8e30a2146a3380c63dcdcbd51228f23f56
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
10ab654943b386c0816a33dbd639c3b8d6260b01 |
|
17-Mar-2011 |
Teng-Hui Zhu <ztenghui@google.com> |
Support html5 video switching b/t full screen and inline mode bug:2126902 Change-Id: I5c4b25358c76e35f0f51794d6d04fcc5098a0d70
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
661e8b1f21f03ea429ff34f8fdb58b68a5049092 |
|
03-Mar-2011 |
Teng-Hui Zhu <ztenghui@google.com> |
Inline HTML5 Video support 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
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
09407b481043079ddcd553059b16e981a3f524e6 |
|
01-Mar-2011 |
John Reck <jreck@google.com> |
Send correct cookies for HTML5 video when incognito Bug: 3489551 Change-Id: Ic35ec725e72e97830afff2fb0392b2300d8c45f6
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
ab5901dab21964b01095f29a51db1c7d670a38c7 |
|
24-Feb-2011 |
John Reck <jreck@google.com> |
Add x- header to prevent url logging in incognito Bug: 3336575 Change-Id: I4a65242405d731f74c676382a810f608afcaad39
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
42509799f261c844bf6be66ce630c47bdee620f3 |
|
18-Feb-2011 |
Ben Murdoch <benm@google.com> |
Fix crash downloading posters for HTML5 video. We use the apache HTTP stack to download the poster images for HTML5 video. This will crash if there is no host to use as the "Host" header when making the request. Limit the java poster downloader to just http or https for now. WebKit seems able to display posters over other schemes like file://, but doesn't always get the dimensions right. This fix just stops us crashing. Bug: 3180037 Change-Id: Idf51efda5b9ca1f2fe373c1fdb9c6bb7d5e254c8
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
ff19d19e016f67edf0a4e8eea374d144dc5129ef |
|
17-Jan-2011 |
Ben Murdoch <benm@google.com> |
Maintain the seek position in HTML5 video Receive the current seek position from native when we start playing a video. That way is we are returning from pause we correctly continue where we left off. Requires and external/webkit change. (I6001f45a362f491e9040c8b52260d0a08fb8504f) Bug:3303721 Change-Id: I6b92289d4ef36bba1e0429327917533a4101655d
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
1708ad53c3669b72d20724e52301eecd35e86377 |
|
11-Nov-2010 |
Ben Murdoch <benm@google.com> |
Hide plugin views when we start playing HTML5 video Plugins like Flash draw directly to the screen on top of all other views - including the fullscreen HTML5 video view. This means that if you start an HTML5 video on a page also serving a flash clip then flash will obscure the video. This patch hides plugin views before start the video and shows them again when the VideoView is destroyed. Bug: 3183521 Change-Id: I9839c47e9d64b081651b952057e9283630362b29
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
43aaa2dd3f1f5169145338ba93f3c9f59fa4b1ea |
|
19-Oct-2010 |
Shimeng (Simon) Wang <swang@google.com> |
Don't force ended when full screen video is returned manually. issue: 3102273 Change-Id: Id9983a229e103dd255b280638979712873117d10
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
c4fbceb57bcfbabb6e370e2dd6448184dc116015 |
|
14-Apr-2010 |
Andrei Popescu <andreip@google.com> |
Make sure the onended event is dispatched even when the user dismisses the video before it plays to completion. Fix bug: 2533272 Change-Id: I73f216f4f416f5fdca0bbba2244b88666f8f6eac
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
31d2aa1e17f1ee580edb762a6ef634098bba02bb |
|
08-Apr-2010 |
Andrei Popescu <andreip@google.com> |
Avoid calling proxy.playbackEnded() again in onCustomViewHidden(). It is now always called via the MediaPlayer.onCompletion() callback. Fix b: 2533272 Change-Id: If86cf6b2ab355ddcd976cd6a2ad92ce071a1af33
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
8aab46abca2cd0c100c90a569f6fc058ce6db5a8 |
|
27-Feb-2010 |
Andrei Popescu <andreip@google.com> |
VideoPlayer::onPrepared() can be called after the user pressed back in the VideoView. This can cass a NPE since our Timer would have been destroyed by then. Add call to VideoView.stopPlayback() when the view is dismissed by the user. Fix b: 2476002, 2475786, 2475786
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
256430093679e1d62b54fb0c852126e54d162f6f |
|
28-Jan-2010 |
Andreas Huber <andih@google.com> |
API Extension: Support for optionally specifying a map of extra request headers when specifying the uri of media data to be played. related-to-bug: 2393577 Original change by Andrei Popescu <andreip@google.com>
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
048eb3bfa124f0869f644fc82a50696f593fe592 |
|
11-Jan-2010 |
Andrei Popescu <andreip@google.com> |
Implement timeupdate events for video tag. Fix http://b/issue?id=2210105
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
a41f97bd77f2583e2e3698cfbba62230a8ac4789 |
|
11-Jan-2010 |
Andrei Popescu <andreip@google.com> |
Allow a video to be correctly resumed programatically after being paused. Fix for http://b/issue?id=2366241
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
46a83b4ead517b9fc13b4bee4c59c3eaf4d3fdd9 |
|
23-Oct-2009 |
Andrei Popescu <andreip@google.com> |
Make the VideoView go away automatically at the end of playback. Fixes http://b/issue?id=2210018
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
50c862324b8c4b9a130beeba6378ca3398960fb7 |
|
30-Sep-2009 |
Andrei Popescu <andreip@google.com> |
Update <video> implementation after new IRC discussion with Eric Carlsson. - move poster drawing on the WebKit side - get rid of the child views - add prepareToPlay method to the MediaPlayer iface. Fixes http://b/issue?id=2156592
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
bf385d7c7b093564738f8cfd4386daf5e94b8a6d |
|
18-Sep-2009 |
Andrei Popescu <andreip@google.com> |
Add progress view and default poster for the <video> implementation
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
290c34ac3a36b407b74b42c37501c2d0cdac70ad |
|
17-Sep-2009 |
Andrei Popescu <andreip@google.com> |
Wire the rest of MediaPlayer to our implementation of WebCore::MediaPlayerPrivate
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
64b86a1e8b6679ed10ecf344abcaebc8412b2efb |
|
15-Sep-2009 |
Andrei Popescu <andreip@google.com> |
Poster support on the Java side
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
3c946a1a9637e85e4256f40b68f3b9d4b9f40c27 |
|
03-Jul-2009 |
Andrei Popescu <andreip@google.com> |
Add fullscreen support back in.
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
0a5ce01eda210f83619ada0603a80fd883512fe9 |
|
02-Jul-2009 |
Patrick Scott <phanna@android.com> |
Basic changes to get embedded video working. Add the ViewManager class to handle child views within a WebView. This class attaches and removes the views in the UI thread. It also scales the layout params based on the scale of the WebView.
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|
6fa2958059a08390ed2b87b8572f8847ad9999e4 |
|
19-Jun-2009 |
Andrei Popescu <andreip@google.com> |
Implement support for showing a VideoView.
/frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
|