Home
last modified time | relevance | path

Searched refs:TYPE_TOAST (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowTokenTests.java23 import static android.view.WindowManager.LayoutParams.TYPE_TOAST;
109 TYPE_TOAST, mDisplayContent, true /* persistOnEmpty */); in testTokenRemovalProcess()
114 final WindowState window1 = createWindow(null, TYPE_TOAST, token, "window1"); in testTokenRemovalProcess()
115 final WindowState window2 = createWindow(null, TYPE_TOAST, token, "window2"); in testTokenRemovalProcess()
168 TYPE_TOAST, true /* persistOnEmpty */, mDisplayContent, in testWindowTokenConstructorSanity()
173 token = new WindowToken(mDisplayContent.mWmService, mock(IBinder.class), TYPE_TOAST, in testWindowTokenConstructorSanity()
179 token = new WindowToken(mDisplayContent.mWmService, mock(IBinder.class), TYPE_TOAST, in testWindowTokenConstructorSanity()
203 mock(IBinder.class), TYPE_TOAST, true /* persistOnEmpty */, mDisplayContent, in testSurfaceCreatedForWindowToken()
DWindowManagerServiceTests.java25 import static android.view.WindowManager.LayoutParams.TYPE_TOAST;
89 mWm.addWindowToken(token, TYPE_TOAST, mDisplayContent.getDisplayId()); in testAddWindowToken()
99 mWm.addWindowTokenWithOptions(token, TYPE_TOAST, mDisplayContent.getDisplayId(), in testAddWindowTokenWithOptions()
110 mWm.addWindowTokenWithOptions(token, TYPE_TOAST, mDisplayContent.getDisplayId(), in testRemoveWindowToken_ownerUidNotMatch_throwException()
DRootWindowContainerTests.java26 import static android.view.WindowManager.LayoutParams.TYPE_TOAST;
65 final WindowState toastyToast = createWindow(null, TYPE_TOAST, "toast", FAKE_CALLING_UID); in testIsAnyNonToastWindowVisibleForUid_oneToastOneAppStartOneNonToastBothVisible()
81 final WindowState toastyToast = createWindow(null, TYPE_TOAST, "toast", FAKE_CALLING_UID); in testIsAnyNonToastWindowVisibleForUid_onlyToastVisible()
DDisplayPolicyTests.java42 import static android.view.WindowManager.LayoutParams.TYPE_TOAST;
260 final WindowState win = createWindow(null, TYPE_TOAST, "Toast"); in createToastWindow()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java181 WindowManager.LayoutParams.TYPE_TOAST, 0); in testPublicPresentationVirtualDisplay()
188 WindowManager.LayoutParams.TYPE_TOAST, in testPublicPresentationVirtualDisplay()
195 WindowManager.LayoutParams.TYPE_TOAST, 0); in testPublicPresentationVirtualDisplay()
201 WindowManager.LayoutParams.TYPE_TOAST, in testPublicPresentationVirtualDisplay()
235 WindowManager.LayoutParams.TYPE_TOAST, in testSecurePublicPresentationVirtualDisplay()
242 WindowManager.LayoutParams.TYPE_TOAST, in testSecurePublicPresentationVirtualDisplay()
/frameworks/base/core/tests/coretests/src/android/view/
DViewRootImplTest.java29 import static android.view.WindowManager.LayoutParams.TYPE_TOAST;
101 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_TOAST); in adjustLayoutParamsForCompatibility_toast()
/frameworks/native/include/input/
DInputWindow.h88 TYPE_TOAST = FIRST_SYSTEM_WINDOW + 5, enumerator
/frameworks/base/services/core/java/com/android/server/policy/
DWindowManagerPolicy.java58 import static android.view.WindowManager.LayoutParams.TYPE_TOAST;
782 case TYPE_TOAST: in getWindowLayerFromTypeLw()
DPhoneWindowManager.java61 import static android.view.WindowManager.LayoutParams.TYPE_TOAST;
2094 case TYPE_TOAST: in checkAddPermission()
/frameworks/base/core/java/android/widget/
DToastPresenter.java132 params.type = WindowManager.LayoutParams.TYPE_TOAST; in createLayoutParams()
/frameworks/base/core/java/android/view/
DWindowManager.java738 @ViewDebug.IntToString(from = TYPE_TOAST,
951 public static final int TYPE_TOAST = FIRST_SYSTEM_WINDOW+5; field in WindowManager.LayoutParams
1266 TYPE_TOAST,
DViewRootImpl.java59 import static android.view.WindowManager.LayoutParams.TYPE_TOAST;
2124 if (type == TYPE_TOAST || type == TYPE_SYSTEM_ALERT) { in adjustLayoutParamsForCompatibility()
3064 : (mWindowAttributes.type == TYPE_TOAST); in performTraversals()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayPolicy.java97 import static android.view.WindowManager.LayoutParams.TYPE_TOAST;
880 case TYPE_TOAST: in adjustWindowParamsLw()
2302 || type == TYPE_TOAST
2361 } else if (type == TYPE_TOAST || type == TYPE_SYSTEM_ALERT) {
DWindowState.java91 import static android.view.WindowManager.LayoutParams.TYPE_TOAST;
3026 || (!isSystemAlertWindowType(mAttrs.type) && mAttrs.type != TYPE_TOAST)) { in setForceHideNonSystemOverlayWindowIfNeeded()
3042 || (!isSystemAlertWindowType(mAttrs.type) && mAttrs.type != TYPE_TOAST)) { in setHiddenWhileSuspended()
5811 return mAttrs.type != TYPE_TOAST && mAttrs.type != TYPE_APPLICATION_STARTING; in isNonToastOrStarting()
DWindowManagerService.java73 import static android.view.WindowManager.LayoutParams.TYPE_TOAST;
1524 } else if (type == TYPE_TOAST) { in addWindow()
1528 if (addToastWindowRequiresToken && token.windowType != TYPE_TOAST) { in addWindow()
1589 if (type == TYPE_TOAST) { in addWindow()
1771 if (type == TYPE_TOAST) { in unprivilegedAppCanCreateTokenWith()
DAccessibilityController.java534 case WindowManager.LayoutParams.TYPE_TOAST: in onWindowTransitionLocked()
DDisplayContent.java71 import static android.view.WindowManager.LayoutParams.TYPE_TOAST;
658 if (w.mAttrs.type == TYPE_TOAST && w.mOwnerUid == lostFocusUid) {
3124 w.mAttrs.type == TYPE_TOAST && w.mOwnerUid == uid && !w.mPermanentlyHidden in canAddToastWindowForUid()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityWindowManager.java704 case WindowManager.LayoutParams.TYPE_TOAST: in getTypeForWindowManagerWindowType()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java93 import static android.view.WindowManager.LayoutParams.TYPE_TOAST;
2907 mWindowManagerInternal.addWindowToken(windowToken, TYPE_TOAST, displayId);
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/api/
Dcurrent.txt55723 field @Deprecated public static final int TYPE_TOAST = 2005; // 0x7d5
55745 …iew.ViewDebug.IntToString(from=android.view.WindowManager.LayoutParams.TYPE_TOAST, to="TOAST"), @a…
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt34778 field public static final int TYPE_TOAST = 2005; // 0x7d5