Home
last modified time | relevance | path

Searched refs:displayContext (Results 1 – 11 of 11) sorted by relevance

/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DRenderService.java66 final Context displayContext = getDisplayContext(hostDisplayId); in getSurfaceControlViewHost() local
68 new SurfaceControlViewHost(displayContext, displayContext.getDisplay(), hostToken); in getSurfaceControlViewHost()
75 displayContext.getDisplay().getMetrics(metrics); in getSurfaceControlViewHost()
DLiveWallpaper.java37 final Context displayContext = getDisplayContext(); in onCreateEngine() local
38 final int displayId = displayContext.getDisplayId(); in onCreateEngine()
/cts/tests/tests/car/apps/overlaywindowappsdk22/src/android/car/app/cts/overlaywindowappsdk22/
DOverlayWindowTestActivitySdk22.java74 Context displayContext = createDisplayContext(display); in createOverlayWindowOnDisplay() local
75 WindowManager windowManager = displayContext.getSystemService(WindowManager.class); in createOverlayWindowOnDisplay()
/cts/tests/tests/content/src/android/content/wm/cts/
DContextGetDisplayTest.java86 Context displayContext = mApplicationContext.createDisplayContext(display); in testGetDisplayFromDisplayContext() local
88 assertEquals(display, displayContext.getDisplay()); in testGetDisplayFromDisplayContext()
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DWindowContextPolicyTests.java69 final Context displayContext = createDisplayContext(Display.DEFAULT_DISPLAY); in testWindowContextWithNullDisplay() local
70 displayContext.createWindowContext( in testWindowContextWithNullDisplay()
/cts/tests/framework/base/windowmanager/overlayappbase/src/android/server/wm/overlay/
DUntrustedTouchTestService.java134 Context displayContext = context.createDisplayContext(display); in getContextForSaw() local
135 return displayContext.createWindowContext(LayoutParams.TYPE_APPLICATION_OVERLAY, null); in getContextForSaw()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodPickerTest.java154 final Context displayContext = getInstrumentation().getTargetContext() in testShowImePickerOnExternalDisplay() local
156 final InputMethodManager im = displayContext.getSystemService(InputMethodManager.class); in testShowImePickerOnExternalDisplay()
/cts/tests/app/src/android/app/cts/
DCloseSystemDialogsTest.java500 Context displayContext = context.createDisplayContext(display); in getContextForSaw() local
501 return displayContext.createWindowContext(TYPE_APPLICATION_OVERLAY, null); in getContextForSaw()
/cts/tests/tests/os/src/android/os/cts/
DStrictModeTest.java824 final Context displayContext = getContext().createDisplayContext(display); in testIncorrectContextUse_DisplayContext_ThrowViolation() local
827 () -> displayContext.getSystemService(WindowManager.class)); in testIncorrectContextUse_DisplayContext_ThrowViolation()
831 () -> ViewConfiguration.get(displayContext)); in testIncorrectContextUse_DisplayContext_ThrowViolation()
836 () -> new GestureDetector(displayContext, mGestureListener)); in testIncorrectContextUse_DisplayContext_ThrowViolation()
844 displayContext.getSystemService(WallpaperManager.class) in testIncorrectContextUse_DisplayContext_ThrowViolation()
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplayActivityLaunchTests.java966 final Context displayContext = in testLaunchPendingIntentActivity() local
968 getPendingIntentActivity(TOP_ACTIVITY).send(displayContext, resultCode, null /* intent */); in testLaunchPendingIntentActivity()
973 getPendingIntentActivity(TEST_ACTIVITY).send(displayContext, resultCode, null /* intent */); in testLaunchPendingIntentActivity()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockIme.java187 final Context displayContext = createDisplayContext(getDisplay()); in onHandleCommand()
588 final WindowManager wm = displayContext in onHandleCommand()
597 ViewConfiguration.get(displayContext); in onHandleCommand()
607 new GestureDetector(displayContext, listener); in onHandleCommand()