Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DBurnInInteractorTest.kt54 private val burnInOffset = 7 constant
67 .addOverride(R.dimen.burn_in_prevention_offset_y, burnInOffset) in setUp()
68 whenever(burnInHelperWrapper.burnInOffset(anyInt(), anyBoolean())).thenReturn(burnInOffset) in setUp()
86 assertThat(udfpsBurnInOffsetX).isEqualTo(burnInOffset) in udfpsBurnInOffset_updatesOnResolutionScaleChange()
87 assertThat(udfpsBurnInOffsetY).isEqualTo(burnInOffset) in udfpsBurnInOffset_updatesOnResolutionScaleChange()
90 assertThat(udfpsBurnInOffsetX).isEqualTo(burnInOffset * 3) in udfpsBurnInOffset_updatesOnResolutionScaleChange()
91 assertThat(udfpsBurnInOffsetY).isEqualTo(burnInOffset * 3) in udfpsBurnInOffset_updatesOnResolutionScaleChange()
94 assertThat(udfpsBurnInOffsetX).isEqualTo(burnInOffset / 2) in udfpsBurnInOffset_updatesOnResolutionScaleChange()
95 assertThat(udfpsBurnInOffsetY).isEqualTo(burnInOffset / 2) in udfpsBurnInOffset_updatesOnResolutionScaleChange()
135 translationX = burnInOffset.toInt(), in keyguardBurnIn()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DLegacyLockIconViewControllerWithCoroutinesTest.kt93 val burnInOffset = 5 in testBurnInOffsetsUpdated_onDozeAmountChanged() constant
94 whenever(getBurnInOffset(anyInt(), anyBoolean())).thenReturn(burnInOffset) in testBurnInOffsetsUpdated_onDozeAmountChanged()
106 verify(mLockIconView).setTranslationY(burnInOffset.toFloat()) in testBurnInOffsetsUpdated_onDozeAmountChanged()
107 verify(mLockIconView).setTranslationX(burnInOffset.toFloat()) in testBurnInOffsetsUpdated_onDozeAmountChanged()
DLegacyLockIconViewControllerTest.java236 int burnInOffset = 5; in testBurnInOffsetsUpdated_onDozeAmountChanged() local
237 when(BurnInHelperKt.getBurnInOffset(anyInt(), anyBoolean())).thenReturn(burnInOffset); in testBurnInOffsetsUpdated_onDozeAmountChanged()
250 verify(mLockIconView).setTranslationY(burnInOffset); in testBurnInOffsetsUpdated_onDozeAmountChanged()
251 verify(mLockIconView).setTranslationX(burnInOffset); in testBurnInOffsetsUpdated_onDozeAmountChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DBurnInInteractor.kt71 burnInOffset(xDimenResourceId, isXAxis = true), in <lambda>()
72 burnInOffset(yDimenResourceId, isXAxis = false).map { in <lambda>()
86 private fun burnInOffset( in <lambda>() method
122 return (burnInHelperWrapper.burnInOffset(maxBurnInOffsetPixels, isXAxis) * scale).toInt() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/
DDreamOverlayContainerViewController.java320 final int burnInOffset; in updateBurnInOffsets() local
323 burnInOffset = Math.round(MathUtils.lerp(0f, mMaxBurnInOffset, lerpAmount)); in updateBurnInOffsets()
325 burnInOffset = mMaxBurnInOffset; in updateBurnInOffsets()
330 final int halfBurnInOffset = burnInOffset / 2; in updateBurnInOffsets()
331 final int burnInOffsetX = getBurnInOffset(burnInOffset, true) - halfBurnInOffset; in updateBurnInOffsets()
332 final int burnInOffsetY = getBurnInOffset(burnInOffset, false) - halfBurnInOffset; in updateBurnInOffsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/util/
DBurnInHelperWrapper.kt24 fun burnInOffset(amplitude: Int, xAxis: Boolean): Int { in burnInOffset() method in com.android.systemui.doze.util.BurnInHelperWrapper
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/
DUdfpsKeyguardInteractorTest.kt213 whenever(burnInHelper.burnInOffset(anyInt(), /* xAxis */ eq(true))) in initializeBurnInOffsets()
215 whenever(burnInHelper.burnInOffset(anyInt(), /* xAxis */ eq(false))) in initializeBurnInOffsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardIndicationAreaViewModel.kt118 (burnInHelperWrapper.burnInOffset( in <lambda>()
DKeyguardBottomAreaViewModel.kt113 (burnInHelperWrapper.burnInOffset( in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardIndicationAreaViewModelTest.kt87 whenever(burnInHelperWrapper.burnInOffset(anyInt(), any())) in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardBottomAreaViewModelTest.kt138 whenever(burnInHelperWrapper.burnInOffset(anyInt(), any())) in setUp()