/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/ |
D | BurnInInteractorTest.kt | 54 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/ |
D | LegacyLockIconViewControllerWithCoroutinesTest.kt | 93 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()
|
D | LegacyLockIconViewControllerTest.java | 236 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/ |
D | BurnInInteractor.kt | 71 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/ |
D | DreamOverlayContainerViewController.java | 320 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/ |
D | BurnInHelperWrapper.kt | 24 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/ |
D | UdfpsKeyguardInteractorTest.kt | 213 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/ |
D | KeyguardIndicationAreaViewModel.kt | 118 (burnInHelperWrapper.burnInOffset( in <lambda>()
|
D | KeyguardBottomAreaViewModel.kt | 113 (burnInHelperWrapper.burnInOffset( in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/ |
D | KeyguardIndicationAreaViewModelTest.kt | 87 whenever(burnInHelperWrapper.burnInOffset(anyInt(), any())) in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/viewmodel/ |
D | KeyguardBottomAreaViewModelTest.kt | 138 whenever(burnInHelperWrapper.burnInOffset(anyInt(), any())) in setUp()
|