Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardClockPositionAlgorithm.java79 private int mCutoutTopInset = 0; field in KeyguardClockPositionAlgorithm
206 mCutoutTopInset = cutoutTopInset; in setup()
293 if (clockY - mMaxBurnInPreventionOffsetYClock < mCutoutTopInset) { in getClockY()
294 shift = mCutoutTopInset - (clockY - mMaxBurnInPreventionOffsetYClock); in getClockY()
304 burnInPreventionOffsetY = (int) (clockY - mCutoutTopInset) / 2; in getClockY()
310 float upperSpace = clockY - mCutoutTopInset; in getClockY()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DKeyguardClockPositionAlgorithmTest.java74 private int mCutoutTopInset = 0; field in KeyguardClockPositionAlgorithmTest
123 mCutoutTopInset = 300; in clockPositionBelowCutout()
546 assertThat(mClockPosition.clockY).isEqualTo(mCutoutTopInset); in clockPositionShiftsToAvoidUdfpsOnAOD_usesSpaceAboveClock()
557 mCutoutTopInset = 50; in clockPositionShiftsToAvoidUdfpsOnAOD_usesMaxBurnInOffset()
593 mCutoutTopInset = 50; in clockPositionShiftsToMaximizeUdfpsBurnInMovement()
594 int upperSpaceAvailable = mKeyguardStatusBarHeaderHeight - mCutoutTopInset; in clockPositionShiftsToMaximizeUdfpsBurnInMovement()
612 (int) (mCutoutTopInset + upperSpaceAvailable + lowerSpaceAvailable)); in clockPositionShiftsToMaximizeUdfpsBurnInMovement()
619 assertThat(mClockPosition.clockY).isEqualTo(mCutoutTopInset); in clockPositionShiftsToMaximizeUdfpsBurnInMovement()
669 mCutoutTopInset, in positionClock()