OSDN Git Service

Fix layout transition from Display->Ambient Display to Gestures
authorDoris Ling <dling@google.com>
Fri, 1 Jul 2016 01:58:40 +0000 (18:58 -0700)
committerDoris Ling <dling@google.com>
Wed, 6 Jul 2016 20:21:08 +0000 (13:21 -0700)
commit9a3cf7725baf16afdce5a8380af8bf5939de2ee6
treecb612ab4b20cd17a830c0c249c24c59d5966f073
parentf230f4f9ad469906db43b9351bc6d9f76cf0ef82
Fix layout transition from Display->Ambient Display to Gestures

1. Add handling in Gestures settings to scroll to the corresponding
preference when launching from Display->Ambient Display
2. Remove the bitmap creation for the video preview image
3. Use a custom aspect ration framee layout to hold the animation
instead to avoid resizing of the animation view.

Bug: 29795707
Change-Id: I67209ba2508a93da4fc46ff20986309dbe5a83d5
res/layout/gesture_preference.xml
res/values/attrs.xml
res/xml/display_settings.xml
src/com/android/settings/gestures/GesturePreference.java
src/com/android/settings/gestures/GestureSettings.java
src/com/android/settings/widget/AspectRatioFrameLayout.java [new file with mode: 0644]