Searched refs:mCutoutTop (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/view/ |
D | DisplayCutoutTest.java | 71 final DisplayCutout mCutoutTop = createCutoutTop(); field in DisplayCutoutTest 131 assertFalse(mCutoutTop.isEmpty()); in hasCutout() 146 assertEquals(mCutoutTop.hashCode(), createCutoutTop().hashCode()); in testHashCode() 147 assertNotEquals(mCutoutTop.hashCode(), mCutoutNumbers.hashCode()); in testHashCode() 152 assertEquals(mCutoutTop, createCutoutTop()); in testEquals() 153 assertNotEquals(mCutoutTop, mCutoutNumbers); in testEquals() 158 assertFalse(mCutoutTop.toString().isEmpty()); in testToString() 164 DisplayCutout cutout = mCutoutTop.inset(1, 2, 3, 4); in inset_immutable() 166 assertEquals("original instance must not be mutated", createCutoutTop(), mCutoutTop); in inset_immutable() 181 DisplayCutout cutout = mCutoutTop.inset(1, 2, 3, 4); in inset_insets_withTopCutout() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | WmDisplayCutoutTest.java | 50 private final DisplayCutout mCutoutTop = new DisplayCutout( field in WmDisplayCutoutTest 135 DisplayCutout cutout = WmDisplayCutout.computeSafeInsets(mCutoutTop, 1000, in computeSafeInsets_bounds() 138 assertEquals(mCutoutTop.getBoundingRects(), cutout.getBoundingRects()); in computeSafeInsets_bounds() 144 assertEquals(new WmDisplayCutout(mCutoutTop, new Size(1, 2)), in test_equals() 145 new WmDisplayCutout(mCutoutTop, new Size(1, 2))); in test_equals() 147 assertNotEquals(new WmDisplayCutout(mCutoutTop, new Size(1, 2)), in test_equals() 148 new WmDisplayCutout(mCutoutTop, new Size(5, 6))); in test_equals() 149 assertNotEquals(new WmDisplayCutout(mCutoutTop, new Size(1, 2)), in test_equals() 157 assertEquals(new WmDisplayCutout(mCutoutTop, new Size(1, 2)).hashCode(), in test_hashCode() 158 new WmDisplayCutout(mCutoutTop, new Size(1, 2)).hashCode()); in test_hashCode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ScreenDecorations.java | 132 private DisplayCutoutView mCutoutTop; field in ScreenDecorations 147 mCutoutTop.setProtection(protectionPath, bounds); 148 mCutoutTop.setShowProtection(true); 156 mCutoutTop.setShowProtection(false); 408 mCutoutTop = new DisplayCutoutView(mContext, true, in setupDecorations() 410 ((ViewGroup) mOverlay).addView(mCutoutTop); in setupDecorations() 509 mCutoutTop.setColor(tint); in updateColorInversion() 624 mCutoutTop.setRotation(mRotation); in updateViews()
|