Searched refs:mToast (Results 1 – 2 of 2) sorted by relevance
55 private Toast mToast; field in ToastTest111 () -> mToast = Toast.makeText(mContext, TEST_TOAST_TEXT, Toast.LENGTH_LONG)); in makeToast()119 final View view = mToast.getView(); in testShow()125 mActivityRule.runOnUiThread(mToast::show); in testShow()146 final View view = mToast.getView(); in testCancel()151 mToast.show(); in testCancel()152 mToast.cancel(); in testCancel()162 assertFalse(mToast.getView() instanceof ImageView); in testAccessView()169 mToast.setView(imageView); in testAccessView()170 mToast.show(); in testAccessView()[all …]
116 private Toast mToast; field in AuthenticationBoundKeyTestActivity.LockscreenCountDownTester121 … mToast = Toast.makeText(AuthenticationBoundKeyTestActivity.this, "", Toast.LENGTH_SHORT); in LockscreenCountDownTester()126 mToast.cancel(); in onFinish()144 mToast.setText(String.format("Lockscreen challenge start in %d seconds..", in onTick()146 mToast.show(); in onTick()