63d37d9f1618925b77e1b3606fa059d537b08e02 |
|
03-Jun-2015 |
Jae Seo <jaeseo@google.com> |
MediaController: Keep the controller when touch exploration is enabled Also added missing final and @Override keywords Bug: 17199815 Change-Id: If96554e36799557a2d81767f287aeb446e4a1983
/frameworks/base/core/java/android/widget/MediaController.java
|
6711f3b34c2ad9c622f56a08b81e313795fe7647 |
|
07-May-2015 |
Adam Powell <adamp@google.com> |
Move PhoneWindow and friends back into internal package PhoneWindow, PhoneLayoutInflater and PhoneFallbackEventHandler decided to @hide out over in the android.view package after the policy jar was disbanded. Give them a more appropriate home over in framework that doesn't imply that they should be accessed from other internal layers of abstraction. Bug 19606548 Change-Id: Id07b791d178fa447010b49b24726b52208838e88
/frameworks/base/core/java/android/widget/MediaController.java
|
39dbbd93e453dab6379363e000025a3f62fb0a9a |
|
27-Apr-2015 |
Robert Shih <robertshih@google.com> |
MediaController: workaround to disable seek An example use case is live HLS streams. Bug:19489473 Change-Id: I9c278f2875a5faaf1af092cc84888d4280a00747
/frameworks/base/core/java/android/widget/MediaController.java
|
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac |
|
28-Feb-2015 |
John Spurlock <jspurlock@google.com> |
Remove unused imports in frameworks/base. Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/core/java/android/widget/MediaController.java
|
b10e33ff804a831c71be9303146cea892b9aeb5d |
|
04-Feb-2015 |
Jorim Jaggi <jjaggi@google.com> |
Split up android.policy into framework.jar and services.jar 1/3 Change-Id: Ifd69f1f3dd308a7e17a1442e2f3950da8b03cec4
/frameworks/base/core/java/android/widget/MediaController.java
|
a7bb6fbeab933326d58aa806d8194b7b13239d34 |
|
04-Feb-2015 |
Dianne Hackborn <hackbod@google.com> |
First quick implementation of auto assist data. Introduce new AssistData class that contains all data the framework automatically generates for assist. Currently populated with a very simple tree structure representing the app's view hierarchy. Reworked how we populate the class name for accessibility info, so this is provided through a new method call on View that subclasses can override. This method is also used to populate the class name in AssistData. Change-Id: Ibd0acdc8354727d4291473283b5e4b70894905dc
/frameworks/base/core/java/android/widget/MediaController.java
|
a54956a0bc611b1e9b3914edc7a604b59688f6b7 |
|
08-Jan-2015 |
Alan Viverette <alanv@google.com> |
Fix accessibility delegation Ensures that delegate code is run last. Previously, calling the super method from an accessibility delegate set on a widget would only run code in the widget's parent. Next, the delegate code would run. Finally, the widget's code would run. As a result, the widget code would override any data supplied by the delegate. By moving all overridden code to internal methods, we ensure that the call chain for super includes the widget's parent code followed by the widget's code. The delegate code will always run last. BUG: 17641433 Change-Id: Ib9d403156c1fc4fb04f65f3c126d1277a44b3740
/frameworks/base/core/java/android/widget/MediaController.java
|
94ca53641975005cda900ad35372c6e5c6b0ff04 |
|
06-Aug-2014 |
RoboErik <epastern@google.com> |
Add descriptions to MediaController buttons This widget was missing some accessibility descriptions. bug:16536697 Change-Id: I6f50fd1f4fc0a804151ff465b612128d71a1fde6
/frameworks/base/core/java/android/widget/MediaController.java
|
cfe4b59334d72abaedcc2f9cea10979069ac6c1c |
|
06-Nov-2013 |
Robert Shih <robertshih@google.com> |
MediaController does not check for cancelled motions in onTouchEvent, causing nested invocations of WindowManagerGlobal.addView. Sample stack trace below. android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:228) android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69) android.widget.MediaController.show(MediaController.java:346) android.widget.MediaController.onTouchEvent(MediaController.java:445) android.view.View.dispatchTouchEvent(View.java:7690) android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2184) android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1945) android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2186) android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959) android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2186) android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959) android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2186) android.view.ViewGroup.cancelAndClearTouchTargets(ViewGroup.java:2049) android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2567) android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:2836) android.view.ViewRootImpl.doDie(ViewRootImpl.java:5259) android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:233) android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69) android.widget.MediaController.show(MediaController.java:346) Duplicated views are consequently added to WindowManagerGlobal.mViews. Subsequent calls to WindowManagerGlobal.removeView does not remove the duplicated entry. Another subsequent call to WindowManagerGlobal.addView detects the extra entry and fails. Bug: 11399773 Change-Id: I1e07fcaf341fbae1b0f93bed0f42645801b9df2d
/frameworks/base/core/java/android/widget/MediaController.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/MediaController.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/MediaController.java
|
96ac720117979ab0507d8760f49076a0a1e3bfb8 |
|
10-Apr-2012 |
bxu10X <bxu10X@intel.com> |
[Audio]Press camera button during Http live Audio playing, then return Browser, DUT display abnormal. When long press camera key, dispatchKeyEvent function will add control surface after the control view hide, actually, we needn't show control view after we press camera key. Change-Id: I45175c4eb97b3f13469cd9d8bacb295c9c5803dd Author: Bin Xu <bxu10X@intel.com> Signed-off-by: Bin Xu <bxu10X@intel.com> Singed-off-by: Shuo Gao <shuo.gao@intel.com> Signed-off-by: Bruce Beare <bruce.j.beare@intel.com> Signed-off-by: Jack Ren <jack.ren@intel.com> Author-tracking-BZ: 28344
/frameworks/base/core/java/android/widget/MediaController.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/MediaController.java
|
02dd17da3685652b5235ca48bd6882e65997434a |
|
28-Sep-2011 |
Chih-Chung Chang <chihchung@google.com> |
Fix 5389072: NPE in MediaController.updateFloatingWindowLayout(). There was another constructor which we didn't add the call to initialize the layout. Change-Id: I1519c9afd7d6333736fe19d256f55a2f4cdc60c3
/frameworks/base/core/java/android/widget/MediaController.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/MediaController.java
|
d1396fbc64faaa3d2157a0edff077650b70b4dba |
|
21-Sep-2011 |
Chih-Chung Chang <chihchung@google.com> |
Fix 5229466: don't consume pointer events outside the window Change-Id: Ifa3d1d5edd81346e6ca80e113f80914ee2c47055
/frameworks/base/core/java/android/widget/MediaController.java
|
46e75294d540fe807d78aec2582ae02cc38c7d42 |
|
11-Nov-2010 |
Jeff Brown <jeffbrown@google.com> |
Enable touch splitting for all windows by default. New default only applies to applications with targetSdkVersion >= HONEYCOMB. Old applications default to no touch splitting for their windows. In addition, enabled split touch for various system windows. Bug: 3049580 Change-Id: Idc8da9baa2cd8e1e4e76af8967d7b6a5ccb94427
/frameworks/base/core/java/android/widget/MediaController.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/MediaController.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/MediaController.java
|
1bd7597b8cdaf39d1183077c463cb30596eb31b0 |
|
02-Jun-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master Change-Id: I8333e295ba6b6ed8e7658ecf3fbf1ebea3537aeb
|
ef367529f9c7a538d74599b37b49ac309d0a8d8c |
|
31-May-2010 |
Christian Mehlmauer <FireFart@gmail.com> |
Replaced raw string arguments for Context.getSystemService() with final Context variables Change-Id: If5139a1526101292e5da557bfad3f4db80fb64a8
/frameworks/base/core/java/android/widget/MediaController.java
|
980a938c1c9a6a5791a8240e5a1e6638ab28dc77 |
|
09-Jan-2010 |
Romain Guy <romainguy@android.com> |
Deprecate fill_parent and introduce match_parent. Bug: #2361749.
/frameworks/base/core/java/android/widget/MediaController.java
|
d701e020769b7cc6dd492eadcb09083578074ee0 |
|
20-Aug-2009 |
Marco Nelissen <marcone@google.com> |
When bringing up the media controller view, focus the play/pause button.
/frameworks/base/core/java/android/widget/MediaController.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/MediaController.java
|
0de7dcd126175a1bef77f2039b39df1eed4b4164 |
|
20-Apr-2009 |
Andreas Huber <andih@google.com> |
Ensure ongoing progress updates after using the scroll ball to adjust position. We use a single outstanding message of type SHOW_PROGRESS to refresh the progress bar's current position as well as textual display of time and duration. This message could get lost if the scroll ball was used to adjust the current playback position as we entered state "mDragging" which would cause the subsequent SHOW_PROGRESS message to be a no-op and would also cause it to not be re-enqueued. The change refactors the seekbar logic a little and makes sure that while dragging there isn't a pending SHOW_PROGRESS message in the queue and once dragging is over, exactly one SHOW_PROGRESS message is reenqueued. related to bug 1721227
/frameworks/base/core/java/android/widget/MediaController.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/MediaController.java
|
105925376f8d0f6b318c9938c7b83ef7fef094da |
|
19-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake_rel/...@140373
/frameworks/base/core/java/android/widget/MediaController.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/MediaController.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/MediaController.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/MediaController.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/MediaController.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/MediaController.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/widget/MediaController.java
|