Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/window/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/display/
DDisplayHelper.java49 .createWindowContext(windowContextType, null) in getMaxBounds()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodDialogWindowContext.java51 final Context windowContext = systemUiContext.createWindowContext( in get()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/dagger/
DClipboardOverlayModule.java54 return context.createWindowContext(display, TYPE_SCREENSHOT, null); in provideWindowContext()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DModeSwitchesController.java135 final Context uiContext = mContext.createWindowContext(display, in createInstance()
DMagnification.java119 final Context windowContext = mContext.createWindowContext(display, in createInstance()
169 final Context windowContext = mContext.createWindowContext(display, in createInstance()
208 final Context windowContext = mContext.createWindowContext(display, in createInstance()
DMagnificationSettingsController.java72 mContext = context.createWindowContext( in MagnificationSettingsController()
/frameworks/base/core/tests/coretests/src/android/view/
DWindowMetricsTest.java62 .createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in setUp()
/frameworks/base/core/java/android/service/games/
DGameSessionService.java123 final Context windowContext = createWindowContext(display, in doCreate()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java1155 public Context createWindowContext(int type, @Nullable Bundle options) { in createWindowContext() method in AccessibilityService
1156 final Context context = super.createWindowContext(type, options); in createWindowContext()
1165 public Context createWindowContext(@NonNull Display display, int type, in createWindowContext() method in AccessibilityService
1167 final Context context = super.createWindowContext(display, type, options); in createWindowContext()
3407 public Context createWindowContext(int type, @Nullable Bundle options) {
3408 final Context context = super.createWindowContext(type, options);
3417 public Context createWindowContext(@NonNull Display display, int type,
3419 final Context context = super.createWindowContext(display, type, options);
/frameworks/base/core/tests/coretests/src/android/content/
DContextWrapperTest.java119 final WindowContext windowContext = (WindowContext) appContext.createWindowContext(display, in testRegisterComponentCallbacks()
DContextTest.java281 .createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in createUiContext()
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeBackgroundService.java79 .createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in onCreate()
DFakeApp.java107 .createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in onCreate()
/frameworks/base/core/java/android/app/
DPresentation.java328 .createWindowContext(getWindowType(type, display), null /* options */); in createPresentationContext()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DAccessibilityFloatingMenuController.java187 final Context windowContext = mContext.createWindowContext(defaultDisplay, in showFloatingMenu()
/frameworks/base/services/tests/powerstatstests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/
DTestService.java64 mOverlayContext = defaultDisplayContext.createWindowContext(TYPE_APPLICATION_OVERLAY, null); in onCreate()
/frameworks/base/core/java/android/content/
DContextWrapper.java1159 public Context createWindowContext(@WindowType int type, @Nullable Bundle options) { in createWindowContext() method in ContextWrapper
1160 return mBase.createWindowContext(type, options); in createWindowContext()
1165 public Context createWindowContext(@NonNull Display display, @WindowType int type, in createWindowContext() method in ContextWrapper
1167 return mBase.createWindowContext(display, type, options); in createWindowContext()
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java841 public @NonNull Context createWindowContext(int type, Bundle options) { in createWindowContext() method in MockContext
846 public @NonNull Context createWindowContext(Display display, int type, Bundle options) { in createWindowContext() method in MockContext
/frameworks/base/test-mock/api/
Dlint-baseline.txt38 MissingNullability: android.test.mock.MockContext#createWindowContext(int, android.os.Bundle) param…
39 Missing nullability on parameter `options` in method `createWindowContext`
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/view/
DA11yMenuOverlayLayout.java142 final Context context = mService.createDisplayContext(display).createWindowContext( in configureLayout()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityInputFilter.java832 final Context uiContext = displayContext.createWindowContext( in createMagnificationGestureHandler()
841 final Context uiContext = displayContext.createWindowContext( in createMagnificationGestureHandler()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java315 final Context windowContext = getContext().createWindowContext(display, in assertDisplayCanShowPresentation()
/frameworks/base/tests/MirrorSurfaceTest/src/com/google/android/test/mirrorsurface/
DMirrorSurfaceActivity.java89 mWm = createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */) in onCreate()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DSplitDecorManager.java127 context = context.createWindowContext(context.getDisplay(), TYPE_APPLICATION_OVERLAY, in inflate()

12