Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/core/tests/coretests/src/android/window/
H A DWindowContextTest.java89 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 DAccessibilityServiceTest.java167 .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 DDisplayHelper.java49 .createWindowContext(windowContextType, null) in getMaxBounds()
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/
H A DInputMethodDialogWindowContext.java51 final Context windowContext = systemUiContext.createWindowContext( in get()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/dagger/
H A DClipboardOverlayModule.java52 return context.createWindowContext(display, TYPE_SCREENSHOT, null); in provideWindowContext()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
H A DModeSwitchesController.java135 final Context uiContext = mContext.createWindowContext(display, in createInstance()
H A DMagnificationSettingsController.java72 mContext = context.createWindowContext( in MagnificationSettingsController()
H A DWindowMagnification.java102 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 DWindowMetricsTest.java62 .createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in setUp()
/aosp14/frameworks/base/core/java/android/accessibilityservice/
H A DAccessibilityService.java1112 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 DGameSessionService.java125 final Context windowContext = createWindowContext(display, in doCreate()
/aosp14/frameworks/base/core/tests/coretests/src/android/content/
H A DContextWrapperTest.java119 final WindowContext windowContext = (WindowContext) appContext.createWindowContext(display, in testRegisterComponentCallbacks()
H A DContextTest.java243 .createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in createUiContext()
/aosp14/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
H A DFakeBackgroundService.java79 .createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in onCreate()
H A DFakeApp.java107 .createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in onCreate()
/aosp14/frameworks/base/core/java/android/app/
H A DPresentation.java328 .createWindowContext(getWindowType(type, display), null /* options */); in createPresentationContext()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
H A DAccessibilityFloatingMenuController.java187 final Context windowContext = mContext.createWindowContext(defaultDisplay, in showFloatingMenu()
/aosp14/frameworks/base/core/tests/coretests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/
H A DTestService.java64 mOverlayContext = defaultDisplayContext.createWindowContext(TYPE_APPLICATION_OVERLAY, null); in onCreate()
/aosp14/frameworks/base/core/java/android/content/
H A DContextWrapper.java1151 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 DMockContext.java847 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 Dlint-baseline.txt38 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 DAccessibilityInputFilter.java656 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 DA11yMenuOverlayLayout.java142 mService.createDisplayContext(display).createWindowContext( in configureLayout()
/aosp14/frameworks/base/tests/MirrorSurfaceTest/src/com/google/android/test/mirrorsurface/
H A DMirrorSurfaceActivity.java89 mWm = createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */) in onCreate()
/aosp14/frameworks/base/core/tests/coretests/src/android/hardware/display/
H A DVirtualDisplayTest.java315 final Context windowContext = getContext().createWindowContext(display, in assertDisplayCanShowPresentation()

12