Searched refs:displayContext (Results 1 – 9 of 9) 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/content/src/android/content/wm/cts/ |
D | ContextGetDisplayTest.java | 84 Context displayContext = mApplicationContext.createDisplayContext(display); in testGetDisplayFromDisplayContext() local 86 assertEquals(display, displayContext.getDisplay()); in testGetDisplayFromDisplayContext()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowContextPolicyTests.java | 68 final Context displayContext = createDisplayContext(Display.DEFAULT_DISPLAY); in testWindowContextWithNullDisplay() local 69 displayContext.createWindowContext(null /* display */, TYPE_APPLICATION_OVERLAY, in testWindowContextWithNullDisplay()
|
D | MultiDisplayActivityLaunchTests.java | 948 final Context displayContext = in testLaunchPendingIntentActivity() local 950 getPendingIntentActivity(TOP_ACTIVITY).send(displayContext, resultCode, null /* intent */); in testLaunchPendingIntentActivity() 955 getPendingIntentActivity(TEST_ACTIVITY).send(displayContext, resultCode, null /* intent */); in testLaunchPendingIntentActivity()
|
/cts/tests/framework/base/windowmanager/overlayappbase/src/android/server/wm/overlay/ |
D | UntrustedTouchTestService.java | 132 Context displayContext = context.createDisplayContext(display); in getContextForSaw() local 133 return displayContext.createWindowContext(LayoutParams.TYPE_APPLICATION_OVERLAY, null); in getContextForSaw()
|
/cts/tests/app/src/android/app/cts/ |
D | CloseSystemDialogsTest.java | 470 Context displayContext = context.createDisplayContext(display); in getContextForSaw() local 471 return displayContext.createWindowContext(TYPE_APPLICATION_OVERLAY, null); in getContextForSaw()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | StrictModeTest.java | 752 final Context displayContext = getContext().createDisplayContext(display); in testIncorrectContextUse_DisplayContext_ThrowViolation() local 755 () -> displayContext.getSystemService(WindowManager.class)); in testIncorrectContextUse_DisplayContext_ThrowViolation() 759 () -> ViewConfiguration.get(displayContext)); in testIncorrectContextUse_DisplayContext_ThrowViolation() 764 () -> new GestureDetector(displayContext, mGestureListener)); in testIncorrectContextUse_DisplayContext_ThrowViolation() 772 displayContext.getSystemService(WallpaperManager.class) in testIncorrectContextUse_DisplayContext_ThrowViolation()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockIme.java | 179 final Context displayContext = createDisplayContext(getDisplay()); in onHandleCommand() 404 final WindowManager wm = displayContext in onHandleCommand() 413 ViewConfiguration.get(displayContext); in onHandleCommand() 423 new GestureDetector(displayContext, listener); in onHandleCommand()
|