diff options
author | Selim Cinek <cinek@google.com> | 2014-09-11 15:11:00 +0200 |
---|---|---|
committer | Selim Cinek <cinek@google.com> | 2014-09-15 17:25:40 +0200 |
commit | 92d892c0cd5462237f818b1129d936d95640e297 (patch) | |
tree | ac4e427a35fc7bd41fdb701c66aaedb2126bdfe8 /packages/SystemUI/res/values/dimens.xml | |
parent | 2047df6f5f6af14cdb93f220c0329f1bff7a43ff (diff) | |
download | frameworks_base-92d892c0cd5462237f818b1129d936d95640e297.zip frameworks_base-92d892c0cd5462237f818b1129d936d95640e297.tar.gz frameworks_base-92d892c0cd5462237f818b1129d936d95640e297.tar.bz2 |
Changed the swipe up search affordance
The previous card animation is removed and replaced by a animating
circle with a shadow. Also fixes several cases where the card could
either get stuck and the affordance was not launched.
Bug: 17457300
Bug: 17444236
Change-Id: I005313a1dbe63d338490e6100dd3bd01e35687ba
Diffstat (limited to 'packages/SystemUI/res/values/dimens.xml')
-rw-r--r-- | packages/SystemUI/res/values/dimens.xml | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/packages/SystemUI/res/values/dimens.xml b/packages/SystemUI/res/values/dimens.xml index 4495318..8fe0af8 100644 --- a/packages/SystemUI/res/values/dimens.xml +++ b/packages/SystemUI/res/values/dimens.xml @@ -434,15 +434,20 @@ from Keyguard. --> <dimen name="go_to_full_shade_appearing_translation">200dp</dimen> - <!-- The height of the search panel card. --> - <dimen name="search_panel_card_height">300dp</dimen> + <!-- The diameter of the search panel circle. --> + <dimen name="search_panel_circle_size">88dp</dimen> - <!-- The height of the scrim behind the search panel card. --> - <dimen name="search_panel_scrim_height">250dp</dimen> + <!-- The margin to the edge of the screen from where the circle starts to appear --> + <dimen name="search_panel_circle_base_margin">80dp</dimen> + + <!-- The amount the circle translates when appearing --> + <dimen name="search_panel_circle_travel_distance">80dp</dimen> - <!-- How much from the bottom of the screen the card should peek in when activating the search - panel --> - <dimen name="search_card_peek_height">100dp</dimen> + <!-- The elevation of the search panel circle --> + <dimen name="search_panel_circle_elevation">12dp</dimen> + + <!-- The height of the scrim behind the search panel circle. --> + <dimen name="search_panel_scrim_height">250dp</dimen> <!-- How far the user needs to drag up to invoke search. --> <dimen name="search_panel_threshold">100dp</dimen> |