Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DWindowInsets.java47 private Rect mStableInsets; field in WindowInsets
89 mStableInsets = mStableInsetsConsumed ? EMPTY_RECT : new Rect(stableInsets); in WindowInsets()
107 mStableInsets = src.mStableInsets; in WindowInsets()
457 return mStableInsets.top; in getStableInsetTop()
472 return mStableInsets.left; in getStableInsetLeft()
487 return mStableInsets.right; in getStableInsetRight()
502 return mStableInsets.bottom; in getStableInsetBottom()
517 return mStableInsets.top != 0 || mStableInsets.left != 0 || mStableInsets.right != 0 in hasStableInsets()
518 || mStableInsets.bottom != 0; in hasStableInsets()
528 result.mStableInsets = EMPTY_RECT; in consumeStableInsets()
[all …]
DViewRootImpl.java760 mAttachInfo.mContentInsets, mAttachInfo.mStableInsets,
782 mPendingStableInsets.set(mAttachInfo.mStableInsets);
1610 mDispatchStableInsets.set(mAttachInfo.mStableInsets);
1820 if (!mPendingStableInsets.equals(mAttachInfo.mStableInsets)) { in performTraversals()
2027 mAttachInfo.mStableInsets); in performTraversals()
2049 mAttachInfo.mStableInsets.set(mPendingStableInsets); in performTraversals()
2051 + mAttachInfo.mStableInsets); in performTraversals()
DView.java26420 final Rect mStableInsets = new Rect(); field in View.AttachInfo
/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/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java152 private final Rect mStableInsets = new Rect(); field in DividerView
337 if (mStableInsets.left != insets.getStableInsetLeft() in onApplyWindowInsets()
338 || mStableInsets.top != insets.getStableInsetTop() in onApplyWindowInsets()
339 || mStableInsets.right != insets.getStableInsetRight() in onApplyWindowInsets()
340 || mStableInsets.bottom != insets.getStableInsetBottom()) { in onApplyWindowInsets()
341 mStableInsets.set(insets.getStableInsetLeft(), insets.getStableInsetTop(), in onApplyWindowInsets()
378 if (mStableInsets.isEmpty()) { in injectDependencies()
379 SystemServicesProxy.getInstance(mContext).getStableInsets(mStableInsets); in injectDependencies()
397 mOtherTaskRect.bottom -= mStableInsets.bottom; in getNonMinimizedSplitScreenSecondaryBounds()
400 mOtherTaskRect.top += mStableInsets.top; in getNonMinimizedSplitScreenSecondaryBounds()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotSurface.java116 private final Rect mStableInsets = new Rect(); field in TaskSnapshotSurface
273 mStableInsets.set(stableInsets); in setFrames()
382 final int colorViewLeftInset = getColorViewLeftInset(mStableInsets.left, in calculateSnapshotFrame()
470 private final Rect mStableInsets = new Rect(); field in TaskSnapshotSurface.SystemBarBackgroundPainter
495 mStableInsets.set(stableInsets); in setInsets()
503 return getColorViewTopInset(mStableInsets.top, mContentInsets.top); in getStatusBarColorViewHeight()
524 final int rightInset = DecorView.getColorViewRightInset(mStableInsets.right, in drawStatusBarBackground()
534 getNavigationBarRect(c.getWidth(), c.getHeight(), mStableInsets, mContentInsets, in drawNavigationBarBackground() local
DTaskSnapshotController.java290 final Rect insets = minRect(state.mContentInsets, state.mStableInsets); in getInsets()
360 decorPainter.setInsets(mainWindow.mContentInsets, mainWindow.mStableInsets); in drawAppThemeSnapshot()
370 topChild.getConfiguration().orientation, mainWindow.mStableInsets, in drawAppThemeSnapshot()
DPinnedStackController.java100 private final Rect mStableInsets = new Rect(); field in PinnedStackController
559 mService.getStableInsetsLocked(mDisplayContent.getDisplayId(), mStableInsets); in applyMinimizedOffset() local
561 mStableInsets); in applyMinimizedOffset()
DWindowState.java345 final Rect mStableInsets = new Rect(); field in WindowState
1062 mStableInsets.set(Math.max(mTmpRect.left - mDisplayFrame.left, 0), in computeFrameLw()
1094 mStableInsets.set(Math.max(mStableFrame.left - mFrame.left, 0), in computeFrameLw()
1119 mStableInsets.scale(mInvGlobalScale); in computeFrameLw()
1143 + " si=" + mStableInsets.toShortString() in computeFrameLw()
1242 mStableInsetsChanged |= !mLastStableInsets.equals(mStableInsets); in setReportResizeHints()
1305 + " " + mStableInsets.toShortString() in updateResizingWindowIfNeeded()
3281 mStableInsets.writeToProto(proto, STABLE_INSETS); in writeToProto()
3428 pw.print(" stable="); mStableInsets.printShortString(pw); in dump()
4487 mLastStableInsets.set(mStableInsets); in updateLastInsetValues()
DAppWindowToken.java1824 stableInsets.set(win.mStableInsets); in loadAnimation()
DWindowManagerService.java2158 outStableInsets.set(win.mStableInsets); in relayoutWindow()
/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()
201 mSnapAlgorithm.applyMinimizedOffset(toBounds, movementBounds, displaySize, mStableInsets); in getClosestMinimizedBounds()
229 final int y = displaySize.y - mStableInsets.bottom; in shouldDismissPip()
555 pw.println(innerPrefix + "mStableInsets=" + mStableInsets); in dump()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java172 final Rect mStableInsets = new Rect(); field in WallpaperService.Engine
791 Display.DEFAULT_DISPLAY, mWinFrame, mContentInsets, mStableInsets, in updateSurface()
817 mVisibleInsets, mStableInsets, mOutsets, mBackdropFrame, in updateSurface()
838 mStableInsets.left += padding.left; in updateSurface()
839 mStableInsets.top += padding.top; in updateSurface()
840 mStableInsets.right += padding.right; in updateSurface()
841 mStableInsets.bottom += padding.bottom; in updateSurface()
861 insetsChanged |= !mDispatchedStableInsets.equals(mStableInsets); in updateSurface()
928 mDispatchedStableInsets.set(mStableInsets); in updateSurface()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowFrameTests.java167 assertRect(w.mStableInsets, leftStableInset, 0, rightStableInset, 0); in testLayoutInFullscreenTaskInsets()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt6344 Landroid/view/View$AttachInfo;->mStableInsets:Landroid/graphics/Rect;
Dhiddenapi-private-dex.txt81232 Landroid/service/wallpaper/WallpaperService$Engine;->mStableInsets:Landroid/graphics/Rect;
96907 Landroid/view/View$AttachInfo;->mStableInsets:Landroid/graphics/Rect;
99249 Landroid/view/WindowInsets;->mStableInsets:Landroid/graphics/Rect;