/aosp14/frameworks/base/core/tests/coretests/src/android/window/ |
H A D | WindowContextTest.java | 89 private final WindowContext mWindowContext = createWindowContext(); 174 final WindowContext windowContext = createWindowContext(params.type); in testCreateWindowContext_AttachActivity_TokenNotRemovedAfterRelease() 202 final WindowContext windowContext = createWindowContext(TYPE_INPUT_METHOD); in testCreateWindowContext_AttachWindowToken_TokenNotRemovedAfterRelease() 230 final WindowContext windowContext = createWindowContext(TYPE_INPUT_METHOD); in testWindowContextAddViewWithSubWindowType_NotCrash() 268 final WindowContext windowContext = createWindowContext(); in testRegisterComponentCallbacks() 296 final WindowContext windowContext = createWindowContext(); in testRegisterComponentCallbacksOnWindowContextWrapper() 323 private WindowContext createWindowContext() { in createWindowContext() method in WindowContextTest 324 return createWindowContext(TYPE_APPLICATION_OVERLAY); in createWindowContext() 327 private WindowContext createWindowContext(@WindowType int type) { in createWindowContext() method in WindowContextTest 331 return (WindowContext) instContext.createWindowContext(display, type, null /* options */); in createWindowContext()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/accessibilityservice/ |
H A D | AccessibilityServiceTest.java | 167 .createWindowContext(TYPE_ACCESSIBILITY_OVERLAY, null /* options */); in testAddViewWithA11yServiceDerivedWindowContext() 178 final Context context = mService.createWindowContext(session.getDisplay(), in testAddViewWithA11yServiceDerivedWindowContextWithDisplay() 191 final Context context = mService.createWindowContext(session.getDisplay(), in testAddViewWithA11yServiceDerivedWindowContextWithDifferentType()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/display/ |
H A D | DisplayHelper.java | 49 .createWindowContext(windowContextType, null) in getMaxBounds()
|
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/ |
H A D | InputMethodDialogWindowContext.java | 51 final Context windowContext = systemUiContext.createWindowContext( in get()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/dagger/ |
H A D | ClipboardOverlayModule.java | 52 return context.createWindowContext(display, TYPE_SCREENSHOT, null); in provideWindowContext()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
H A D | ModeSwitchesController.java | 135 final Context uiContext = mContext.createWindowContext(display, in createInstance()
|
H A D | MagnificationSettingsController.java | 72 mContext = context.createWindowContext( in MagnificationSettingsController()
|
H A D | WindowMagnification.java | 102 final Context windowContext = mContext.createWindowContext(display, in createInstance() 141 final Context windowContext = mContext.createWindowContext(display, in createInstance()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | WindowMetricsTest.java | 62 .createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in setUp()
|
/aosp14/frameworks/base/core/java/android/accessibilityservice/ |
H A D | AccessibilityService.java | 1112 public Context createWindowContext(int type, @Nullable Bundle options) { in createWindowContext() method in AccessibilityService 1113 final Context context = super.createWindowContext(type, options); in createWindowContext() 1122 public Context createWindowContext(@NonNull Display display, int type, in createWindowContext() method in AccessibilityService 1124 final Context context = super.createWindowContext(display, type, options); in createWindowContext() 3352 public Context createWindowContext(int type, @Nullable Bundle options) { 3353 final Context context = super.createWindowContext(type, options); 3362 public Context createWindowContext(@NonNull Display display, int type, 3364 final Context context = super.createWindowContext(display, type, options);
|
/aosp14/frameworks/base/core/java/android/service/games/ |
H A D | GameSessionService.java | 125 final Context windowContext = createWindowContext(display, in doCreate()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | ContextWrapperTest.java | 119 final WindowContext windowContext = (WindowContext) appContext.createWindowContext(display, in testRegisterComponentCallbacks()
|
H A D | ContextTest.java | 243 .createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in createUiContext()
|
/aosp14/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
H A D | FakeBackgroundService.java | 79 .createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in onCreate()
|
H A D | FakeApp.java | 107 .createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in onCreate()
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | Presentation.java | 328 .createWindowContext(getWindowType(type, display), null /* options */); in createPresentationContext()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
H A D | AccessibilityFloatingMenuController.java | 187 final Context windowContext = mContext.createWindowContext(defaultDisplay, in showFloatingMenu()
|
/aosp14/frameworks/base/core/tests/coretests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/ |
H A D | TestService.java | 64 mOverlayContext = defaultDisplayContext.createWindowContext(TYPE_APPLICATION_OVERLAY, null); in onCreate()
|
/aosp14/frameworks/base/core/java/android/content/ |
H A D | ContextWrapper.java | 1151 public Context createWindowContext(@WindowType int type, @Nullable Bundle options) { in createWindowContext() method in ContextWrapper 1152 return mBase.createWindowContext(type, options); in createWindowContext() 1157 public Context createWindowContext(@NonNull Display display, @WindowType int type, in createWindowContext() method in ContextWrapper 1159 return mBase.createWindowContext(display, type, options); in createWindowContext()
|
/aosp14/frameworks/base/test-mock/src/android/test/mock/ |
H A D | MockContext.java | 847 public @NonNull Context createWindowContext(int type, Bundle options) { in createWindowContext() method in MockContext 852 public @NonNull Context createWindowContext(Display display, int type, Bundle options) { in createWindowContext() method in MockContext
|
/aosp14/frameworks/base/test-mock/api/ |
H A D | lint-baseline.txt | 38 MissingNullability: android.test.mock.MockContext#createWindowContext(int, android.os.Bundle) param… 39 Missing nullability on parameter `options` in method `createWindowContext`
|
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | AccessibilityInputFilter.java | 656 final Context uiContext = displayContext.createWindowContext( in createMagnificationGestureHandler() 663 final Context uiContext = displayContext.createWindowContext( in createMagnificationGestureHandler()
|
/aosp14/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/view/ |
H A D | A11yMenuOverlayLayout.java | 142 mService.createDisplayContext(display).createWindowContext( in configureLayout()
|
/aosp14/frameworks/base/tests/MirrorSurfaceTest/src/com/google/android/test/mirrorsurface/ |
H A D | MirrorSurfaceActivity.java | 89 mWm = createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */) in onCreate()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
H A D | VirtualDisplayTest.java | 315 final Context windowContext = getContext().createWindowContext(display, in assertDisplayCanShowPresentation()
|