/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarKeyguardViewManagerTest.java | 120 Runnable cancelAction = () -> {}; in dismissWithAction_AfterKeyguardGoneSetToFalse() local 121 mStatusBarKeyguardViewManager.dismissWithAction(action, cancelAction, in dismissWithAction_AfterKeyguardGoneSetToFalse() 123 verify(mBouncer).showWithDismissAction(eq(action), eq(cancelAction)); in dismissWithAction_AfterKeyguardGoneSetToFalse() 241 Runnable cancelAction = mock(Runnable.class); in testHiding_cancelsGoneRunnable() local 242 mStatusBarKeyguardViewManager.dismissWithAction(action, cancelAction, in testHiding_cancelsGoneRunnable() 248 verify(cancelAction).run(); in testHiding_cancelsGoneRunnable() 254 Runnable cancelAction = mock(Runnable.class); in testHiding_doesntCancelWhenShowing() local 255 mStatusBarKeyguardViewManager.dismissWithAction(action, cancelAction, in testHiding_doesntCancelWhenShowing() 260 verify(cancelAction, never()).run(); in testHiding_doesntCancelWhenShowing()
|
D | KeyguardBouncerTest.java | 284 final Runnable cancelAction = () -> {}; in testShowOnDismissAction_showsBouncer() local 285 mBouncer.showWithDismissAction(dismissAction, cancelAction); in testShowOnDismissAction_showsBouncer() 286 verify(mKeyguardHostView).setOnDismissAction(dismissAction, cancelAction); in testShowOnDismissAction_showsBouncer()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarKeyguardViewManager.java | 406 public void dismissWithAction(OnDismissAction r, Runnable cancelAction, in dismissWithAction() argument 408 dismissWithAction(r, cancelAction, afterKeyguardGone, null /* message */); in dismissWithAction() 411 public void dismissWithAction(OnDismissAction r, Runnable cancelAction, in dismissWithAction() argument 419 r, cancelAction, afterKeyguardGone, message); in dismissWithAction() 424 mBouncer.showWithDismissAction(r, cancelAction); in dismissWithAction() 427 mKeyguardGoneCancelAction = cancelAction; in dismissWithAction() 975 dismissWithAction(request.dismissAction, request.cancelAction, in launchPendingWakeupAction() 986 if (request != null && request.cancelAction != null) { in cancelPendingWakeupAction() 987 request.cancelAction.run(); in cancelPendingWakeupAction() 1029 final Runnable cancelAction; field in StatusBarKeyguardViewManager.DismissWithActionRequest [all …]
|
D | KeyguardBouncer.java | 288 public void showWithDismissAction(OnDismissAction r, Runnable cancelAction) { in showWithDismissAction() argument 290 mKeyguardView.setOnDismissAction(r, cancelAction); in showWithDismissAction()
|
D | StatusBar.java | 2705 final Runnable cancelAction, in executeRunnableDismissingKeyguard() argument 2736 }, cancelAction, afterKeyguardGone); in executeRunnableDismissingKeyguard() 2818 public void dismissKeyguardThenExecute(OnDismissAction action, Runnable cancelAction, in dismissKeyguardThenExecute() argument 2830 mStatusBarKeyguardViewManager.dismissWithAction(action, cancelAction, in dismissKeyguardThenExecute()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/ |
D | PhysicsAnimator.kt | 145 internal var cancelAction: (Set<FloatPropertyCompat<in T>>) -> Unit = ::cancelInternal variable 804 cancelAction(flingAnimations.keys) in cancel() 805 cancelAction(springAnimations.keys) in cancel() 810 cancelAction(properties.toSet()) in cancel()
|
D | PhysicsAnimatorTestUtils.kt | 371 animator.cancelAction = ::cancelForTest in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardHostView.java | 130 public void setOnDismissAction(OnDismissAction action, Runnable cancelAction) { in setOnDismissAction() argument 136 mCancelAction = cancelAction; in setOnDismissAction()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportProgressService.java | 729 final Action cancelAction = new Action.Builder(null, mContext.getString( in updateProgress() local 750 .setActions(infoAction, screenshotAction, cancelAction); in updateProgress()
|