Home
last modified time | relevance | path

Searched refs:mToast (Results 1 – 10 of 10) 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()
DWirelessDebuggingTest.java52 private Toast mToast; field in WirelessDebuggingTest
66 ReflectionHelpers.setField(mWirelessDebugging, "mToast", mToast); in setUp()
171 verify(mToast).show(); in setIsEnabled_true_keyguardUnlocked_WifiDisconnected_shouldDisableAdbWifi()
/packages/apps/Settings/src/com/android/settings/development/qstile/
DDevelopmentTiles.java200 private Toast mToast; field in DevelopmentTiles.WinscopeTrace
209 mToast = Toast.makeText(context, text, Toast.LENGTH_LONG); in onCreate()
317 mToast.show(); in setIsEnabled()
369 private Toast mToast; field in DevelopmentTiles.WirelessDebugging
384 mToast = Toast.makeText(mContext, R.string.adb_wireless_no_network_msg, in onCreate()
418 mToast.show(); in setIsEnabled()
/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.java96 private Toast mToast; field in MediaActivity
366 mToast = Toast.makeText(this, message, Toast.LENGTH_LONG); in showToast()
367 mToast.show(); in showToast()
371 if (mToast != null) { in maybeCancelToast()
372 mToast.cancel(); in maybeCancelToast()
373 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/services/Telephony/src/com/android/phone/
DNotificationMgr.java117 private Toast mToast; field in NotificationMgr
869 if (mToast != null) { in postTransientNotification()
870 mToast.cancel(); in postTransientNotification()
873 mToast = Toast.makeText(mContext, msg, Toast.LENGTH_LONG); in postTransientNotification()
874 mToast.show(); in postTransientNotification()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallsManagerTest.java201 @Mock private Toast mToast; field in CallsManagerTest
267 when(mToastFactory.makeText(any(), anyInt(), anyInt())).thenReturn(mToast); in setUp()
268 when(mToastFactory.makeText(any(), any(), anyInt())).thenReturn(mToast); in setUp()