summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/values/dimens.xml
diff options
context:
space:
mode:
authorSelim Cinek <cinek@google.com>2014-07-08 18:01:07 +0200
committerSelim Cinek <cinek@google.com>2014-07-24 15:28:10 +0000
commitbaa23274596246d03741457701ac515a73aa8818 (patch)
tree8ef64eb83f15bfbac46d1d9824a425691a42a8a4 /packages/SystemUI/res/values/dimens.xml
parent80440cc853611e77268d8c67db2279c10b2e076e (diff)
downloadframeworks_base-baa23274596246d03741457701ac515a73aa8818.zip
frameworks_base-baa23274596246d03741457701ac515a73aa8818.tar.gz
frameworks_base-baa23274596246d03741457701ac515a73aa8818.tar.bz2
Implemented new camera affordance
Also fixed a bug in the touch logic where you could close the shade / hint after going to the camera / phone. Bug: 15126905 Change-Id: Iadfde56cb68f4048868eedec6bd3456f55823cd9
Diffstat (limited to 'packages/SystemUI/res/values/dimens.xml')
-rw-r--r--packages/SystemUI/res/values/dimens.xml12
1 files changed, 9 insertions, 3 deletions
diff --git a/packages/SystemUI/res/values/dimens.xml b/packages/SystemUI/res/values/dimens.xml
index 9bc2b0d..4e536e4 100644
--- a/packages/SystemUI/res/values/dimens.xml
+++ b/packages/SystemUI/res/values/dimens.xml
@@ -295,6 +295,15 @@
<!-- The minimum amount the user needs to swipe to go to the camera / phone. -->
<dimen name="keyguard_min_swipe_amount">75dp</dimen>
+ <!-- The minimum background radius when swiping to a side for the camera / phone affordances. -->
+ <dimen name="keyguard_affordance_min_background_radius">30dp</dimen>
+
+ <!-- The grow amount for the camera and phone circles when hinting -->
+ <dimen name="hint_grow_amount_sideways">60dp</dimen>
+
+ <!-- The chevron padding to the circle when hinting -->
+ <dimen name="hint_chevron_circle_padding">16dp</dimen>
+
<!-- Volume panel dialog y offset -->
<dimen name="volume_panel_top">0dp</dimen>
@@ -317,9 +326,6 @@
<!-- Move distance for the unlock hint animation on the lockscreen -->
<dimen name="hint_move_distance">75dp</dimen>
- <!-- Move distance for the other hint animations on the lockscreen (phone, camera)-->
- <dimen name="hint_move_distance_sideways">60dp</dimen>
-
<!-- The width of the region on the left/right edge of the screen for performing the camera/
phone hints. -->
<dimen name="edge_tap_area_width">48dp</dimen>