From 2ad0bb46a42476f91b63baa95f0bcf97a337a4fc Mon Sep 17 00:00:00 2001 From: Craig Mautner Date: Wed, 8 Apr 2015 15:43:26 -0700 Subject: Add tests for android:lockTaskMode. Android app to exercise the new attribute. For bug 19995702. Change-Id: I0794301a6b677ec6367dd3ad99a40b5d3f9f1d7c --- .../res/drawable-hdpi/ic_launcher.png | Bin 0 -> 7658 bytes .../res/drawable-mdpi/ic_launcher.png | Bin 0 -> 3777 bytes .../res/drawable-xhdpi/ic_launcher.png | Bin 0 -> 12516 bytes .../res/drawable-xxhdpi/ic_launcher.png | Bin 0 -> 24777 bytes tests/LockTaskTests/res/layout/activity_launch.xml | 32 ++++++++++++++++ tests/LockTaskTests/res/layout/activity_main.xml | 41 +++++++++++++++++++++ tests/LockTaskTests/res/values-v11/styles.xml | 11 ++++++ tests/LockTaskTests/res/values-v14/styles.xml | 12 ++++++ tests/LockTaskTests/res/values-w820dp/dimens.xml | 10 +++++ tests/LockTaskTests/res/values/dimens.xml | 7 ++++ tests/LockTaskTests/res/values/strings.xml | 25 +++++++++++++ tests/LockTaskTests/res/values/styles.xml | 20 ++++++++++ 12 files changed, 158 insertions(+) create mode 100644 tests/LockTaskTests/res/drawable-hdpi/ic_launcher.png create mode 100644 tests/LockTaskTests/res/drawable-mdpi/ic_launcher.png create mode 100644 tests/LockTaskTests/res/drawable-xhdpi/ic_launcher.png create mode 100644 tests/LockTaskTests/res/drawable-xxhdpi/ic_launcher.png create mode 100644 tests/LockTaskTests/res/layout/activity_launch.xml create mode 100644 tests/LockTaskTests/res/layout/activity_main.xml create mode 100644 tests/LockTaskTests/res/values-v11/styles.xml create mode 100644 tests/LockTaskTests/res/values-v14/styles.xml create mode 100644 tests/LockTaskTests/res/values-w820dp/dimens.xml create mode 100644 tests/LockTaskTests/res/values/dimens.xml create mode 100644 tests/LockTaskTests/res/values/strings.xml create mode 100644 tests/LockTaskTests/res/values/styles.xml (limited to 'tests/LockTaskTests/res') diff --git a/tests/LockTaskTests/res/drawable-hdpi/ic_launcher.png b/tests/LockTaskTests/res/drawable-hdpi/ic_launcher.png new file mode 100644 index 000000000000..288b66551d1e Binary files /dev/null and b/tests/LockTaskTests/res/drawable-hdpi/ic_launcher.png differ diff --git a/tests/LockTaskTests/res/drawable-mdpi/ic_launcher.png b/tests/LockTaskTests/res/drawable-mdpi/ic_launcher.png new file mode 100644 index 000000000000..6ae570b4db4d Binary files /dev/null and b/tests/LockTaskTests/res/drawable-mdpi/ic_launcher.png differ diff --git a/tests/LockTaskTests/res/drawable-xhdpi/ic_launcher.png b/tests/LockTaskTests/res/drawable-xhdpi/ic_launcher.png new file mode 100644 index 000000000000..d4fb7cd9d868 Binary files /dev/null and b/tests/LockTaskTests/res/drawable-xhdpi/ic_launcher.png differ diff --git a/tests/LockTaskTests/res/drawable-xxhdpi/ic_launcher.png b/tests/LockTaskTests/res/drawable-xxhdpi/ic_launcher.png new file mode 100644 index 000000000000..85a6081587e2 Binary files /dev/null and b/tests/LockTaskTests/res/drawable-xxhdpi/ic_launcher.png differ diff --git a/tests/LockTaskTests/res/layout/activity_launch.xml b/tests/LockTaskTests/res/layout/activity_launch.xml new file mode 100644 index 000000000000..b619743a5c7b --- /dev/null +++ b/tests/LockTaskTests/res/layout/activity_launch.xml @@ -0,0 +1,32 @@ + + +