Loading libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/AndroidManifest.xml +9 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ android:resizeableActivity="true" android:supportsPictureInPicture="true" android:launchMode="singleTop" android:theme="@style/CutoutShortEdges" android:label="FixedApp" android:exported="true"> <intent-filter> Loading @@ -37,6 +38,7 @@ android:supportsPictureInPicture="true" android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation" android:taskAffinity="com.android.wm.shell.flicker.testapp.PipActivity" android:theme="@style/CutoutShortEdges" android:launchMode="singleTop" android:label="PipApp" android:exported="true"> Loading @@ -52,6 +54,7 @@ <activity android:name=".ImeActivity" android:taskAffinity="com.android.wm.shell.flicker.testapp.ImeActivity" android:theme="@style/CutoutShortEdges" android:label="ImeApp" android:launchMode="singleTop" android:exported="true"> Loading @@ -68,6 +71,7 @@ <activity android:name=".SplitScreenActivity" android:resizeableActivity="true" android:taskAffinity="com.android.wm.shell.flicker.testapp.SplitScreenActivity" android:theme="@style/CutoutShortEdges" android:label="SplitScreenPrimaryApp" android:exported="true"> <intent-filter> Loading @@ -79,6 +83,7 @@ <activity android:name=".SplitScreenSecondaryActivity" android:resizeableActivity="true" android:taskAffinity="com.android.wm.shell.flicker.testapp.SplitScreenSecondaryActivity" android:theme="@style/CutoutShortEdges" android:label="SplitScreenSecondaryApp" android:exported="true"> <intent-filter> Loading @@ -90,6 +95,7 @@ <activity android:name=".NonResizeableActivity" android:resizeableActivity="false" android:taskAffinity="com.android.wm.shell.flicker.testapp.NonResizeableActivity" android:theme="@style/CutoutShortEdges" android:label="NonResizeableApp" android:exported="true"> <intent-filter> Loading @@ -100,6 +106,7 @@ <activity android:name=".SimpleActivity" android:taskAffinity="com.android.wm.shell.flicker.testapp.SimpleActivity" android:theme="@style/CutoutShortEdges" android:label="SimpleApp" android:exported="true"> <intent-filter> Loading @@ -111,6 +118,7 @@ android:name=".LaunchBubbleActivity" android:label="LaunchBubbleApp" android:exported="true" android:theme="@style/CutoutShortEdges" android:launchMode="singleTop"> <intent-filter> <action android:name="android.intent.action.MAIN" /> Loading @@ -121,6 +129,7 @@ android:name=".BubbleActivity" android:label="BubbleApp" android:exported="false" android:theme="@style/CutoutShortEdges" android:resizeableActivity="true" /> </application> </manifest> libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/values/styles.xml 0 → 100644 +30 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2022 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <resources> <style name="CutoutDefault"> <item name="android:windowLayoutInDisplayCutoutMode">default</item> </style> <style name="CutoutShortEdges"> <item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item> </style> <style name="CutoutNever"> <item name="android:windowLayoutInDisplayCutoutMode">never</item> </style> </resources> No newline at end of file tests/FlickerTests/test-apps/flickerapp/AndroidManifest.xml +7 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ android:supportsRtl="true"> <activity android:name=".SimpleActivity" android:taskAffinity="com.android.server.wm.flicker.testapp.SimpleActivity" android:theme="@style/CutoutShortEdges" android:label="SimpleApp" android:exported="true"> <intent-filter> Loading @@ -32,6 +33,7 @@ </activity> <activity android:name=".ImeActivity" android:taskAffinity="com.android.server.wm.flicker.testapp.ImeActivity" android:theme="@style/CutoutShortEdges" android:label="ImeApp" android:exported="true"> <intent-filter> Loading @@ -40,6 +42,7 @@ </intent-filter> </activity> <activity android:name=".ImeActivityAutoFocus" android:theme="@style/CutoutShortEdges" android:taskAffinity="com.android.server.wm.flicker.testapp.ImeActivityAutoFocus" android:windowSoftInputMode="stateVisible" android:label="ImeAppAutoFocus" Loading @@ -51,6 +54,7 @@ </activity> <activity android:name=".SeamlessRotationActivity" android:taskAffinity="com.android.server.wm.flicker.testapp.SeamlessRotationActivity" android:theme="@style/CutoutShortEdges" android:configChanges="orientation|screenSize" android:label="SeamlessApp" android:exported="true"> Loading @@ -60,6 +64,7 @@ </intent-filter> </activity> <activity android:name=".NonResizeableActivity" android:theme="@style/CutoutShortEdges" android:resizeableActivity="false" android:taskAffinity="com.android.server.wm.flicker.testapp.NonResizeableActivity" android:label="NonResizeableApp" Loading @@ -72,6 +77,7 @@ </activity> <activity android:name=".ButtonActivity" android:taskAffinity="com.android.server.wm.flicker.testapp.ButtonActivity" android:theme="@style/CutoutShortEdges" android:configChanges="orientation|screenSize" android:label="ButtonActivity" android:exported="true"> Loading @@ -82,6 +88,7 @@ </activity> <activity android:name=".LaunchNewTaskActivity" android:taskAffinity="com.android.server.wm.flicker.testapp.LaunchNewTaskActivity" android:theme="@style/CutoutShortEdges" android:configChanges="orientation|screenSize" android:label="LaunchNewTaskActivity" android:exported="true"> Loading tests/FlickerTests/test-apps/flickerapp/res/values/styles.xml 0 → 100644 +30 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2022 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <resources> <style name="CutoutDefault"> <item name="android:windowLayoutInDisplayCutoutMode">default</item> </style> <style name="CutoutShortEdges"> <item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item> </style> <style name="CutoutNever"> <item name="android:windowLayoutInDisplayCutoutMode">never</item> </style> </resources> No newline at end of file Loading
libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/AndroidManifest.xml +9 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ android:resizeableActivity="true" android:supportsPictureInPicture="true" android:launchMode="singleTop" android:theme="@style/CutoutShortEdges" android:label="FixedApp" android:exported="true"> <intent-filter> Loading @@ -37,6 +38,7 @@ android:supportsPictureInPicture="true" android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation" android:taskAffinity="com.android.wm.shell.flicker.testapp.PipActivity" android:theme="@style/CutoutShortEdges" android:launchMode="singleTop" android:label="PipApp" android:exported="true"> Loading @@ -52,6 +54,7 @@ <activity android:name=".ImeActivity" android:taskAffinity="com.android.wm.shell.flicker.testapp.ImeActivity" android:theme="@style/CutoutShortEdges" android:label="ImeApp" android:launchMode="singleTop" android:exported="true"> Loading @@ -68,6 +71,7 @@ <activity android:name=".SplitScreenActivity" android:resizeableActivity="true" android:taskAffinity="com.android.wm.shell.flicker.testapp.SplitScreenActivity" android:theme="@style/CutoutShortEdges" android:label="SplitScreenPrimaryApp" android:exported="true"> <intent-filter> Loading @@ -79,6 +83,7 @@ <activity android:name=".SplitScreenSecondaryActivity" android:resizeableActivity="true" android:taskAffinity="com.android.wm.shell.flicker.testapp.SplitScreenSecondaryActivity" android:theme="@style/CutoutShortEdges" android:label="SplitScreenSecondaryApp" android:exported="true"> <intent-filter> Loading @@ -90,6 +95,7 @@ <activity android:name=".NonResizeableActivity" android:resizeableActivity="false" android:taskAffinity="com.android.wm.shell.flicker.testapp.NonResizeableActivity" android:theme="@style/CutoutShortEdges" android:label="NonResizeableApp" android:exported="true"> <intent-filter> Loading @@ -100,6 +106,7 @@ <activity android:name=".SimpleActivity" android:taskAffinity="com.android.wm.shell.flicker.testapp.SimpleActivity" android:theme="@style/CutoutShortEdges" android:label="SimpleApp" android:exported="true"> <intent-filter> Loading @@ -111,6 +118,7 @@ android:name=".LaunchBubbleActivity" android:label="LaunchBubbleApp" android:exported="true" android:theme="@style/CutoutShortEdges" android:launchMode="singleTop"> <intent-filter> <action android:name="android.intent.action.MAIN" /> Loading @@ -121,6 +129,7 @@ android:name=".BubbleActivity" android:label="BubbleApp" android:exported="false" android:theme="@style/CutoutShortEdges" android:resizeableActivity="true" /> </application> </manifest>
libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/values/styles.xml 0 → 100644 +30 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2022 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <resources> <style name="CutoutDefault"> <item name="android:windowLayoutInDisplayCutoutMode">default</item> </style> <style name="CutoutShortEdges"> <item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item> </style> <style name="CutoutNever"> <item name="android:windowLayoutInDisplayCutoutMode">never</item> </style> </resources> No newline at end of file
tests/FlickerTests/test-apps/flickerapp/AndroidManifest.xml +7 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ android:supportsRtl="true"> <activity android:name=".SimpleActivity" android:taskAffinity="com.android.server.wm.flicker.testapp.SimpleActivity" android:theme="@style/CutoutShortEdges" android:label="SimpleApp" android:exported="true"> <intent-filter> Loading @@ -32,6 +33,7 @@ </activity> <activity android:name=".ImeActivity" android:taskAffinity="com.android.server.wm.flicker.testapp.ImeActivity" android:theme="@style/CutoutShortEdges" android:label="ImeApp" android:exported="true"> <intent-filter> Loading @@ -40,6 +42,7 @@ </intent-filter> </activity> <activity android:name=".ImeActivityAutoFocus" android:theme="@style/CutoutShortEdges" android:taskAffinity="com.android.server.wm.flicker.testapp.ImeActivityAutoFocus" android:windowSoftInputMode="stateVisible" android:label="ImeAppAutoFocus" Loading @@ -51,6 +54,7 @@ </activity> <activity android:name=".SeamlessRotationActivity" android:taskAffinity="com.android.server.wm.flicker.testapp.SeamlessRotationActivity" android:theme="@style/CutoutShortEdges" android:configChanges="orientation|screenSize" android:label="SeamlessApp" android:exported="true"> Loading @@ -60,6 +64,7 @@ </intent-filter> </activity> <activity android:name=".NonResizeableActivity" android:theme="@style/CutoutShortEdges" android:resizeableActivity="false" android:taskAffinity="com.android.server.wm.flicker.testapp.NonResizeableActivity" android:label="NonResizeableApp" Loading @@ -72,6 +77,7 @@ </activity> <activity android:name=".ButtonActivity" android:taskAffinity="com.android.server.wm.flicker.testapp.ButtonActivity" android:theme="@style/CutoutShortEdges" android:configChanges="orientation|screenSize" android:label="ButtonActivity" android:exported="true"> Loading @@ -82,6 +88,7 @@ </activity> <activity android:name=".LaunchNewTaskActivity" android:taskAffinity="com.android.server.wm.flicker.testapp.LaunchNewTaskActivity" android:theme="@style/CutoutShortEdges" android:configChanges="orientation|screenSize" android:label="LaunchNewTaskActivity" android:exported="true"> Loading
tests/FlickerTests/test-apps/flickerapp/res/values/styles.xml 0 → 100644 +30 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2022 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <resources> <style name="CutoutDefault"> <item name="android:windowLayoutInDisplayCutoutMode">default</item> </style> <style name="CutoutShortEdges"> <item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item> </style> <style name="CutoutNever"> <item name="android:windowLayoutInDisplayCutoutMode">never</item> </style> </resources> No newline at end of file