Home
last modified time | relevance | path

Searched refs:mStableInsets (Results 1 – 10 of 10) 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 …]
DSurfaceView.java115 final Rect mStableInsets = new Rect(); field in SurfaceView
524 mStableInsets); in updateWindow()
547 mVisibleInsets, mStableInsets, mOutsets, mBackdropFrame, in updateWindow()
DViewRootImpl.java642 mAttachInfo.mContentInsets, mAttachInfo.mStableInsets, in setView()
664 mPendingStableInsets.set(mAttachInfo.mStableInsets); in setView()
1404 mDispatchStableInsets.set(mAttachInfo.mStableInsets); in getWindowInsets()
1586 if (!mPendingStableInsets.equals(mAttachInfo.mStableInsets)) { in performTraversals()
1783 mAttachInfo.mStableInsets); in performTraversals()
1802 mAttachInfo.mStableInsets.set(mPendingStableInsets); in performTraversals()
1804 + mAttachInfo.mStableInsets); in performTraversals()
DView.java22870 final Rect mStableInsets = new Rect(); field in 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
99 mStableInsets.set(stableInsets); in BackdropFrameRenderer()
162 mStableInsets.set(stableInsets); in setTargetRect()
246 || !mStableInsets.equals(mOldStableInsets) in doFrameUncheckedLocked()
252 mOldStableInsets.set(mStableInsets); in doFrameUncheckedLocked()
253 redrawLocked(mNewTargetRect, mFullscreen, mSystemInsets, mStableInsets); in doFrameUncheckedLocked()
369 final int topInset = DecorView.getColorViewTopInset(mStableInsets.top, mSystemInsets.top); in drawColorViews()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java148 private final Rect mStableInsets = new Rect(); field in DividerView
347 if (mStableInsets.left != insets.getStableInsetLeft() in onApplyWindowInsets()
348 || mStableInsets.top != insets.getStableInsetTop() in onApplyWindowInsets()
349 || mStableInsets.right != insets.getStableInsetRight() in onApplyWindowInsets()
350 || mStableInsets.bottom != insets.getStableInsetBottom()) { in onApplyWindowInsets()
351 mStableInsets.set(insets.getStableInsetLeft(), insets.getStableInsetTop(), in onApplyWindowInsets()
447 mDisplayHeight, mDividerSize, isHorizontalDivision(), mStableInsets); in initializeSnapAlgorithm()
963 return mStableInsets.top != 0; in hasInsetsAtDismissTarget()
965 return mStableInsets.bottom != 0; in hasInsetsAtDismissTarget()
969 return mStableInsets.left != 0; in hasInsetsAtDismissTarget()
[all …]
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java163 final Rect mStableInsets = new Rect(); field in WallpaperService.Engine
655 Display.DEFAULT_DISPLAY, mContentInsets, mStableInsets, mOutsets, in updateSurface()
681 mVisibleInsets, mStableInsets, mOutsets, mBackdropFrame, in updateSurface()
702 mStableInsets.left += padding.left; in updateSurface()
703 mStableInsets.top += padding.top; in updateSurface()
704 mStableInsets.right += padding.right; in updateSurface()
705 mStableInsets.bottom += padding.bottom; in updateSurface()
723 insetsChanged |= !mDispatchedStableInsets.equals(mStableInsets); in updateSurface()
789 mDispatchedStableInsets.set(mStableInsets); in updateSurface()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java238 final Rect mStableInsets = new Rect(); field in WindowState
880 mStableInsets.set(Math.max(mStableFrame.left - mDisplayFrame.left, 0), in computeFrameLw()
909 mStableInsets.set(Math.max(mStableFrame.left - mFrame.left, 0), in computeFrameLw()
932 mStableInsets.scale(mInvGlobalScale); in computeFrameLw()
956 + " si=" + mStableInsets.toShortString() in computeFrameLw()
1071 mStableInsetsChanged |= !mLastStableInsets.equals(mStableInsets); in setReportResizeHints()
2683 pw.print(" stable="); mStableInsets.printShortString(pw); in dump()
DWindowManagerService.java2982 outStableInsets.set(win.mStableInsets); in relayoutWindow()
9519 + " " + w.mStableInsets.toShortString() in updateResizingWindows()
9539 w.mLastStableInsets.set(w.mStableInsets); in updateResizingWindows()