Searched refs:windowContext (Results 1 – 4 of 4) sorted by relevance
45 final Context windowContext = createWindowContext(display.mId); in testWindowContextConfigChanges() local47 final View view = new View(windowContext); in testWindowContextConfigChanges()48 WindowManager wm = windowContext.getSystemService(WindowManager.class); in testWindowContextConfigChanges()56 Rect bounds = windowContext.getSystemService(WindowManager.class).getCurrentWindowMetrics() in testWindowContextConfigChanges()64 bounds = windowContext.getSystemService(WindowManager.class).getCurrentWindowMetrics() in testWindowContextConfigChanges()
92 final Context windowContext = createWindowContext(DEFAULT_DISPLAY); in createPopupTextView() local93 final WindowManager wm = windowContext.getSystemService(WindowManager.class); in createPopupTextView()94 final EditText editText = new EditText(windowContext) { in createPopupTextView()
149 Context windowContext = mContext.createDisplayContext(display) in testGetDisplayFromWindowContext() local151 assertEquals(display, windowContext.getDisplay()); in testGetDisplayFromWindowContext()
725 final Context windowContext = in testIncorrectContextUse_GetDisplay() local727 assertNoViolation(windowContext::getDisplay); in testIncorrectContextUse_GetDisplay()766 final Context windowContext = in testIncorrectContextUse_GetViewConfiguration() local768 assertNoViolation(() -> ViewConfiguration.get(windowContext)); in testIncorrectContextUse_GetViewConfiguration()