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