Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DRenderService.java68 final Context displayContext = getDisplayContext(hostDisplayId); in getSurfaceControlViewHost() local
70 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/content/src/android/content/cts/
DContextAccessTest.java104 Context displayContext = mContext.createDisplayContext(display); in testGetDisplayFromDisplayContext() local
106 assertEquals(display, displayContext.getDisplay()); in testGetDisplayFromDisplayContext()
/cts/tests/tests/os/src/android/os/cts/
DStrictModeTest.java722 final Context displayContext = getContext().createDisplayContext(display); in testIncorrectContextUse_GetDisplay() local
723 assertNoViolation(displayContext::getDisplay); in testIncorrectContextUse_GetDisplay()
726 displayContext.createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in testIncorrectContextUse_GetDisplay()
761 final Context displayContext = baseContext.createDisplayContext(display); in testIncorrectContextUse_GetViewConfiguration() local
764 () -> ViewConfiguration.get(displayContext)); in testIncorrectContextUse_GetViewConfiguration()
767 displayContext.createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in testIncorrectContextUse_GetViewConfiguration()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplayActivityLaunchTests.java847 final Context displayContext = in testLaunchPendingIntentActivity() local
849 getPendingIntentActivity(TOP_ACTIVITY).send(displayContext, resultCode, null /* intent */); in testLaunchPendingIntentActivity()
854 getPendingIntentActivity(TEST_ACTIVITY).send(displayContext, resultCode, null /* intent */); in testLaunchPendingIntentActivity()