Home
last modified time | relevance | path

Searched refs:mCutout (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayLayout.java76 private DisplayCutout mCutout; field in DisplayLayout
99 && Objects.equals(mCutout, other.mCutout); in isSameGeometry()
110 && Objects.equals(mCutout, other.mCutout) in equals()
127 return Objects.hash(mUiMode, mWidth, mHeight, mCutout, mRotation, mDensityDpi, in hashCode()
170 mCutout = dl.mCutout; in set()
190 mCutout = info.displayCutout; in init()
211 computeNonDecorInsets(res, mRotation, mWidth, mHeight, mCutout, mInsetsState, mUiMode, in recalcInsets()
215 convertNonDecorInsetsToStableInsets(res, mStableInsets, mCutout, mHasStatusBar); in recalcInsets()
236 if (mCutout != null) { in rotateTo()
237 mCutout = mCutout.getRotated(origWidth, origHeight, fromRotation, toRotation); in rotateTo()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
DPhysicsAnimationLayoutTestCase.java69 private DisplayCutout mCutout; field in PhysicsAnimationLayoutTestCase
92 when(mWindowInsets.getDisplayCutout()).thenReturn(mCutout); in setUp()
93 when(mCutout.getSafeInsetTop()).thenReturn(mCutoutInsetSize); in setUp()
94 when(mCutout.getSafeInsetBottom()).thenReturn(mCutoutInsetSize); in setUp()
95 when(mCutout.getSafeInsetLeft()).thenReturn(mCutoutInsetSize); in setUp()
96 when(mCutout.getSafeInsetRight()).thenReturn(mCutoutInsetSize); in setUp()