Searched refs:ConditionCallback (Results 1 – 1 of 1) sorted by relevance
221 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 { class1155 ConditionCallback(ConditionVariable toastShown, ConditionVariable toastHidden) { in ConditionCallback() method in ToastTest.ConditionCallback1189 t.addCallback(new ConditionCallback(toastShown, toastHidden)); in create()