/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowStateTests.java | 121 final WindowState parentWindow = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testIsParentWindowHidden() 122 final WindowState child1 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child1"); in testIsParentWindowHidden() 123 final WindowState child2 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child2"); in testIsParentWindowHidden() 139 final WindowState parentWindow = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testIsChildWindow() 140 final WindowState child1 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child1"); in testIsChildWindow() 141 final WindowState child2 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child2"); in testIsChildWindow() 142 final WindowState randomWindow = createWindow(null, TYPE_APPLICATION, "randomWindow"); in testIsChildWindow() 152 final WindowState win1 = createWindow(null, TYPE_APPLICATION, "win1"); in testHasChild() 153 final WindowState win11 = createWindow(win1, FIRST_SUB_WINDOW, "win11"); in testHasChild() 154 final WindowState win12 = createWindow(win1, FIRST_SUB_WINDOW, "win12"); in testHasChild() [all …]
|
D | InsetsStateControllerTest.java | 63 final WindowState topBar = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testStripForDispatch_notOwn() 64 final WindowState app = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testStripForDispatch_notOwn() 73 final WindowState topBar = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testStripForDispatch_own() 83 final WindowState navBar = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testStripForDispatch_navBar() 84 final WindowState topBar = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testStripForDispatch_navBar() 85 final WindowState ime = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testStripForDispatch_navBar() 95 final WindowState navBar = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testBarControllingWinChanged() 96 final WindowState topBar = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testBarControllingWinChanged() 97 final WindowState app = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testBarControllingWinChanged() 108 final WindowState topBar = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testControlRevoked() [all …]
|
D | ZOrderingTests.java | 210 WindowState createWindow(String name) { in createWindow() method in ZOrderingTests 211 return createWindow(null, TYPE_BASE_APPLICATION, mDisplayContent, name); in createWindow() 233 final WindowState imeAppTarget = createWindow("imeAppTarget"); in testAssignWindowLayers_ForImeWithAppTarget() 252 final WindowState imeAppTarget = createWindow("imeAppTarget"); in testAssignWindowLayers_ForImeWithAppTargetWithChildWindows() 253 final WindowState imeAppTargetChildAboveWindow = createWindow(imeAppTarget, in testAssignWindowLayers_ForImeWithAppTargetWithChildWindows() 256 final WindowState imeAppTargetChildBelowWindow = createWindow(imeAppTarget, in testAssignWindowLayers_ForImeWithAppTargetWithChildWindows() 278 final WindowState appBelowImeTarget = createWindow("appBelowImeTarget"); in testAssignWindowLayers_ForImeWithAppTargetAndAppAbove() 279 final WindowState imeAppTarget = createWindow("imeAppTarget"); in testAssignWindowLayers_ForImeWithAppTargetAndAppAbove() 280 final WindowState appAboveImeTarget = createWindow("appAboveImeTarget"); in testAssignWindowLayers_ForImeWithAppTargetAndAppAbove() 301 final WindowState imeSystemOverlayTarget = createWindow(null, TYPE_SYSTEM_OVERLAY, in testAssignWindowLayers_ForImeNonAppImeTarget() [all …]
|
D | WindowTestsBase.java | 242 final WindowState win = createWindow(parent, type, name); in createCommonWindow() 282 WindowState createWindow(WindowState parent, int type, String name) { in createWindow() method in WindowTestsBase 285 ? createWindow(parent, type, mDisplayContent, name) in createWindow() 286 : createWindow(parent, type, parent.mToken, name); in createWindow() 290 WindowState createWindow(WindowState parent, int type, String name, int ownerId) { in createWindow() method in WindowTestsBase 293 ? createWindow(parent, type, mDisplayContent, name, ownerId) in createWindow() 294 : createWindow(parent, type, parent.mToken, name, ownerId); in createWindow() 302 return createWindow(parent, type, token, name); in createWindowOnStack() 310 return createWindow(null, type, token, name); in createAppWindow() 314 WindowState createWindow(WindowState parent, int type, DisplayContent dc, String name) { in createWindow() method in WindowTestsBase [all …]
|
D | WindowTokenTests.java | 52 final WindowState window1 = createWindow(null, TYPE_APPLICATION, token, "window1"); in testAddWindow() 53 final WindowState window11 = createWindow(window1, FIRST_SUB_WINDOW, token, "window11"); in testAddWindow() 54 final WindowState window12 = createWindow(window1, FIRST_SUB_WINDOW, token, "window12"); in testAddWindow() 55 final WindowState window2 = createWindow(null, TYPE_APPLICATION, token, "window2"); in testAddWindow() 56 final WindowState window3 = createWindow(null, TYPE_APPLICATION, token, "window3"); in testAddWindow() 82 final WindowState window1 = createWindow(null, TYPE_APPLICATION, token, "window1"); in testChildRemoval() 83 final WindowState window2 = createWindow(null, TYPE_APPLICATION, token, "window2"); in testChildRemoval() 107 final WindowState window1 = createWindow(null, TYPE_TOAST, token, "window1"); in testTokenRemovalProcess() 108 final WindowState window2 = createWindow(null, TYPE_TOAST, token, "window2"); in testTokenRemovalProcess()
|
D | InsetsSourceProviderTest.java | 56 final WindowState topBar = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testPostLayout() 69 final WindowState topBar = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testPostLayout_invisible() 79 final WindowState topBar = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testPostLayout_frameProvider() 91 final WindowState topBar = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testUpdateControlForTarget() 92 final WindowState target = createWindow(null, TYPE_APPLICATION, "target"); in testUpdateControlForTarget() 103 final WindowState topBar = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testInsetsModified() 104 final WindowState target = createWindow(null, TYPE_APPLICATION, "target"); in testInsetsModified() 116 final WindowState topBar = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testInsetsModified_noControl() 117 final WindowState target = createWindow(null, TYPE_APPLICATION, "target"); in testInsetsModified_noControl()
|
D | RootWindowContainerTests.java | 49 final WindowState toastyToast = createWindow(null, TYPE_TOAST, "toast", FAKE_CALLING_UID); in testIsAnyNonToastWindowVisibleForUid_oneToastOneAppStartOneNonToastBothVisible() 50 final WindowState app = createWindow(null, TYPE_APPLICATION, "app", FAKE_CALLING_UID); in testIsAnyNonToastWindowVisibleForUid_oneToastOneAppStartOneNonToastBothVisible() 51 final WindowState appStart = createWindow(null, TYPE_APPLICATION_STARTING, "appStarting", in testIsAnyNonToastWindowVisibleForUid_oneToastOneAppStartOneNonToastBothVisible() 65 final WindowState toastyToast = createWindow(null, TYPE_TOAST, "toast", FAKE_CALLING_UID); in testIsAnyNonToastWindowVisibleForUid_onlyToastVisible() 74 final WindowState appStart = createWindow(null, TYPE_APPLICATION_STARTING, "appStarting", in testIsAnyNonToastWindowVisibleForUid_onlyAppStartingVisible() 84 final WindowState topBar = createWindow(null, TYPE_STATUS_BAR, "topBar", FAKE_CALLING_UID); in testIsAnyNonToastWindowVisibleForUid_aFewNonToastButNoneVisible() 85 final WindowState app = createWindow(null, TYPE_APPLICATION, "app", FAKE_CALLING_UID); in testIsAnyNonToastWindowVisibleForUid_aFewNonToastButNoneVisible()
|
D | TaskSnapshotControllerTest.java | 49 final WindowState closingWindow = createWindow(null, FIRST_APPLICATION_WINDOW, in testGetClosingApps_closing() 63 final WindowState closingWindow = createWindow(null, FIRST_APPLICATION_WINDOW, in testGetClosingApps_notClosing() 80 final WindowState closingWindow = createWindow(null, FIRST_APPLICATION_WINDOW, in testGetClosingApps_skipClosingAppsSnapshotTasks() 95 final WindowState disabledWindow = createWindow(null, in testGetSnapshotMode() 101 final WindowState normalWindow = createWindow(null, in testGetSnapshotMode() 106 final WindowState secureWindow = createWindow(null, in testGetSnapshotMode()
|
D | RefreshRatePolicyTest.java | 65 final WindowState cameraUsingWindow = createWindow(null, TYPE_BASE_APPLICATION, in testCamera() 77 final WindowState blacklistedWindow = createWindow(null, TYPE_BASE_APPLICATION, in testBlacklist() 86 final WindowState overrideWindow = createWindow(null, TYPE_BASE_APPLICATION, in testAppOverride_blacklist() 95 final WindowState overrideWindow = createWindow(null, TYPE_BASE_APPLICATION, in testAppOverride_camera() 105 final WindowState overrideWindow = createWindow(null, TYPE_BASE_APPLICATION, in testAnimatingAppOverride() 118 final WindowState cameraUsingWindow = createWindow(null, TYPE_BASE_APPLICATION, in testAnimatingCamera()
|
D | TaskSnapshotCacheTest.java | 53 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testAppRemoved() 64 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testAppDied() 75 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testTaskRemoved() 86 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testReduced_notCached() 103 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testRestoreFromDisk()
|
D | DisplayContentTests.java | 113 final WindowState exitingAppWindow = createWindow(null, TYPE_BASE_APPLICATION, in testForAllWindows() 139 createWindow(null, TYPE_BASE_APPLICATION, mDisplayContent, "imeAppTarget"); in testForAllWindows_WithAppImeTarget() 192 final WindowState voiceInteractionWindow = createWindow(null, TYPE_VOICE_INTERACTION, in testForAllWindows_WithInBetweenWindowToken() 211 final WindowState appWin = createWindow(null, TYPE_APPLICATION, mDisplayContent, "appWin"); in testComputeImeTarget() 219 final WindowState childWin = createWindow(appWin, in testComputeImeTarget() 364 createWindow(null, TYPE_BASE_APPLICATION, mDisplayContent, "window1"); in doTestFocusedWindowMultipleDisplays() 377 final WindowState window2 = createWindow(null, TYPE_BASE_APPLICATION, dc, "window2"); in doTestFocusedWindowMultipleDisplays() 504 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, dc, "w"); in testLayoutSeq_assignedDuringLayout() 526 final WindowState window = createWindow(null /* parent */, TYPE_BASE_APPLICATION, dc, "w"); in testOrientationDefinedByKeyguard() 529 final WindowState keyguard = createWindow(null, TYPE_STATUS_BAR, dc, "keyguard"); in testOrientationDefinedByKeyguard() [all …]
|
D | RemoteAnimationControllerTest.java | 89 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testRun() 124 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testCancel() 137 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testTimeout() 154 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, in testTimeout_scaled() 184 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testNotReallyStarted() 193 final WindowState win1 = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin1"); in testOneNotStarted() 194 final WindowState win2 = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin2"); in testOneNotStarted() 213 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testRemovedBeforeStarted() 225 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testChange()
|
D | AppWindowTokenTests.java | 98 final WindowState win1 = createWindow(null, TYPE_APPLICATION, mToken, "win1"); in testAddWindow_Order() 99 final WindowState startingWin = createWindow(null, TYPE_APPLICATION_STARTING, mToken, in testAddWindow_Order() 101 final WindowState baseWin = createWindow(null, TYPE_BASE_APPLICATION, mToken, "baseWin"); in testAddWindow_Order() 102 final WindowState win4 = createWindow(null, TYPE_APPLICATION, mToken, "win4"); in testAddWindow_Order() 124 final WindowState window1 = createWindow(null, TYPE_BASE_APPLICATION, mToken, "window1"); in testFindMainWindow() 125 final WindowState window11 = createWindow(window1, FIRST_SUB_WINDOW, mToken, "window11"); in testFindMainWindow() 126 final WindowState window12 = createWindow(window1, FIRST_SUB_WINDOW, mToken, "window12"); in testFindMainWindow() 130 final WindowState window2 = createWindow(null, TYPE_APPLICATION_STARTING, mToken, in testFindMainWindow() 141 final WindowState window1 = createWindow(null, TYPE_BASE_APPLICATION, mToken, "window1"); in testGetTopFullscreenWindow() 142 final WindowState window11 = createWindow(null, TYPE_APPLICATION, mToken, "window11"); in testGetTopFullscreenWindow() [all …]
|
D | WindowFrameTests.java | 132 WindowState w = createWindow(MATCH_PARENT, MATCH_PARENT); in testLayoutInFullscreenTaskInsets() 189 WindowState w = createWindow(MATCH_PARENT, MATCH_PARENT); in testLayoutInFullscreenTaskNoInsets() 276 WindowState w = createWindow(MATCH_PARENT, MATCH_PARENT); in testLayoutNonfullscreenTask() 329 final FrameTestWindowState w = createWindow(MATCH_PARENT, MATCH_PARENT); in testCalculatePolicyCrop() 394 WindowState w = createWindow(MATCH_PARENT, MATCH_PARENT); in testLayoutLetterboxedWindow() 431 WindowState w = createWindow(MATCH_PARENT, MATCH_PARENT); in testDisplayCutout() 455 WindowState w = createWindow(MATCH_PARENT, MATCH_PARENT); in testDisplayCutout_tempDisplayedBounds() 481 WindowState w = createWindow(MATCH_PARENT, MATCH_PARENT); in testFreeformContentInsets() 535 private FrameTestWindowState createWindow(int width, int height) { in createWindow() method in WindowFrameTests
|
D | DisplayPolicyTests.java | 65 final WindowState win = createWindow(null, TYPE_BASE_APPLICATION, "opaqueFullscreen"); in createOpaqueFullscreen() 78 final WindowState win = spy(createWindow(null, TYPE_APPLICATION, "dimmingDialog")); in createDimmingDialogWindow() 90 final WindowState win = createWindow(null, TYPE_INPUT_METHOD, "inputMethod"); in createInputMethodWindow() 257 final WindowState win = createWindow(null, TYPE_TOAST, "Toast"); in createToastWindow() 267 final WindowState win = createWindow(null, TYPE_APPLICATION, "Application"); in createApplicationWindow()
|
D | RecentsAnimationControllerTest.java | 155 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, appWindow, "win1"); in testDeferCancelAnimation() 178 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, appWindow, "win1"); in testDeferCancelAnimationWithScreenShot() 205 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, appWindow, "win1"); in testShouldAnimateWhenNoCancelWithDeferredScreenshot()
|
D | WallpaperControllerTests.java | 55 WindowState wallpaperWindow = createWindow(null /* parent */, TYPE_WALLPAPER, in testWallpaperScreenshot()
|
D | ScreenDecorWindowTests.java | 188 return createWindow("decorWindow", gravity, width, height, RED, in createDecorWindow() 192 private View createWindow(String name, int gravity, int width, int height, int color, int flags, in createWindow() method in ScreenDecorWindowTests
|
D | TaskPositioningControllerTests.java | 65 mWindow = createWindow(null, TYPE_BASE_APPLICATION, "window"); in setUp()
|
D | DragDropControllerTests.java | 105 final WindowState window = createWindow( in createDropTargetWindow()
|
D | TestWindowManagerPolicy.java | 122 window = WindowTestsBase.createWindow(null, TYPE_APPLICATION_STARTING, atoken, in addSplashScreen()
|
/frameworks/av/cmds/screenrecord/ |
D | EglWindow.h | 45 status_t createWindow(const sp<IGraphicBufferProducer>& surface);
|
D | Overlay.cpp | 136 err = mEglWindow.createWindow(mOutputSurface); in setup_l() 293 err = window.createWindow(outputSurface); in drawInfoPage()
|
D | EglWindow.cpp | 36 status_t EglWindow::createWindow(const sp<IGraphicBufferProducer>& surface) { in createWindow() function in EglWindow
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 117 createWindow(); in OverlayDisplayWindow() 195 private void createWindow() { in createWindow() method in OverlayDisplayWindow
|