Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7bdaff1 authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

Update udfps AOD icon

Change burn in prevention period to a prime number to avoid
overlap with other periods

Test: manual
Refer to bug for burn-in simulation
Fixes: 195773640

Change-Id: I4c9dd875827138b8cd0407a01e7bb4941bb48088
parent 97ff8e3e
Loading
Loading
Loading
Loading
+304 −1616

File changed.

Preview size limit exceeded, changes collapsed.

+2 −2
Original line number Diff line number Diff line
@@ -21,8 +21,8 @@ import android.util.MathUtils
private const val MILLIS_PER_MINUTES = 1000 * 60f
private const val BURN_IN_PREVENTION_PERIOD_Y = 521f
private const val BURN_IN_PREVENTION_PERIOD_X = 83f
private const val BURN_IN_PREVENTION_PERIOD_SCALE = 180f
private const val BURN_IN_PREVENTION_PERIOD_PROGRESS = 120f
private const val BURN_IN_PREVENTION_PERIOD_SCALE = 181f
private const val BURN_IN_PREVENTION_PERIOD_PROGRESS = 89f

/**
 * Returns the translation offset that should be used to avoid burn in at