Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DImmersiveModeConfirmation.java161 void immersiveModeChangedLw(int rootDisplayAreaId, boolean isImmersiveMode, in immersiveModeChangedLw() argument
173 msg.arg1 = rootDisplayAreaId; in immersiveModeChangedLw()
389 private WindowManager getWindowManager(int rootDisplayAreaId) { in getWindowManager() argument
392 final Bundle options = getOptionsForWindowContext(rootDisplayAreaId); in getWindowManager()
400 final Bundle options = getOptionsForWindowContext(rootDisplayAreaId); in getWindowManager()
417 private Bundle getOptionsForWindowContext(int rootDisplayAreaId) { in getOptionsForWindowContext() argument
419 if (rootDisplayAreaId == FEATURE_UNDEFINED) { in getOptionsForWindowContext()
424 options.putInt(KEY_ROOT_DISPLAY_AREA_ID, rootDisplayAreaId); in getOptionsForWindowContext()
428 private void handleShow(int rootDisplayAreaId) { in handleShow() argument
435 getWindowManager(rootDisplayAreaId).addView(mClingWindow, lp); in handleShow()
H A DDisplayArea.java501 info.rootDisplayAreaId = root == null ? getDisplayContent().mFeatureId : root.mFeatureId; in getDisplayAreaInfo()
H A DDisplayPolicy.java2925 final int rootDisplayAreaId = root == null ? FEATURE_UNDEFINED : root.mFeatureId;
2926 mImmersiveModeConfirmation.immersiveModeChangedLw(rootDisplayAreaId, newImmersiveMode,
/aosp12/frameworks/base/core/java/android/window/
H A DDisplayAreaInfo.java57 public int rootDisplayAreaId = FEATURE_UNDEFINED; field in DisplayAreaInfo
70 rootDisplayAreaId = in.readInt(); in DisplayAreaInfo()
79 dest.writeInt(rootDisplayAreaId); in writeToParcel()
/aosp12/packages/apps/Car/Launcher/src/com/android/car/carlauncher/displayarea/
H A DCarDisplayAreaController.java258 public void showTitleBar(int rootDisplayAreaId, Context context) { in showTitleBar() argument
266 getWindowManager(rootDisplayAreaId, context).addView(mTitleBarView, lp); in showTitleBar()
269 private WindowManager getWindowManager(int rootDisplayAreaId, Context context) { in getWindowManager() argument
270 Bundle options = getOptionWithRootDisplayArea(rootDisplayAreaId); in getWindowManager()
296 private static Bundle getOptionWithRootDisplayArea(int rootDisplayAreaId) { in getOptionWithRootDisplayArea() argument
298 if (rootDisplayAreaId == FEATURE_UNDEFINED) { in getOptionWithRootDisplayArea()
303 options.putInt(KEY_ROOT_DISPLAY_AREA_ID, rootDisplayAreaId); in getOptionWithRootDisplayArea()
502 if (info.getDisplayAreaInfo().rootDisplayAreaId == FEATURE_ROOT) { in registerOrganizer()
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DDisplayAreaTest.java584 assertThat(info.rootDisplayAreaId).isEqualTo(mDisplayContent.mFeatureId); in testGetDisplayAreaInfo()
595 assertThat(info2.rootDisplayAreaId).isEqualTo(root.mFeatureId); in testGetDisplayAreaInfo()