Searched refs:mRoundedDefault (Results 1 – 2 of 2) sorted by relevance
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
H A D | ScreenDecorationsTest.java | 368 assertThat(mScreenDecorations.mRoundedDefault).isEqualTo(testRadiusPoint); in testRoundingRadius_NoCutout() 471 assertThat(mScreenDecorations.mRoundedDefault).isEqualTo(multipleRadiusSize); in testRoundingMultipleRadius_NoCutout_NoPrivacyDot() 506 assertThat(mScreenDecorations.mRoundedDefault).isEqualTo(multipleRadiusSize); in testRoundingMultipleRadius_NoCutout_PrivacyDot() 863 assertEquals(mScreenDecorations.mRoundedDefault, new Point(20, 20)); in testUpdateRoundedCorners() 868 assertEquals(mScreenDecorations.mRoundedDefault, new Point(5, 5)); in testUpdateRoundedCorners() 878 assertEquals(new Point(0, 0), mScreenDecorations.mRoundedDefault); in testOnlyRoundedCornerRadiusTop() 890 assertEquals(new Point(0, 0), mScreenDecorations.mRoundedDefault); in testOnlyRoundedCornerRadiusBottom()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ScreenDecorations.java | 141 protected Point mRoundedDefault = new Point(0, 0); field in ScreenDecorations 513 updateRoundedCornerSize(mRoundedDefault, mRoundedDefaultTop, mRoundedDefaultBottom); in updateView() 722 final boolean changed = mRoundedDefault.x != newRoundedDefault in updateRoundedCornerRadii() 729 mRoundedDefault.set(mRoundedCornerDrawable.getIntrinsicWidth(), in updateRoundedCornerRadii() 736 mRoundedDefault.set(newRoundedDefault, newRoundedDefault); in updateRoundedCornerRadii() 887 return mRoundedDefault.x > 0 in hasRoundedCorners() 954 Point size = mRoundedDefault; in onTuningChanged()
|