Searched refs:newDisplayContext (Results 1 – 3 of 3) sorted by relevance
117 final Context newDisplayContext = mService.createDisplayContext(newDisplay); in testA11yServiceShowsOverlayOnVirtualDisplay_shouldAppear() local120 addOverlayWindow(newDisplayContext, overlayTitle); in testA11yServiceShowsOverlayOnVirtualDisplay_shouldAppear()
203 final Context newDisplayContext = mContext.createDisplayContext(display); in testInputMethodManagerDisplayId() local204 final InputMethodManager imm = newDisplayContext.getSystemService(InputMethodManager.class); in testInputMethodManagerDisplayId()
445 final Context newDisplayContext = mContext.createDisplayContext(display); in testDisplayHasAccess_ExceptionWhenAddViewWithoutPresentOnPrivateDisplay() local446 newDisplayContext.getSystemService(WindowManager.class).addView(new View(mContext), in testDisplayHasAccess_ExceptionWhenAddViewWithoutPresentOnPrivateDisplay()