Home
last modified time | relevance | path

Searched refs:mStableInsets (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/view/
DWindowInsets.java36 private Rect mStableInsets; field in WindowInsets
75 mStableInsets = mStableInsetsConsumed ? EMPTY_RECT : stableInsets; in WindowInsets()
89 mStableInsets = src.mStableInsets; in WindowInsets()
411 return mStableInsets.top; in getStableInsetTop()
426 return mStableInsets.left; in getStableInsetLeft()
441 return mStableInsets.right; in getStableInsetRight()
456 return mStableInsets.bottom; in getStableInsetBottom()
471 return mStableInsets.top != 0 || mStableInsets.left != 0 || mStableInsets.right != 0 in hasStableInsets()
472 || mStableInsets.bottom != 0; in hasStableInsets()
482 result.mStableInsets = EMPTY_RECT; in consumeStableInsets()
[all …]
DViewRootImpl.java728 mAttachInfo.mContentInsets, mAttachInfo.mStableInsets, in setView()
750 mPendingStableInsets.set(mAttachInfo.mStableInsets); in setView()
1542 mDispatchStableInsets.set(mAttachInfo.mStableInsets); in getWindowInsets()
1728 if (!mPendingStableInsets.equals(mAttachInfo.mStableInsets)) { in performTraversals()
1931 mAttachInfo.mStableInsets); in performTraversals()
1950 mAttachInfo.mStableInsets.set(mPendingStableInsets); in performTraversals()
1952 + mAttachInfo.mStableInsets); in performTraversals()
DView.java25289 final Rect mStableInsets = new Rect();
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DTestWallpaper.java64 private final Rect mStableInsets = new Rect(); field in TestWallpaper.ClockEngine
169 mStableInsets.set(insets.getStableInsetLeft(), insets.getStableInsetTop(), in onApplyWindowInsets()
220 c.drawRect(0 + mStableInsets.left, 0 + mStableInsets.top, in drawFrame()
221 width - mStableInsets.right, height - mStableInsets.bottom, in drawFrame()
228 int x = mStableInsets.left + mPadding; in drawFrame()
229 int y = height - mStableInsets.bottom - mPadding - ascdesc; in drawFrame()
245 c.drawText("Stable Insets: (" + mStableInsets.left + ", " + mStableInsets.top in drawFrame()
246 + ") - (" + mStableInsets.right + ", " + mStableInsets.bottom + ")", in drawFrame()
/frameworks/base/core/java/com/android/internal/policy/
DBackdropFrameRenderer.java76 private final Rect mStableInsets = new Rect(); field in BackdropFrameRenderer
100 mStableInsets.set(stableInsets); in BackdropFrameRenderer()
166 mStableInsets.set(stableInsets); in setTargetRect()
250 || !mStableInsets.equals(mOldStableInsets) in doFrameUncheckedLocked()
256 mOldStableInsets.set(mStableInsets); in doFrameUncheckedLocked()
257 redrawLocked(mNewTargetRect, mFullscreen, mSystemInsets, mStableInsets); in doFrameUncheckedLocked()
373 final int topInset = DecorView.getColorViewTopInset(mStableInsets.top, mSystemInsets.top); in drawColorViews()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotSurface.java116 private final Rect mStableInsets = new Rect(); field in TaskSnapshotSurface
270 mStableInsets.set(stableInsets); in setFrames()
376 final int colorViewLeftInset = getColorViewLeftInset(mStableInsets.left, in calculateSnapshotFrame()
463 private final Rect mStableInsets = new Rect(); field in TaskSnapshotSurface.SystemBarBackgroundPainter
488 mStableInsets.set(stableInsets); in setInsets()
496 return getColorViewTopInset(mStableInsets.top, mContentInsets.top); in getStatusBarColorViewHeight()
517 final int rightInset = DecorView.getColorViewRightInset(mStableInsets.right, in drawStatusBarBackground()
527 getNavigationBarRect(c.getWidth(), c.getHeight(), mStableInsets, mContentInsets, in drawNavigationBarBackground() local
DTaskSnapshotController.java223 minRect(mainWindow.mContentInsets, mainWindow.mStableInsets), in snapshotTask()
295 decorPainter.setInsets(mainWindow.mContentInsets, mainWindow.mStableInsets); in drawAppThemeSnapshot()
303 topChild.getConfiguration().orientation, mainWindow.mStableInsets, in drawAppThemeSnapshot()
DPinnedStackController.java92 private final Rect mStableInsets = new Rect(); field in PinnedStackController
474 mService.getStableInsetsLocked(mDisplayContent.getDisplayId(), mStableInsets); in applyMinimizedOffset() local
476 mStableInsets); in applyMinimizedOffset()
DWindowState.java293 final Rect mStableInsets = new Rect(); field in WindowState
952 mStableInsets.set(Math.max(mStableFrame.left - mDisplayFrame.left, 0), in computeFrameLw()
983 mStableInsets.set(Math.max(mStableFrame.left - mFrame.left, 0), in computeFrameLw()
1006 mStableInsets.scale(mInvGlobalScale); in computeFrameLw()
1030 + " si=" + mStableInsets.toShortString() in computeFrameLw()
1122 mStableInsetsChanged |= !mLastStableInsets.equals(mStableInsets); in setReportResizeHints()
1183 + " " + mStableInsets.toShortString() in updateResizingWindowIfNeeded()
3540 pw.print(" stable="); mStableInsets.printShortString(pw); in dump()
4590 mLastStableInsets.set(mStableInsets); in updateLastInsetValues()
DWindowManagerService.java2225 outStableInsets.set(win.mStableInsets); in relayoutWindow()
2407 stableInsets.set(win.mStableInsets); in applyAnimationLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java150 private final Rect mStableInsets = new Rect(); field in DividerView
341 if (mStableInsets.left != insets.getStableInsetLeft() in onApplyWindowInsets()
342 || mStableInsets.top != insets.getStableInsetTop() in onApplyWindowInsets()
343 || mStableInsets.right != insets.getStableInsetRight() in onApplyWindowInsets()
344 || mStableInsets.bottom != insets.getStableInsetBottom()) { in onApplyWindowInsets()
345 mStableInsets.set(insets.getStableInsetLeft(), insets.getStableInsetTop(), in onApplyWindowInsets()
382 if (mStableInsets.isEmpty()) { in injectDependencies()
383 SystemServicesProxy.getInstance(mContext).getStableInsets(mStableInsets); in injectDependencies()
455 mDisplayHeight, mDividerSize, isHorizontalDivision(), mStableInsets); in initializeSnapAlgorithm()
460 mStableInsets, mDockedStackMinimized && mHomeStackResizable); in initializeSnapAlgorithm()
[all …]
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java170 final Rect mStableInsets = new Rect(); field in WallpaperService.Engine
752 Display.DEFAULT_DISPLAY, mContentInsets, mStableInsets, mOutsets, in updateSurface()
778 mVisibleInsets, mStableInsets, mOutsets, mBackdropFrame, in updateSurface()
799 mStableInsets.left += padding.left; in updateSurface()
800 mStableInsets.top += padding.top; in updateSurface()
801 mStableInsets.right += padding.right; in updateSurface()
802 mStableInsets.bottom += padding.bottom; in updateSurface()
820 insetsChanged |= !mDispatchedStableInsets.equals(mStableInsets); in updateSurface()
886 mDispatchedStableInsets.set(mStableInsets); in updateSurface()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMotionHelper.java92 private final Rect mStableInsets = new Rect(); field in PipMotionHelper
115 SystemServicesProxy.getInstance(mContext).getStableInsets(mStableInsets); in onConfigurationChanged()
206 mSnapAlgorithm.applyMinimizedOffset(toBounds, movementBounds, displaySize, mStableInsets); in getClosestMinimizedBounds()
558 pw.println(innerPrefix + "mStableInsets=" + mStableInsets); in dump()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowFrameTests.java152 assertRect(w.mStableInsets, leftStableInset, 0, rightStableInset, 0); in testLayoutInFullscreenTaskInsets()