Searched refs:displayContext (Results 1 – 5 of 5) sorted by relevance
68 final Context displayContext = getDisplayContext(hostDisplayId); in getSurfaceControlViewHost() local70 new SurfaceControlViewHost(displayContext, displayContext.getDisplay(), hostToken); in getSurfaceControlViewHost()75 displayContext.getDisplay().getMetrics(metrics); in getSurfaceControlViewHost()
37 final Context displayContext = getDisplayContext(); in onCreateEngine() local38 final int displayId = displayContext.getDisplayId(); in onCreateEngine()
104 Context displayContext = mContext.createDisplayContext(display); in testGetDisplayFromDisplayContext() local106 assertEquals(display, displayContext.getDisplay()); in testGetDisplayFromDisplayContext()
722 final Context displayContext = getContext().createDisplayContext(display); in testIncorrectContextUse_GetDisplay() local723 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() local764 () -> ViewConfiguration.get(displayContext)); in testIncorrectContextUse_GetViewConfiguration()767 displayContext.createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in testIncorrectContextUse_GetViewConfiguration()
847 final Context displayContext = in testLaunchPendingIntentActivity() local849 getPendingIntentActivity(TOP_ACTIVITY).send(displayContext, resultCode, null /* intent */); in testLaunchPendingIntentActivity()854 getPendingIntentActivity(TEST_ACTIVITY).send(displayContext, resultCode, null /* intent */); in testLaunchPendingIntentActivity()