From c9a0d7dfda78def90a615504cb56445c4904424c Mon Sep 17 00:00:00 2001 From: Peter Ng Date: Tue, 25 Oct 2011 15:23:06 -0700 Subject: Lockscreen on tablet is now using the same waveview widget as phone Bug: 5514500 Change-Id: Id84cd3515c3395297c8f9962f7985fd548634720 --- .../ic_lockscreen_handle_normal.png | Bin 0 -> 13316 bytes .../ic_lockscreen_handle_pressed.png | Bin 0 -> 15564 bytes .../ic_lockscreen_handle_normal.png | Bin 0 -> 6774 bytes .../ic_lockscreen_handle_pressed.png | Bin 0 -> 8147 bytes .../ic_lockscreen_handle_normal.png | Bin 0 -> 21777 bytes .../ic_lockscreen_handle_pressed.png | Bin 0 -> 25531 bytes .../layout-sw600dp/keyguard_screen_tab_unlock.xml | 22 ++++++- .../keyguard_screen_tab_unlock_land.xml | 22 +++++-- core/res/res/values-sw600dp-land/arrays.xml | 72 +++++++++++++++++++++ 9 files changed, 109 insertions(+), 7 deletions(-) create mode 100644 core/res/res/drawable-sw600dp-hdpi/ic_lockscreen_handle_normal.png create mode 100644 core/res/res/drawable-sw600dp-hdpi/ic_lockscreen_handle_pressed.png create mode 100644 core/res/res/drawable-sw600dp-mdpi/ic_lockscreen_handle_normal.png create mode 100644 core/res/res/drawable-sw600dp-mdpi/ic_lockscreen_handle_pressed.png create mode 100644 core/res/res/drawable-sw600dp-xhdpi/ic_lockscreen_handle_normal.png create mode 100644 core/res/res/drawable-sw600dp-xhdpi/ic_lockscreen_handle_pressed.png create mode 100644 core/res/res/values-sw600dp-land/arrays.xml diff --git a/core/res/res/drawable-sw600dp-hdpi/ic_lockscreen_handle_normal.png b/core/res/res/drawable-sw600dp-hdpi/ic_lockscreen_handle_normal.png new file mode 100644 index 000000000000..f28fe38eb449 Binary files /dev/null and b/core/res/res/drawable-sw600dp-hdpi/ic_lockscreen_handle_normal.png differ diff --git a/core/res/res/drawable-sw600dp-hdpi/ic_lockscreen_handle_pressed.png b/core/res/res/drawable-sw600dp-hdpi/ic_lockscreen_handle_pressed.png new file mode 100644 index 000000000000..728fc6756e25 Binary files /dev/null and b/core/res/res/drawable-sw600dp-hdpi/ic_lockscreen_handle_pressed.png differ diff --git a/core/res/res/drawable-sw600dp-mdpi/ic_lockscreen_handle_normal.png b/core/res/res/drawable-sw600dp-mdpi/ic_lockscreen_handle_normal.png new file mode 100644 index 000000000000..99e742fa27a3 Binary files /dev/null and b/core/res/res/drawable-sw600dp-mdpi/ic_lockscreen_handle_normal.png differ diff --git a/core/res/res/drawable-sw600dp-mdpi/ic_lockscreen_handle_pressed.png b/core/res/res/drawable-sw600dp-mdpi/ic_lockscreen_handle_pressed.png new file mode 100644 index 000000000000..c7da0242730d Binary files /dev/null and b/core/res/res/drawable-sw600dp-mdpi/ic_lockscreen_handle_pressed.png differ diff --git a/core/res/res/drawable-sw600dp-xhdpi/ic_lockscreen_handle_normal.png b/core/res/res/drawable-sw600dp-xhdpi/ic_lockscreen_handle_normal.png new file mode 100644 index 000000000000..75e478310a1b Binary files /dev/null and b/core/res/res/drawable-sw600dp-xhdpi/ic_lockscreen_handle_normal.png differ diff --git a/core/res/res/drawable-sw600dp-xhdpi/ic_lockscreen_handle_pressed.png b/core/res/res/drawable-sw600dp-xhdpi/ic_lockscreen_handle_pressed.png new file mode 100644 index 000000000000..534c10bc08e0 Binary files /dev/null and b/core/res/res/drawable-sw600dp-xhdpi/ic_lockscreen_handle_pressed.png differ diff --git a/core/res/res/layout-sw600dp/keyguard_screen_tab_unlock.xml b/core/res/res/layout-sw600dp/keyguard_screen_tab_unlock.xml index d32cd0c050d5..23b2fcb891e5 100644 --- a/core/res/res/layout-sw600dp/keyguard_screen_tab_unlock.xml +++ b/core/res/res/layout-sw600dp/keyguard_screen_tab_unlock.xml @@ -57,11 +57,27 @@ android:drawablePadding="4dip" /> - diff --git a/core/res/res/layout-sw600dp/keyguard_screen_tab_unlock_land.xml b/core/res/res/layout-sw600dp/keyguard_screen_tab_unlock_land.xml index dd291644e4f3..66223f2f817d 100644 --- a/core/res/res/layout-sw600dp/keyguard_screen_tab_unlock_land.xml +++ b/core/res/res/layout-sw600dp/keyguard_screen_tab_unlock_land.xml @@ -61,13 +61,27 @@ android:layout_alignParentTop="true" android:drawablePadding="4dip"/> - + + android:targetDrawables="@array/lockscreen_targets_with_camera" + android:targetDescriptions="@array/lockscreen_target_descriptions_with_camera" + android:directionDescriptions="@array/lockscreen_direction_descriptions" + android:handleDrawable="@drawable/ic_lockscreen_handle" + android:waveDrawable="@drawable/ic_lockscreen_outerring" + android:outerRadius="@dimen/multiwaveview_target_placement_radius" + android:snapMargin="@dimen/multiwaveview_snap_margin" + android:hitRadius="@dimen/multiwaveview_hit_radius" + android:rightChevronDrawable="@drawable/ic_lockscreen_chevron_right" + android:feedbackCount="3" + android:vibrationDuration="20" + android:horizontalOffset="0dip" + android:verticalOffset="0dip" + />