Home
last modified time | relevance | path

Searched refs:insetsFlags (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/view/
DViewRootInsetsControllerHost.java174 final InsetsFlags insetsFlags = mViewRoot.mWindowAttributes.insetsFlags; in setSystemBarsAppearance() local
175 final int newAppearance = (insetsFlags.appearance & ~mask) | (appearance & mask); in setSystemBarsAppearance()
176 if (insetsFlags.appearance != newAppearance) { in setSystemBarsAppearance()
177 insetsFlags.appearance = newAppearance; in setSystemBarsAppearance()
185 return mViewRoot.mWindowAttributes.insetsFlags.appearance; in getSystemBarsAppearance()
190 if (mViewRoot.mWindowAttributes.insetsFlags.behavior != behavior) { in setSystemBarsBehavior()
191 mViewRoot.mWindowAttributes.insetsFlags.behavior = behavior; in setSystemBarsBehavior()
199 return mViewRoot.mWindowAttributes.insetsFlags.behavior; in getSystemBarsBehavior()
DWindowManager.java4532 public final InsetsFlags insetsFlags = new InsetsFlags(); field in WindowManager.LayoutParams
5153 out.writeInt(insetsFlags.appearance); in writeToParcel()
5154 out.writeInt(insetsFlags.behavior); in writeToParcel()
5230 insetsFlags.appearance = in.readInt(); in LayoutParams()
5231 insetsFlags.behavior = in.readInt(); in LayoutParams()
5525 if (insetsFlags.appearance != o.insetsFlags.appearance) { in copyFrom()
5526 insetsFlags.appearance = o.insetsFlags.appearance; in copyFrom()
5530 if (insetsFlags.behavior != o.insetsFlags.behavior) { in copyFrom()
5531 insetsFlags.behavior = o.insetsFlags.behavior; in copyFrom()
5780 if (insetsFlags.appearance != 0) { in toString()
[all …]
DViewRootImpl.java2105 final int appearance = mWindowAttributes.insetsFlags.appearance;
2106 final int behavior = mWindowAttributes.insetsFlags.behavior;
2133 mWindowAttributes.insetsFlags.appearance = appearance;
2134 mWindowAttributes.insetsFlags.behavior = behavior;
3062 @Appearance int appearance = inOutParams.insetsFlags.appearance; in adjustLayoutParamsForCompatibility()
3081 inOutParams.insetsFlags.appearance = appearance; in adjustLayoutParamsForCompatibility()
3086 inOutParams.insetsFlags.behavior = BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE; in adjustLayoutParamsForCompatibility()
3088 inOutParams.insetsFlags.behavior = BEHAVIOR_DEFAULT; in adjustLayoutParamsForCompatibility()
3621 if (mDispatchedSystemBarAppearance != params.insetsFlags.appearance) { in performTraversals()
3622 mDispatchedSystemBarAppearance = params.insetsFlags.appearance; in performTraversals()
/frameworks/base/core/java/android/window/
DSnapshotDrawerUtils.java400 attrs.insetsFlags.appearance, taskDescription, info.requestedVisibleTypes); in drawSnapshotOnSurface()
422 final int appearance = attrs.insetsFlags.appearance; in createLayoutParameters()
444 layoutParams.insetsFlags.appearance = appearance; in createLayoutParameters()
445 layoutParams.insetsFlags.behavior = attrs.insetsFlags.behavior; in createLayoutParameters()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyTests.java92 attrs.insetsFlags.appearance = hasLightNavBar ? APPEARANCE_LIGHT_NAVIGATION_BARS : 0; in createOpaqueFullscreen()
127 attrs.insetsFlags.appearance = hasLightNavBar ? APPEARANCE_LIGHT_NAVIGATION_BARS : 0; in createInputMethodWindow()
552 mAppWindow.mAttrs.insetsFlags.behavior = BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE; in testCanSystemBarsBeShownByUser()
576 win.mAttrs.insetsFlags.behavior = BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE; in testTransientBarsSuppressedOnDreams()
DSizeCompatTests.java3523 mActivity.findMainWindow().mAttrs.insetsFlags.appearance
3559 mActivity.findMainWindow().mAttrs.insetsFlags.appearance
3696 mActivity.findMainWindow().mAttrs.insetsFlags.appearance
3700 newActivity.findMainWindow().mAttrs.insetsFlags.appearance
DDisplayContentTests.java1463 win.getAttrs().insetsFlags.behavior = BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE; in testCalculateSystemGestureExclusion_immersiveStickyLegacyWindow()
/frameworks/base/services/core/java/com/android/server/wm/
DAbsAppSnapshotController.java428 attrs.privateFlags, attrs.insetsFlags.appearance, taskDescription, in drawAppThemeSnapshot()
479 return topFullscreenWindow.mAttrs.insetsFlags.appearance; in getAppearance()
DDisplayPolicy.java994 if ((attrs.insetsFlags.appearance & APPEARANCE_FORCE_LIGHT_NAVIGATION_BARS) != 0) { in adjustWindowParamsLw()
995 attrs.insetsFlags.appearance |= APPEARANCE_LIGHT_NAVIGATION_BARS; in adjustWindowParamsLw()
1572 win.mAttrs.insetsFlags.appearance & APPEARANCE_LIGHT_STATUS_BARS,
1613 win.mAttrs.insetsFlags.appearance & APPEARANCE_LIGHT_STATUS_BARS,
2394 final int appearance = updateLightNavigationBarLw(win.mAttrs.insetsFlags.appearance,
2399 final int behavior = navBarControlWin.mAttrs.insetsFlags.behavior;
2491 appearance |= navColorWin.mAttrs.insetsFlags.appearance
DLetterboxUiController.java1763 w.mAttrs.insetsFlags.appearance in getLetterboxDetails()
DWindowState.java961 mAttrs.insetsFlags.behavior == BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE in isImplicitlyExcludingAllSystemGestures()
3892 return (mAttrs.insetsFlags.behavior & BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE) != 0; in canShowTransient()
DDisplayContent.java5960 && win.mAttrs.insetsFlags.behavior == BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE; in needsGestureExclusionRestrictions()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1084 ? viewRoot.mWindowAttributes.insetsFlags.appearance in updateColorViews()