7ff30113de68539ec840c524b8f1561f938f96c5 |
|
08-Nov-2012 |
Dianne Hackborn <hackbod@google.com> |
Remove extraneous logs. Change-Id: I4c47d36748de91bd6fddc419afbf59552bf63e9a
/frameworks/base/core/java/com/android/internal/widget/TransportControlView.java
|
1f0eac9951c7167ee9f07251d1ef60805b96bffd |
|
02-Mar-2012 |
Jim Miller <jaggies@google.com> |
Fix 5958806: Allow play button to be hidden in TransportControlView Change-Id: I92e79cb1e33abea76f283eea389dad17d1d7c162
/frameworks/base/core/java/com/android/internal/widget/TransportControlView.java
|
a5ff5b482ab74b327983652439bea58c0499bae0 |
|
20-Oct-2011 |
Jim Miller <jaggies@google.com> |
Fix 5485925: Fix crash in transport control view This fixes a crash where we weren't hiding the view when there's no registered media player. It now hides the view when AudioManager tells it to clear the data. It also avoids a possible race condition where a request can come in from AudioManager before the callback is set. Change-Id: I3360e775c75396e1eee11413d317df5b39ceb487
/frameworks/base/core/java/com/android/internal/widget/TransportControlView.java
|
83e160d3b3ad839b0c2faf40f4477a2468098995 |
|
14-Oct-2011 |
Jim Miller <jaggies@google.com> |
Fix build. Change-Id: Ifd5fe7933065f555f50ea91c4c301f87ca09dcdc
/frameworks/base/core/java/com/android/internal/widget/TransportControlView.java
|
1a59c7e3973cd2de23e45afde1a5e8fdd8a2d30f |
|
14-Oct-2011 |
Jim Miller <jaggies@google.com> |
Merge "Fix 5358124: Better transport control visibility management in lock screen" into ics-mr0
|
4e6d35829ebf98ea37f77ea434550d51950c1119 |
|
14-Oct-2011 |
Jim Miller <jaggies@google.com> |
Fix 5358124: Better transport control visibility management in lock screen This changes TransportControlView to be "sticky" on lockscreen. Basically, once it appears on lockscreen, it stays there until unlocked and then locked again in paused state. Tested basic design goals (using Music2): - play then lock -> shows - pause then lock -> not shown - toggle pause to play while locked and not shown -> shows - pause after played once while locked -> stays until we unlock and lock again while paused - remote control play while paused & sleeping -> resume lockscreen -> shows Also tested: - configuration changes (orientation) to ensure widget continues to show after it once appears - remote events while lock screen on -> keeps lockscreen on. - remote events while sleeping -> doesn't wake. Change-Id: I23418c5f7dfd1457c0844d2683772e8a3ed0abd1
/frameworks/base/core/java/com/android/internal/widget/TransportControlView.java
|
261381cf9f52776f5f5fad8e6d2d31960c60c945 |
|
14-Oct-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
Fix 5380695 Lockscreen transport control must reflect error state When a RemoteControlClient reports an error for its playstate, make the play/pause button display the warning platform icon. Note that a specific image description is not available for this state at this time, but the one being used (the same as for the play icon) is valid as it correctly describes the action the button performs. Change-Id: I59aadab3fe5bcc09a2f7be0b9e4cffb0c500e865
/frameworks/base/core/java/com/android/internal/widget/TransportControlView.java
|
67e043db11b29f3c0c84529ae21a0fdd7ae11c6d |
|
11-Oct-2011 |
Jim Miller <jaggies@google.com> |
Fix 5249234: Add contentDescription to buttons on transport control on lock screen. Change-Id: Ie4e9139e01c37a0d9542ff9996a84db0083b35ef
/frameworks/base/core/java/com/android/internal/widget/TransportControlView.java
|
68622396b62f9084781add1e12f4d513b633ab54 |
|
19-Sep-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
Bug 5045498 Keep track of RemoteControlClient play state change time Store the time at which a RemoteControlClient changes it playback state, and send that time to the IRemoteControlDisplay. This change will enable displays to implement strategies such as timeouts (e.g. to not display transport controls for clients which have been paused or stopped for a certain amount of time). Change-Id: I902882500565743d455d56f6000efaf612cbe0a9
/frameworks/base/core/java/com/android/internal/widget/TransportControlView.java
|
01d96bd2afdcff866e0e1010eb7c88e101d0f6fa |
|
19-Sep-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
Fix bug 5300223 Lockscreen should recycle bitmaps When receiving a new bitmap to display, the lockscreen should recycle the old bitmap (if any). Change-Id: Ic4f65a797dfe7e3cae7a0559f6333cc99e2ae1e7
/frameworks/base/core/java/com/android/internal/widget/TransportControlView.java
|
f0cff0456258478ba768097f73d4367ab67fd7a3 |
|
15-Sep-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
Bug 5300223 RemoteControlClient uses PendingIntent for media button events Update the implementation of the RemoteControlClient / Display feature rely on PendingIntent as provided in the construction of the RemoteControlClient instance. The ComponentName that describes the target of the media button events is set as the target of the Intent from which a PendingIntent is constructed. This ComponentName is still saved in the stack for persisting the last media button event receiver. This CL also updates the lockscreen IRemoteControlDisplay implementation to use the PendingIntent supplied by the application when sending transport control events. A (good) side effect of doing this is that intent will be directly targeted at the application. Restoration of the media button event receiver after reboot is not fully functional yet. Change-Id: I2be82f2839e9dee1de02512437b3fb41cc386cde
/frameworks/base/core/java/com/android/internal/widget/TransportControlView.java
|
054340d0a3f242efeaf898cca38625bdcb3b4b5a |
|
02-Sep-2011 |
Jeff Sharkey <jsharkey@android.com> |
Show statusbar clock based on lockscreen status. Keep track of lockscreen clock visibility, and only hide statusbar clock when one is provided by lockscreen. This fixes bug where widget would hide all clocks. Bug: 5242065 Change-Id: I48de98ecb956c7f22bd40b54d771c78c1a80c14c
/frameworks/base/core/java/com/android/internal/widget/TransportControlView.java
|
1c18828d20807342d37000746b18a3c1696f3b2e |
|
09-Aug-2011 |
Jim Miller <jaggies@google.com> |
Fix 5044158: Integrate music transport control into LockScreen This integrates a new version of TransportControlView into LockScreen and adds plumbing to handle new AudioService events to show/hide the view and updates the required assets for all devices. Updated to use new AudioManager API. Since the current API only supports one RCD, the handler now lives in TransportControlView. Change-Id: I220d4dd760bef35bd84209adc3c5829bf5bc9a2c
/frameworks/base/core/java/com/android/internal/widget/TransportControlView.java
|
6b05d58018c2806459c121e507c005639b74aee9 |
|
18-Jul-2011 |
Jim Miller <jaggies@google.com> |
Fix 5044158: Initial pass: add music transport controls to LockScreen Refactored all lockscreen notifications to go through new KeyguardStatusViewManager. This is required to intercept messages originally intended for separate TextViews that are now shown in a single view when showing the transport control view. Refactor EmergencyCallButton to be handled by common code in KeyguardStatusViewManager. First pass at LockScreenWidgetCallback for LockScreen "widgets" to send events back to LockScreen. First pass at LockScreenWidgetInterface, which will be required of Views that want to be rendered on LockScreen. Added place-holder TransportControlView until the real one is ready and integrated it into GridLayouts. Ensured emergencyCallButton is in all views, even if not shown since some devices may lock the user out if certain criteria isn't met (missing SIM, etc). Refactored layouts and removed keyguard_screen_status*.xml since layouts are all over the map and no longer make good use of a shared layout for this. Minor tweak to MultiWaveView to fix layout issues when placed in GridLayout where the measurement was being calculated improperly. Moved EmergencyCallButton to bottom of view where we can. Removed unused Alpha keyboards from tablet password unlock layouts. Removed unused views (status2, emergencyCallText screenLocked) from layouts and made common views have common names. Fixed bug with MultiWave layout in landscape where array was shown in wrong orientation. Separated clock colors for phones/tablets since they're now different. Converted remaining phone layouts to use GridLayout. Start routing audiomanager events to lockscreen views. Move emergency call button handling to KeyguardStatusViewManager. Change-Id: I480b0346cfe19aad316fea0c0aaabf8862693636
/frameworks/base/core/java/com/android/internal/widget/TransportControlView.java
|