6090995951c6e2e4dcf38102f01793f8a94166e1 |
|
19-Nov-2013 |
John Spurlock <jspurlock@google.com> |
Remove unused imports from frameworks/base. Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/TargetDrawable.java
|
b1af7f3d4be6cd6bc6e1e805f22c209e19bf928f |
|
08-Mar-2013 |
Chet Haase <chet@google.com> |
add getAlpha() to Drawable Drawable has setAlpha(int), but no getAlpha() (although some subclasses have added the method). This makes it more tedious to use the property. For example, animations that wish to animate this property must explicitly give it a start value since this value cannot be queried from the object. The trick is that setAlpha(int) is abstract, only implemented by subclasses. We cannot take this approach for getAlpha(), as we would break all subclasses of Drawable until they implemented the method. Instead, we'll add a default method which returns an invalid value, making it easier for clients of the method to detect whether the value is valid. All subclasses of Drawble in frameworks have been changed to add an override of getAlpha() when appropriate. Issue #7485875 Drawables is missing getAlpha() Change-Id: I06b6e35f1a56d202838eca44759c85c82595020a
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/TargetDrawable.java
|
3294b6b09b2f52cb44005720051c32c9c851fc9f |
|
01-Jun-2012 |
Jim Miller <jaggies@google.com> |
Fix 6592932: add means to replace assist icon from given package This provides the means to replace the assist icon shown in keyguard and the navigation gesture for assist. It's done by adding metadata called "com.android.systemui.action_assist_icon" to the activity that handles android.intent.action.ASSIST. It should point to a StateListDrawable in that package with the required states. For example: <meta-data android:name="com.android.systemui.action_assist_icon" android:resource="@drawable/ic_android_systemui_action_assist" /> And then something like this in drawable/ic_android_systemui_action_assist.xml : <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_enabled="true" android:state_active="false" android:state_focused="false" android:drawable="@drawable/ic_action_assist_normal" /> <item android:state_enabled="true" android:state_active="true" android:state_focused="false" android:drawable="@drawable/ic_action_assist_activated" /> <item android:state_enabled="true" android:state_active="false" android:state_focused="true" android:drawable="@drawable/ic_action_assist_focused" /> </selector> Change-Id: Ibc29360e179fed68253ff06a07b1bb2b982d0dab
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/TargetDrawable.java
|
4c351d62e7a09bcc29e7d0329bcdd947a302cf40 |
|
11-May-2012 |
Jim Miller <jaggies@google.com> |
Fix 6040870: Update MultiWaveView for new device This change allows more flexibility in target placement in MultiWaveView. It now supports a new way of specifying chevron drawables that allows them to be moved in directions corresponding to more than the four basic directions (right, up, left, down). Chevron drawables can now be updated in an overlay. This change also adds a place holder and makes a minor tweak to the layout on 720dp devices where the navbar buttons weren't centered. Change-Id: Icd319ec5f276870380e27737c873e78f599ff751
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/TargetDrawable.java
|
10c66afbd05e91143ea9bd109d3ce578e53dab14 |
|
11-May-2012 |
Jim Miller <jaggies@google.com> |
Fix 6398209: Improve MultiWaveView animations and interaction TargetDrawables now have a "home" position they can be scaled about. Added new "focused" state to TargetDrawable. This is used to distinguish between highlight and selection. Updated target icons to use new focused state. Currently re-uses "activated" icon. Change to event handling to allow cancel events when a target is highlighted to cause a selection. Cleaned up MultiWaveView initialization code. MultiWaveView animation improvements: - new scale animation when center handle is touched. - switched to using indices instead of foreach loops in critical path code to avoid creating temporary objects. - updated and simplified animation code. Change-Id: I593c021475f1644c73bdb9f84855e6a9fec7c0ab
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/TargetDrawable.java
|
b030476d193a423f6c1baf3053f66fc768c925e0 |
|
14-Mar-2012 |
Jim Miller <jaggies@google.com> |
Fix 6021938: Improved target support in lock screen This adds the ability to enable or disable target icons based on the drawable resource of the target. It also fixes a bug where we'd show the camera while displaying the PIN/PUK unlock screen or when it's disabled by DevicePolicyAdmin. Minor simplification and cleanup KeyguardUpdateMonitor callbacks. Change-Id: I33fad56a2203bc8b7bcd0300c20478711a56713a
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/TargetDrawable.java
|
29aae6f36e565b8f2a99f2193597b964bb800ee8 |
|
19-Aug-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #4279860: previous UI flashes before showing lock screen... ...(when turning display on after recently turning it off) Also clean up when we decide to turn the screen on to improve that transition. There are still problems here with turning it on before the wallpaper gets dispayed. Change-Id: I2bc56c12e5ad75a1ce5a0546f43a845bf0823e66
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/TargetDrawable.java
|
b505074e8273887fbcd1e933738a42e770085fb8 |
|
09-Jun-2011 |
Jim Miller <jaggies@google.com> |
Add new MultiWaveView widget and integrate it into LockScreen This adds a new multi-target widget to the framework and integrates it into LockScreen. Now with updated assets. Change-Id: Ib41595b9e80a7be6d647f44c803a77f9e5bfeca9
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/TargetDrawable.java
|