Home
last modified time | relevance | path

Searched refs:createWindow (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInsetsStateControllerTest.java78 final WindowState navBar = createWindow(null, TYPE_APPLICATION, "navBar"); in testStripForDispatch_navBar()
79 final WindowState statusBar = createWindow(null, TYPE_APPLICATION, "statusBar"); in testStripForDispatch_navBar()
80 final WindowState ime = createWindow(null, TYPE_APPLICATION, "ime"); in testStripForDispatch_navBar()
98 final WindowState statusBar = createWindow(null, TYPE_APPLICATION, "statusBar"); in testStripForDispatch_pip()
99 final WindowState navBar = createWindow(null, TYPE_APPLICATION, "navBar"); in testStripForDispatch_pip()
100 final WindowState app = createWindow(null, TYPE_APPLICATION, "app"); in testStripForDispatch_pip()
115 final WindowState statusBar = createWindow(null, TYPE_APPLICATION, "statusBar"); in testStripForDispatch_freeform()
116 final WindowState navBar = createWindow(null, TYPE_APPLICATION, "navBar"); in testStripForDispatch_freeform()
117 final WindowState app = createWindow(null, TYPE_APPLICATION, "app"); in testStripForDispatch_freeform()
131 final WindowState statusBar = createWindow(null, TYPE_APPLICATION, "statusBar"); in testStripForDispatch_multiwindow_alwaysOnTop()
[all …]
DImeInsetsSourceProviderTest.java56 final WindowState ime = createWindow(null, TYPE_INPUT_METHOD, "ime"); in testTransparentControlTargetWindowCanShowIme()
60 final WindowState appWin = createWindow(null, TYPE_APPLICATION, "app"); in testTransparentControlTargetWindowCanShowIme()
61 final WindowState popup = createWindow(appWin, TYPE_APPLICATION, "popup"); in testTransparentControlTargetWindowCanShowIme()
76 final WindowState ime = createWindow(null, TYPE_INPUT_METHOD, "ime"); in testScheduleShowIme()
80 final WindowState target = createWindow(null, TYPE_APPLICATION, "app"); in testScheduleShowIme()
103 final WindowState target = createWindow(null, TYPE_APPLICATION, "app"); in testScheduleShowIme_noInitialState()
110 final WindowState ime = createWindow(null, TYPE_INPUT_METHOD, "ime"); in testScheduleShowIme_noInitialState()
130 final WindowState ime = createWindow(null, TYPE_INPUT_METHOD, "ime"); in testScheduleShowIme_delayedAfterPrepareSurfaces()
134 final WindowState target = createWindow(null, TYPE_APPLICATION, "app"); in testScheduleShowIme_delayedAfterPrepareSurfaces()
162 final WindowState ime = createWindow(null, TYPE_INPUT_METHOD, "ime"); in testScheduleShowIme_delayedSurfacePlacement()
[all …]
DZOrderingTests.java233 WindowState createWindow(String name) { in createWindow() method in ZOrderingTests
234 return createWindow(null, TYPE_BASE_APPLICATION, mDisplayContent, name); in createWindow()
256 final WindowState imeAppTarget = createWindow("imeAppTarget"); in testAssignWindowLayers_ForImeWithAppTarget()
275 final WindowState imeAppTarget = createWindow("imeAppTarget"); in testAssignWindowLayers_ForImeWithAppTargetWithChildWindows()
276 final WindowState imeAppTargetChildAboveWindow = createWindow(imeAppTarget, in testAssignWindowLayers_ForImeWithAppTargetWithChildWindows()
279 final WindowState imeAppTargetChildBelowWindow = createWindow(imeAppTarget, in testAssignWindowLayers_ForImeWithAppTargetWithChildWindows()
302 final WindowState appBelowImeTarget = createWindow("appBelowImeTarget"); in testAssignWindowLayers_ForImeWithAppTargetAndAppAbove()
303 final WindowState imeAppTarget = createWindow("imeAppTarget"); in testAssignWindowLayers_ForImeWithAppTargetAndAppAbove()
304 final WindowState appAboveImeTarget = createWindow("appAboveImeTarget"); in testAssignWindowLayers_ForImeWithAppTargetAndAppAbove()
326 final WindowState imeSystemOverlayTarget = createWindow(null, TYPE_SYSTEM_OVERLAY, in testAssignWindowLayers_ForImeNonAppImeTarget()
[all …]
DInsetsSourceProviderTest.java65 final WindowState statusBar = createWindow(null, TYPE_APPLICATION, "statusBar"); in testPostLayout()
83 final WindowState statusBar = createWindow(null, TYPE_APPLICATION, "statusBar"); in testPostLayout_invisible()
95 final WindowState statusBar = createWindow(null, TYPE_APPLICATION, "statusBar"); in testPostLayout_frameProvider()
110 final WindowState statusBar = createWindow(null, TYPE_APPLICATION, "statusBar"); in testUpdateControlForTarget()
111 final WindowState target = createWindow(null, TYPE_APPLICATION, "target"); in testUpdateControlForTarget()
155 final WindowState statusBar = createWindow(null, TYPE_APPLICATION, "statusBar"); in testUpdateControlForFakeTarget()
156 final WindowState target = createWindow(null, TYPE_APPLICATION, "target"); in testUpdateControlForFakeTarget()
168 final WindowState statusBar = createWindow(null, TYPE_APPLICATION, "statusBar"); in testGetLeash()
169 final WindowState target = createWindow(null, TYPE_APPLICATION, "target"); in testGetLeash()
170 final WindowState fakeTarget = createWindow(null, TYPE_APPLICATION, "fakeTarget"); in testGetLeash()
[all …]
DWindowStateTests.java147 final WindowState parentWindow = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testIsParentWindowHidden()
148 final WindowState child1 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child1"); in testIsParentWindowHidden()
149 final WindowState child2 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child2"); in testIsParentWindowHidden()
165 final WindowState parentWindow = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testIsChildWindow()
166 final WindowState child1 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child1"); in testIsChildWindow()
167 final WindowState child2 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child2"); in testIsChildWindow()
168 final WindowState randomWindow = createWindow(null, TYPE_APPLICATION, "randomWindow"); in testIsChildWindow()
178 final WindowState win1 = createWindow(null, TYPE_APPLICATION, "win1"); in testHasChild()
179 final WindowState win11 = createWindow(win1, FIRST_SUB_WINDOW, "win11"); in testHasChild()
180 final WindowState win12 = createWindow(win1, FIRST_SUB_WINDOW, "win12"); in testHasChild()
[all …]
DWindowTokenTests.java70 final WindowState window1 = createWindow(null, TYPE_APPLICATION, token, "window1"); in testAddWindow()
71 final WindowState window11 = createWindow(window1, FIRST_SUB_WINDOW, token, "window11"); in testAddWindow()
72 final WindowState window12 = createWindow(window1, FIRST_SUB_WINDOW, token, "window12"); in testAddWindow()
73 final WindowState window2 = createWindow(null, TYPE_APPLICATION, token, "window2"); in testAddWindow()
74 final WindowState window3 = createWindow(null, TYPE_APPLICATION, token, "window3"); in testAddWindow()
101 final WindowState window1 = createWindow(null, TYPE_STATUS_BAR, token1, "window1"); in testAddWindow_assignsLayers()
102 final WindowState window2 = createWindow(null, TYPE_STATUS_BAR, token2, "window2"); in testAddWindow_assignsLayers()
118 final WindowState window1 = createWindow(null, TYPE_APPLICATION, token, "window1"); in testChildRemoval()
119 final WindowState window2 = createWindow(null, TYPE_APPLICATION, token, "window2"); in testChildRemoval()
143 final WindowState window1 = createWindow(null, TYPE_TOAST, token, "window1"); in testTokenRemovalProcess()
[all …]
DTaskSnapshotCacheTest.java66 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testAppRemoved()
77 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testAppDied()
88 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testTaskRemoved()
99 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testReduced_notCached()
116 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testRestoreFromDisk()
129 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testClearCache()
DRefreshRatePolicyTest.java117 WindowState createWindow(String name) { in createWindow() method in RefreshRatePolicyTest
118 WindowState window = createWindow(null, TYPE_BASE_APPLICATION, name); in createWindow()
127 final WindowState cameraUsingWindow = createWindow("cameraUsingWindow"); in testCamera()
154 final WindowState cameraUsingWindow = createWindow("cameraUsingWindow"); in testCameraRange()
181 final WindowState cameraUsingWindow = createWindow("cameraUsingWindow"); in testCameraRange_OutOfRange()
208 final WindowState denylistedWindow = createWindow("denylistedWindow"); in testDenyList()
221 final WindowState overrideWindow = createWindow("overrideWindow"); in testAppOverridePreferredModeId_denylist()
235 final WindowState overrideWindow = createWindow("overrideWindow"); in testAppOverridePreferredRefreshRate_denylist()
249 final WindowState overrideWindow = createWindow("overrideWindow"); in testAppOverridePreferredModeId_camera()
266 final WindowState overrideWindow = createWindow("overrideWindow"); in testAppOverridePreferredRefreshRate_camera()
[all …]
DDisplayContentTests.java181 final WindowState exitingAppWindow = createWindow(null, TYPE_BASE_APPLICATION, in testForAllWindows()
215 createWindow(null, TYPE_BASE_APPLICATION, mDisplayContent, "imeAppTarget"); in testForAllWindows_WithAppImeTarget()
292 final WindowState voiceInteractionWindow = createWindow(null, TYPE_VOICE_INTERACTION, in testForAllWindows_WithInBetweenWindowToken()
313 final WindowState appWin = createWindow(null, TYPE_APPLICATION, mDisplayContent, "appWin"); in testComputeImeTarget()
321 final WindowState childWin = createWindow(appWin, in testComputeImeTarget()
334 final WindowState startingWin = createWindow(null, TYPE_APPLICATION_STARTING, activity, in testComputeImeTarget_startingWindow()
345 final WindowState appWin = createWindow(null, TYPE_BASE_APPLICATION, activity, "appWin"); in testComputeImeTarget_startingWindow()
355 final WindowState childWin = createWindow(appWin, in testComputeImeTarget_startingWindow()
368 final WindowState startingWin = createWindow(null, TYPE_APPLICATION_STARTING, activity, in testUpdateImeParent_forceUpdateRelativeLayer()
386 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, in testComputeImeTargetReturnsNull_windowDidntRequestIme()
[all …]
DFrameRateSelectionPriorityTests.java74 WindowState createWindow(String name) { in createWindow() method in FrameRateSelectionPriorityTests
75 WindowState window = createWindow(null, TYPE_APPLICATION, name); in createWindow()
98 final WindowState appWindow = createWindow("appWindow"); in basicTest()
124 final WindowState appWindow = createWindow("appWindow"); in testApplicationInFocusWithoutModeId()
156 final WindowState appWindow = createWindow("appWindow"); in testApplicationInFocusWithModeId()
202 final WindowState appWindow = createWindow("appWindow"); in testApplicationNotInFocusWithModeId()
238 final WindowState appWindow = createWindow("appWindow"); in testApplicationNotInFocusWithoutModeId()
265 final WindowState appWindow = createWindow("appWindow"); in testDenyListPreferredRefreshRate()
300 final WindowState appWindow = createWindow("appWindow"); in testSwitchingTypeNone()
329 final WindowState appWindow = createWindow("appWindow"); in testAppPreferredRefreshRate()
DRemoteAnimationControllerTest.java119 final WindowState win = createWindow(null /* parent */, TYPE_APPLICATION_OVERLAY, in createAppOverlayWindow()
128 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testForwardsShowBackdrop()
161 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testRun()
205 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testCancel()
219 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testTimeout()
239 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, in testTimeout_scaled()
273 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testNotReallyStarted()
283 final WindowState win1 = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin1"); in testOneNotStarted()
284 final WindowState win2 = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin2"); in testOneNotStarted()
311 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testRemovedBeforeStarted()
[all …]
DRecentsAnimationControllerTest.java194 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testWallpaperIncluded_expectTarget()
216 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testWallpaperAnimatorCanceled_expectAnimationKeepsRunning()
240 final WindowState hwin1 = createWindow(null, TYPE_BASE_APPLICATION, homeActivity, "hwin1"); in testFinish_expectTargetAndWallpaperAdaptersRemoved()
243 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testFinish_expectTargetAndWallpaperAdaptersRemoved()
270 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testDeferCancelAnimation()
291 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testDeferCancelAnimationWithScreenShot()
317 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testShouldAnimateWhenNoCancelWithDeferredScreenshot()
336 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testBinderDiedAfterCancelWithDeferredScreenshot()
365 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, landActivity, "win1"); in testRecentViewInFixedPortraitWhenTopAppInLandscape()
404 final WindowState win = createWindow(null, TYPE_BASE_APPLICATION, activity, "win"); in prepareFixedRotationLaunchingAppWithRecentsAnim()
[all …]
DWindowTestsBase.java486 final WindowState win = createWindow(parent, type, name); in createCommonWindow()
510 final WindowState navbar = createWindow(null, TYPE_NAVIGATION_BAR, dc, "navbar"); in createNavBarWithProvidedInsets()
521 final WindowState statusBar = createWindow(null, TYPE_STATUS_BAR, dc, "statusBar"); in createStatusBarWithProvidedInsets()
583 return createWindow(null, type, activity, name); in createAppWindow()
589 return createWindow(parent, type, token, name); in createDreamWindow()
593 WindowState createWindow(WindowState parent, int type, DisplayContent dc, String name, in createWindow() method in WindowTestsBase
597 return createWindow(parent, type, token, name, 0 /* ownerId */, in createWindow()
601 WindowState createWindow(WindowState parent, int type, String name) { in createWindow() method in WindowTestsBase
603 ? createWindow(parent, type, mDisplayContent, name) in createWindow()
604 : createWindow(parent, type, parent.mToken, name); in createWindow()
[all …]
DTaskSnapshotControllerTest.java73 final WindowState closingWindow = createWindow(null, FIRST_APPLICATION_WINDOW, in testGetClosingApps_closing()
87 final WindowState closingWindow = createWindow(null, FIRST_APPLICATION_WINDOW, in testGetClosingApps_notClosing()
104 final WindowState closingWindow = createWindow(null, FIRST_APPLICATION_WINDOW, in testGetClosingApps_skipClosingAppsSnapshotTasks()
132 final WindowState disabledWindow = createWindow(null, in testGetSnapshotMode()
138 final WindowState normalWindow = createWindow(null, in testGetSnapshotMode()
143 final WindowState secureWindow = createWindow(null, in testGetSnapshotMode()
DWallpaperControllerTests.java247 WindowState otherWindow = createWindow(null /* parent */, TYPE_APPLICATION, dc, in testWallpaperZoom_multipleCallers()
279 final WindowState appWin = createWindow(null, TYPE_BASE_APPLICATION, "app"); in testUpdateWallpaperTarget()
295 final WindowState behind = createWindow(null, TYPE_BASE_APPLICATION, "behind"); in testShowWhenLockedWallpaperTarget()
296 final WindowState topTranslucent = createWindow(null, TYPE_BASE_APPLICATION, in testShowWhenLockedWallpaperTarget()
319 final WindowState keyguard = createWindow(null /* parent */, in testShowWhenLockedWallpaperTarget()
361 final WindowState appWin = createWindow(null, TYPE_BASE_APPLICATION, "app"); in testFixedRotationRecentsAnimatingTask()
571 return createWindow(null /* parent */, TYPE_WALLPAPER, wallpaperWindowToken, in createWallpaperWindow()
581 WindowState appWindow = createWindow(null /* parent */, TYPE_BASE_APPLICATION, in createWallpaperTargetWindow()
DBackNavigationControllerTests.java436 WindowState window = createWindow(null, WindowManager.LayoutParams.TYPE_WALLPAPER, in backInfoWindowWithNoActivity()
457 WindowState window = createWindow(null, WindowManager.LayoutParams.TYPE_WALLPAPER, in backInfoWithAnimationCallback()
524 final WindowState window = createWindow(null, TYPE_BASE_APPLICATION, testActivity, in backAnimationSkipSharedElementTransition()
599 WindowState window = createWindow(null, WindowManager.LayoutParams.TYPE_APPLICATION, in backInfoWindowWithoutDrawn()
665 WindowState newWindow = createWindow(null, TYPE_APPLICATION_OVERLAY, "overlayWindow"); in testWindowFocusChangeCancelNavigation()
883 WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, record, "window");
899 WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, record, "window");
900 WindowState dialog = createWindow(null, TYPE_APPLICATION, record, "dialog");
925 WindowState window1 = createWindow(null, FIRST_APPLICATION_WINDOW, record1, "window1");
926 WindowState window2 = createWindow(null, FIRST_APPLICATION_WINDOW, record2, "window2");
DDualDisplayAreaGroupPolicyTest.java372 createWindow(null /* parent */, TYPE_APPLICATION_STARTING, mFirstActivity, in testPlaceImeContainer_reparentToTargetDisplayAreaGroup()
376 createWindow(null /* parent */, TYPE_APPLICATION_STARTING, mSecondActivity, in testPlaceImeContainer_reparentToTargetDisplayAreaGroup()
417 createWindow(null /* parent */, TYPE_APPLICATION_STARTING, mFirstActivity, in testPlaceImeContainer_hidesImeWhenParentChanges()
421 createWindow(null /* parent */, TYPE_APPLICATION_STARTING, mSecondActivity, in testPlaceImeContainer_hidesImeWhenParentChanges()
457 createWindow(null /* parent */, TYPE_APPLICATION_STARTING, mFirstActivity, in testPlaceImeContainer_skipReparentForOrganizedImeContainer()
492 createWindow(null /* parent */, TYPE_APPLICATION_STARTING, mFirstActivity, in testPlaceImeContainer_noReparentIfRootDoesNotHaveImePlaceholder()
549 final WindowState imeWindow = createWindow(null /* parent */, in setupImeWindow()
DWindowContainerTraversalTests.java51 final WindowState splitScreenWindow = createWindow(null, in testDockedDividerPosition()
DDisplayPolicyTests.java85 final WindowState win = createWindow(null, TYPE_BASE_APPLICATION, "opaqueFullscreen"); in createOpaqueFullscreen()
108 final WindowState win = spy(createWindow(null, TYPE_APPLICATION, "dimmingDialog")); in createDimmingDialogWindow()
120 final WindowState win = createWindow(null, TYPE_INPUT_METHOD, "inputMethod"); in createInputMethodWindow()
310 final WindowState win = createWindow(null, TYPE_APPLICATION, "Application"); in createApplicationWindow()
321 final WindowState win = createWindow(null, TYPE_BASE_APPLICATION, "Application"); in createBaseApplicationWindow()
449 final WindowState bar2 = createWindow(null, navbar.mAttrs.type, "bar2"); in testUpdateDisplayConfigurationByDecor()
DDisplayPolicyLayoutTests.java79 mWindow = spy(createWindow(null, TYPE_APPLICATION, "window")); in setUp()
149 final WindowState win = createWindow(null, TYPE_STATUS_BAR_SUB_PANEL, "statusBar"); in addingWindow_withInsetsTypes()
DInsetsPolicyTest.java102 final WindowState win = createWindow(null, WINDOWING_MODE_FREEFORM, in testControlsForDispatch_freeformTaskVisible()
494 final WindowState win = createWindow(null, TYPE_NAVIGATION_BAR, "navBar"); in addNavigationBar()
507 final WindowState win = createWindow(null, TYPE_STATUS_BAR, "statusBar"); in addStatusBar()
519 final WindowState win = createWindow(null, type, name); in addWindow()
/frameworks/av/cmds/screenrecord/
DEglWindow.h45 status_t createWindow(const sp<IGraphicBufferProducer>& surface);
DOverlay.cpp139 err = mEglWindow.createWindow(mOutputSurface); in setup_l()
296 err = window.createWindow(outputSurface); in drawInfoPage()
DEglWindow.cpp36 status_t EglWindow::createWindow(const sp<IGraphicBufferProducer>& surface) { in createWindow() function in EglWindow
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java121 createWindow(); in OverlayDisplayWindow()
199 private void createWindow() { in createWindow() method in OverlayDisplayWindow

12