/cts/tests/framework/base/windowmanager/src/android/server/wm/display/ |
D | WindowContextTestBase.java | 32 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()
|
D | WindowContextPolicyTests.java | 64 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()
|
D | WindowContextTests.java | 81 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/ |
D | ContextIsUiContextTest.java | 78 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()
|
D | ContextGetDisplayTest.java | 111 final Context windowContext = createWindowContext(); in testGetDisplayFromWindowContext() 118 final Context windowContext = mApplicationContext.createWindowContext(display, in testGetDisplayFromWindowContextWithDefaultDisplay() 126 final Context windowContext = mApplicationContext.createWindowContext(display, in testGetDisplayFromWindowContextWithSecondaryDisplay()
|
D | ContextTestBase.java | 105 public Context createWindowContext() { in createWindowContext() method in ContextTestBase 106 return mApplicationContext.createDisplayContext(mDefaultDisplay).createWindowContext( in createWindowContext()
|
D | ContextRegisterComponentCallbacksTest.java | 166 final Context windowContext = mApplicationContext.createWindowContext(secondaryDisplay, in testRegisterComponentCallbacksOnWindowContext()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | WindowFocusHandleService.java | 96 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()
|
D | TestActivity.java | 183 Context overlayContext = getApplicationContext().createWindowContext(getDisplay(), in showOverlayWindow()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | WindowManagerTests.java | 49 final Context windowContext = context.createWindowContext(display, in testProposedRotationListener()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | WindowMetricsWindowContextTests.java | 90 .createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in WindowContextTestSession()
|
/cts/tests/framework/base/windowmanager/alertwindowservice/src/android/server/wm/alertwindowservice/ |
D | AlertWindowService.java | 144 .createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in onCreate()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityOverlayTest.java | 161 .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/ |
D | SdkAvailabilityTest.java | 195 final Context windowContext = appContext.createWindowContext(display, in isLargeScreenDisplay()
|
/cts/tests/framework/base/windowmanager/overlayappbase/src/android/server/wm/overlay/ |
D | UntrustedTouchTestService.java | 135 return displayContext.createWindowContext(LayoutParams.TYPE_APPLICATION_OVERLAY, null); in getContextForSaw()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | StrictModeTest.java | 865 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/ |
D | WallpaperManagerTest.java | 104 Context windowContext = mContext.createWindowContext(primaryDisplay, in testSetDisplayPadding()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | TestTaskOrganizer.java | 94 .createWindowContext(TYPE_APPLICATION, null /* options */) in registerOrganizer()
|
D | ActivityManagerTestBase.java | 1258 final Context windowContext = appContext.createWindowContext(defaultDisplay, in isTablet()
|
/cts/tests/app/src/android/app/cts/ |
D | CloseSystemDialogsTest.java | 501 return displayContext.createWindowContext(TYPE_APPLICATION_OVERLAY, null); in getContextForSaw()
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/layout/ |
D | ExtensionWindowLayoutComponentTest.java | 137 Context windowContext = mContext.createWindowContext(defaultDisplay, in createContextWithNonActivityWindow()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 10553 …method @NonNull @UiContext public android.content.Context createWindowContext(int, @Nullable andro… 10554 …method @NonNull @UiContext public android.content.Context createWindowContext(@NonNull android.vie…
|