Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DToastTest.java221 mToast.addCallback(new ConditionCallback(mToastShown, mToastHidden)); in makeTextToast()
764 mToast.addCallback(new ConditionCallback(mToastShown, mToastHidden)); in testRemovedCallbackIsNotCalled()
788 mToast.addCallback(new ConditionCallback(toastShown, toastHidden)); in testCallback_whenTextToast_isCalled()
803 () -> mToast.addCallback(new ConditionCallback(toastShown, toastHidden))); in testCallback_whenCustomToast_isCalled()
1151 private static class ConditionCallback extends Toast.Callback { class
1155 ConditionCallback(ConditionVariable toastShown, ConditionVariable toastHidden) { in ConditionCallback() method in ToastTest.ConditionCallback
1189 t.addCallback(new ConditionCallback(toastShown, toastHidden)); in create()