Searched refs:mCutout (Results 1 – 2 of 2) sorted by relevance
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
H A D | DisplayLayout.java | 83 private DisplayCutout mCutout; field in DisplayLayout 106 && Objects.equals(mCutout, other.mCutout); in isSameGeometry() 117 && Objects.equals(mCutout, other.mCutout) in equals() 134 return Objects.hash(mUiMode, mWidth, mHeight, mCutout, mRotation, mDensityDpi, in hashCode() 177 mCutout = dl.mCutout; in set() 197 mCutout = info.displayCutout; in init() 218 computeNonDecorInsets(res, mRotation, mWidth, mHeight, mCutout, mInsetsState, mUiMode, in recalcInsets() 222 convertNonDecorInsetsToStableInsets(res, mStableInsets, mCutout, mHasStatusBar); in recalcInsets() 245 if (mCutout != null && !mCutout.isEmpty()) { in rotateTo() 246 mCutout = calculateDisplayCutoutForRotation(mCutout, rotationDelta, origWidth, in rotateTo() [all …]
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/ |
H A D | PhysicsAnimationLayoutTestCase.java | 69 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()
|