Home
last modified time | relevance | path

Searched refs:cancelAction (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManagerTest.java120 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()
DKeyguardBouncerTest.java284 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/
DStatusBarKeyguardViewManager.java406 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 …]
DKeyguardBouncer.java288 public void showWithDismissAction(OnDismissAction r, Runnable cancelAction) { in showWithDismissAction() argument
290 mKeyguardView.setOnDismissAction(r, cancelAction); in showWithDismissAction()
DStatusBar.java2705 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/
DPhysicsAnimator.kt145 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()
DPhysicsAnimatorTestUtils.kt371 animator.cancelAction = ::cancelForTest in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardHostView.java130 public void setOnDismissAction(OnDismissAction action, Runnable cancelAction) { in setOnDismissAction() argument
136 mCancelAction = cancelAction; in setOnDismissAction()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java729 final Action cancelAction = new Action.Builder(null, mContext.getString( in updateProgress() local
750 .setActions(infoAction, screenshotAction, cancelAction); in updateProgress()