Home
last modified time | relevance | path

Searched refs:mDisplayAreaInfo (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/hidedisplaycutout/
DHideDisplayCutoutOrganizerTest.java80 private DisplayAreaInfo mDisplayAreaInfo; field in HideDisplayCutoutOrganizerTest
115 mDisplayAreaInfo = new DisplayAreaInfo( in setUp()
117 mDisplayAreaInfo.configuration.orientation = Configuration.ORIENTATION_PORTRAIT; in setUp()
118 DisplayAreaAppearedInfo info = new DisplayAreaAppearedInfo(mDisplayAreaInfo, mLeash); in setUp()
130 verify(mOrganizer).addDisplayAreaInfoAndLeashToMap(mDisplayAreaInfo, mLeash); in testEnableHideDisplayCutout()
132 assertThat(mOrganizer.mDisplayAreaMap.containsKey(mDisplayAreaInfo.token)).isTrue(); in testEnableHideDisplayCutout()
138 mOrganizer.onDisplayAreaAppeared(mDisplayAreaInfo, mLeash); in testOnDisplayAreaAppeared()
146 mOrganizer.mDisplayAreaMap.put(mDisplayAreaInfo.token, mLeash); in testOnDisplayAreaVanished()
147 mOrganizer.onDisplayAreaVanished(mDisplayAreaInfo); in testOnDisplayAreaVanished()
149 assertThat(mOrganizer.mDisplayAreaMap.containsKey(mDisplayAreaInfo.token)).isFalse(); in testOnDisplayAreaVanished()
[all …]
/frameworks/base/core/java/android/window/
DDisplayAreaAppearedInfo.java34 private final DisplayAreaInfo mDisplayAreaInfo; field in DisplayAreaAppearedInfo
58 mDisplayAreaInfo = displayAreaInfo; in DisplayAreaAppearedInfo()
64 dest.writeTypedObject(mDisplayAreaInfo, flags); in writeToParcel()
78 return mDisplayAreaInfo; in getDisplayAreaInfo()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
DOneHandedBackgroundPanelOrganizerTest.java57 private DisplayAreaInfo mDisplayAreaInfo; field in OneHandedBackgroundPanelOrganizerTest
79 mDisplayAreaInfo = new DisplayAreaInfo(mToken, DEFAULT_DISPLAY, in setUp()
90 mSpiedBackgroundPanelOrganizer.onDisplayAreaAppeared(mDisplayAreaInfo, mLeash); in testOnDisplayAreaAppeared()
98 mSpiedBackgroundPanelOrganizer.onDisplayAreaAppeared(mDisplayAreaInfo, null); in testShowBackgroundLayer()
106 mSpiedBackgroundPanelOrganizer.onDisplayAreaAppeared(mDisplayAreaInfo, mLeash); in testRemoveBackgroundLayer()
DOneHandedDisplayAreaOrganizerTest.java73 DisplayAreaInfo mDisplayAreaInfo; field in OneHandedDisplayAreaOrganizerTest
117 mDisplayAreaInfo = new DisplayAreaInfo(mToken, DEFAULT_DISPLAY, FEATURE_ONE_HANDED); in setUp()
118 mDisplayAreaInfo.configuration.orientation = Configuration.ORIENTATION_PORTRAIT; in setUp()
154 return new DisplayAreaAppearedInfo(mDisplayAreaInfo, mMockLeash); in getDummyDisplayAreaInfo()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/
DSplitTestUtils.java63 final DisplayAreaInfo mDisplayAreaInfo; field in SplitTestUtils.TestStageCoordinator
73 mDisplayAreaInfo = new DisplayAreaInfo( in TestStageCoordinator()
77 this.onDisplayAreaAppeared(mDisplayAreaInfo); in TestStageCoordinator()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DStageCoordinator.java113 private DisplayAreaInfo mDisplayAreaInfo; field in StageCoordinator
565 mDisplayAreaInfo = displayAreaInfo; in onDisplayAreaAppeared()
568 mDisplayAreaInfo.configuration, this, in onDisplayAreaAppeared()
581 mDisplayAreaInfo = displayAreaInfo; in onDisplayAreaInfoChanged()
583 && mSplitLayout.updateConfiguration(mDisplayAreaInfo.configuration)) { in onDisplayAreaInfoChanged()