Home
last modified time | relevance | path

Searched refs:createWindowContext (Results 1 – 22 of 22) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DWindowContextTestBase.java32 Context createWindowContext(int displayId) { in createWindowContext() method in WindowContextTestBase
33 return createWindowContext(displayId, TYPE_APPLICATION_OVERLAY); in createWindowContext()
36 Context createWindowContext(int displayId, int type) { in createWindowContext() method in WindowContextTestBase
37 return createDisplayContext(displayId).createWindowContext( in createWindowContext()
DWindowContextPolicyTests.java64 mContext.createWindowContext(TYPE_APPLICATION_OVERLAY, null); in testCreateWindowContextWithNoDisplayContext()
70 displayContext.createWindowContext( in testWindowContextWithNullDisplay()
78 mContext.createWindowContext(display, TYPE_APPLICATION_OVERLAY, null /* options */); in testWindowContextWithDisplayOnNonUiContext()
86 createWindowContext(display.mId); in testCreateMultipleWindowContextsWithoutView()
107 createWindowContext(display.mId, windowType); in testWindowContextWithAllPublicTypes()
115 final Context windowContext = createWindowContext(display.mId); in testWindowContextAddMismatchedWindowType()
DWindowContextTests.java81 final Context windowContext = createWindowContext(display.mId); in testWindowContextConfigChanges()
115 final Context windowContext = createWindowContext(DEFAULT_DISPLAY); in testWindowContextBindService()
141 final Context windowContext = createWindowContext(display.mId); in testWindowContextRegisterComponentCallbacks()
172 final Context windowContext = createWindowContext(display.mId); in testWindowContextGlobalConfigChanges()
/cts/tests/tests/content/src/android/content/wm/cts/
DContextIsUiContextTest.java78 assertThat(createWindowContext().isUiContext()).isTrue(); in testIsUiContextOnWindowContext()
83 final Context windowContext = mApplicationContext.createWindowContext(getDefaultDisplay(), in testIsUiContextOnWindowContextWithDisplay()
112 final Context uiDerivedContext = createWindowContext() in testIsUiContextOnUiDerivedContext()
119 final Context uiDerivedDisplayContext = createWindowContext() in testIsUiContextOnUiDerivedDisplayContext()
126 final Context uiContextWrapper = new ContextWrapper(createWindowContext()); in testIsUiContextOnUiContextWrapper()
DContextGetDisplayTest.java111 final Context windowContext = createWindowContext(); in testGetDisplayFromWindowContext()
118 final Context windowContext = mApplicationContext.createWindowContext(display, in testGetDisplayFromWindowContextWithDefaultDisplay()
126 final Context windowContext = mApplicationContext.createWindowContext(display, in testGetDisplayFromWindowContextWithSecondaryDisplay()
DContextTestBase.java105 public Context createWindowContext() { in createWindowContext() method in ContextTestBase
106 return mApplicationContext.createDisplayContext(mDefaultDisplay).createWindowContext( in createWindowContext()
DContextRegisterComponentCallbacksTest.java166 final Context windowContext = mApplicationContext.createWindowContext(secondaryDisplay, in testRegisterComponentCallbacksOnWindowContext()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DWindowFocusHandleService.java96 final Context windowContext = createWindowContext(DEFAULT_DISPLAY); in createPopupTextView()
159 private Context createWindowContext(int displayId) { in createWindowContext() method in WindowFocusHandleService
161 return createDisplayContext(display).createWindowContext(TYPE_APPLICATION_OVERLAY, in createWindowContext()
DTestActivity.java183 Context overlayContext = getApplicationContext().createWindowContext(getDisplay(), in showOverlayWindow()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DWindowManagerTests.java49 final Context windowContext = context.createWindowContext(display, in testProposedRotationListener()
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DWindowMetricsWindowContextTests.java90 .createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in WindowContextTestSession()
/cts/tests/framework/base/windowmanager/alertwindowservice/src/android/server/wm/alertwindowservice/
DAlertWindowService.java144 .createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in onCreate()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityOverlayTest.java161 .createWindowContext( in testA11yServiceShowOverlay_withDerivedWindowContext_shouldAppear()
172 mService.createWindowContext( in testA11yServiceShowOverlay_withDerivedWindowContextWithDisplay_shouldAppear()
184 mService.createWindowContext( in testA11yServiceShowOverlay_withDerivedWindowContextWithTypeMismatch_throwException()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/
DSdkAvailabilityTest.java195 final Context windowContext = appContext.createWindowContext(display, in isLargeScreenDisplay()
/cts/tests/framework/base/windowmanager/overlayappbase/src/android/server/wm/overlay/
DUntrustedTouchTestService.java135 return displayContext.createWindowContext(LayoutParams.TYPE_APPLICATION_OVERLAY, null); in getContextForSaw()
/cts/tests/tests/os/src/android/os/cts/
DStrictModeTest.java865 final Context windowContext = createWindowContext(); in testIncorrectContextUse_WindowContext_NoViolation()
942 createWindowContext().createConfigurationContext(configuration); in testIncorrectContextUse_UiDerivedContext_NoViolation()
960 final Context uiDerivedAttrContext = createWindowContext() in testIncorrectContextUse_UiDerivedContext_NoViolation()
999 final Context uiDerivedDisplayContext = createWindowContext().createDisplayContext(display); in testIncorrectContextUse_UiDerivedDisplayContext_ThrowViolation()
1449 private Context createWindowContext() { in createWindowContext() method in StrictModeTest
1452 return getContext().createWindowContext(display, TYPE_APPLICATION_OVERLAY, in createWindowContext()
/cts/tests/tests/security/src/android/security/cts/
DWallpaperManagerTest.java104 Context windowContext = mContext.createWindowContext(primaryDisplay, in testSetDisplayPadding()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DTestTaskOrganizer.java94 .createWindowContext(TYPE_APPLICATION, null /* options */) in registerOrganizer()
DActivityManagerTestBase.java1258 final Context windowContext = appContext.createWindowContext(defaultDisplay, in isTablet()
/cts/tests/app/src/android/app/cts/
DCloseSystemDialogsTest.java501 return displayContext.createWindowContext(TYPE_APPLICATION_OVERLAY, null); in getContextForSaw()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/layout/
DExtensionWindowLayoutComponentTest.java137 Context windowContext = mContext.createWindowContext(defaultDisplay, in createContextWithNonActivityWindow()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt10553 …method @NonNull @UiContext public android.content.Context createWindowContext(int, @Nullable andro…
10554 …method @NonNull @UiContext public android.content.Context createWindowContext(@NonNull android.vie…