History log of /frameworks/base/core/java/android/widget/VideoView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
48db7834830215a3ee00f31a442a62acf33cabfa 25-Aug-2014 Ronghua Wu <ronghuawu@google.com> API: Document android-allow-cross-domain-redirect in MediaPlayer and VideoView

Bug: 17238151
Change-Id: Ib1e780cf5f93b07a7abbca839e7cc9f92a60d451
/frameworks/base/core/java/android/widget/VideoView.java
0e9e3b213e70fd4be044524d2151e8585bf0acd8 21-Aug-2014 Ronghua Wu <ronghuawu@google.com> VideoView: unhide setVideoURI api and add document.

Bug: 16899444
Change-Id: I576a4b334d8b1fe89f93df3587386ac7f9455687
/frameworks/base/core/java/android/widget/VideoView.java
bdfd91024767893829017918ab565f224ccd35ec 12-Jun-2014 Chong Zhang <chz@google.com> support for CEA-608 closed caption

Bug: 15470448
Change-Id: Ic6a527f5c35a8ee0a08a5b043336e4d193216083
/frameworks/base/core/java/android/widget/VideoView.java
ba3699b568e656910641b246b27448d92632a389 17-Mar-2014 Sungsoo Lim <sungsoo@google.com> Implements TtmlRenderer.

Change-Id: I99772745c5c005ee1eefbc29187116f0c2820988
/frameworks/base/core/java/android/widget/VideoView.java
bd686a1e1d3cb8662661cbabcab09b224abf97a2 14-Nov-2013 Lajos Molnar <lajos@google.com> am 752926c7: am 1197bc37: am 7e11b16b: VideoView: expand documentation on state save/restore limitations

* commit '752926c752b9516c05a36f3eed6ab6b77d32b2c6':
VideoView: expand documentation on state save/restore limitations
7e11b16b9f8896170d492240a5fd50c8bd04105d 30-Oct-2013 Lajos Molnar <lajos@google.com> VideoView: expand documentation on state save/restore limitations

Change-Id: I46f231d314fc4ae8d9d11389aa62a3e2698122ed
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 11412889
/frameworks/base/core/java/android/widget/VideoView.java
71068f694849353bb99c1906f486fbe29a14c074 29-Oct-2013 Marco Nelissen <marcone@google.com> Use audio focus instead of legacy music command

Bug 8612500

Change-Id: Id443b754d683b9f2d2010ee3a03e54590cda0b48
/frameworks/base/core/java/android/widget/VideoView.java
acb108818969a4d68866881540ca9f86e894b096 30-Sep-2013 Lajos Molnar <lajos@google.com> am 974a6e12: Merge "Make SubtitleController thread safe" into klp-dev

* commit '974a6e1231f80644e382567c5f0a5fb9b6962d27':
Make SubtitleController thread safe
29f5183794efd58a3442aedcf829e3dbcd3fd867 20-Sep-2013 Lajos Molnar <lajos@google.com> Make SubtitleController thread safe

Add the concept of an anchor looper.
Allow show/hide/selectTrack/selectDefaultTrack to be called from thread
other than anchor looper.

Change-Id: Iaf2f3d3c46d1b00a0a24156745ec16b301c80c04
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 10919206
/frameworks/base/core/java/android/widget/VideoView.java
617feb99a06e7ffb3894e86a286bf30e085f321a 10-Sep-2013 Alan Viverette <alanv@google.com> Add View constructor that supplies a default style resource

Also updates the constructor of every class that extends View.

BUG: 10676369
Change-Id: Ifaf27bf82028d180afa4931c0e906df88d858ac3
/frameworks/base/core/java/android/widget/VideoView.java
d43daf361e993457e64eeeddab6d1a0ebc828c99 06-Sep-2013 Alan Viverette <alanv@google.com> Add WebVTT caption renderer

Currently missing support for region anchor points, robust layout
when snapping to lines, and vertical text.

BUG: 10260603
Change-Id: I3463b4aa0039442159144e66922d67f5dfee58ed
/frameworks/base/core/java/android/widget/VideoView.java
484ff7a92298eaeb5e7edc39895b3a26bed704b3 15-Aug-2013 Lajos Molnar <lajos@google.com> Add subtitle support to VideoView.

Change-Id: Ibfde491a624272c4f9733098529ad70c6aa93fe0
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 10326117
/frameworks/base/core/java/android/widget/VideoView.java
de213f708fc715c85f806fe5f4a7552e8b363bf9 04-Sep-2013 Alan Viverette <alanv@google.com> Add methods for managing subtitle overlays in VideoView

Overlays are added directly to the VideoView, laid out to the
size of the video view, and rendered in draw().

BUG: 10260603
Change-Id: Ie8c30e5e6dcd5c6e1a2063af898afce0108a87bf
/frameworks/base/core/java/android/widget/VideoView.java
af309824350d6b2fd38e19ef9104211e5ba132e8 16-Aug-2013 Lajos Molnar <lajos@google.com> VideoView: add addSubtitleSource

A way to add external subtitle file to VideoView.

Change-Id: Ic110238408550a5b4088851bc5da5e94eb58d831
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 10326117
/frameworks/base/core/java/android/widget/VideoView.java
13bfebd6b70ebfd8ad0d1aa24a92178ebff3565b 10-May-2013 Marco Nelissen <marcone@google.com> Add VideoView.getAudioSessionId()

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
/frameworks/base/core/java/android/widget/VideoView.java
c653df46436a796556da2633f90353900344ce39 28-Nov-2012 Andreas Huber <andih@google.com> am 8fac23f2: am 8be8ee4c: am f0afad00: Merge "Stop caching stream duration, it might change (increase) dynamically." into jb-mr1.1-dev

* commit '8fac23f23df08b192a542be57b09badfbb0a1bf4':
Stop caching stream duration, it might change (increase) dynamically.
585c07e9ac19060bb242067a72a570cd42c75dea 28-Nov-2012 Andreas Huber <andih@google.com> Stop caching stream duration, it might change (increase) dynamically.

Change-Id: Ia829f47602e6961f24464da36a0162b8c1d7d6c8
related-to-bug: 6870049
/frameworks/base/core/java/android/widget/VideoView.java
c1374e8e1ae6669ffda874445ebf6b14c49d3a9c 13-Nov-2012 Marco Nelissen <marcone@google.com> Fix build

Restore unused-but-public "resolveAdjustedSize" method.

Change-Id: I2f2bdbf96c484bcd457790fde970f1c67296b857
/frameworks/base/core/java/android/widget/VideoView.java
0b2d87237ed53b94dc2216a42942d35788d3307b 13-Nov-2012 Marco Nelissen <marcone@google.com> Make VideoView/MediaController behave better

Make VideoView support wrap_content size, and position the MediaController
inside of the anchor view instead of below it and centered on the screen.
b/6179034

Change-Id: Iec0dd9a1d953f742bbf7b12065946743a03745e5
/frameworks/base/core/java/android/widget/VideoView.java
f5d102ed769ba33cbd48e58c209ece3f1014fe61 24-Aug-2012 Teng-Hui Zhu <ztenghui@google.com> Request Layout after video size changed

bug:6800665

Change-Id: I57010ac26246dff9da45f8fdb7ccbe39c454c54f
/frameworks/base/core/java/android/widget/VideoView.java
a0ba79473b9067e315155718545103bb4f361873 28-Jul-2012 James Dong <jdong@google.com> Enabled application using VideoView to get information events from MediaPlayer

o related-to-bug: 6851811

Change-Id: I78a73a33b6ddfaea76f2ba13b6990c153fb696c6
/frameworks/base/core/java/android/widget/VideoView.java
8a78fd4d9572dff95432fcc4ba0e87563415b728 17-Jan-2012 Svetoslav Ganov <svetoslavganov@google.com> AccessibilityEvent/AccessibilityNodeInfo class name property should be set to only framework classes.

AccessibilityEvent and AccessibilityNodeInfo have a property className which is set to the source
Java class. This is problematic since leads to leaking private classes which would allow an
accessibility service to load classes from other packages. This is strongly undesirable since
not trusted code can be loaded, and hence executed, in the accessibility service. To address
that the class name is set to the most concrete framework class extended by the info/event
source.

bug:5878943

Change-Id: I7b3114ece8772ea2773f5151e21b8a6f2006882a
/frameworks/base/core/java/android/widget/VideoView.java
9cd7bde1ff872801a3c56620f8e5b40b7d5cba01 07-Jan-2012 Marco Nelissen <marcone@google.com> New UX calls for dialogs without titles.

b/5753055

Change-Id: I86ba0f937f71db56b3ea77752b2b30929b791a04
/frameworks/base/core/java/android/widget/VideoView.java
85d4ea6fe49e97c8b569768ba63a849653adb5b1 28-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5158468: Update floating window size when the anchor view size changes.

Originally when surfaceChanged() happens, we remove the old window and
create a new window. This causes flickering. Now we just update the window
layout according to the size of the anchor view.

Change-Id: Id741dac07872e473f2c9829b626c5c9568e7e22d
/frameworks/base/core/java/android/widget/VideoView.java
d7db70123fe177e149ae50283e31508f79452f8c 10-Feb-2011 Chih-Chung Chang <chihchung@google.com> Fix a bug that the condition for play/pause was reversed.

Change-Id: I462ca5b910de98a875d7f54b4a937176f88474d0
/frameworks/base/core/java/android/widget/VideoView.java
5ee0c8832fdfc7a059f52ad4e8b6d2a78f694f3e 10-Nov-2010 Owen Lin <owenlin@google.com> am 8ffb135d: am 45ca778d: Merge "Make sure the controller will get repositioned after size changing." into gingerbread

* commit '8ffb135dc892c09f1781231f783b0890515b3d60':
Make sure the controller will get repositioned after size changing.
a8381dfc5ee60dcf99dfd16a840f746cd7cb42ab 09-Nov-2010 Owen Lin <owenlin@google.com> Make sure the controller will get repositioned after size changing.

Bug: 3177061
Change-Id: I8f9606d4e05146ba568e8fe370cfe115dadedab9
/frameworks/base/core/java/android/widget/VideoView.java
b0418da0e7594a8c2164a46985c5f1993632e010 01-Nov-2010 Jeff Brown <jeffbrown@google.com> Add plumbing for volume mute key.

Full support for the volume mute key will be implemented in a
later change.

Bug: 2912307
Change-Id: I98c27d6360f159c8b7447e04b45f442eff87b38a
/frameworks/base/core/java/android/widget/VideoView.java
4d396052deb54399cbadbeb8abd873df6f3af342 30-Oct-2010 Jeff Brown <jeffbrown@google.com> Fix policy issues when screen is off.

Rewrote interceptKeyBeforeQueueing to make the handling more systematic.
Behavior should be identical except:
- We never pass keys to applications when the screen is off and the keyguard
is not showing (the proximity sensor turned off the screen).
Previously we passed all non-wake keys through in this case which
caused a bug on Crespo where the screen would come back on if a soft key
was held at the time of power off because the resulting key up event
would sneak in just before the keyguard was shown. It would then be
passed through to the dispatcher which would poke user activity and
wake up the screen.
- We propagate the key flags when broadcasting media keys which
ensures that recipients can tell when the key is canceled.
- We ignore endcall or power if canceled (shouldn't happen anyways).

Changed the input dispatcher to not poke user activity for canceled
events since they are synthetic and should not wake the device.

Changed the lock screen so that it does not poke the wake lock when the
grab handle is released. This fixes a bug where the screen would come
back on immediately if the power went off while the user was holding
one of the grab handles because the sliding tab would receive an up
event after screen turned off and release the grab handles.

Fixed a couple of issues where media keys were being handled inconsistently
or not at all, particularly in the case of the new PAUSE, PLAY
and RECORD keys.

Bug: 3144874
Change-Id: Ie630f5fb6f128cfdf94845f9428067045f42892c
/frameworks/base/core/java/android/widget/VideoView.java
69b8d69aadbf0e795f1a1e1adc82c78cf0b9959f 29-Oct-2010 Andreas Huber <andih@google.com> Squashed commit of the following:

commit 0d5694ba2d399dd0869532a4d6256448185a1be0
Author: Andreas Huber <andih@google.com>
Date: Fri Oct 29 11:59:23 2010 -0700

suspend() and resume() methods on VideoView are back but don't do anything.

They need to be back because they were public before.

Change-Id: Iddfd1021ffcf341f26e8d55ba761fd33701e2425

commit 16192891ed7d349ee97e47d1729d20a2d0d247b8
Author: Andreas Huber <andih@google.com>
Date: Fri Oct 29 11:47:05 2010 -0700

Revert "New API on VideoView widget to suspend/resume a session. Do not release the MediaPlayer client for video suspending/resuming."

This reverts commit 2e1818a4d16c3309660f27286c77d8d1eee95a25.

Conflicts:

api/current.xml

Change-Id: I68dd1d05871044faf3f832d0838aa40bc7f890e5

commit 8f934dc1a3ae4e60f0790fcf97671e063fa20fad
Author: Andreas Huber <andih@google.com>
Date: Fri Oct 29 11:44:16 2010 -0700

Revert "Release mediaplayer if the current state is not suspending. Fix for bug 2480093."

This reverts commit efb882cf75eef39ecaf9f8920ed302a019fa629f.

commit f2ed03550887986f39d36b5dabcd9e919949c7cf
Author: Andreas Huber <andih@google.com>
Date: Fri Oct 29 11:44:08 2010 -0700

Revert "Release MediaPlayer if suspend() returns false."

This reverts commit 047212fd4ea360675e94d3ce83c7f5544f65b268.

commit 441ecce678bd24e9660a72c8627b5bd94433ff8b
Author: Andreas Huber <andih@google.com>
Date: Fri Oct 29 11:40:46 2010 -0700

manually.

Change-Id: I4fdd43c9f7c8b3eedddb31a196da4984e1c58e87

Change-Id: I60d4b10e7a9e4ed8d9a796f1711618f557eb6e89
/frameworks/base/core/java/android/widget/VideoView.java
047212fd4ea360675e94d3ce83c7f5544f65b268 18-Mar-2010 Gloria Wang <gwang@google.com> Release MediaPlayer if suspend() returns false.

Change-Id: Ic6467a19bac453b72b56294487c9b835b20affd7
/frameworks/base/core/java/android/widget/VideoView.java
2869e952c65548555a9fc197c1f8ceb5b7470462 09-Mar-2010 Andreas Huber <andih@google.com> Fix a typo in VideoView.java that disabled the seek-back button by default.

Change-Id: I23a9423b20646529b652e23349266a3291981484
related-to-bug: 2498317
/frameworks/base/core/java/android/widget/VideoView.java
efb882cf75eef39ecaf9f8920ed302a019fa629f 05-Mar-2010 Gloria Wang <gwang@google.com> Release mediaplayer if the current state is not suspending. Fix for bug 2480093.
/frameworks/base/core/java/android/widget/VideoView.java
2e1818a4d16c3309660f27286c77d8d1eee95a25 22-Feb-2010 Gloria Wang <gwang@google.com> New API on VideoView widget to suspend/resume a session. Do not release the MediaPlayer client for video suspending/resuming.
/frameworks/base/core/java/android/widget/VideoView.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/widget/VideoView.java
020d2e3453b98ae435c4c21b849a2fe0a8842be7 30-Sep-2009 Andrei Popescu <andreip@google.com> Invoke the OnErrorListener callback when MediaPlayer.setDataSource() throws.

Fixes http://b/issue?id=2156505
/frameworks/base/core/java/android/widget/VideoView.java
d44d33b01a2125cfa40153e8399dd39908005004 20-Aug-2009 Andreas Huber <andih@google.com> The MetaData API is optional and getMetadata may return null if unsupported.
/frameworks/base/core/java/android/widget/VideoView.java
c818b141ee97a7a26fe069456d4b662d06c9eaea 19-Aug-2009 Marco Nelissen <marcone@google.com> Do not enable the rew/pause/ffwd buttons when the media being played does not
support these functions.
This extends the MediaPlayerControl interface with some new methods, and uses
reflection to detect whether the old or new interface is used by an application.
/frameworks/base/core/java/android/widget/VideoView.java
dddeee6f350673b691b1b9001545a27f9c3d19f0 10-Jul-2009 Marco Nelissen <marcone@google.com> Fix a problem in VideoView that would cause it to not start playing after prepare.
/frameworks/base/core/java/android/widget/VideoView.java
fdf3ac6cdc370d7dedca463dddd697a1bed79a9c 06-Jul-2009 James Dong <jdong@google.com> Refactoring of VideoView.java class
/frameworks/base/core/java/android/widget/VideoView.java
aa00e390c191f9b4eaee8ecade88c74571b2b3f3 03-Jul-2009 James Dong <jdong@google.com> Fix bug (#1947162)

The bug (1947162) is caused by the fact that sometimes, surfaceChanged() is called after onCompletion().
In surfaceChanged(), start() is called automatically. The fix is to use a flag is avoid calling start()
when onCompletion() has been called already.
/frameworks/base/core/java/android/widget/VideoView.java
f8a7ceaef2e7d5cd530c9426bde91b6fa9a40b75 11-Apr-2009 Andy Stadler <> AI 145778: Manual merge changes 145382-145384 from cupcake.

Automated import of CL 145778
/frameworks/base/core/java/android/widget/VideoView.java
c39a6e0c51e182338deb8b63d07933b585134929 11-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137873
/frameworks/base/core/java/android/widget/VideoView.java
b2a3dd88a53cc8c6d19f6dc8ec4f3d6c4abd9b54 09-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137197
/frameworks/base/core/java/android/widget/VideoView.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/widget/VideoView.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/widget/VideoView.java
22f7dfd23490a3de2f21ff96949ba47003aac8f8 20-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127101
/frameworks/base/core/java/android/widget/VideoView.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/widget/VideoView.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/widget/VideoView.java