OSDN Git Service

Use SCREEN Xfermode for keyguard badges; update SeekBar
authorAdam Powell <adamp@google.com>
Mon, 7 Oct 2013 19:58:42 +0000 (12:58 -0700)
committerAdam Powell <adamp@google.com>
Mon, 7 Oct 2013 23:14:17 +0000 (16:14 -0700)
commit31049d76c55b18a6d9993f0d9687598740b16014
tree79bf629079bfc443f3c00597912e415d92636200
parentdbc31105bda3591d64e4d3e2abb3b3eaf857222e
Use SCREEN Xfermode for keyguard badges; update SeekBar

Plumb through the necessary API features through Drawables and
ImageView but leave it hidden for now pending future API review and
plumbing through the rest of the framework Drawable implementations.

Update SeekBar assets used for keyguard transport control.

Set selected status directly instead of finding views by id.

Bug 10531608
Bug 10784913

Change-Id: Ia38bd04ad1bc26e9e6da1dda8a374c9ba3ceccb3
50 files changed:
core/java/android/widget/ImageView.java
graphics/java/android/graphics/drawable/BitmapDrawable.java
graphics/java/android/graphics/drawable/Drawable.java
packages/Keyguard/res/drawable-hdpi/progress_bg_holo_light.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable-hdpi/progress_primary_holo_light.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable-hdpi/progress_secondary_holo_light.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable-hdpi/scrubber_control_disabled_holo.png [new file with mode: 0644]
packages/Keyguard/res/drawable-hdpi/scrubber_control_focused_holo.png [new file with mode: 0644]
packages/Keyguard/res/drawable-hdpi/scrubber_control_normal_holo.png [new file with mode: 0644]
packages/Keyguard/res/drawable-hdpi/scrubber_control_pressed_holo.png [new file with mode: 0644]
packages/Keyguard/res/drawable-hdpi/scrubber_primary_holo.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable-hdpi/scrubber_secondary_holo.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable-hdpi/scrubber_track_holo_light.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable-mdpi/progress_bg_holo_light.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable-mdpi/progress_primary_holo_light.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable-mdpi/progress_secondary_holo_light.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable-mdpi/scrubber_control_disabled_holo.png [new file with mode: 0644]
packages/Keyguard/res/drawable-mdpi/scrubber_control_focused_holo.png [new file with mode: 0644]
packages/Keyguard/res/drawable-mdpi/scrubber_control_normal_holo.png [new file with mode: 0644]
packages/Keyguard/res/drawable-mdpi/scrubber_control_pressed_holo.png [new file with mode: 0644]
packages/Keyguard/res/drawable-mdpi/scrubber_primary_holo.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable-mdpi/scrubber_secondary_holo.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable-mdpi/scrubber_track_holo_light.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable-xhdpi/progress_bg_holo_light.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable-xhdpi/progress_primary_holo_light.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable-xhdpi/progress_secondary_holo_light.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable-xhdpi/scrubber_control_disabled_holo.png [new file with mode: 0644]
packages/Keyguard/res/drawable-xhdpi/scrubber_control_focused_holo.png [new file with mode: 0644]
packages/Keyguard/res/drawable-xhdpi/scrubber_control_normal_holo.png [new file with mode: 0644]
packages/Keyguard/res/drawable-xhdpi/scrubber_control_pressed_holo.png [new file with mode: 0644]
packages/Keyguard/res/drawable-xhdpi/scrubber_primary_holo.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable-xhdpi/scrubber_secondary_holo.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable-xhdpi/scrubber_track_holo_light.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable-xxhdpi/kg_add_widget_pressed.png [new file with mode: 0644]
packages/Keyguard/res/drawable-xxhdpi/progress_bg_holo_light.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable-xxhdpi/progress_primary_holo_light.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable-xxhdpi/progress_secondary_holo_light.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable-xxhdpi/scrubber_control_disabled_holo.png [new file with mode: 0644]
packages/Keyguard/res/drawable-xxhdpi/scrubber_control_focused_holo.png [new file with mode: 0644]
packages/Keyguard/res/drawable-xxhdpi/scrubber_control_normal_holo.png [new file with mode: 0644]
packages/Keyguard/res/drawable-xxhdpi/scrubber_control_pressed_holo.png [new file with mode: 0644]
packages/Keyguard/res/drawable-xxhdpi/scrubber_primary_holo.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable-xxhdpi/scrubber_secondary_holo.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable-xxhdpi/scrubber_track_holo_light.9.png [new file with mode: 0644]
packages/Keyguard/res/drawable/scrubber_control_selector_holo.xml [new file with mode: 0644]
packages/Keyguard/res/drawable/scrubber_progress_horizontal_holo_light.xml [new file with mode: 0644]
packages/Keyguard/res/layout/keyguard_transport_control_view.xml
packages/Keyguard/res/values/styles.xml
packages/Keyguard/src/com/android/keyguard/KeyguardStatusView.java
packages/Keyguard/src/com/android/keyguard/KeyguardTransportControlView.java