Home
last modified time | relevance | path

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

/packages/apps/LegacyCamera/src/com/android/camera/ui/
DRotateTextToast.java32 RotateLayout mToast; field in RotateTextToast
39 mToast = (RotateLayout) v.findViewById(R.id.rotate_toast); in RotateTextToast()
40 TextView tv = (TextView) mToast.findViewById(R.id.message); in RotateTextToast()
42 mToast.setOrientation(orientation); in RotateTextToast()
48 Util.fadeOut(mToast);
49 mLayoutRoot.removeView(mToast);
50 mToast = null;
55 mToast.setVisibility(View.VISIBLE); in show()
/packages/services/Car/FrameworkPackageStubs/src/com/android/car/frameworkpackagestubs/
DStubs.java40 private Toast mToast; field in Stubs.BaseActivity
55 mToast = Toast.makeText(this, getMessage(), Toast.LENGTH_LONG); in showToast()
56 mToast.show(); in showToast()
60 if (mToast != null) { in cancelToast()
61 mToast.cancel(); in cancelToast()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/qstile/
DWinscopeTraceTest.java60 private Toast mToast; field in WinscopeTraceTest
70 ReflectionHelpers.setField(mWinscopeTrace, "mToast", mToast); in setUp()
75 verifyNoMoreInteractions(mToast); in teardown()
161 verify(mToast).show(); in setIsEnableFalse_shouldDisableWindowTrace()
173 verify(mToast).show(); in setIsEnableFalse_shouldDisableLayerTrace()
179 verify(mToast).show(); in setIsEnableFalse_shouldShowToast()
/packages/apps/DevCamera/src/com/android/devcamera/
DDevCameraActivity.java452 Toast mToast; field in DevCameraActivity
455 if (mToast != null) { in fileNameToast()
456 mToast.cancel(); in fileNameToast()
458 mToast = Toast.makeText(this, s, Toast.LENGTH_SHORT); in fileNameToast()
459 mToast.setGravity(Gravity.TOP, 0, 0); in fileNameToast()
460 mToast.show(); in fileNameToast()
/packages/apps/Car/Media/src/com/android/car/media/
DMediaActivity.java97 private Toast mToast; field in MediaActivity
348 mToast = Toast.makeText(this, message, Toast.LENGTH_LONG); in showToast()
349 mToast.show(); in showToast()
353 if (mToast != null) { in maybeCancelToast()
354 mToast.cancel(); in maybeCancelToast()
355 mToast = null; in maybeCancelToast()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/qstile/
DDevelopmentTiles.java190 private Toast mToast; field in DevelopmentTiles.WinscopeTrace
199 mToast = Toast.makeText(context, text, Toast.LENGTH_LONG); in onCreate()
277 mToast.show(); in setIsEnabled()
/packages/apps/Settings/src/com/android/settings/development/qstile/
DDevelopmentTiles.java190 private Toast mToast; field in DevelopmentTiles.WinscopeTrace
199 mToast = Toast.makeText(context, text, Toast.LENGTH_LONG); in onCreate()
277 mToast.show(); in setIsEnabled()
/packages/services/Telephony/src/com/android/phone/
DNotificationMgr.java113 private Toast mToast; field in NotificationMgr
721 if (mToast != null) { in postTransientNotification()
722 mToast.cancel(); in postTransientNotification()
725 mToast = Toast.makeText(mContext, msg, Toast.LENGTH_LONG); in postTransientNotification()
726 mToast.show(); in postTransientNotification()