Home
last modified time | relevance | path

Searched refs:providesInsetsTypes (Results 1 – 8 of 8) sorted by relevance

/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DWindowManagerWrapper.java110 int[] providesInsetsTypes) { in setProvidesInsetsTypes() argument
111 params.providesInsetsTypes = providesInsetsTypes; in setProvidesInsetsTypes()
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DDisplayPolicyLayoutTests.java192 win.mAttrs.providesInsetsTypes = new int[]{ITYPE_STATUS_BAR, ITYPE_TOP_GESTURES}; in addingWindow_withInsetsTypes()
220 win.mAttrs.providesInsetsTypes = new int[]{ITYPE_STATUS_BAR}; in addingWindow_InWindowTypeWithPredefinedInsets()
240 win1.mAttrs.providesInsetsTypes = new int[]{ITYPE_STATUS_BAR, ITYPE_NAVIGATION_BAR}; in addingWindow_throwsException_WithMultipleInsetTypes()
245 win2.mAttrs.providesInsetsTypes = new int[]{ITYPE_CLIMATE_BAR, ITYPE_EXTRA_NAVIGATION_BAR}; in addingWindow_throwsException_WithMultipleInsetTypes()
255 win1.mAttrs.providesInsetsTypes = new int[]{ITYPE_NAVIGATION_BAR}; in addingWindow_variousGravities_alternateBarPosUpdated()
264 win2.mAttrs.providesInsetsTypes = new int[]{ITYPE_NAVIGATION_BAR}; in addingWindow_variousGravities_alternateBarPosUpdated()
273 win3.mAttrs.providesInsetsTypes = new int[]{ITYPE_NAVIGATION_BAR}; in addingWindow_variousGravities_alternateBarPosUpdated()
282 win4.mAttrs.providesInsetsTypes = new int[]{ITYPE_NAVIGATION_BAR}; in addingWindow_variousGravities_alternateBarPosUpdated()
/aosp12/frameworks/base/core/java/android/view/
H A DWindowManager.java3542 public @InsetsState.InternalInsetsType int[] providesInsetsTypes; field in WindowManager.LayoutParams
3927 if (providesInsetsTypes != null) { in writeToParcel()
3928 out.writeInt(providesInsetsTypes.length); in writeToParcel()
3929 out.writeIntArray(providesInsetsTypes); in writeToParcel()
4010 providesInsetsTypes = new int[insetsTypesLength]; in LayoutParams()
4011 in.readIntArray(providesInsetsTypes); in LayoutParams()
4311 if (!Arrays.equals(providesInsetsTypes, o.providesInsetsTypes)) { in copyFrom()
4312 providesInsetsTypes = o.providesInsetsTypes; in copyFrom()
4519 if (providesInsetsTypes != null) { in toString()
4522 for (int i = 0; i < providesInsetsTypes.length; ++i) { in toString()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DInsetsStateController.java159 if (attrs.providesInsetsTypes != null) { in getInsetsTypeForLayoutParams()
160 for (@InternalInsetsType int insetsType : attrs.providesInsetsTypes) { in getInsetsTypeForLayoutParams()
H A DDisplayPolicy.java1072 if (attrs.providesInsetsTypes != null) { in validateAddingWindowLw()
1079 enforceSingleInsetsTypeCorrespondingToWindowType(attrs.providesInsetsTypes); in validateAddingWindowLw()
1081 for (@InternalInsetsType int insetType : attrs.providesInsetsTypes) { in validateAddingWindowLw()
1229 if (attrs.providesInsetsTypes != null) { in addWindowLw()
1230 for (@InternalInsetsType int insetsType : attrs.providesInsetsTypes) { in addWindowLw()
H A DInsetsSourceProvider.java473 final int[] provides = mWin.mAttrs.providesInsetsTypes; in isMirroredSource()
H A DWindowManagerService.java2258 if (!Arrays.equals(win.mAttrs.providesInsetsTypes, attrs.providesInsetsTypes)) { in relayoutWindow()
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
H A DSystemBarConfigs.java460 lp.providesInsetsTypes = new int[]{BAR_TYPE_MAP[mBarType], BAR_GESTURE_MAP.get(mSide)}; in getLayoutParams()