/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/charging/ |
D | WiredChargingRippleControllerTest.kt | 59 @Mock private lateinit var rippleView: RippleView variable in com.android.systemui.charging.WiredChargingRippleControllerTest 72 rippleView.setupShader() in setUp() 73 controller.rippleView = rippleView // Replace the real ripple view with a mock instance in setUp() 93 verify(rippleView).addOnAttachStateChangeListener(attachListenerCaptor.capture()) in testTriggerRipple_UnlockedState() 94 verify(windowManager).addView(eq(rippleView), any<WindowManager.LayoutParams>()) in testTriggerRipple_UnlockedState() 99 attachListenerCaptor.value.onViewAttachedToWindow(rippleView) in testTriggerRipple_UnlockedState() 100 verify(rippleView).startRipple(runnableCaptor.capture()) in testTriggerRipple_UnlockedState() 104 verify(windowManager).removeView(rippleView) in testTriggerRipple_UnlockedState() 117 reset(rippleView) in testUpdateRippleColor() 119 verify(rippleView).setColor(ArgumentMatchers.anyInt(), ArgumentMatchers.anyInt()) in testUpdateRippleColor() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/receiver/ |
D | MediaTttReceiverRippleController.kt | 49 private fun expandRipple(rippleView: ReceiverChipRippleView, isIconRipple: Boolean) { in <lambda>() 50 if (rippleView.rippleInProgress()) { in <lambda>() 56 rippleView.addOnLayoutChangeListener( in <lambda>() 69 rippleView.addOnAttachStateChangeListener( in <lambda>() 91 fun expandToSuccessState(rippleView: ReceiverChipRippleView, onAnimationEnd: Runnable?) { in <lambda>() 92 layoutRipple(rippleView, isFullScreen = true) in <lambda>() 93 rippleView.expandToFull(maxRippleHeight, onAnimationEnd) in <lambda>() 97 fun collapseRipple(rippleView: ReceiverChipRippleView, onAnimationEnd: Runnable? = null) { in <lambda>() 98 rippleView.collapseRipple(onAnimationEnd) in <lambda>() 101 private fun layoutRipple(rippleView: ReceiverChipRippleView, isFullScreen: Boolean = false) { in <lambda>() [all …]
|
D | MediaTttChipControllerReceiver.kt | 244 val rippleView: ReceiverChipRippleView = view.requireViewById(R.id.ripple) in <lambda>() constant 247 rippleController.expandToInProgressState(rippleView, iconRippleView) in <lambda>() 262 val rippleView: ReceiverChipRippleView = view.requireViewById(R.id.ripple) in <lambda>() constant 270 rippleController.expandToSuccessState(rippleView, onAnimationEnd) in <lambda>() 279 rippleController.collapseRipple(rippleView, onAnimationEnd) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/ |
D | WiredChargingRippleController.kt | 86 var rippleView: RippleView = RippleView(context, attrs = null).also { it.setupShader() } in <lambda>() variable 151 if (rippleView.rippleInProgress() || rippleView.parent != null) { in startRipple() 158 rippleView.addOnAttachStateChangeListener(object : View.OnAttachStateChangeListener { in startRipple() 163 rippleView.startRipple(Runnable { in startRipple() 164 windowManager.removeView(rippleView) in startRipple() 166 rippleView.removeOnAttachStateChangeListener(this) in startRipple() 169 windowManager.addView(rippleView, windowLayoutParams) in startRipple() 178 rippleView.setMaxSize(maxDiameter, maxDiameter) in layoutRipple() 181 rippleView.setCenter( in layoutRipple() 185 rippleView.setCenter( in layoutRipple() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/ripple/ |
D | RippleViewTest.kt | 28 private lateinit var rippleView: RippleView variable in com.android.systemui.surfaceeffects.ripple.RippleViewTest 32 rippleView = RippleView(context, null) in setup() 37 rippleView.setupShader(RippleShader.RippleShape.CIRCLE) in testSetupShader_compilesCircle() 42 rippleView.setupShader(RippleShader.RippleShape.ROUNDED_BOX) in testSetupShader_compilesRoundedBox() 47 rippleView.setupShader(RippleShader.RippleShape.ELLIPSE) in testSetupShader_compilesEllipse()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
D | AuthRippleControllerTest.kt | 75 @Mock private lateinit var rippleView: AuthRippleView variable in com.android.systemui.biometrics.AuthRippleControllerTest 136 rippleView, in setUp() 162 verify(rippleView).setFingerprintSensorLocation(fpsLocation, 0f) in testFingerprintTrigger_KeyguardShowing_Ripple() 163 verify(rippleView).startUnlockedRipple(any()) in testFingerprintTrigger_KeyguardShowing_Ripple() 185 verify(rippleView, never()).startUnlockedRipple(any()) in testFingerprintTrigger_KeyguardNotShowing_NoRipple() 207 verify(rippleView, never()).startUnlockedRipple(any()) in testFingerprintTrigger_biometricUnlockNotAllowed_NoRipple() 222 verify(rippleView, never()).startUnlockedRipple(any()) in testNullFaceSensorLocationDoesNothing() 237 verify(rippleView, never()).startUnlockedRipple(any()) in testNullFingerprintSensorLocationDoesNothing() 304 reset(rippleView) in testUpdateRippleColor() 306 verify(rippleView).setLockScreenColor(ArgumentMatchers.anyInt()) in testUpdateRippleColor() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthRippleController.kt | 88 rippleView: AuthRippleView? in <lambda>() 90 ViewController<AuthRippleView>(rippleView), in <lambda>() 111 rippleView?.repeatWhenAttached { in <lambda>()
|