History log of /frameworks/base/core/java/android/webkit/HTML5VideoViewProxy.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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