From 683394b8026ad8a9db178b37702b6b6f5830cd04 Mon Sep 17 00:00:00 2001 From: Joy Liu Date: Thu, 24 Sep 2020 13:22:56 -0700 Subject: [PATCH] Merged PR 191: Release 200924 --- CompanionPane/build.gradle | 8 +- .../companionpane/LayoutOrientationTest.kt | 98 ++++++++++ .../ExampleInstrumentedTest.kt | 27 --- CompanionPane/src/main/AndroidManifest.xml | 9 +- .../samples/companionpane}/MainActivity.kt | 2 +- .../complementarycontext/MainActivity.kt | 70 ------- .../adapters/Comparator.kt | 20 -- .../adapters/NotesAdapter.kt | 64 ------- .../adapters/SlidesAdapter.kt | 39 ---- .../model/DataProvider.kt | 27 --- .../complementarycontext/model/Slide.kt | 17 -- .../src/main/res/drawable-hdpi/arrow_down.png | Bin .../main/res/drawable-hdpi/arrow_right.png | Bin .../res/drawable-hdpi/ic_aspect_ratio.png | Bin .../src/main/res/drawable-hdpi/ic_eye.png | Bin .../src/main/res/drawable-hdpi/ic_flip.png | Bin .../res/drawable-hdpi/ic_photo_blue_24dp.xml | 0 .../src/main/res/drawable-hdpi/ic_tap.png | Bin .../src/main/res/drawable-mdpi/arrow_down.png | Bin .../main/res/drawable-mdpi/arrow_right.png | Bin .../res/drawable-mdpi/ic_aspect_ratio.png | Bin .../src/main/res/drawable-mdpi/ic_eye.png | Bin .../src/main/res/drawable-mdpi/ic_flip.png | Bin .../res/drawable-mdpi/ic_photo_blue_24dp.xml | 0 .../src/main/res/drawable-mdpi/ic_tap.png | Bin .../src/main/res/drawable-v24/selected.xml | 13 -- .../drawable-v24/selector_item_selected.xml | 11 -- .../src/main/res/drawable-v24/un_select.xml | 13 -- .../main/res/drawable-xhdpi/arrow_down.png | Bin .../main/res/drawable-xhdpi/arrow_right.png | Bin .../res/drawable-xhdpi/ic_aspect_ratio.png | Bin .../src/main/res/drawable-xhdpi/ic_eye.png | Bin .../src/main/res/drawable-xhdpi/ic_flip.png | Bin .../res/drawable-xhdpi/ic_photo_blue_24dp.xml | 0 .../src/main/res/drawable-xhdpi/ic_tap.png | Bin .../main/res/drawable-xxhdpi/arrow_down.png | Bin .../main/res/drawable-xxhdpi/arrow_right.png | Bin .../res/drawable-xxhdpi/ic_aspect_ratio.png | Bin .../src/main/res/drawable-xxhdpi/ic_eye.png | Bin .../src/main/res/drawable-xxhdpi/ic_flip.png | Bin .../drawable-xxhdpi/ic_photo_blue_24dp.xml | 0 .../src/main/res/drawable-xxhdpi/ic_tap.png | Bin .../main/res/drawable-xxxhdpi/arrow_down.png | Bin .../main/res/drawable-xxxhdpi/arrow_right.png | Bin .../res/drawable-xxxhdpi/ic_aspect_ratio.png | Bin .../src/main/res/drawable-xxxhdpi/ic_eye.png | Bin .../src/main/res/drawable-xxxhdpi/ic_flip.png | Bin .../src/main/res/drawable-xxxhdpi/ic_tap.png | Bin .../main/res/drawable/seek_bar_ruler_dark.xml | 0 .../res/drawable/seek_bar_ruler_light.xml | 0 .../res/drawable/seek_bar_slider_dark.xml | 0 .../res/drawable/seek_bar_slider_light.xml | 0 .../res/layout-land/single_screen_layout.xml | 1 + .../res/layout-land/tools_dual_screen.xml | 1 + .../res/layout-land/tools_single_screen.xml | 0 .../res/layout-port/single_screen_layout.xml | 1 + .../res/layout-port/tools_dual_screen.xml | 1 + .../res/layout-port/tools_single_screen.xml | 0 .../src/main/res/layout/activity_main.xml | 10 +- .../res/layout/dual_screen_end_layout.xml | 34 ---- .../src/main/res/layout/item_notes.xml | 40 ---- .../src/main/res/layout/item_slides.xml | 32 ---- .../main/res/layout/picture_dual_screen.xml | 1 + .../main/res/layout/single_screen_layout.xml | 37 ---- CompanionPane/src/main/res/values/colors.xml | 10 +- CompanionPane/src/main/res/values/dimens.xml | 24 +-- CompanionPane/src/main/res/values/strings.xml | 24 ++- CompanionPane/src/main/res/values/styles.xml | 8 +- .../complementarycontext/ExampleUnitTest.kt | 22 --- CompanionPaneLevel2/.gitignore | 1 - CompanionPaneLevel2/build.gradle | 38 ---- .../ExampleInstrumentedTest.kt | 29 --- .../src/main/AndroidManifest.xml | 27 --- .../drawable-v24/ic_launcher_foreground.xml | 40 ---- .../res/drawable/ic_launcher_background.xml | 176 ------------------ .../src/main/res/layout/activity_main.xml | 16 -- .../res/mipmap-anydpi-v26/ic_launcher.xml | 11 -- .../mipmap-anydpi-v26/ic_launcher_round.xml | 11 -- .../src/main/res/mipmap-hdpi/ic_launcher.png | Bin 2963 -> 0 bytes .../res/mipmap-hdpi/ic_launcher_round.png | Bin 4905 -> 0 bytes .../src/main/res/mipmap-mdpi/ic_launcher.png | Bin 2060 -> 0 bytes .../res/mipmap-mdpi/ic_launcher_round.png | Bin 2783 -> 0 bytes .../src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 4490 -> 0 bytes .../res/mipmap-xhdpi/ic_launcher_round.png | Bin 6895 -> 0 bytes .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin 6387 -> 0 bytes .../res/mipmap-xxhdpi/ic_launcher_round.png | Bin 10413 -> 0 bytes .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 9128 -> 0 bytes .../res/mipmap-xxxhdpi/ic_launcher_round.png | Bin 15132 -> 0 bytes .../src/main/res/values/colors.xml | 16 -- .../src/main/res/values/dimens.xml | 20 -- .../src/main/res/values/strings.xml | 26 --- .../src/main/res/values/styles.xml | 19 -- .../ExampleUnitTest.kt | 22 --- DragAndDrop/build.gradle | 3 + .../samples/draganddrop/DragAndDropTest.kt | 105 +++++++++++ .../display/samples/draganddrop/util/Util.kt | 16 -- DualView/build.gradle | 3 + .../samples/contentcontext/LayoutModeTest.kt | 104 +++++++++++ .../contentcontext/MapPointParcelableTest.kt | 44 +++++ .../contentcontext/MapPointListFragment.kt | 6 +- .../src/main/res/layout/activity_main.xml | 1 - ExtendCanvas/build.gradle | 4 +- .../samples/extendcanvas/ImageModeTest.kt | 91 +++++++++ IntentToSecondScreen/build.gradle | 4 + .../SecondScreenIntentTest.kt | 70 +++++++ .../src/main/res/layout/activity_second.xml | 1 + ListDetail/build.gradle | 4 +- .../samples/listdetail/ListDetailsTest.kt | 95 ++++++++++ MultipleInstances/build.gradle | 2 + .../multipleinstances/ShortcutsTest.kt | 106 +++++++++++ .../samples/multipleinstances/MainActivity.kt | 9 +- .../multipleinstances/SecondActivity.kt | 1 + .../src/main/res/layout/activity_main.xml | 1 + .../src/main/res/layout/activity_second.xml | 1 + .../src/main/res/values/strings.xml | 2 + Qualifiers/build.gradle | 3 + .../samples/qualifiers/QualifiersTest.kt | 92 +++++++++ .../activity_main.xml | 1 + .../main/res/layout-sw720dp/activity_main.xml | 1 + .../src/main/res/layout/activity_main.xml | 1 + .../res/values-sw720dp-2784x1800/strings.xml | 1 + TwoPage/build.gradle | 3 + .../twopage/TwoPageModeOrientationTest.kt | 132 +++++++++++++ TwoPage/src/main/res/layout/activity_main.xml | 1 + .../res/layout/double_landscape_layout.xml | 1 + build.gradle | 12 +- dependencies.gradle | 18 +- settings.gradle | 4 +- 128 files changed, 1065 insertions(+), 994 deletions(-) create mode 100644 CompanionPane/src/androidTest/java/com/microsoft/device/display/samples/companionpane/LayoutOrientationTest.kt delete mode 100644 CompanionPane/src/androidTest/java/com/microsoft/device/display/samples/complementarycontext/ExampleInstrumentedTest.kt rename {CompanionPaneLevel2/src/main/java/com/microsoft/device/display/samples/complementarycontextlevel2 => CompanionPane/src/main/java/com/microsoft/device/display/samples/companionpane}/MainActivity.kt (84%) delete mode 100644 CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/MainActivity.kt delete mode 100644 CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/adapters/Comparator.kt delete mode 100644 CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/adapters/NotesAdapter.kt delete mode 100644 CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/adapters/SlidesAdapter.kt delete mode 100644 CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/model/DataProvider.kt delete mode 100644 CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/model/Slide.kt rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-hdpi/arrow_down.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-hdpi/arrow_right.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-hdpi/ic_aspect_ratio.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-hdpi/ic_eye.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-hdpi/ic_flip.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-hdpi/ic_photo_blue_24dp.xml (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-hdpi/ic_tap.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-mdpi/arrow_down.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-mdpi/arrow_right.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-mdpi/ic_aspect_ratio.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-mdpi/ic_eye.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-mdpi/ic_flip.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-mdpi/ic_photo_blue_24dp.xml (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-mdpi/ic_tap.png (100%) delete mode 100644 CompanionPane/src/main/res/drawable-v24/selected.xml delete mode 100644 CompanionPane/src/main/res/drawable-v24/selector_item_selected.xml delete mode 100644 CompanionPane/src/main/res/drawable-v24/un_select.xml rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-xhdpi/arrow_down.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-xhdpi/arrow_right.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-xhdpi/ic_aspect_ratio.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-xhdpi/ic_eye.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-xhdpi/ic_flip.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-xhdpi/ic_photo_blue_24dp.xml (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-xhdpi/ic_tap.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-xxhdpi/arrow_down.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-xxhdpi/arrow_right.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-xxhdpi/ic_aspect_ratio.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-xxhdpi/ic_eye.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-xxhdpi/ic_flip.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-xxhdpi/ic_photo_blue_24dp.xml (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-xxhdpi/ic_tap.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-xxxhdpi/arrow_down.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-xxxhdpi/arrow_right.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-xxxhdpi/ic_aspect_ratio.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-xxxhdpi/ic_eye.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-xxxhdpi/ic_flip.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable-xxxhdpi/ic_tap.png (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable/seek_bar_ruler_dark.xml (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable/seek_bar_ruler_light.xml (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable/seek_bar_slider_dark.xml (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/drawable/seek_bar_slider_light.xml (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/layout-land/single_screen_layout.xml (97%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/layout-land/tools_dual_screen.xml (99%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/layout-land/tools_single_screen.xml (100%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/layout-port/single_screen_layout.xml (96%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/layout-port/tools_dual_screen.xml (99%) rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/layout-port/tools_single_screen.xml (100%) delete mode 100644 CompanionPane/src/main/res/layout/dual_screen_end_layout.xml delete mode 100644 CompanionPane/src/main/res/layout/item_notes.xml delete mode 100644 CompanionPane/src/main/res/layout/item_slides.xml rename {CompanionPaneLevel2 => CompanionPane}/src/main/res/layout/picture_dual_screen.xml (97%) delete mode 100644 CompanionPane/src/main/res/layout/single_screen_layout.xml delete mode 100644 CompanionPane/src/test/java/com/microsoft/device/display/samples/complementarycontext/ExampleUnitTest.kt delete mode 100644 CompanionPaneLevel2/.gitignore delete mode 100644 CompanionPaneLevel2/build.gradle delete mode 100644 CompanionPaneLevel2/src/androidTest/java/com/microsoft/device/display/samples/complementarycontextlevel2/ExampleInstrumentedTest.kt delete mode 100644 CompanionPaneLevel2/src/main/AndroidManifest.xml delete mode 100644 CompanionPaneLevel2/src/main/res/drawable-v24/ic_launcher_foreground.xml delete mode 100644 CompanionPaneLevel2/src/main/res/drawable/ic_launcher_background.xml delete mode 100644 CompanionPaneLevel2/src/main/res/layout/activity_main.xml delete mode 100644 CompanionPaneLevel2/src/main/res/mipmap-anydpi-v26/ic_launcher.xml delete mode 100644 CompanionPaneLevel2/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml delete mode 100644 CompanionPaneLevel2/src/main/res/mipmap-hdpi/ic_launcher.png delete mode 100644 CompanionPaneLevel2/src/main/res/mipmap-hdpi/ic_launcher_round.png delete mode 100644 CompanionPaneLevel2/src/main/res/mipmap-mdpi/ic_launcher.png delete mode 100644 CompanionPaneLevel2/src/main/res/mipmap-mdpi/ic_launcher_round.png delete mode 100644 CompanionPaneLevel2/src/main/res/mipmap-xhdpi/ic_launcher.png delete mode 100644 CompanionPaneLevel2/src/main/res/mipmap-xhdpi/ic_launcher_round.png delete mode 100644 CompanionPaneLevel2/src/main/res/mipmap-xxhdpi/ic_launcher.png delete mode 100644 CompanionPaneLevel2/src/main/res/mipmap-xxhdpi/ic_launcher_round.png delete mode 100644 CompanionPaneLevel2/src/main/res/mipmap-xxxhdpi/ic_launcher.png delete mode 100644 CompanionPaneLevel2/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png delete mode 100644 CompanionPaneLevel2/src/main/res/values/colors.xml delete mode 100644 CompanionPaneLevel2/src/main/res/values/dimens.xml delete mode 100644 CompanionPaneLevel2/src/main/res/values/strings.xml delete mode 100644 CompanionPaneLevel2/src/main/res/values/styles.xml delete mode 100644 CompanionPaneLevel2/src/test/java/com/microsoft/device/display/samples/complementarycontextlevel2/ExampleUnitTest.kt create mode 100644 DragAndDrop/src/androidTest/java/com/microsoft/device/display/samples/draganddrop/DragAndDropTest.kt delete mode 100644 DragAndDrop/src/main/java/com/microsoft/device/display/samples/draganddrop/util/Util.kt create mode 100644 DualView/src/androidTest/java/com/microsoft/device/display/samples/contentcontext/LayoutModeTest.kt create mode 100644 DualView/src/androidTest/java/com/microsoft/device/display/samples/contentcontext/MapPointParcelableTest.kt create mode 100644 ExtendCanvas/src/androidTest/java/com/microsoft/device/display/samples/extendcanvas/ImageModeTest.kt create mode 100644 IntentToSecondScreen/src/androidTest/java/com/microsoft/device/display/samples/intentsecondscreen/SecondScreenIntentTest.kt create mode 100644 ListDetail/src/androidTest/java/com/microsoft/device/display/samples/listdetail/ListDetailsTest.kt create mode 100644 MultipleInstances/src/androidTest/java/com/microsoft/device/display/samples/multipleinstances/ShortcutsTest.kt create mode 100644 Qualifiers/src/androidTest/java/com/microsoft/device/display/samples/qualifiers/QualifiersTest.kt create mode 100644 TwoPage/src/androidTest/java/com/microsoft/device/display/samples/twopage/TwoPageModeOrientationTest.kt diff --git a/CompanionPane/build.gradle b/CompanionPane/build.gradle index 3bc2c9ea..553577f5 100644 --- a/CompanionPane/build.gradle +++ b/CompanionPane/build.gradle @@ -13,7 +13,7 @@ android { buildToolsVersion rootProject.ext.buildToolsVersion defaultConfig { - applicationId "com.microsoft.device.display.samples.complementarycontext" + applicationId "com.microsoft.device.display.samples.companionpane" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 @@ -27,15 +27,15 @@ dependencies { implementation kotlinDependencies.kotlinStdlib implementation androidxDependencies.appCompat implementation androidxDependencies.constraintLayout - implementation androidxDependencies.recyclerView - implementation androidxDependencies.cardView - implementation androidxDependencies.viewPager2 implementation androidxDependencies.ktxCore implementation androidxDependencies.ktxFragment implementation microsoftDependencies.dualScreenLayout testImplementation testDependencies.junit + androidTestImplementation instrumentationTestDependencies.junit androidTestImplementation instrumentationTestDependencies.espressoCore + androidTestImplementation instrumentationTestDependencies.uiAutomator + androidTestImplementation instrumentationTestDependencies.testRules } diff --git a/CompanionPane/src/androidTest/java/com/microsoft/device/display/samples/companionpane/LayoutOrientationTest.kt b/CompanionPane/src/androidTest/java/com/microsoft/device/display/samples/companionpane/LayoutOrientationTest.kt new file mode 100644 index 00000000..320dfac3 --- /dev/null +++ b/CompanionPane/src/androidTest/java/com/microsoft/device/display/samples/companionpane/LayoutOrientationTest.kt @@ -0,0 +1,98 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + * + */ + +package com.microsoft.device.display.samples.companionpane + +import androidx.test.espresso.Espresso.onView +import androidx.test.espresso.assertion.ViewAssertions.matches +import androidx.test.espresso.matcher.ViewMatchers.isDisplayed +import androidx.test.espresso.matcher.ViewMatchers.withId +import androidx.test.filters.LargeTest +import androidx.test.internal.runner.junit4.AndroidJUnit4ClassRunner +import androidx.test.platform.app.InstrumentationRegistry +import androidx.test.rule.ActivityTestRule +import androidx.test.uiautomator.UiDevice +import org.junit.After +import org.junit.Rule +import org.junit.Test +import org.junit.runner.RunWith + +@RunWith(AndroidJUnit4ClassRunner::class) +@LargeTest +class LayoutOrientationTest { + + private val device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()) + + @get:Rule + val activityRule = ActivityTestRule(MainActivity::class.java) + + @After + fun resetOrientation() { + device.setOrientationNatural() + device.unfreezeRotation() + } + + @Test + fun shouldFindLayout_whenInSinglePortrait() { + onView(withId(R.id.single_screen_container_id)).check(matches(isDisplayed())) + onView(withId(R.id.single_screen_layout_port)).check(matches(isDisplayed())) + } + + @Test + fun shouldFindLayout_whenInSingleLandscape() { + rotateDevice() + + onView(withId(R.id.single_screen_container_id)).check(matches(isDisplayed())) + onView(withId(R.id.single_screen_layout_land)).check(matches(isDisplayed())) + } + + @Test + fun shouldFindLayouts_whenInDoublePortrait() { + spanApplication() + + onView(withId(R.id.dual_screen_start_container_id)).check(matches(isDisplayed())) + onView(withId(R.id.picture_dual_layout)).check(matches(isDisplayed())) + + onView(withId(R.id.dual_screen_end_container_id)).check(matches(isDisplayed())) + onView(withId(R.id.tools_dual_layout_land)).check(matches(isDisplayed())) + } + + @Test + fun shouldFindLayouts_whenInDoubleLandscape() { + spanApplication() + rotateDevice() + + onView(withId(R.id.dual_screen_start_container_id)).check(matches(isDisplayed())) + onView(withId(R.id.picture_dual_layout)).check(matches(isDisplayed())) + + onView(withId(R.id.dual_screen_end_container_id)).check(matches(isDisplayed())) + onView(withId(R.id.tools_dual_layout_port)).check(matches(isDisplayed())) + } + + @Test + fun shouldFindLayouts_whenSpanningInDoubleLandscape() { + rotateDevice() + spanLandscapeApplication() + + onView(withId(R.id.dual_screen_start_container_id)).check(matches(isDisplayed())) + onView(withId(R.id.picture_dual_layout)).check(matches(isDisplayed())) + + onView(withId(R.id.dual_screen_end_container_id)).check(matches(isDisplayed())) + onView(withId(R.id.tools_dual_layout_port)).check(matches(isDisplayed())) + } + + private fun spanApplication() { + device.swipe(675, 1780, 1350, 900, 400) + } + + private fun spanLandscapeApplication() { + device.swipe(1780, 2100, 1350, 1500, 400) + } + + private fun rotateDevice() { + device.setOrientationLeft() + } +} \ No newline at end of file diff --git a/CompanionPane/src/androidTest/java/com/microsoft/device/display/samples/complementarycontext/ExampleInstrumentedTest.kt b/CompanionPane/src/androidTest/java/com/microsoft/device/display/samples/complementarycontext/ExampleInstrumentedTest.kt deleted file mode 100644 index efaa45a0..00000000 --- a/CompanionPane/src/androidTest/java/com/microsoft/device/display/samples/complementarycontext/ExampleInstrumentedTest.kt +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - * - */ - -package com.microsoft.device.display.samples.complementarycontext - -import androidx.test.internal.runner.junit4.AndroidJUnit4ClassRunner -import androidx.test.platform.app.InstrumentationRegistry -import org.junit.Assert.assertEquals -import org.junit.Test -import org.junit.runner.RunWith - -/** - * Instrumented test, which will execute on an Android device. - * - * @see [Testing documentation](http://d.android.com/tools/testing) - */ -@RunWith(AndroidJUnit4ClassRunner::class) -class ExampleInstrumentedTest { - @Test - fun useAppContext() { // Context of the app under test. - val appContext = InstrumentationRegistry.getInstrumentation().targetContext - assertEquals("com.microsoft.device.display.samples.complementarycontext", appContext.packageName) - } -} diff --git a/CompanionPane/src/main/AndroidManifest.xml b/CompanionPane/src/main/AndroidManifest.xml index 319bab33..b5f66604 100644 --- a/CompanionPane/src/main/AndroidManifest.xml +++ b/CompanionPane/src/main/AndroidManifest.xml @@ -6,9 +6,7 @@ --> + package="com.microsoft.device.display.samples.companionpane"> - + android:theme="@style/AppTheme"> + diff --git a/CompanionPaneLevel2/src/main/java/com/microsoft/device/display/samples/complementarycontextlevel2/MainActivity.kt b/CompanionPane/src/main/java/com/microsoft/device/display/samples/companionpane/MainActivity.kt similarity index 84% rename from CompanionPaneLevel2/src/main/java/com/microsoft/device/display/samples/complementarycontextlevel2/MainActivity.kt rename to CompanionPane/src/main/java/com/microsoft/device/display/samples/companionpane/MainActivity.kt index c3ad2137..b1f61ddc 100644 --- a/CompanionPaneLevel2/src/main/java/com/microsoft/device/display/samples/complementarycontextlevel2/MainActivity.kt +++ b/CompanionPane/src/main/java/com/microsoft/device/display/samples/companionpane/MainActivity.kt @@ -4,7 +4,7 @@ * */ -package com.microsoft.device.display.samples.complementarycontextlevel2 +package com.microsoft.device.display.samples.companionpane import android.os.Bundle import androidx.appcompat.app.AppCompatActivity diff --git a/CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/MainActivity.kt b/CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/MainActivity.kt deleted file mode 100644 index 1cc3bcb5..00000000 --- a/CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/MainActivity.kt +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - * - */ - -package com.microsoft.device.display.samples.complementarycontext - -import android.os.Bundle -import android.view.Surface -import android.view.View -import androidx.appcompat.app.AppCompatActivity -import androidx.appcompat.widget.Toolbar -import androidx.recyclerview.widget.LinearLayoutManager -import androidx.recyclerview.widget.RecyclerView -import androidx.viewpager2.widget.ViewPager2 -import com.microsoft.device.display.samples.complementarycontext.adapters.NotesAdapter -import com.microsoft.device.display.samples.complementarycontext.adapters.SlidesAdapter -import com.microsoft.device.display.samples.complementarycontext.model.DataProvider -import com.microsoft.device.dualscreen.layout.ScreenHelper - -class MainActivity : AppCompatActivity() { - override fun onCreate(savedInstanceState: Bundle?) { - super.onCreate(savedInstanceState) - setContentView(R.layout.activity_main) - - if (!ScreenHelper.isDualMode(this)) { - val slidesPager = findViewById(R.id.slides_pager) - setupViewPager(slidesPager) - } else { - val slidesPager = findViewById(R.id.slides_pager) - setupViewPager(slidesPager) - - // Handle DualScreenEndLayout Toolbar visibility - val toolbar = findViewById(R.id.dual_screen_end_toolbar) - when (ScreenHelper.getCurrentRotation(this@MainActivity)) { - Surface.ROTATION_0, Surface.ROTATION_180 -> toolbar.visibility = View.VISIBLE - Surface.ROTATION_90, Surface.ROTATION_270 -> toolbar.visibility = View.GONE - } - - // Dual End Screen - val notesRecyclerView = findViewById(R.id.notes_recycler_view) - notesRecyclerView.layoutManager = LinearLayoutManager(this@MainActivity) - val notesAdapter = NotesAdapter() - notesAdapter.submitList(DataProvider.slides) - notesRecyclerView.adapter = notesAdapter - notesAdapter.setSlidesPager(slidesPager) - - slidesPager.registerOnPageChangeCallback( - object : ViewPager2.OnPageChangeCallback() { - override fun onPageSelected(position: Int) { - super.onPageSelected(position) - notesRecyclerView.scrollToPosition(position) - - NotesAdapter.oldSelectionPosition = NotesAdapter.selectionPosition - NotesAdapter.selectionPosition = position - notesAdapter.notifyItemChanged(NotesAdapter.oldSelectionPosition) - notesAdapter.notifyItemChanged(position) - } - }) - } - } - - fun setupViewPager(slidesPager: ViewPager2) { - // Setup Single screen / Dual Start Screen - val slidesAdapter = SlidesAdapter() - slidesAdapter.submitList(DataProvider.slides) - slidesPager.adapter = slidesAdapter - } -} diff --git a/CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/adapters/Comparator.kt b/CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/adapters/Comparator.kt deleted file mode 100644 index d1309f47..00000000 --- a/CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/adapters/Comparator.kt +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - * - */ - -package com.microsoft.device.display.samples.complementarycontext.adapters - -import androidx.recyclerview.widget.DiffUtil -import com.microsoft.device.display.samples.complementarycontext.model.Slide - -class Comparator : DiffUtil.ItemCallback() { - override fun areItemsTheSame(oldItem: Slide, newItem: Slide): Boolean { - return oldItem.note == newItem.note - } - - override fun areContentsTheSame(oldItem: Slide, newItem: Slide): Boolean { - return oldItem.equals(newItem) - } -} \ No newline at end of file diff --git a/CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/adapters/NotesAdapter.kt b/CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/adapters/NotesAdapter.kt deleted file mode 100644 index a8e150e7..00000000 --- a/CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/adapters/NotesAdapter.kt +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - * - */ - -package com.microsoft.device.display.samples.complementarycontext.adapters - -import android.view.LayoutInflater -import android.view.View -import android.view.ViewGroup -import android.widget.TextView -import androidx.cardview.widget.CardView -import androidx.recyclerview.widget.ListAdapter -import androidx.recyclerview.widget.RecyclerView -import androidx.viewpager2.widget.ViewPager2 -import com.microsoft.device.display.samples.complementarycontext.R -import com.microsoft.device.display.samples.complementarycontext.model.Slide - -class NotesAdapter : ListAdapter(Comparator()) { - private var slidesPager: ViewPager2? = null - - fun setSlidesPager(slidesPager: ViewPager2) { - this.slidesPager = slidesPager - } - - override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): NoteViewHolder { - val slide = LayoutInflater - .from(parent.context) - .inflate(R.layout.item_notes, parent, false) - - return NoteViewHolder(slide) - } - - override fun onBindViewHolder(holder: NoteViewHolder, position: Int) { - holder.bind(getItem(position), position) - } - - inner class NoteViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) { - private var slideContent: TextView = itemView.findViewById(R.id.slide_content) - private var slideNote: TextView = itemView.findViewById(R.id.slide_note) - private var cardView: CardView = itemView.findViewById(R.id.card_view) - - fun bind(slide: Slide, position: Int) { - slideContent.text = slide.content - slideNote.text = slide.note - - cardView.setOnClickListener { - oldSelectionPosition = selectionPosition - selectionPosition = position - notifyItemChanged(oldSelectionPosition) - cardView.isSelected = true - slidesPager?.setCurrentItem(position, true) - } - - cardView.isSelected = selectionPosition == position - } - } - - companion object { - var selectionPosition = 0 - var oldSelectionPosition = 0 - } -} \ No newline at end of file diff --git a/CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/adapters/SlidesAdapter.kt b/CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/adapters/SlidesAdapter.kt deleted file mode 100644 index 55e6880e..00000000 --- a/CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/adapters/SlidesAdapter.kt +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - * - */ - -package com.microsoft.device.display.samples.complementarycontext.adapters - -import android.view.LayoutInflater -import android.view.View -import android.view.ViewGroup -import android.widget.TextView -import androidx.recyclerview.widget.ListAdapter -import androidx.recyclerview.widget.RecyclerView -import com.microsoft.device.display.samples.complementarycontext.R -import com.microsoft.device.display.samples.complementarycontext.model.Slide - -class SlidesAdapter : ListAdapter(Comparator()) { - - override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): SlideViewHolder { - val slide = LayoutInflater - .from(parent.context) - .inflate(R.layout.item_slides, parent, false) - - return SlideViewHolder(slide) - } - - override fun onBindViewHolder(holder: SlideViewHolder, position: Int) { - holder.bind(getItem(position)) - } - - inner class SlideViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) { - var slide: TextView = itemView.findViewById(R.id.slide) - - fun bind(slide: Slide) { - this.slide.text = slide.content - } - } -} \ No newline at end of file diff --git a/CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/model/DataProvider.kt b/CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/model/DataProvider.kt deleted file mode 100644 index 32c8ae4f..00000000 --- a/CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/model/DataProvider.kt +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - * - */ - -package com.microsoft.device.display.samples.complementarycontext.model - -import java.util.ArrayList - -object DataProvider { - val slides: List - get() { - val list = ArrayList() - list.add(Slide("Slide 1", "Note 1")) - list.add(Slide("Slide 2", "Note 2")) - list.add(Slide("Slide 3", "Note 3")) - list.add(Slide("Slide 4", "Note 4")) - list.add(Slide("Slide 5", "Note 5")) - list.add(Slide("Slide 6", "Note 6")) - list.add(Slide("Slide 7", "Note 7")) - list.add(Slide("Slide 8", "Note 8")) - list.add(Slide("Slide 9", "Note 9")) - list.add(Slide("Slide 10", "Note 10")) - return list - } -} diff --git a/CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/model/Slide.kt b/CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/model/Slide.kt deleted file mode 100644 index 6a751eea..00000000 --- a/CompanionPane/src/main/java/com/microsoft/device/display/samples/complementarycontext/model/Slide.kt +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - * - */ - -package com.microsoft.device.display.samples.complementarycontext.model - -class Slide internal constructor(val content: String, val note: String) { - fun equals(obj: Slide?): Boolean { - return if (obj != null) { - this.note == obj.note && this.content == obj.content - } else { - false - } - } -} diff --git a/CompanionPaneLevel2/src/main/res/drawable-hdpi/arrow_down.png b/CompanionPane/src/main/res/drawable-hdpi/arrow_down.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-hdpi/arrow_down.png rename to CompanionPane/src/main/res/drawable-hdpi/arrow_down.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-hdpi/arrow_right.png b/CompanionPane/src/main/res/drawable-hdpi/arrow_right.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-hdpi/arrow_right.png rename to CompanionPane/src/main/res/drawable-hdpi/arrow_right.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-hdpi/ic_aspect_ratio.png b/CompanionPane/src/main/res/drawable-hdpi/ic_aspect_ratio.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-hdpi/ic_aspect_ratio.png rename to CompanionPane/src/main/res/drawable-hdpi/ic_aspect_ratio.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-hdpi/ic_eye.png b/CompanionPane/src/main/res/drawable-hdpi/ic_eye.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-hdpi/ic_eye.png rename to CompanionPane/src/main/res/drawable-hdpi/ic_eye.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-hdpi/ic_flip.png b/CompanionPane/src/main/res/drawable-hdpi/ic_flip.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-hdpi/ic_flip.png rename to CompanionPane/src/main/res/drawable-hdpi/ic_flip.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-hdpi/ic_photo_blue_24dp.xml b/CompanionPane/src/main/res/drawable-hdpi/ic_photo_blue_24dp.xml similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-hdpi/ic_photo_blue_24dp.xml rename to CompanionPane/src/main/res/drawable-hdpi/ic_photo_blue_24dp.xml diff --git a/CompanionPaneLevel2/src/main/res/drawable-hdpi/ic_tap.png b/CompanionPane/src/main/res/drawable-hdpi/ic_tap.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-hdpi/ic_tap.png rename to CompanionPane/src/main/res/drawable-hdpi/ic_tap.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-mdpi/arrow_down.png b/CompanionPane/src/main/res/drawable-mdpi/arrow_down.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-mdpi/arrow_down.png rename to CompanionPane/src/main/res/drawable-mdpi/arrow_down.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-mdpi/arrow_right.png b/CompanionPane/src/main/res/drawable-mdpi/arrow_right.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-mdpi/arrow_right.png rename to CompanionPane/src/main/res/drawable-mdpi/arrow_right.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-mdpi/ic_aspect_ratio.png b/CompanionPane/src/main/res/drawable-mdpi/ic_aspect_ratio.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-mdpi/ic_aspect_ratio.png rename to CompanionPane/src/main/res/drawable-mdpi/ic_aspect_ratio.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-mdpi/ic_eye.png b/CompanionPane/src/main/res/drawable-mdpi/ic_eye.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-mdpi/ic_eye.png rename to CompanionPane/src/main/res/drawable-mdpi/ic_eye.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-mdpi/ic_flip.png b/CompanionPane/src/main/res/drawable-mdpi/ic_flip.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-mdpi/ic_flip.png rename to CompanionPane/src/main/res/drawable-mdpi/ic_flip.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-mdpi/ic_photo_blue_24dp.xml b/CompanionPane/src/main/res/drawable-mdpi/ic_photo_blue_24dp.xml similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-mdpi/ic_photo_blue_24dp.xml rename to CompanionPane/src/main/res/drawable-mdpi/ic_photo_blue_24dp.xml diff --git a/CompanionPaneLevel2/src/main/res/drawable-mdpi/ic_tap.png b/CompanionPane/src/main/res/drawable-mdpi/ic_tap.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-mdpi/ic_tap.png rename to CompanionPane/src/main/res/drawable-mdpi/ic_tap.png diff --git a/CompanionPane/src/main/res/drawable-v24/selected.xml b/CompanionPane/src/main/res/drawable-v24/selected.xml deleted file mode 100644 index d48755a3..00000000 --- a/CompanionPane/src/main/res/drawable-v24/selected.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/CompanionPane/src/main/res/drawable-v24/selector_item_selected.xml b/CompanionPane/src/main/res/drawable-v24/selector_item_selected.xml deleted file mode 100644 index 869c4046..00000000 --- a/CompanionPane/src/main/res/drawable-v24/selector_item_selected.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/CompanionPane/src/main/res/drawable-v24/un_select.xml b/CompanionPane/src/main/res/drawable-v24/un_select.xml deleted file mode 100644 index b7faa4f6..00000000 --- a/CompanionPane/src/main/res/drawable-v24/un_select.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/CompanionPaneLevel2/src/main/res/drawable-xhdpi/arrow_down.png b/CompanionPane/src/main/res/drawable-xhdpi/arrow_down.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-xhdpi/arrow_down.png rename to CompanionPane/src/main/res/drawable-xhdpi/arrow_down.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-xhdpi/arrow_right.png b/CompanionPane/src/main/res/drawable-xhdpi/arrow_right.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-xhdpi/arrow_right.png rename to CompanionPane/src/main/res/drawable-xhdpi/arrow_right.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-xhdpi/ic_aspect_ratio.png b/CompanionPane/src/main/res/drawable-xhdpi/ic_aspect_ratio.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-xhdpi/ic_aspect_ratio.png rename to CompanionPane/src/main/res/drawable-xhdpi/ic_aspect_ratio.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-xhdpi/ic_eye.png b/CompanionPane/src/main/res/drawable-xhdpi/ic_eye.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-xhdpi/ic_eye.png rename to CompanionPane/src/main/res/drawable-xhdpi/ic_eye.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-xhdpi/ic_flip.png b/CompanionPane/src/main/res/drawable-xhdpi/ic_flip.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-xhdpi/ic_flip.png rename to CompanionPane/src/main/res/drawable-xhdpi/ic_flip.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-xhdpi/ic_photo_blue_24dp.xml b/CompanionPane/src/main/res/drawable-xhdpi/ic_photo_blue_24dp.xml similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-xhdpi/ic_photo_blue_24dp.xml rename to CompanionPane/src/main/res/drawable-xhdpi/ic_photo_blue_24dp.xml diff --git a/CompanionPaneLevel2/src/main/res/drawable-xhdpi/ic_tap.png b/CompanionPane/src/main/res/drawable-xhdpi/ic_tap.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-xhdpi/ic_tap.png rename to CompanionPane/src/main/res/drawable-xhdpi/ic_tap.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-xxhdpi/arrow_down.png b/CompanionPane/src/main/res/drawable-xxhdpi/arrow_down.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-xxhdpi/arrow_down.png rename to CompanionPane/src/main/res/drawable-xxhdpi/arrow_down.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-xxhdpi/arrow_right.png b/CompanionPane/src/main/res/drawable-xxhdpi/arrow_right.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-xxhdpi/arrow_right.png rename to CompanionPane/src/main/res/drawable-xxhdpi/arrow_right.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-xxhdpi/ic_aspect_ratio.png b/CompanionPane/src/main/res/drawable-xxhdpi/ic_aspect_ratio.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-xxhdpi/ic_aspect_ratio.png rename to CompanionPane/src/main/res/drawable-xxhdpi/ic_aspect_ratio.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-xxhdpi/ic_eye.png b/CompanionPane/src/main/res/drawable-xxhdpi/ic_eye.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-xxhdpi/ic_eye.png rename to CompanionPane/src/main/res/drawable-xxhdpi/ic_eye.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-xxhdpi/ic_flip.png b/CompanionPane/src/main/res/drawable-xxhdpi/ic_flip.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-xxhdpi/ic_flip.png rename to CompanionPane/src/main/res/drawable-xxhdpi/ic_flip.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-xxhdpi/ic_photo_blue_24dp.xml b/CompanionPane/src/main/res/drawable-xxhdpi/ic_photo_blue_24dp.xml similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-xxhdpi/ic_photo_blue_24dp.xml rename to CompanionPane/src/main/res/drawable-xxhdpi/ic_photo_blue_24dp.xml diff --git a/CompanionPaneLevel2/src/main/res/drawable-xxhdpi/ic_tap.png b/CompanionPane/src/main/res/drawable-xxhdpi/ic_tap.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-xxhdpi/ic_tap.png rename to CompanionPane/src/main/res/drawable-xxhdpi/ic_tap.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-xxxhdpi/arrow_down.png b/CompanionPane/src/main/res/drawable-xxxhdpi/arrow_down.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-xxxhdpi/arrow_down.png rename to CompanionPane/src/main/res/drawable-xxxhdpi/arrow_down.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-xxxhdpi/arrow_right.png b/CompanionPane/src/main/res/drawable-xxxhdpi/arrow_right.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-xxxhdpi/arrow_right.png rename to CompanionPane/src/main/res/drawable-xxxhdpi/arrow_right.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-xxxhdpi/ic_aspect_ratio.png b/CompanionPane/src/main/res/drawable-xxxhdpi/ic_aspect_ratio.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-xxxhdpi/ic_aspect_ratio.png rename to CompanionPane/src/main/res/drawable-xxxhdpi/ic_aspect_ratio.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-xxxhdpi/ic_eye.png b/CompanionPane/src/main/res/drawable-xxxhdpi/ic_eye.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-xxxhdpi/ic_eye.png rename to CompanionPane/src/main/res/drawable-xxxhdpi/ic_eye.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-xxxhdpi/ic_flip.png b/CompanionPane/src/main/res/drawable-xxxhdpi/ic_flip.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-xxxhdpi/ic_flip.png rename to CompanionPane/src/main/res/drawable-xxxhdpi/ic_flip.png diff --git a/CompanionPaneLevel2/src/main/res/drawable-xxxhdpi/ic_tap.png b/CompanionPane/src/main/res/drawable-xxxhdpi/ic_tap.png similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable-xxxhdpi/ic_tap.png rename to CompanionPane/src/main/res/drawable-xxxhdpi/ic_tap.png diff --git a/CompanionPaneLevel2/src/main/res/drawable/seek_bar_ruler_dark.xml b/CompanionPane/src/main/res/drawable/seek_bar_ruler_dark.xml similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable/seek_bar_ruler_dark.xml rename to CompanionPane/src/main/res/drawable/seek_bar_ruler_dark.xml diff --git a/CompanionPaneLevel2/src/main/res/drawable/seek_bar_ruler_light.xml b/CompanionPane/src/main/res/drawable/seek_bar_ruler_light.xml similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable/seek_bar_ruler_light.xml rename to CompanionPane/src/main/res/drawable/seek_bar_ruler_light.xml diff --git a/CompanionPaneLevel2/src/main/res/drawable/seek_bar_slider_dark.xml b/CompanionPane/src/main/res/drawable/seek_bar_slider_dark.xml similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable/seek_bar_slider_dark.xml rename to CompanionPane/src/main/res/drawable/seek_bar_slider_dark.xml diff --git a/CompanionPaneLevel2/src/main/res/drawable/seek_bar_slider_light.xml b/CompanionPane/src/main/res/drawable/seek_bar_slider_light.xml similarity index 100% rename from CompanionPaneLevel2/src/main/res/drawable/seek_bar_slider_light.xml rename to CompanionPane/src/main/res/drawable/seek_bar_slider_light.xml diff --git a/CompanionPaneLevel2/src/main/res/layout-land/single_screen_layout.xml b/CompanionPane/src/main/res/layout-land/single_screen_layout.xml similarity index 97% rename from CompanionPaneLevel2/src/main/res/layout-land/single_screen_layout.xml rename to CompanionPane/src/main/res/layout-land/single_screen_layout.xml index 5c7e8fd7..724630e3 100644 --- a/CompanionPaneLevel2/src/main/res/layout-land/single_screen_layout.xml +++ b/CompanionPane/src/main/res/layout-land/single_screen_layout.xml @@ -7,6 +7,7 @@ + \ No newline at end of file + app:dual_screen_start_layout_id="@layout/picture_dual_screen" + app:dual_screen_end_layout_id="@layout/tools_dual_screen" + app:tools_screen_mode="dual_screen" + app:tools_hinge_color="white" /> diff --git a/CompanionPane/src/main/res/layout/dual_screen_end_layout.xml b/CompanionPane/src/main/res/layout/dual_screen_end_layout.xml deleted file mode 100644 index e582def4..00000000 --- a/CompanionPane/src/main/res/layout/dual_screen_end_layout.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - diff --git a/CompanionPane/src/main/res/layout/item_notes.xml b/CompanionPane/src/main/res/layout/item_notes.xml deleted file mode 100644 index 0212b73f..00000000 --- a/CompanionPane/src/main/res/layout/item_notes.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/CompanionPane/src/main/res/layout/item_slides.xml b/CompanionPane/src/main/res/layout/item_slides.xml deleted file mode 100644 index c6882118..00000000 --- a/CompanionPane/src/main/res/layout/item_slides.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/CompanionPaneLevel2/src/main/res/layout/picture_dual_screen.xml b/CompanionPane/src/main/res/layout/picture_dual_screen.xml similarity index 97% rename from CompanionPaneLevel2/src/main/res/layout/picture_dual_screen.xml rename to CompanionPane/src/main/res/layout/picture_dual_screen.xml index b039769b..c33fb22f 100644 --- a/CompanionPaneLevel2/src/main/res/layout/picture_dual_screen.xml +++ b/CompanionPane/src/main/res/layout/picture_dual_screen.xml @@ -8,6 +8,7 @@ diff --git a/CompanionPane/src/main/res/layout/single_screen_layout.xml b/CompanionPane/src/main/res/layout/single_screen_layout.xml deleted file mode 100644 index a5f81a70..00000000 --- a/CompanionPane/src/main/res/layout/single_screen_layout.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - diff --git a/CompanionPane/src/main/res/values/colors.xml b/CompanionPane/src/main/res/values/colors.xml index 395af5e6..53b73811 100644 --- a/CompanionPane/src/main/res/values/colors.xml +++ b/CompanionPane/src/main/res/values/colors.xml @@ -1,12 +1,16 @@ + #008577 #00574B #D81B60 - #e3e3e3 + #2b2b2b + #555555 + #BEBEBE diff --git a/CompanionPane/src/main/res/values/dimens.xml b/CompanionPane/src/main/res/values/dimens.xml index 6d214f2b..411629af 100644 --- a/CompanionPane/src/main/res/values/dimens.xml +++ b/CompanionPane/src/main/res/values/dimens.xml @@ -7,18 +7,14 @@ --> - 350dp - 28sp - 32dp - 32dp - 8dp - 8dp - 16dp - 2dp - 124dp - 124dp - 8sp - 32dp - 16dp - 8dp + 40dp + 40dp + 4dp + 8dp + 8dp + 8dp + 4dp + 12sp + 16dp + 16dp \ No newline at end of file diff --git a/CompanionPane/src/main/res/values/strings.xml b/CompanionPane/src/main/res/values/strings.xml index 88a1bdf9..01c54901 100644 --- a/CompanionPane/src/main/res/values/strings.xml +++ b/CompanionPane/src/main/res/values/strings.xml @@ -1,8 +1,26 @@ + - Companion Pane + CompanionPane + + Straightening + + Rotate + Flip + Aspect ratio: Custom + Adjustments + Light + Color + Clarity + Filter + Filter intensity + Red eye + Spot fix + Choose a filter + Reset diff --git a/CompanionPane/src/main/res/values/styles.xml b/CompanionPane/src/main/res/values/styles.xml index dc628ee3..643cc929 100644 --- a/CompanionPane/src/main/res/values/styles.xml +++ b/CompanionPane/src/main/res/values/styles.xml @@ -1,15 +1,19 @@ + + diff --git a/CompanionPane/src/test/java/com/microsoft/device/display/samples/complementarycontext/ExampleUnitTest.kt b/CompanionPane/src/test/java/com/microsoft/device/display/samples/complementarycontext/ExampleUnitTest.kt deleted file mode 100644 index 88c77182..00000000 --- a/CompanionPane/src/test/java/com/microsoft/device/display/samples/complementarycontext/ExampleUnitTest.kt +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - * - */ - -package com.microsoft.device.display.samples.complementarycontext - -import org.junit.Assert.assertEquals -import org.junit.Test - -/** - * Example local unit test, which will execute on the development machine (host). - * - * See [testing documentation](http://d.android.com/tools/testing). - */ -class ExampleUnitTest { - @Test - fun addition_isCorrect() { - assertEquals(4, 2 + 2) - } -} diff --git a/CompanionPaneLevel2/.gitignore b/CompanionPaneLevel2/.gitignore deleted file mode 100644 index 796b96d1..00000000 --- a/CompanionPaneLevel2/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build diff --git a/CompanionPaneLevel2/build.gradle b/CompanionPaneLevel2/build.gradle deleted file mode 100644 index ff53648c..00000000 --- a/CompanionPaneLevel2/build.gradle +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - * - */ - -apply plugin: 'com.android.application' -apply plugin: 'kotlin-android' -apply plugin: 'kotlin-android-extensions' - -android { - compileSdkVersion rootProject.ext.compileSdkVersion - buildToolsVersion rootProject.ext.buildToolsVersion - - defaultConfig { - applicationId "com.microsoft.device.display.samples.complementarycontextlevel2" - minSdkVersion rootProject.ext.minSdkVersion - targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 1 - versionName "1.0" - - testInstrumentationRunner config.testInstrumentationRunner - } -} - -dependencies { - implementation kotlinDependencies.kotlinStdlib - implementation androidxDependencies.appCompat - implementation androidxDependencies.constraintLayout - implementation androidxDependencies.ktxCore - implementation androidxDependencies.ktxFragment - - implementation microsoftDependencies.dualScreenLayout - - testImplementation testDependencies.junit - androidTestImplementation instrumentationTestDependencies.junit - androidTestImplementation instrumentationTestDependencies.espressoCore -} diff --git a/CompanionPaneLevel2/src/androidTest/java/com/microsoft/device/display/samples/complementarycontextlevel2/ExampleInstrumentedTest.kt b/CompanionPaneLevel2/src/androidTest/java/com/microsoft/device/display/samples/complementarycontextlevel2/ExampleInstrumentedTest.kt deleted file mode 100644 index 0793015c..00000000 --- a/CompanionPaneLevel2/src/androidTest/java/com/microsoft/device/display/samples/complementarycontextlevel2/ExampleInstrumentedTest.kt +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - * - */ - -package com.microsoft.device.display.samples.complementarycontextlevel2 - -import androidx.test.ext.junit.runners.AndroidJUnit4 -import androidx.test.platform.app.InstrumentationRegistry -import org.junit.Assert.assertEquals -import org.junit.Test -import org.junit.runner.RunWith - -/** - * Instrumented test, which will execute on an Android device. - * - * See [testing documentation](http://d.android.com/tools/testing). - */ -@RunWith(AndroidJUnit4::class) -class ExampleInstrumentedTest { - - @Test - fun useAppContext() { - // Context of the app under test. - val appContext = InstrumentationRegistry.getInstrumentation().targetContext - assertEquals("com.microsoft.device.display.samples.complementarycontextlevel2", appContext.packageName) - } -} diff --git a/CompanionPaneLevel2/src/main/AndroidManifest.xml b/CompanionPaneLevel2/src/main/AndroidManifest.xml deleted file mode 100644 index cc8e3a7e..00000000 --- a/CompanionPaneLevel2/src/main/AndroidManifest.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/CompanionPaneLevel2/src/main/res/drawable-v24/ic_launcher_foreground.xml b/CompanionPaneLevel2/src/main/res/drawable-v24/ic_launcher_foreground.xml deleted file mode 100644 index 4c6aba39..00000000 --- a/CompanionPaneLevel2/src/main/res/drawable-v24/ic_launcher_foreground.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - diff --git a/CompanionPaneLevel2/src/main/res/drawable/ic_launcher_background.xml b/CompanionPaneLevel2/src/main/res/drawable/ic_launcher_background.xml deleted file mode 100644 index 77d26919..00000000 --- a/CompanionPaneLevel2/src/main/res/drawable/ic_launcher_background.xml +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/CompanionPaneLevel2/src/main/res/layout/activity_main.xml b/CompanionPaneLevel2/src/main/res/layout/activity_main.xml deleted file mode 100644 index 5c02adc7..00000000 --- a/CompanionPaneLevel2/src/main/res/layout/activity_main.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - diff --git a/CompanionPaneLevel2/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/CompanionPaneLevel2/src/main/res/mipmap-anydpi-v26/ic_launcher.xml deleted file mode 100644 index 4ec4576f..00000000 --- a/CompanionPaneLevel2/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/CompanionPaneLevel2/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/CompanionPaneLevel2/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml deleted file mode 100644 index 4ec4576f..00000000 --- a/CompanionPaneLevel2/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/CompanionPaneLevel2/src/main/res/mipmap-hdpi/ic_launcher.png b/CompanionPaneLevel2/src/main/res/mipmap-hdpi/ic_launcher.png deleted file mode 100644 index 898f3ed59ac9f3248734a00e5902736c9367d455..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2963 zcmV;E3vBd>P)a+K}1d8+^p? z!e{m!F(8(%L-Or7x3OYORF&;mRAm8a^;km%J=s!AdNyc=+ezQqUM;oHYO18U%`T}O zHf$ra^L^sklEoIeAKmbOvX~v2@Y|vHs<^3JwwH?D$4l*XnPNs zMOqozmbkT?^lZ?$DjQ9%E0x+GsV=1PwZ&39Y}iI-$Fb3d%nsk+qrN@cV=OmQMEdF% z)iHMl(4Yu=cIkixWXtwMIV=>BvDSrHg8?)+vLJKozy*}$iE>&gGGonlG0cJhG&DRv ztzkg-AO(q)B7~G^EwE#tK@nqmJ}!(Bqtf z=eN{I?X#P!Xx=uL)D9cAk=b!~&@H~6S)=a?R4fDdP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&-DC(S~W*1GV zw9}L-zX}y4ZLblxEO1qhqE9Q-IY{NmR+w+RDpB;$@R(PRjCP|D$yJ+BvI$!mIbb<+GQ3MGKxUdIY{N`DOv%} zWA){tEw8M2f!r&ugC6C5AMVXM=w7ej#c_{G;Obab=fD={ut@71RLCd*b?Y1+R_HMR zqYNuWxFqU^Yq9YB)SmxVgNKR;UMH207l5qNItP~xUO*YTsayf1g`)yAJoRV6f2$Fh z|A1cNgyW)@1ZJ!8eBC7gN$MOgAgg|zqX4pYgkw{E4wcr09u#3tt$JW@xgr2dT0piE zfSguooznr3CR>T88cu6RII0io!Z)mN2S3C%toVr+P`0PTJ>8yo4OoHX161h;q+jRY zs$2o2lgirxY2o-j$>c;3w)BT<1fb;PVV(V`cL*zHj5+On;kX@;0)6rF-I?1)gyZtM6}?#ji{u+_Jz`IW9a=87nIA3aK2~3iFMS zzYP&fCXLEibCzR_6R~#sKN@)HB>);Za`ud*QCaKG8jEwqgoknK7rwW`Cq?RYYE5r+ zh-YUqJ082>*;EG`_lhV^vHEM7d+5Y#e$d^rC*jx{U%h3B^nU%7N|*y`o4g{@w;KP-89>&W#h zTBB2vTk*S|My+4jYTPKdk6yR3b?nAfcd`FeC@gttYuGBEl9wuf8`rOD9VP6`bhNxR znvXql-3ssVUSXfvcf^2L5R-^4E-s=g|M$Wm!?BMl!51d{AS*7Ggjwh^YsbK?6jgCA5T=(9$oK{{z$fCe9x5IJ^J=002ov JPDHLkV1g@XpTGbB diff --git a/CompanionPaneLevel2/src/main/res/mipmap-hdpi/ic_launcher_round.png b/CompanionPaneLevel2/src/main/res/mipmap-hdpi/ic_launcher_round.png deleted file mode 100644 index dffca3601eba7bf5f409bdd520820e2eb5122c75..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4905 zcmV+^6V~jBP)sCJ+Khgs=qzz9*aFfTF@MBLc!81jy1$_D*`qMnYCeSOOSS zh~l6kD7e75FgOnvP=_arGNJ+k0uBt2?%a3It*Y+o?&`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LGNGl11do^z)ej zbyh|4sl+n@Iva%o$n^8W0w|C#6u>A?ev|-N<5GZdoFLuJoL?^%Ksv}8B7j1W6%fFy zNPbv=Zjk_D@+X75dvA_6E6 zFN6iKm8nL!k^)EsSvqW^!UD*VZ;KXSB0MP{62Yt>fJB5F5ujW(!es*ZyvoB1VF6kp z*=dv~|NIJ2T%dOv2k0&0@pc1G%QTb_ih|Yb=$T%62%3bDw82d2XhH;WDF$Wp8)|TS zO9Yk>O2SA)vS<#MrV(i-iw4q$z#0HWxD;ejKcAgz2+A3z)@+3bosdkEd0g z;D&1#CpZiz#?%|L1R`t^3D6uAKsmytNfdzqGC|f*0VK$e7Qk*e$z8qXvXKiA`1=hV zmpdyx!B&1`%>9K46G0ec(a5T#01`o#KmdgZm-_e-0c6Mz|AmPOGO9|Ba#>%@WZZ2W z>Ho;wdKvvm*|hl5+kCX*InGgW8c#HK{=|ok`9yjeW-XboyKLmQg9WCdk*LNJcD!Wm8!M{^|rzMI;*ms)i5}x+Az2Z&!25I4rWwWL}BX? zEOKufEUd2?%)sM9ARn2w5R42L+weM@-Ge!fsOt>oIm=qnPh6z`_Ydz*&dt4=I7*o{ zE1hu`!$e9>O-f74pc5eSr(Br2T9<$6_jJqiuh$jk6-OgwWnppRih^SC?_wkr78Flg zxdOMJdh#qTEon9)Lx{AD zp})x??JVrlV(c?%q&{ae4u}ilB*0A^Hwr0^^>G9BT>K=*lpq(QLcEr=q$MqBNlRMN c(!@yr22-Ey)4s~&`~Uy|07*qoM6N<$g6%nSQUCw| diff --git a/CompanionPaneLevel2/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/CompanionPaneLevel2/src/main/res/mipmap-xhdpi/ic_launcher_round.png deleted file mode 100644 index 14ed0af35023e4f1901cf03487b6c524257b8483..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6895 zcmVBruHaWfboaZ^`J@5OTb59uN+UwfO z>5DKPj6xxy*f-15A^38Hcw8gS)fY>m7X^~)>WdY`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&iPu5z8@0Jc zAb{iaf=vM&M7XvE5Rxy|@!k$I=PsOZhtM{&ZTGnpnJdqF)xt#!N9$N6F zgblJ1XdAJum&oim79o@gW2kW(w3Y;Pl=9zrpi`& z!mJaI$>Fh;R0Qh?H=tA~fP;NIicACUUhq}tw&EHtE`c(si%&^rOkR(5#=6rsU|XEx(9YvlOxt7`7r?j;Y@Ha zPS9~Uq=Rp`VM6r6xi!r4g~#X|fyA-jV9L%Fxb&&yzc@|W8V$kHtq`T!J->k$fwT9f zIY8D*dwEf&fqFE>)T?2)4Pu@N7f&9Xf6RBr>&*6g&&!c~>&O}H zr#}qk$lyMl5QDrSl9VKmNn_^Ee2iK3e)M7{i32${3oSk1TC7gGkDd~w?cAO{}c+|2tHX7 zU#BJGcQlcR%3^u|EI#sS6Kjh|H*En;OH2Zj6;&!Hp+#ASkepSggI6tnD`?^Do&Mky z_(gS3!Fy7-66*lojXxVy`EzxYFjw%47oscmr^CW}fN#x@ih)QBU|84q*gJzJCZ~13 zcV=bGip38P%u7EKDP8$aq&)5O$o!1&t}Dv=F{)U027y0E7G!>hpM_^Fehd{2TmRyarwi zugRJiU+!L#tDSf;g80yf8j!fq&|tdLATY2y^~;e|A@Du?49j3d&XV1QyT&!b+bIYy pii9&6o*bz{@b60mWOsVP{|BB8eXZ|AYE1wD002ovPDHLkV1li`I!yoo diff --git a/CompanionPaneLevel2/src/main/res/mipmap-xxhdpi/ic_launcher.png b/CompanionPaneLevel2/src/main/res/mipmap-xxhdpi/ic_launcher.png deleted file mode 100644 index b0907cac3bfd8fbfdc46e1108247f0a1055387ec..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6387 zcma($WmFVQySpr~^b#u_OG=0|(kva)DP1B+cP_AmARxJ*NC=Wrg0zUl5(`L)gp{N- z(%_OG?|Z*r_s2c=$2@ap&UtF)$(eXP9W_!SdLjS-K&qjxY;ZTH{xb;h@8E{&N(%r$ z+p3|gU=%dFmq%!1q&9_NsUvvk-GvvZ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NS&_PxPbKN1c~Ds8?;y>OzV;B0$XVQ=LQx12PJ2~x!&?qm%Tl)eivoas}<)&`&84*`tT{?ou45c+RPjX;imIsuwmXJs;5Klbii3#Q0kSLKcW+Y@xKcRce+GJ-RTlpMp(c)D`xrv zd|#_rj!Bm<&cad=Pq($+uKOY#CGCK-8EXOLAo{LJ2l({+_%87YR(e2EErULI*gm@X z*m6LuczdHTQHH`3=)x;unt9KH-4duW3nu}xk&Cu4-DS4wjNG}S$tO5H_$l1*S3Go6 z0HH1rN4WcDUK${}+a@ICZ(ZC#*`6h6EK7)q2OePook_w)c5%-9AxwoT6E*>!XDxpM zy_C$yP!`aN2TiCVLn_z`_E((J%LUYuw%2%(GBL3Cve+5zmepidD|^#$=@2Wfp!?NR zUpV2SwaMg68}9+`X#n-Ust|TK-Qk@HXu7dM*@>KO~@YA_S!geT; zxLp>TbIo9^WI=ZuT?ErRN;LqRSZX$7)+{MdSSiDnSdSwQ+6Yqb#nF393O_Ow-rRZD z1MtC55vP=~4kwe+$#2C8b3Q6*<^!T_D^X($HS$*Ns2(pd5~m<_QgfsetRt77rwh}yjg#yx`@p|%;RnzvAN8~6i5D;EQg*azSU-+F9W;M>-%sM=r4J zY%}@{t+!2883WSGMgw_85U#I}O75Rr0Q_D5;Du8|l@ zHWBq-r2&(pezi>6+daPx-qwVIQ3A6$h}GxIH72G*;HeRgyXKy?Uf!HvVg$M3Vs?lo j7HB*8-{6~e<}KKy%g|C8?m&3=nE}vH(NX@WXdCq(XawjJ diff --git a/CompanionPaneLevel2/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/CompanionPaneLevel2/src/main/res/mipmap-xxhdpi/ic_launcher_round.png deleted file mode 100644 index d8ae03154975f397f8ed1b84f2d4bf9783ecfa26..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10413 zcmV;eC{ovnP){+^kJY@_qlWNt)byXXcl4&di)UgOL4U zf7l=Phy7uH*dML-fsqKMr;DlfM>yz|;&bpF`{O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%lXjej!A!LC zh#}9ohCi{{ZQ-mp-B&KY>P}({57N+{xyjh8FctPfr+T!$Mn30oz09XHQwIB^dljb1 z$^SVOsXW(wZ+)uVGjE;TvtW(PvtX@k@RmZ^+(Uch12(V6o&_nG{11DO9u@4h`w=yp@yLR7+-F_P_1>{dzv%Vc z{4?EWO|R#D_cC>41Q@6rEpfZPY}Qsw(iu+VtM zk?VfLxt-`8D*o)6RH0G0sdlU^c5qq%Bu%TN3R6ec{q<$PcmS#o?ctDy1vk>p({m{8 zE>kOk6c$U>a;ZxBKlm)ODnpQ`%TPxJEO2ZmdS9GBJEt$ZhK?H0Xj&UPI5rAX2R88L z$%0cK7N~Y(7NHkw?B3M1K;whO01!A0WE#NW=*IvFVBhg)$LPV1*_EBco1N2*U4tE( zRtl2?YqWMOIBn0yR9sp7qyVcUb1gnBpzXq7P*oT9KOgqljw+zIvtzojb2zbcN;KS) z9hz1SlqysTupC)~JF~`b&#VTY6#sW--*Hp{MHLo1Fn0-5nsA9VKvNapXEcv<*FF9Z XdJ+W}DiIkV00000NkvXXu0mjfKBlg6 diff --git a/CompanionPaneLevel2/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/CompanionPaneLevel2/src/main/res/mipmap-xxxhdpi/ic_launcher.png deleted file mode 100644 index 2c18de9e66108411737e910f5c1972476f03ddbf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9128 zcmb`NcT^K!5btji2)!5SAPPuNq)Ls56s4*38hVo^(nUfO6%ZAH(6N9hNR=iCp@USV zNUs_|I-wKc#ou}5-}laWIcKxU$(_yIot@8o_s%{sGSH@@=As4w(CO-E-X`sF|29fE z>HYT9T?zm$_~>e0H4dIw&!!4C9vSZxNlr9*d^_s#H!1R~WS_6MVYz@X@%G!e zXHz-tb|VivQj`iFZDUWNj>i`*9rwT8VC9f`)ww2)D0tG&WBFX^J|oMigqUy#_eV)Q z<3?;pz6pkr(;Z)thNWZ3Tu^XIU(m2~K2{iFEAS`~Gy5V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KGIQpfPR2xJo1%*JNF^PvDwB;>G~7@ zQVZ23Q}9_P0C|)?QPY(DS0!&Y!!b^`S|XCy zKNy*Kil!;HIXgI}+mn{ko*V0S7_|JPJm`{p{nOe9Vi^>B;a*toh zNY>_;v-=$AgIA44ebwp@a!75wJN7K9j;+SW z8uoQjVUb03=55d=@#Y_9`Fs=Ut|9xs?0ce>@0mn&q+oSJdb^!tTO8;mb$%l));(4- zKPebA@3lPn z@G1otTd9DCo-AAllf-ruy4anJn=H{RXLG>6j;g|@m(&__Lzek=U-sRZzRO1lOrtOJ zm+5k9slTfFKsku7%a$T6ENphjA3uy9eG=kh6ii90n}D&mc!E$-XY)ycsx6qljq9PY zpDzzbG!`4}xmvrE+7f*Jx351b!!}L5XmvDjt;&0$*g9U$nbVZwscA2!5>S?vG~K*d zPzXIIrnkt|yfEO5^dk>cVc0*&Hh$%zYA8nPL(Hwwk?vVuZpJ+&#LxCsujZ^dalGUq zk8X*2y(traI^+1KZEu-(_j%t<)w?tI>hVd#CUfisw!-|mSM{#>X=67C83>oRW^)Nc z_@hYvV5!q}p#c+`qTV9*kqk5GkA6Z;&)MXHw7m;gzS)ito45k#Ejt_oX>5cfTLfXUX@_N^+#UicK@ zbUwcCAj!Nyi??H{sraN8NiTB?aleSuG-iy_c^*{zg2xn*m1e+7rBnP~o!PuP9z$Gcf(C!4f_G&|`v9JI zHr460gE4qwW4yYiYMyx4c#(d_<1JDCcBZLe=D9DE4fC#q8)2D2Dpnaszf0h1)i*7) zxyKd8y*&dyiKySsH2Uj5(~gfdkoWmaI$)6ycN3CquawfZ+R8$$x+k;L>%Fd*;XYy0 zkq~3{maC~f(~h3ZUsXWo-EodvK!+KO{DW8g|IOnpPq%l@9Ky`Dd0%sz0@6$Ox`Aei I20H400LcNok^lez diff --git a/CompanionPaneLevel2/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/CompanionPaneLevel2/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png deleted file mode 100644 index beed3cdd2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Xm2)hE`7bwu6b&XTa}cPj9p2ZnQpcF_$!1-P{a=mYqW?0lIKJ;w@^$6in|X0*YF`$DQZHSS134zF#>yPW_`4AM znjWs@7CMvwH&w=voOp3Nmp*fLCy%HIhrP5`8tIG_zpnAcnl=|XlAwc5huL$3P(55h z>c_yBe?U^0$VIy65!`OulJGuDnbnWNi(Y(X%(q+=wc|?Q2Wu_JnDJ&$*`0Aw!ZUIi zLNC5ADY4@dQNnc>jc?!5JbOc?nNQyEX>`M5$mfqT$&v=S?+6QQU0tZYtev?)e4p?- zY{z1l6g8L;7w5*j(|auG#MUb~C2FLD6F18@z+LutDU_~ID;*L^^u`B!#;k#f{-zo9?Ko4_oPY}^K;S}Z+?xf&NYM^|v z*pkvo9N^|^q7*<0z0x+Hj+W+}ccPQ$H(-$H-?fpVpC<>uExt9k+(1qEU9M}vo%HvX0RkxaW5 z=KK>pm4^BzfJRm1U%B1g>RZ@jDfLn$`jQ>x1y$v|mymsRDCL?c!YkXHKGa-HgE^c< z&YfRD-oQYl9&jEJOV>1l30cc7hM{sP6OEbF4?M=-nqywL<U9Y?sIr@s$(G5wcSm@dzPD$+RR=zaQD*X%5`4WL^3uN+b)z#*3hP*#P%bC@!UE zZ>`)nYW}1sbTh`W{0WJAY;H1vzX&xGt4PFK9HgIS)leN-3# diff --git a/CompanionPaneLevel2/src/main/res/values/colors.xml b/CompanionPaneLevel2/src/main/res/values/colors.xml deleted file mode 100644 index 53b73811..00000000 --- a/CompanionPaneLevel2/src/main/res/values/colors.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - #008577 - #00574B - #D81B60 - #2b2b2b - #555555 - #BEBEBE - diff --git a/CompanionPaneLevel2/src/main/res/values/dimens.xml b/CompanionPaneLevel2/src/main/res/values/dimens.xml deleted file mode 100644 index 411629af..00000000 --- a/CompanionPaneLevel2/src/main/res/values/dimens.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - 40dp - 40dp - 4dp - 8dp - 8dp - 8dp - 4dp - 12sp - 16dp - 16dp - \ No newline at end of file diff --git a/CompanionPaneLevel2/src/main/res/values/strings.xml b/CompanionPaneLevel2/src/main/res/values/strings.xml deleted file mode 100644 index e1e826b2..00000000 --- a/CompanionPaneLevel2/src/main/res/values/strings.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - CompanionPaneLevel2 - - Straightening - - Rotate - Flip - Aspect ratio: Custom - Adjustments - Light - Color - Clarity - Filter - Filter intensity - Red eye - Spot fix - Choose a filter - Reset - diff --git a/CompanionPaneLevel2/src/main/res/values/styles.xml b/CompanionPaneLevel2/src/main/res/values/styles.xml deleted file mode 100644 index 643cc929..00000000 --- a/CompanionPaneLevel2/src/main/res/values/styles.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - diff --git a/CompanionPaneLevel2/src/test/java/com/microsoft/device/display/samples/complementarycontextlevel2/ExampleUnitTest.kt b/CompanionPaneLevel2/src/test/java/com/microsoft/device/display/samples/complementarycontextlevel2/ExampleUnitTest.kt deleted file mode 100644 index bc19afc7..00000000 --- a/CompanionPaneLevel2/src/test/java/com/microsoft/device/display/samples/complementarycontextlevel2/ExampleUnitTest.kt +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - * - */ - -package com.microsoft.device.display.samples.complementarycontextlevel2 - -import org.junit.Assert.assertEquals -import org.junit.Test - -/** - * Example local unit test, which will execute on the development machine (host). - * - * See [testing documentation](http://d.android.com/tools/testing). - */ -class ExampleUnitTest { - @Test - fun addition_isCorrect() { - assertEquals(4, 2 + 2) - } -} diff --git a/DragAndDrop/build.gradle b/DragAndDrop/build.gradle index c46cec3e..0a2edbdf 100644 --- a/DragAndDrop/build.gradle +++ b/DragAndDrop/build.gradle @@ -34,6 +34,9 @@ dependencies { implementation microsoftDependencies.dualScreenLayout testImplementation testDependencies.junit + androidTestImplementation instrumentationTestDependencies.junit androidTestImplementation instrumentationTestDependencies.espressoCore + androidTestImplementation instrumentationTestDependencies.uiAutomator + androidTestImplementation instrumentationTestDependencies.testRules } diff --git a/DragAndDrop/src/androidTest/java/com/microsoft/device/display/samples/draganddrop/DragAndDropTest.kt b/DragAndDrop/src/androidTest/java/com/microsoft/device/display/samples/draganddrop/DragAndDropTest.kt new file mode 100644 index 00000000..99746baa --- /dev/null +++ b/DragAndDrop/src/androidTest/java/com/microsoft/device/display/samples/draganddrop/DragAndDropTest.kt @@ -0,0 +1,105 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + * + */ + +package com.microsoft.device.display.samples.draganddrop + +import androidx.test.espresso.Espresso.onView +import androidx.test.espresso.assertion.ViewAssertions.matches +import androidx.test.espresso.matcher.ViewMatchers.hasDescendant +import androidx.test.espresso.matcher.ViewMatchers.isDisplayed +import androidx.test.espresso.matcher.ViewMatchers.withId +import androidx.test.espresso.matcher.ViewMatchers.withTagValue +import androidx.test.espresso.matcher.ViewMatchers.withText +import androidx.test.filters.LargeTest +import androidx.test.internal.runner.junit4.AndroidJUnit4ClassRunner +import androidx.test.platform.app.InstrumentationRegistry +import androidx.test.rule.ActivityTestRule +import androidx.test.uiautomator.UiDevice +import org.hamcrest.CoreMatchers.allOf +import org.junit.Rule +import org.junit.Test +import org.junit.runner.RunWith +import org.hamcrest.CoreMatchers.`is` as iz + +@RunWith(AndroidJUnit4ClassRunner::class) +@LargeTest +class DragAndDropTest { + + private val device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()) + + @get:Rule + val activityRule = ActivityTestRule(MainActivity::class.java) + + @Test + fun shouldContainImage_whenDragAndDropInSingleMode() { + device.swipe(300, 600, 300, 1300, 400) + + onView(withId(R.id.drop_image_container)).check( + matches( + allOf( + isDisplayed(), + hasDescendant(withTagValue(iz("image_view" as Any))) + ) + ) + ) + } + + @Test + fun shouldContainText_whenDragAndDropInSingleMode() { + device.swipe(1000, 600, 1000, 1300, 400) + + onView(withId(R.id.drop_text_container)).check( + matches( + allOf( + isDisplayed(), + hasDescendant(withText(R.string.plain_text)), + hasDescendant(withTagValue(iz("text_view" as Any))) + ) + ) + ) + } + + @Test + fun shouldContainImage_whenDragAndDropInDualMode() { + spanApplication() + + onView(withId(R.id.drag_image_view)).check(matches(isDisplayed())) + + device.swipe(300, 1000, 1800, 1000, 400) + + onView(withId(R.id.drop_image_container)).check( + matches( + allOf( + isDisplayed(), + hasDescendant(withTagValue(iz("image_view" as Any))) + ) + ) + ) + } + + @Test + fun shouldContainText_whenDragAndDropInDualMode() { + spanApplication() + + onView(withId(R.id.drag_text_view)).check(matches(isDisplayed())) + + device.swipe(900, 900, 2500, 900, 400) + + onView(withId(R.id.drop_text_container)).check( + matches( + allOf( + isDisplayed(), + hasDescendant(withText(R.string.plain_text)), + hasDescendant(withTagValue(iz("text_view" as Any))) + ) + ) + ) + } + + private fun spanApplication() { + device.swipe(675, 1780, 1350, 900, 400) + } +} diff --git a/DragAndDrop/src/main/java/com/microsoft/device/display/samples/draganddrop/util/Util.kt b/DragAndDrop/src/main/java/com/microsoft/device/display/samples/draganddrop/util/Util.kt deleted file mode 100644 index a1825fd1..00000000 --- a/DragAndDrop/src/main/java/com/microsoft/device/display/samples/draganddrop/util/Util.kt +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - * - */ - -package com.microsoft.device.display.samples.draganddrop.util - -/*** - * This function is used for multiple null checks - */ -inline fun ifNotNull(vararg elements: T?, closure: (List) -> Unit) { - if (elements.all { it != null }) { - closure(elements.filterNotNull()) - } -} diff --git a/DualView/build.gradle b/DualView/build.gradle index 39fc5f89..213c8b50 100644 --- a/DualView/build.gradle +++ b/DualView/build.gradle @@ -33,7 +33,10 @@ dependencies { implementation microsoftDependencies.dualScreenLayout testImplementation testDependencies.junit + androidTestImplementation instrumentationTestDependencies.junit androidTestImplementation instrumentationTestDependencies.espressoCore + androidTestImplementation instrumentationTestDependencies.uiAutomator + androidTestImplementation instrumentationTestDependencies.testRules } diff --git a/DualView/src/androidTest/java/com/microsoft/device/display/samples/contentcontext/LayoutModeTest.kt b/DualView/src/androidTest/java/com/microsoft/device/display/samples/contentcontext/LayoutModeTest.kt new file mode 100644 index 00000000..ea8f79c5 --- /dev/null +++ b/DualView/src/androidTest/java/com/microsoft/device/display/samples/contentcontext/LayoutModeTest.kt @@ -0,0 +1,104 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + * + */ + +package com.microsoft.device.display.samples.contentcontext + +import androidx.test.espresso.Espresso.onData +import androidx.test.espresso.Espresso.onView +import androidx.test.espresso.action.ViewActions.click +import androidx.test.espresso.assertion.ViewAssertions.matches +import androidx.test.espresso.matcher.ViewMatchers.hasDescendant +import androidx.test.espresso.matcher.ViewMatchers.isDisplayed +import androidx.test.espresso.matcher.ViewMatchers.withId +import androidx.test.espresso.matcher.ViewMatchers.withText +import androidx.test.filters.LargeTest +import androidx.test.internal.runner.junit4.AndroidJUnit4ClassRunner +import androidx.test.platform.app.InstrumentationRegistry +import androidx.test.rule.ActivityTestRule +import androidx.test.uiautomator.UiDevice +import org.hamcrest.`object`.HasToString.hasToString +import org.hamcrest.core.AllOf.allOf +import org.junit.Rule +import org.junit.Test +import org.junit.runner.RunWith + +@RunWith(AndroidJUnit4ClassRunner::class) +@LargeTest +class LayoutModeTest { + + private val device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()) + + @get:Rule + val activityRule = ActivityTestRule(MainActivity::class.java) + + @Test + fun openMapFromList_whenIsSingleScreen() { + onView(withId(R.id.single_screen_container_id)).check(matches(isDisplayed())) + onView(withId(R.id.lvItems)).check(matches(isDisplayed())) + + onData(hasToString("New York")) + .inAdapterView(withId(R.id.lvItems)) + .perform(click()) + onView(withId(R.id.img_view)).check(matches(isDisplayed())) + onView(withId(R.id.detail_toolbar)).check( + matches( + allOf( + isDisplayed(), + hasDescendant(withText("New York")) + ) + ) + ) + } + + @Test + fun displayListAndDetailsFromList_whenIsDualScreen() { + spanApplication() + + onView(withId(R.id.dual_screen_start_container_id)).check(matches(isDisplayed())) + onView(withId(R.id.dual_screen_end_container_id)).check(matches(isDisplayed())) + + onView(withId(R.id.lvItems)).check(matches(isDisplayed())) + onView(withId(R.id.img_view)).check(matches(isDisplayed())) + onView(withId(R.id.detail_toolbar)).check( + matches( + allOf( + isDisplayed(), + hasDescendant(withText("New York")) + ) + ) + ) + } + + @Test + fun displayListAndDetailsFromMap_whenIsDualScreen() { + onView(withId(R.id.single_screen_container_id)).check(matches(isDisplayed())) + onView(withId(R.id.lvItems)).check(matches(isDisplayed())) + + onData(hasToString("New York")) + .inAdapterView(withId(R.id.lvItems)) + .perform(click()) + + spanApplication() + + onView(withId(R.id.dual_screen_start_container_id)).check(matches(isDisplayed())) + onView(withId(R.id.dual_screen_end_container_id)).check(matches(isDisplayed())) + + onView(withId(R.id.lvItems)).check(matches(isDisplayed())) + onView(withId(R.id.img_view)).check(matches(isDisplayed())) + onView(withId(R.id.detail_toolbar)).check( + matches( + allOf( + isDisplayed(), + hasDescendant(withText("New York")) + ) + ) + ) + } + + private fun spanApplication() { + device.swipe(675, 1780, 1350, 900, 400) + } +} diff --git a/DualView/src/androidTest/java/com/microsoft/device/display/samples/contentcontext/MapPointParcelableTest.kt b/DualView/src/androidTest/java/com/microsoft/device/display/samples/contentcontext/MapPointParcelableTest.kt new file mode 100644 index 00000000..c696f281 --- /dev/null +++ b/DualView/src/androidTest/java/com/microsoft/device/display/samples/contentcontext/MapPointParcelableTest.kt @@ -0,0 +1,44 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + * + */ + +package com.microsoft.device.display.samples.contentcontext + +import android.os.Parcel +import androidx.test.filters.SmallTest +import androidx.test.internal.runner.junit4.AndroidJUnit4ClassRunner +import com.microsoft.device.display.samples.contentcontext.model.MapPoint +import org.hamcrest.MatcherAssert.assertThat +import org.junit.Test +import org.junit.runner.RunWith +import org.hamcrest.CoreMatchers.`is` as iz + +@RunWith(AndroidJUnit4ClassRunner::class) +@SmallTest +class MapPointParcelableTest { + + @Test + fun shouldReturnCorrectFields_whenParcelingObject() { + val mockTitle = "title" + val mockResId = 5 + val mapPoint = MapPoint(mockTitle, mockResId) + val parcel = Parcel.obtain() + mapPoint.writeToParcel(parcel, 0) + parcel.setDataPosition(0) + + val createFromParcel = MapPoint.CREATOR.createFromParcel(parcel) + + assertThat( + "Title field is not parceled correctly", + mockTitle, + iz(createFromParcel.title) + ) + assertThat( + "MapImageResourceID field is not parceled correctly", + mockResId, + iz(createFromParcel.mapImageResourceID) + ) + } +} diff --git a/DualView/src/main/java/com/microsoft/device/display/samples/contentcontext/MapPointListFragment.kt b/DualView/src/main/java/com/microsoft/device/display/samples/contentcontext/MapPointListFragment.kt index 7166b0ad..3b87198d 100644 --- a/DualView/src/main/java/com/microsoft/device/display/samples/contentcontext/MapPointListFragment.kt +++ b/DualView/src/main/java/com/microsoft/device/display/samples/contentcontext/MapPointListFragment.kt @@ -44,12 +44,12 @@ class MapPointListFragment : Fragment() { lvItems.adapter = adapterItems lvItems.choiceMode = ListView.CHOICE_MODE_SINGLE - setOnLickListenerForListView(lvItems) + setOnClickListenerForListView(lvItems) handleSpannedModeSelection() return view } - private fun setOnLickListenerForListView(lvItems: ListView) { + private fun setOnClickListenerForListView(lvItems: ListView) { // Handle OnListItemClick depending on screen mode lvItems.onItemClickListener = AdapterView.OnItemClickListener { _, _, position, _ -> lvItems.setItemChecked(position, true) @@ -76,7 +76,7 @@ class MapPointListFragment : Fragment() { mapPoint?.let { parentFragmentManager.beginTransaction() .replace( - R.id.single_list, + R.id.single_screen_container_id, MapFragment.newInstance(mapPoint), null ).addToBackStack(null) .commit() diff --git a/DualView/src/main/res/layout/activity_main.xml b/DualView/src/main/res/layout/activity_main.xml index 933dc34e..ac2561de 100644 --- a/DualView/src/main/res/layout/activity_main.xml +++ b/DualView/src/main/res/layout/activity_main.xml @@ -11,7 +11,6 @@ android:layout_height="match_parent" app:single_screen_layout_id="@layout/single_screen_layout" app:dual_screen_start_layout_id="@layout/dual_screen_start_layout" - app:dual_screen_end_layout_id="@layout/dual_screen_end_layout" app:show_in_single_screen="@layout/fragment_items_list" app:show_in_dual_screen_start="@layout/fragment_items_list" app:show_in_dual_screen_end="@layout/fragment_item_detail" diff --git a/ExtendCanvas/build.gradle b/ExtendCanvas/build.gradle index b76f2d71..23ab5ecd 100644 --- a/ExtendCanvas/build.gradle +++ b/ExtendCanvas/build.gradle @@ -31,7 +31,9 @@ dependencies { implementation androidxDependencies.ktxFragment testImplementation testDependencies.junit + androidTestImplementation instrumentationTestDependencies.junit androidTestImplementation instrumentationTestDependencies.espressoCore - androidTestImplementation instrumentationTestDependencies.testRunner + androidTestImplementation instrumentationTestDependencies.uiAutomator + androidTestImplementation instrumentationTestDependencies.testRules } diff --git a/ExtendCanvas/src/androidTest/java/com/microsoft/device/display/samples/extendcanvas/ImageModeTest.kt b/ExtendCanvas/src/androidTest/java/com/microsoft/device/display/samples/extendcanvas/ImageModeTest.kt new file mode 100644 index 00000000..c6bbbfb2 --- /dev/null +++ b/ExtendCanvas/src/androidTest/java/com/microsoft/device/display/samples/extendcanvas/ImageModeTest.kt @@ -0,0 +1,91 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + * + */ + +package com.microsoft.device.display.samples.extendcanvas + +import android.view.View +import androidx.test.espresso.Espresso.onView +import androidx.test.espresso.assertion.ViewAssertions.matches +import androidx.test.espresso.matcher.ViewMatchers.isDisplayed +import androidx.test.espresso.matcher.ViewMatchers.withId +import androidx.test.filters.LargeTest +import androidx.test.internal.runner.junit4.AndroidJUnit4ClassRunner +import androidx.test.platform.app.InstrumentationRegistry +import androidx.test.rule.ActivityTestRule +import androidx.test.uiautomator.UiDevice +import com.microsoft.device.display.samples.extend.R +import org.hamcrest.CoreMatchers.allOf +import org.hamcrest.Description +import org.hamcrest.Matcher +import org.hamcrest.TypeSafeMatcher +import org.junit.Rule +import org.junit.Test +import org.junit.runner.RunWith + +@RunWith(AndroidJUnit4ClassRunner::class) +@LargeTest +class ImageModeTest { + + private val device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()) + + @get:Rule + val activityRule = ActivityTestRule(MainActivity::class.java) + + @Test + fun displaySmallMapImage_whenIsSingleScreen() { + onView(withId(R.id.img_view)).check( + matches( + allOf( + isDisplayed(), + withDesiredWidth(SCREEN_WIDTH, R.id.img_view) + ) + ) + ) + } + + @Test + fun displayLargeMapImage_whenIsDualScreen() { + spanApplication() + + onView(withId(R.id.img_view)).check( + matches( + allOf( + isDisplayed(), + withDesiredWidth( + SCREEN_WIDTH * SCREENS_COUNT_DUAL_MODE + HINGE_WIDTH, + R.id.img_view + ) + ) + ) + ) + } + + private fun spanApplication() { + device.swipe(675, 1780, 1350, 900, 400) + } + + companion object { + const val SCREENS_COUNT_DUAL_MODE = 2 + const val SCREEN_WIDTH = 1350 + const val HINGE_WIDTH = 84 + + fun withDesiredWidth(desiredWidth: Int, itemViewId: Int): Matcher = + object : TypeSafeMatcher() { + override fun describeTo(description: Description?) { + description?.appendText( + "Check for item with id $itemViewId to have the width equal to $desiredWidth" + ) + } + + override fun matchesSafely(view: View?): Boolean { + view?.let { + return desiredWidth == it.findViewById(itemViewId).width + } + return false + } + } + } +} diff --git a/IntentToSecondScreen/build.gradle b/IntentToSecondScreen/build.gradle index 67f9b9de..b5300edc 100644 --- a/IntentToSecondScreen/build.gradle +++ b/IntentToSecondScreen/build.gradle @@ -31,6 +31,10 @@ dependencies { implementation androidxDependencies.ktxFragment testImplementation testDependencies.junit + androidTestImplementation instrumentationTestDependencies.junit androidTestImplementation instrumentationTestDependencies.espressoCore + androidTestImplementation instrumentationTestDependencies.espressoIntents + androidTestImplementation instrumentationTestDependencies.uiAutomator + androidTestImplementation instrumentationTestDependencies.testRules } diff --git a/IntentToSecondScreen/src/androidTest/java/com/microsoft/device/display/samples/intentsecondscreen/SecondScreenIntentTest.kt b/IntentToSecondScreen/src/androidTest/java/com/microsoft/device/display/samples/intentsecondscreen/SecondScreenIntentTest.kt new file mode 100644 index 00000000..27539bdb --- /dev/null +++ b/IntentToSecondScreen/src/androidTest/java/com/microsoft/device/display/samples/intentsecondscreen/SecondScreenIntentTest.kt @@ -0,0 +1,70 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + * + */ + +package com.microsoft.device.display.samples.intentsecondscreen + +import android.content.Intent +import androidx.test.espresso.Espresso.onView +import androidx.test.espresso.action.ViewActions.click +import androidx.test.espresso.assertion.ViewAssertions.matches +import androidx.test.espresso.intent.Intents.intended +import androidx.test.espresso.intent.matcher.IntentMatchers.hasComponent +import androidx.test.espresso.intent.matcher.IntentMatchers.hasFlags +import androidx.test.espresso.intent.rule.IntentsTestRule +import androidx.test.espresso.matcher.ViewMatchers.isDisplayed +import androidx.test.espresso.matcher.ViewMatchers.withId +import androidx.test.filters.LargeTest +import androidx.test.internal.runner.junit4.AndroidJUnit4ClassRunner +import androidx.test.platform.app.InstrumentationRegistry +import androidx.test.uiautomator.UiDevice +import org.hamcrest.core.AllOf.allOf +import org.junit.Rule +import org.junit.Test +import org.junit.runner.RunWith + +@RunWith(AndroidJUnit4ClassRunner::class) +@LargeTest +class SecondScreenIntentTest { + + private val device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()) + + @get:Rule + val intentsTestRule = IntentsTestRule(MainActivity::class.java) + + @Test + fun openSecondActivity_whenInSingleMode() { + onView(withId(R.id.second_activity_button)).perform(click()) + + intended( + allOf( + hasComponent(SecondActivity::class.java.name), + hasFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK or Intent.FLAG_ACTIVITY_NEW_TASK) + ) + ) + + onView(withId(R.id.text_second_screen)).check(matches(isDisplayed())) + } + + @Test + fun openSecondActivity_whenInDualMode() { + spanApplication() + + onView(withId(R.id.second_activity_button)).perform(click()) + + intended( + allOf( + hasComponent(SecondActivity::class.java.name), + hasFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK or Intent.FLAG_ACTIVITY_NEW_TASK) + ) + ) + + onView(withId(R.id.text_second_screen)).check(matches(isDisplayed())) + } + + private fun spanApplication() { + device.swipe(675, 1780, 1350, 900, 400) + } +} diff --git a/IntentToSecondScreen/src/main/res/layout/activity_second.xml b/IntentToSecondScreen/src/main/res/layout/activity_second.xml index cc24b3d7..f1b4745d 100644 --- a/IntentToSecondScreen/src/main/res/layout/activity_second.xml +++ b/IntentToSecondScreen/src/main/res/layout/activity_second.xml @@ -11,6 +11,7 @@ android:layout_height="match_parent"> (MainActivity::class.java) + + @Test + fun openDetailsFromList_whenInSingleMode() { + onView(withId(R.id.single_screen_container_id)).check(matches(isDisplayed())) + onView(withId(R.id.list_view)).check(matches(isDisplayed())) + + onData(hasToString("Item 2")) + .inAdapterView(withId(R.id.list_view)) + .perform(click()) + + onView(allOf(withId(R.id.tvTitle), withText("Item 2"))).check(matches(isDisplayed())) + } + + @Test + fun displayListAndDetails_whenInDualMode() { + spanApplication() + + onView(withId(R.id.dual_screen_start_container_id)).check(matches(isDisplayed())) + onView(withId(R.id.dual_screen_end_container_id)).check(matches(isDisplayed())) + + onView(withId(R.id.list_view)).check(matches(isDisplayed())) + onView(withId(R.id.tvTitle)).check(matches(isDisplayed())) + } + + @Test + fun checkLinkBetweenListAndDetail_whenInDualMode() { + spanApplication() + + onView(withId(R.id.list_view)).check(matches(isDisplayed())) + + onData(hasToString("Item 2")) + .inAdapterView(withId(R.id.list_view)) + .perform(click()) + + onView(withId(R.id.list_view)).check(matches(isItemChecked(1))) + onView(allOf(withId(R.id.tvTitle), withText("Item 2"))).check(matches(isDisplayed())) + } + + private fun spanApplication() { + device.swipe(675, 1780, 1350, 900, 400) + } + + companion object { + fun isItemChecked(itemPosition: Int): Matcher = + object : BoundedMatcher(ListView::class.java) { + override fun describeTo(description: Description?) { + description?.appendText( + "Check if item from position $itemPosition is checked" + ) + } + + override fun matchesSafely(listView: ListView?): Boolean { + return listView?.isItemChecked(itemPosition) == true + } + } + } +} diff --git a/MultipleInstances/build.gradle b/MultipleInstances/build.gradle index 87dcf978..8681086b 100644 --- a/MultipleInstances/build.gradle +++ b/MultipleInstances/build.gradle @@ -25,6 +25,8 @@ dependencies { implementation androidxDependencies.ktxFragment testImplementation testDependencies.junit + androidTestImplementation instrumentationTestDependencies.junit androidTestImplementation instrumentationTestDependencies.espressoCore + androidTestImplementation instrumentationTestDependencies.uiAutomator } \ No newline at end of file diff --git a/MultipleInstances/src/androidTest/java/com/microsoft/device/display/samples/multipleinstances/ShortcutsTest.kt b/MultipleInstances/src/androidTest/java/com/microsoft/device/display/samples/multipleinstances/ShortcutsTest.kt new file mode 100644 index 00000000..eef3bea7 --- /dev/null +++ b/MultipleInstances/src/androidTest/java/com/microsoft/device/display/samples/multipleinstances/ShortcutsTest.kt @@ -0,0 +1,106 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + * + */ + +package com.microsoft.device.display.samples.multipleinstances + +import androidx.test.espresso.Espresso.onView +import androidx.test.espresso.assertion.ViewAssertions.matches +import androidx.test.espresso.matcher.ViewMatchers.isDisplayed +import androidx.test.espresso.matcher.ViewMatchers.withId +import androidx.test.filters.LargeTest +import androidx.test.internal.runner.junit4.AndroidJUnit4ClassRunner +import androidx.test.platform.app.InstrumentationRegistry +import androidx.test.uiautomator.By +import androidx.test.uiautomator.UiDevice +import androidx.test.uiautomator.UiObject +import androidx.test.uiautomator.UiSelector +import org.junit.Assert +import org.junit.Test +import org.junit.runner.RunWith + +@RunWith(AndroidJUnit4ClassRunner::class) +@LargeTest +class ShortcutsTest { + + private val device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()) + private val context = InstrumentationRegistry.getInstrumentation().targetContext + + private val APP_NAME = context.getString(R.string.app_name) + private val NEW_INSTANCE_SHORTCUT_LABEL = context.getString(R.string.main_shortcut_label) + private val SECOND_ACTIVITY_SHORTCUT_LABEL = context.getString(R.string.second_shortcut_label) + + @Test + fun openSecondShortcutOnRightScreen_whenMainActivityIsVisibleOnLeft() { + longClick(getLeftAppIcon()) + + if (!device.hasObject(By.text(NEW_INSTANCE_SHORTCUT_LABEL))) { + Assert.fail("The $NEW_INSTANCE_SHORTCUT_LABEL shortcut was not found") + } + + device.findObject(UiSelector().text(NEW_INSTANCE_SHORTCUT_LABEL)).clickAndWaitForNewWindow() + onView(withId(R.id.main_text)).check(matches(isDisplayed())) + + longClick(getRightAppIcon()) + + if (!device.hasObject(By.text(SECOND_ACTIVITY_SHORTCUT_LABEL))) { + Assert.fail("The $SECOND_ACTIVITY_SHORTCUT_LABEL shortcut was not found") + } + + device.findObject(UiSelector().text(SECOND_ACTIVITY_SHORTCUT_LABEL)).clickAndWaitForNewWindow() + onView(withId(R.id.second_text)).check(matches(isDisplayed())) + } + + @Test + fun openMainShortcutOnRightScreen_whenSecondActivityIsVisibleOnLeft() { + longClick(getLeftAppIcon()) + + if (!device.hasObject(By.text(SECOND_ACTIVITY_SHORTCUT_LABEL))) { + Assert.fail("The $SECOND_ACTIVITY_SHORTCUT_LABEL shortcut was not found") + } + + device.findObject(UiSelector().text(SECOND_ACTIVITY_SHORTCUT_LABEL)).clickAndWaitForNewWindow() + onView(withId(R.id.second_text)).check(matches(isDisplayed())) + + longClick(getRightAppIcon()) + + if (!device.hasObject(By.text(NEW_INSTANCE_SHORTCUT_LABEL))) { + Assert.fail("The $NEW_INSTANCE_SHORTCUT_LABEL shortcut was not found") + } + + device.findObject(UiSelector().text(NEW_INSTANCE_SHORTCUT_LABEL)).clickAndWaitForNewWindow() + onView(withId(R.id.main_text)).check(matches(isDisplayed())) + } + + private fun longClick(target: UiObject) { + target.dragTo(target, LONG_CLICK_STEPS) + } + + private fun getRightAppIcon(): UiObject { + while (!device.hasObject(By.text(APP_NAME))) { + scrollInRightAppDrawer() + } + return device.findObject(UiSelector().text(APP_NAME)) + } + + private fun getLeftAppIcon(): UiObject { + while (!device.hasObject(By.text(APP_NAME))) { + scrollInLeftAppDrawer() + } + return device.findObject(UiSelector().text(APP_NAME)) + } + + private fun scrollInRightAppDrawer() { + device.swipe(2100, 1300, 2100, 200, 50) + } + + private fun scrollInLeftAppDrawer() { + device.swipe(600, 1300, 600, 200, 50) + } + + companion object { + const val LONG_CLICK_STEPS = 100 + } +} diff --git a/MultipleInstances/src/main/java/com/microsoft/device/display/samples/multipleinstances/MainActivity.kt b/MultipleInstances/src/main/java/com/microsoft/device/display/samples/multipleinstances/MainActivity.kt index ad2f0e68..76ee78aa 100644 --- a/MultipleInstances/src/main/java/com/microsoft/device/display/samples/multipleinstances/MainActivity.kt +++ b/MultipleInstances/src/main/java/com/microsoft/device/display/samples/multipleinstances/MainActivity.kt @@ -12,6 +12,7 @@ class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) + supportActionBar?.title = getString(R.string.main_shortcut_label) addShortcuts() } @@ -33,13 +34,13 @@ class MainActivity : AppCompatActivity() { val shortcutManager = getSystemService(ShortcutManager::class.java) val shortcut = ShortcutInfo.Builder(this, "id1") - .setShortLabel("New Instance") - .setLongLabel("New Instance") + .setShortLabel(getString(R.string.main_shortcut_label)) + .setLongLabel(getString(R.string.main_shortcut_label)) .setIntent(intent) .build() val shortcut2 = ShortcutInfo.Builder(this, "id2") - .setShortLabel("Second Activity") - .setLongLabel("Second Activity") + .setShortLabel(getString(R.string.second_shortcut_label)) + .setLongLabel(getString(R.string.second_shortcut_label)) .setIntent(intent2) .build() diff --git a/MultipleInstances/src/main/java/com/microsoft/device/display/samples/multipleinstances/SecondActivity.kt b/MultipleInstances/src/main/java/com/microsoft/device/display/samples/multipleinstances/SecondActivity.kt index cbd62034..07d35a2c 100644 --- a/MultipleInstances/src/main/java/com/microsoft/device/display/samples/multipleinstances/SecondActivity.kt +++ b/MultipleInstances/src/main/java/com/microsoft/device/display/samples/multipleinstances/SecondActivity.kt @@ -8,5 +8,6 @@ class SecondActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_second) + supportActionBar?.title = getString(R.string.second_shortcut_label) } } diff --git a/MultipleInstances/src/main/res/layout/activity_main.xml b/MultipleInstances/src/main/res/layout/activity_main.xml index 4fc24441..358bbbdc 100644 --- a/MultipleInstances/src/main/res/layout/activity_main.xml +++ b/MultipleInstances/src/main/res/layout/activity_main.xml @@ -7,6 +7,7 @@ tools:context=".MainActivity"> MultipleInstances Hello Second Screen" + New Instance + Second Activity diff --git a/Qualifiers/build.gradle b/Qualifiers/build.gradle index d15e54d6..6542cd5a 100644 --- a/Qualifiers/build.gradle +++ b/Qualifiers/build.gradle @@ -25,6 +25,9 @@ dependencies { implementation androidxDependencies.ktxFragment testImplementation testDependencies.junit + androidTestImplementation instrumentationTestDependencies.junit androidTestImplementation instrumentationTestDependencies.espressoCore + androidTestImplementation instrumentationTestDependencies.uiAutomator + androidTestImplementation instrumentationTestDependencies.testRules } diff --git a/Qualifiers/src/androidTest/java/com/microsoft/device/display/samples/qualifiers/QualifiersTest.kt b/Qualifiers/src/androidTest/java/com/microsoft/device/display/samples/qualifiers/QualifiersTest.kt new file mode 100644 index 00000000..17443b7a --- /dev/null +++ b/Qualifiers/src/androidTest/java/com/microsoft/device/display/samples/qualifiers/QualifiersTest.kt @@ -0,0 +1,92 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + * + */ + +package com.microsoft.device.display.samples.qualifiers + +import android.graphics.drawable.ColorDrawable +import android.view.View +import androidx.annotation.ColorInt +import androidx.constraintlayout.widget.ConstraintLayout +import androidx.test.espresso.Espresso.onView +import androidx.test.espresso.assertion.ViewAssertions.matches +import androidx.test.espresso.matcher.BoundedMatcher +import androidx.test.espresso.matcher.ViewMatchers.withContentDescription +import androidx.test.espresso.matcher.ViewMatchers.withId +import androidx.test.espresso.matcher.ViewMatchers.withText +import androidx.test.filters.LargeTest +import androidx.test.internal.runner.junit4.AndroidJUnit4ClassRunner +import androidx.test.platform.app.InstrumentationRegistry +import androidx.test.rule.ActivityTestRule +import androidx.test.uiautomator.UiDevice +import org.hamcrest.Description +import org.hamcrest.Matcher +import org.junit.Rule +import org.junit.Test +import org.junit.runner.RunWith + +@RunWith(AndroidJUnit4ClassRunner::class) +@LargeTest +class QualifiersTest { + + private val device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()) + + @get:Rule + val activityRule = ActivityTestRule(MainActivity::class.java) + + @Test + fun displaySingleLayout_inSingleMode() { + onView(withId(R.id.layout_container)) + .check(matches(withBackgroundColor(null))) + onView(withId(R.id.image)) + .check(matches(withContentDescription("Single screen image"))) + onView(withId(R.id.text)) + .check(matches(withText("Hello World! \nSingle screen mode"))) + onView(withId(R.id.resource_folder_text)) + .check(matches(withText("sw540dp-1350x1800"))) + } + + @Test + fun displayDualLayout_inDualMode() { + spanApplication() + + onView(withId(R.id.layout_container)) + .check(matches(withBackgroundColor(R.color.colorAccent))) + onView(withId(R.id.image)) + .check(matches(withContentDescription("Dual screen image"))) + onView(withId(R.id.text)) + .check(matches(withText("Hello World! \nSpanned mode!"))) + onView(withId(R.id.resource_folder_text)) + .check(matches(withText("sw720dp-2784x1800"))) + } + + private fun spanApplication() { + device.swipe(675, 1780, 1350, 900, 400) + } + + companion object { + fun withBackgroundColor(@ColorInt expectedColor: Int?): Matcher = + object : BoundedMatcher(ConstraintLayout::class.java) { + override fun describeTo(description: Description?) { + description?.appendText( + "Check for item to have color with id $expectedColor" + ) + } + + override fun matchesSafely(view: ConstraintLayout?): Boolean { + view?.let { + if (expectedColor == null) { + return view.background == null + } + if (view.background is ColorDrawable) { + val actualColor = (view.background as ColorDrawable).color + return actualColor == view.context.getColor(expectedColor) + } + } + return false + } + } + } +} diff --git a/Qualifiers/src/main/res/layout-sw720dp-2784x1800/activity_main.xml b/Qualifiers/src/main/res/layout-sw720dp-2784x1800/activity_main.xml index 1b8aade2..241fb29d 100644 --- a/Qualifiers/src/main/res/layout-sw720dp-2784x1800/activity_main.xml +++ b/Qualifiers/src/main/res/layout-sw720dp-2784x1800/activity_main.xml @@ -11,6 +11,7 @@ specific layouts for Surface Duo. --> Qualifiers Hello World! \nSpanned mode! sw720dp-2784x1800 + Dual screen image diff --git a/TwoPage/build.gradle b/TwoPage/build.gradle index ea7069c1..9cfe9744 100644 --- a/TwoPage/build.gradle +++ b/TwoPage/build.gradle @@ -33,6 +33,9 @@ dependencies { implementation microsoftDependencies.dualScreenLayout testImplementation testDependencies.junit + androidTestImplementation instrumentationTestDependencies.junit androidTestImplementation instrumentationTestDependencies.espressoCore + androidTestImplementation instrumentationTestDependencies.uiAutomator + androidTestImplementation instrumentationTestDependencies.testRules } diff --git a/TwoPage/src/androidTest/java/com/microsoft/device/display/samples/twopage/TwoPageModeOrientationTest.kt b/TwoPage/src/androidTest/java/com/microsoft/device/display/samples/twopage/TwoPageModeOrientationTest.kt new file mode 100644 index 00000000..87b60aff --- /dev/null +++ b/TwoPage/src/androidTest/java/com/microsoft/device/display/samples/twopage/TwoPageModeOrientationTest.kt @@ -0,0 +1,132 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + * + */ + +package com.microsoft.device.display.samples.twopage + +import androidx.test.espresso.Espresso.onView +import androidx.test.espresso.assertion.ViewAssertions.matches +import androidx.test.espresso.matcher.ViewMatchers.isDisplayed +import androidx.test.espresso.matcher.ViewMatchers.withId +import androidx.test.espresso.matcher.ViewMatchers.withText +import androidx.test.filters.LargeTest +import androidx.test.internal.runner.junit4.AndroidJUnit4ClassRunner +import androidx.test.platform.app.InstrumentationRegistry +import androidx.test.rule.ActivityTestRule +import androidx.test.uiautomator.UiDevice +import org.hamcrest.core.AllOf.allOf +import org.junit.After +import org.junit.Rule +import org.junit.Test +import org.junit.runner.RunWith + +@RunWith(AndroidJUnit4ClassRunner::class) +@LargeTest +class TwoPageModeOrientationTest { + private val device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()) + + @get:Rule + val activityRule = ActivityTestRule(MainActivity::class.java) + + @After + fun resetOrientation() { + device.setOrientationNatural() + device.unfreezeRotation() + } + + @Test + fun displayLayouts_whenInSingleScreenPortrait() { + onView(withId(R.id.single_pager_container)).check(matches(isDisplayed())) + onView(allOf(withId(R.id.text_view), withText("Page 1"))) + .check(matches(isDisplayed())) + + changePagePortrait() + + onView(allOf(withId(R.id.text_view), withText("Page 2"))) + .check(matches(isDisplayed())) + } + + @Test + fun displayLayouts_whenInDualScreenPortrait() { + spanApplication() + + onView(withId(R.id.single_pager_container)).check(matches(isDisplayed())) + onView(allOf(withId(R.id.text_view), withText("Page 1"))) + .check(matches(isDisplayed())) + onView(allOf(withId(R.id.text_view), withText("Page 2"))) + .check(matches(isDisplayed())) + + changePagePortrait() + + onView(allOf(withId(R.id.text_view), withText("Page 2"))) + .check(matches(isDisplayed())) + onView(allOf(withId(R.id.text_view), withText("Page 3"))) + .check(matches(isDisplayed())) + + changeTwoPagesPortrait() + + onView(allOf(withId(R.id.text_view), withText("Page 4"))) + .check(matches(isDisplayed())) + onView(allOf(withId(R.id.text_view), withText("Page 5"))) + .check(matches(isDisplayed())) + } + + @Test + fun displayLayouts_whenInSingleScreenLandscape() { + rotateDevice() + + onView(withId(R.id.single_pager_container)).check(matches(isDisplayed())) + onView(allOf(withId(R.id.text_view), withText("Page 1"))) + .check(matches(isDisplayed())) + + changePageLandscape() + + onView(allOf(withId(R.id.text_view), withText("Page 2"))) + .check(matches(isDisplayed())) + } + + @Test + fun displayLayouts_whenInDualScreenLandscape() { + rotateDevice() + spanLandscapeApplication() + + onView(withId(R.id.dual_pager_container)).check(matches(isDisplayed())) + onView(allOf(withId(R.id.text_view), withText("Page 1"))) + .check(matches(isDisplayed())) + + changePageVertical() + + onView(allOf(withId(R.id.text_view), withText("Page 2"))) + .check(matches(isDisplayed())) + } + + private fun spanApplication() { + device.swipe(675, 1780, 1350, 900, 400) + } + + private fun spanLandscapeApplication() { + device.swipe(1780, 2100, 1350, 1500, 400) + } + + private fun rotateDevice() { + device.setOrientationLeft() + } + + private fun changePagePortrait() { + device.swipe(1000, 1000, 200, 1000, 10) + } + + private fun changeTwoPagesPortrait() { + device.swipe(2500, 1000, 200, 1000, 10) + } + + private fun changePageLandscape() { + device.swipe(1500, 2000, 200, 2000, 10) + } + + private fun changePageVertical() { + device.swipe(1000, 1000, 1000, 200, 10) + } +} diff --git a/TwoPage/src/main/res/layout/activity_main.xml b/TwoPage/src/main/res/layout/activity_main.xml index 40d691ee..b5a718a2 100644 --- a/TwoPage/src/main/res/layout/activity_main.xml +++ b/TwoPage/src/main/res/layout/activity_main.xml @@ -5,6 +5,7 @@ --> diff --git a/TwoPage/src/main/res/layout/double_landscape_layout.xml b/TwoPage/src/main/res/layout/double_landscape_layout.xml index 37611002..baa3ab3f 100644 --- a/TwoPage/src/main/res/layout/double_landscape_layout.xml +++ b/TwoPage/src/main/res/layout/double_landscape_layout.xml @@ -5,6 +5,7 @@ --> diff --git a/build.gradle b/build.gradle index fba7db8b..248a00b0 100644 --- a/build.gradle +++ b/build.gradle @@ -33,15 +33,15 @@ allprojects { } } apply from: "$rootDir/ktlint.gradle" + + tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { + kotlinOptions { + jvmTarget = "1.8" + } + } } task clean(type: Delete) { delete rootProject.buildDir } - -tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { - kotlinOptions { - jvmTarget = "1.8" - } -} diff --git a/dependencies.gradle b/dependencies.gradle index b0f25662..de81c42f 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -64,19 +64,29 @@ ext { //Test dependencies version junitVersion = "4.13" + mockitoVersion = "3.5.9" testDependencies = [ - junit: "junit:junit:$junitVersion" + junit : "junit:junit:$junitVersion", + mockito : "org.mockito:mockito-core:$mockitoVersion", ] //Android test dependencies version junitInstrumentationVersion = "1.1.1" + ktxTestCoreVersion = "1.2.0" espressoCoreVersion = "3.2.0" + espressoIntentsVersion = "3.2.0" + testRulesVersion = "1.2.0" testRunnerVersion = "1.2.0" + uiAutomatorVersion = "2.2.0" instrumentationTestDependencies = [ - junit : "androidx.test.ext:junit:$junitInstrumentationVersion", - espressoCore: "androidx.test.espresso:espresso-core:$espressoCoreVersion", - testRunner : "androidx.test:runner:$testRunnerVersion" + junit : "androidx.test.ext:junit:$junitInstrumentationVersion", + ktxTestCore : "androidx.test:core-ktx:$ktxTestCoreVersion", + espressoCore : "androidx.test.espresso:espresso-core:$espressoCoreVersion", + espressoIntents : "androidx.test.espresso:espresso-intents:$espressoIntentsVersion", + testRunner : "androidx.test:runner:$testRunnerVersion", + testRules : "androidx.test:rules:$testRulesVersion", + uiAutomator : "androidx.test.uiautomator:uiautomator:$uiAutomatorVersion", ] } \ No newline at end of file diff --git a/settings.gradle b/settings.gradle index bb8755cf..ebcb804d 100644 --- a/settings.gradle +++ b/settings.gradle @@ -4,7 +4,7 @@ * */ -include ':ListDetail', ':ExtendCanvas', ':TwoPage', ':CompanionPane', ':DualView', - ':IntentToSecondScreen', ':DragAndDrop', ':CompanionPaneLevel2', ':MultipleInstances', +include ':ListDetail', ':ExtendCanvas', ':TwoPage', ':DualView', + ':IntentToSecondScreen', ':DragAndDrop', ':CompanionPane', ':MultipleInstances', ':PenEvents', ':Qualifiers', ':HingeAngle' rootProject.name = 'DuoSDKSampleApps'