Home
last modified time | relevance | path

Searched refs:windowContext (Results 1 – 4 of 4) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowContextTests.java45 final Context windowContext = createWindowContext(display.mId); in testWindowContextConfigChanges() local
47 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()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DWindowFocusHandleService.java92 final Context windowContext = createWindowContext(DEFAULT_DISPLAY); in createPopupTextView() local
93 final WindowManager wm = windowContext.getSystemService(WindowManager.class); in createPopupTextView()
94 final EditText editText = new EditText(windowContext) { in createPopupTextView()
/cts/tests/tests/content/src/android/content/cts/
DContextAccessTest.java149 Context windowContext = mContext.createDisplayContext(display) in testGetDisplayFromWindowContext() local
151 assertEquals(display, windowContext.getDisplay()); in testGetDisplayFromWindowContext()
/cts/tests/tests/os/src/android/os/cts/
DStrictModeTest.java725 final Context windowContext = in testIncorrectContextUse_GetDisplay() local
727 assertNoViolation(windowContext::getDisplay); in testIncorrectContextUse_GetDisplay()
766 final Context windowContext = in testIncorrectContextUse_GetViewConfiguration() local
768 assertNoViolation(() -> ViewConfiguration.get(windowContext)); in testIncorrectContextUse_GetViewConfiguration()