Searched refs:displayContext (Results 1 – 11 of 11) sorted by relevance
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | RenderService.java | 66 final Context displayContext = getDisplayContext(hostDisplayId); in getSurfaceControlViewHost() local 68 new SurfaceControlViewHost(displayContext, displayContext.getDisplay(), hostToken); in getSurfaceControlViewHost() 75 displayContext.getDisplay().getMetrics(metrics); in getSurfaceControlViewHost()
|
D | LiveWallpaper.java | 37 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/ |
D | OverlayWindowTestActivitySdk22.java | 74 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/ |
D | ContextGetDisplayTest.java | 86 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/ |
D | WindowContextPolicyTests.java | 69 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/ |
D | UntrustedTouchTestService.java | 134 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/ |
D | InputMethodPickerTest.java | 154 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/ |
D | CloseSystemDialogsTest.java | 500 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/ |
D | StrictModeTest.java | 824 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/ |
D | MultiDisplayActivityLaunchTests.java | 966 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/ |
D | MockIme.java | 187 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()
|