Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/toast/
DToastUITest.java17 package com.android.systemui.toast;
248 final SystemUIToast toast = mToastUI.mToast; in testHideToast_removesView() local
252 if (toast.getOutAnimation() != null) { in testHideToast_removesView()
253 assertThat(toast.getOutAnimation().isRunning()).isTrue(); in testHideToast_removesView()
254 toast.getOutAnimation().cancel(); // if applicable, try to finish anim early in testHideToast_removesView()
264 final SystemUIToast toast = mToastUI.mToast; in testHideToast_finishesToken() local
268 if (toast.getOutAnimation() != null) { in testHideToast_finishesToken()
269 assertThat(toast.getOutAnimation().isRunning()).isTrue(); in testHideToast_finishesToken()
270 toast.getOutAnimation().cancel(); // if applicable, try to finish anim early in testHideToast_finishesToken()
280 final SystemUIToast toast = mToastUI.mToast; in testHideToast_callsCallback() local
[all …]
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DToastTest.java135 Toast toast = Toast.makeText(ToastTest.this, "LEFT", Toast.LENGTH_SHORT);
136 toast.setGravity(Gravity.LEFT, 0, 0);
137 toast.show();
144 Toast toast = Toast.makeText(ToastTest.this, "FILL_HORIZONTAL",
146 toast.setGravity(Gravity.FILL_HORIZONTAL, 0, 0);
147 toast.show();
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DScreenPinningNotify.java72 Toast toast = SysUIToast.makeText(mContext, resId, Toast.LENGTH_LONG); in makeAllUserToastAndShow() local
73 toast.show(); in makeAllUserToastAndShow()
74 return toast; in makeAllUserToastAndShow()
/frameworks/base/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventlogger/
DAELogger.java62 final Toast toast = Toast.makeText(this, in onAccessibilityEvent() local
64 toast.show(); in onAccessibilityEvent()
/frameworks/base/packages/EasterEgg/src/com/android/egg/
DComponentActivationActivity.java44 Toast toast = Toast.makeText(this, s, Toast.LENGTH_SHORT); in toastUp() local
45 toast.show(); in toastUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
DToastModule.kt17 package com.android.systemui.toast
DToastLogger.kt17 package com.android.systemui.toast
DToastFactory.java17 package com.android.systemui.toast;
DToastDefaultAnimation.kt17 package com.android.systemui.toast
DToastUI.java17 package com.android.systemui.toast;
DSystemUIToast.java17 package com.android.systemui.toast;
/frameworks/base/services/core/java/com/android/server/notification/toast/
DToastRecord.java17 package com.android.server.notification.toast;
DCustomToastRecord.java17 package com.android.server.notification.toast;
DTextToastRecord.java17 package com.android.server.notification.toast;
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DReferenceSystemUIModule.java77 import com.android.systemui.toast.ToastModule;
/frameworks/base/core/java/android/os/
DGraphicsEnvironment.java683 final Toast toast = Toast.makeText(context, toastMsg, Toast.LENGTH_LONG); in showAngleInUseDialogBox()
684 toast.show(); in showAngleInUseDialogBox()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogDelegateControllerTest.java78 import com.android.systemui.toast.SystemUIToast;
79 import com.android.systemui.toast.ToastFactory;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogController.java92 import com.android.systemui.toast.SystemUIToast;
93 import com.android.systemui.toast.ToastFactory;
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowStateTests.java985 final WindowState toast = createWindow(null, TYPE_TOAST, app.mToken, "toast", uid); in testHasActiveVisibleWindow() local
986 toast.onSurfaceShownChanged(true); in testHasActiveVisibleWindow()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java351 import com.android.server.notification.toast.CustomToastRecord;
352 import com.android.server.notification.toast.TextToastRecord;
353 import com.android.server.notification.toast.ToastRecord;
7939 Toast toast = Toast.makeText(getContext(), mHandler.getLooper(), toastText,
7941 toast.show();
9135 ToastRecord toast = mToastQueue.remove(index);
9137 toast.windowToken, true /* removeWindows */, toast.displayId);
/frameworks/base/packages/SystemUI/
DAndroid.bp416 "tests/src/**/systemui/toast/ToastUITest.java",