Home
last modified time | relevance | path

Searched refs:windowContext (Results 1 – 13 of 13) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/android/window/
H A DWindowContextTest.java177 final View testView = new View(windowContext); in testCreateWindowContext_AttachActivity_TokenNotRemovedAfterRelease()
184 windowContext.release(); in testCreateWindowContext_AttachActivity_TokenNotRemovedAfterRelease()
212 final View testView = new View(windowContext); in testCreateWindowContext_AttachWindowToken_TokenNotRemovedAfterRelease()
219 windowContext.release(); in testCreateWindowContext_AttachWindowToken_TokenNotRemovedAfterRelease()
241 final View parentWindow = new View(windowContext); in testWindowContextAddViewWithSubWindowType_NotCrash()
254 final View subWindow = new View(windowContext); in testWindowContextAddViewWithSubWindowType_NotCrash()
268 final WindowContext windowContext = createWindowContext(); in testRegisterComponentCallbacks() local
271 windowContext.registerComponentCallbacks(listener); in testRegisterComponentCallbacks()
279 windowContext.dispatchConfigurationChanged(config); in testRegisterComponentCallbacks()
290 windowContext.unregisterComponentCallbacks(listener); in testRegisterComponentCallbacks()
[all …]
/aosp14/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
H A DFakeBackgroundService.java78 final Context windowContext = createDisplayContext(display) in onCreate() local
82 FakeView view = new FakeView(windowContext); in onCreate()
83 Dialog dialog = new Dialog(windowContext, android.R.style.Theme_Holo_Dialog); in onCreate()
101 final WindowManager wm = windowContext.getSystemService(WindowManager.class); in onCreate()
H A DFakeApp.java106 final Context windowContext = createDisplayContext(defaultDisplay) in onCreate() local
108 final WindowManager wm = windowContext.getSystemService(WindowManager.class); in onCreate()
/aosp14/frameworks/base/core/java/android/service/games/
H A DGameSessionService.java125 final Context windowContext = createWindowContext(display, in doCreate() local
128 new SurfaceControlViewHost(windowContext, display, hostToken, "GameSessionService"); in doCreate()
133 windowContext, in doCreate()
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/
H A DInputMethodDialogWindowContext.java51 final Context windowContext = systemUiContext.createWindowContext( in get() local
54 windowContext, com.android.internal.R.style.Theme_DeviceDefault_Settings); in get()
/aosp14/frameworks/base/core/tests/coretests/src/android/content/
H A DContextWrapperTest.java119 final WindowContext windowContext = (WindowContext) appContext.createWindowContext(display, in testRegisterComponentCallbacks() local
121 final ContextWrapper wrapper = new ContextWrapper(windowContext); in testRegisterComponentCallbacks()
133 windowContext.dispatchConfigurationChanged(dispatchedConfig); in testRegisterComponentCallbacks()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
H A DWindowMagnification.java102 final Context windowContext = mContext.createWindowContext(display, in createInstance() local
104 windowContext.setTheme(com.android.systemui.R.style.Theme_SystemUI); in createInstance()
106 windowContext, in createInstance()
108 new WindowMagnificationAnimationController(windowContext), in createInstance()
141 final Context windowContext = mContext.createWindowContext(display, in createInstance() local
143 windowContext.setTheme(com.android.systemui.R.style.Theme_SystemUI); in createInstance()
145 windowContext, in createInstance()
/aosp14/frameworks/base/core/java/android/app/
H A DPresentation.java327 Context windowContext = outerContext.createDisplayContext(display) in createPresentationContext() local
331 windowContext.getTheme().resolveAttribute( in createPresentationContext()
335 return new ContextThemeWrapper(windowContext, theme); in createPresentationContext()
H A DContextImpl.java2881 final WindowContext windowContext = new WindowContext(windowContextBase, type, options); in createWindowContextInternal() local
2882 windowContextBase.setOuterContext(windowContext); in createWindowContextInternal()
2887 windowTokenClient.attachContext(windowContext); in createWindowContextInternal()
2890 windowContext.attachToDisplayArea(); in createWindowContextInternal()
2892 return windowContext; in createWindowContextInternal()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
H A DSplashscreenWindowCreator.java254 final Context windowContext; in estimateTaskBackgroundColor() local
256 windowContext = mContext.createPackageContextAsUser( in estimateTaskBackgroundColor()
268 ? windowContext.getResources().getIdentifier(splashScreenThemeName, null, null) in estimateTaskBackgroundColor()
273 if (theme != windowContext.getThemeResId()) { in estimateTaskBackgroundColor()
274 windowContext.setTheme(theme); in estimateTaskBackgroundColor()
276 return mSplashscreenContentDrawer.estimateTaskBackgroundColor(windowContext); in estimateTaskBackgroundColor()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
H A DAccessibilityFloatingMenuController.java187 final Context windowContext = mContext.createWindowContext(defaultDisplay, in showFloatingMenu() local
189 mFloatingMenu = new MenuViewLayerController(windowContext, mWindowManager, in showFloatingMenu()
/aosp14/frameworks/base/core/java/android/window/
H A DWindowTokenClient.java254 final WindowContext windowContext = (WindowContext) context; in onConfigurationChanged() local
255 windowContext.dispatchConfigurationChanged(newConfig); in onConfigurationChanged()
/aosp14/frameworks/base/core/tests/coretests/src/android/hardware/display/
H A DVirtualDisplayTest.java315 final Context windowContext = getContext().createWindowContext(display, in assertDisplayCanShowPresentation()
317 dialogs[0] = new TestDialog(windowContext, color, windowFlags); in assertDisplayCanShowPresentation()