Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardClockPositionAlgorithm.java280 int burnInPreventionOffsetY = mMaxBurnInPreventionOffsetYClock; // requested offset in getClockY() local
287 burnInPreventionOffsetY = (int) (clockY - mCutoutTopInset) / 2; in getClockY()
288 if (mMaxBurnInPreventionOffsetYClock < burnInPreventionOffsetY) { in getClockY()
289 burnInPreventionOffsetY = mMaxBurnInPreventionOffsetYClock; in getClockY()
291 shift = -burnInPreventionOffsetY; in getClockY()
296 burnInPreventionOffsetY = (int) (lowerSpace + upperSpace) / 2; in getClockY()
297 if (mMaxBurnInPreventionOffsetYClock < burnInPreventionOffsetY) { in getClockY()
298 burnInPreventionOffsetY = mMaxBurnInPreventionOffsetYClock; in getClockY()
304 float fullyDarkBurnInOffset = burnInPreventionOffsetY(burnInPreventionOffsetY); in getClockY()
343 private float burnInPreventionOffsetY(int offset) { in burnInPreventionOffsetY() method in KeyguardClockPositionAlgorithm