Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowStateTests.java58 final WindowState parentWindow = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testIsParentWindowHidden()
59 final WindowState child1 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child1"); in testIsParentWindowHidden()
60 final WindowState child2 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child2"); in testIsParentWindowHidden()
75 final WindowState parentWindow = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testIsChildWindow()
76 final WindowState child1 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child1"); in testIsChildWindow()
77 final WindowState child2 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child2"); in testIsChildWindow()
78 final WindowState randomWindow = createWindow(null, TYPE_APPLICATION, "randomWindow"); in testIsChildWindow()
88 final WindowState win1 = createWindow(null, TYPE_APPLICATION, "win1"); in testHasChild()
89 final WindowState win11 = createWindow(win1, FIRST_SUB_WINDOW, "win11"); in testHasChild()
90 final WindowState win12 = createWindow(win1, FIRST_SUB_WINDOW, "win12"); in testHasChild()
[all …]
DWindowTokenTests.java54 final WindowState window1 = createWindow(null, TYPE_APPLICATION, token, "window1"); in testAddWindow()
55 final WindowState window11 = createWindow(window1, FIRST_SUB_WINDOW, token, "window11"); in testAddWindow()
56 final WindowState window12 = createWindow(window1, FIRST_SUB_WINDOW, token, "window12"); in testAddWindow()
57 final WindowState window2 = createWindow(null, TYPE_APPLICATION, token, "window2"); in testAddWindow()
58 final WindowState window3 = createWindow(null, TYPE_APPLICATION, token, "window3"); in testAddWindow()
84 final WindowState window1 = createWindow(null, TYPE_APPLICATION, token, "window1"); in testChildRemoval()
85 final WindowState window2 = createWindow(null, TYPE_APPLICATION, token, "window2"); in testChildRemoval()
101 final WindowState window1 = createWindow(null, TYPE_APPLICATION, token, "window1"); in testAdjustAnimLayer()
102 final WindowState window11 = createWindow(window1, FIRST_SUB_WINDOW, token, "window11"); in testAdjustAnimLayer()
103 final WindowState window12 = createWindow(window1, FIRST_SUB_WINDOW, token, "window12"); in testAdjustAnimLayer()
[all …]
DWindowTestsBase.java148 final WindowState win = createWindow(parent, type, name); in createCommonWindow()
182 WindowState createWindow(WindowState parent, int type, String name) { in createWindow() method in WindowTestsBase
184 ? createWindow(parent, type, mDisplayContent, name) in createWindow()
185 : createWindow(parent, type, parent.mToken, name); in createWindow()
191 return createWindow(parent, type, token, name); in createWindowOnStack()
197 return createWindow(null, type, token, name); in createAppWindow()
200 WindowState createWindow(WindowState parent, int type, DisplayContent dc, String name) { in createWindow() method in WindowTestsBase
202 return createWindow(parent, type, token, name); in createWindow()
205 WindowState createWindow(WindowState parent, int type, DisplayContent dc, String name, in createWindow() method in WindowTestsBase
208 return createWindow(parent, type, token, name, ownerCanAddInternalSystemWindow); in createWindow()
[all …]
DWindowLayersControllerTests.java66 createWindow(null, TYPE_BASE_APPLICATION, mDisplayContent, "imeAppTarget"); in testAssignWindowLayers_ForImeWithAppTarget()
86 createWindow(null, TYPE_BASE_APPLICATION, mDisplayContent, "imeAppTarget"); in testAssignWindowLayers_ForImeWithAppTargetWithChildWindows()
87 final WindowState imeAppTargetChildAboveWindow = createWindow(imeAppTarget, in testAssignWindowLayers_ForImeWithAppTargetWithChildWindows()
90 final WindowState imeAppTargetChildBelowWindow = createWindow(imeAppTarget, in testAssignWindowLayers_ForImeWithAppTargetWithChildWindows()
115 createWindow(null, TYPE_BASE_APPLICATION, mDisplayContent, "appBelowImeTarget"); in testAssignWindowLayers_ForImeWithAppTargetAndAppAbove()
117 createWindow(null, TYPE_BASE_APPLICATION, mDisplayContent, "imeAppTarget"); in testAssignWindowLayers_ForImeWithAppTargetAndAppAbove()
119 createWindow(null, TYPE_BASE_APPLICATION, mDisplayContent, "appAboveImeTarget"); in testAssignWindowLayers_ForImeWithAppTargetAndAppAbove()
141 final WindowState imeSystemOverlayTarget = createWindow(null, TYPE_SYSTEM_OVERLAY, in testAssignWindowLayers_ForImeNonAppImeTarget()
DAppWindowTokenTests.java60 final WindowState win1 = createWindow(null, TYPE_APPLICATION, token, "win1"); in testAddWindow_Order()
61 final WindowState startingWin = createWindow(null, TYPE_APPLICATION_STARTING, token, in testAddWindow_Order()
63 final WindowState baseWin = createWindow(null, TYPE_BASE_APPLICATION, token, "baseWin"); in testAddWindow_Order()
64 final WindowState win4 = createWindow(null, TYPE_APPLICATION, token, "win4"); in testAddWindow_Order()
88 final WindowState window1 = createWindow(null, TYPE_BASE_APPLICATION, token, "window1"); in testFindMainWindow()
89 final WindowState window11 = createWindow(window1, FIRST_SUB_WINDOW, token, "window11"); in testFindMainWindow()
90 final WindowState window12 = createWindow(window1, FIRST_SUB_WINDOW, token, "window12"); in testFindMainWindow()
94 final WindowState window2 = createWindow(null, TYPE_APPLICATION_STARTING, token, "window2"); in testFindMainWindow()
106 final WindowState window1 = createWindow(null, TYPE_BASE_APPLICATION, token, "window1"); in testGetTopFullscreenWindow()
107 final WindowState window11 = createWindow(null, TYPE_APPLICATION, token, "window11"); in testGetTopFullscreenWindow()
[all …]
DTaskSnapshotControllerTest.java47 final WindowState closingWindow = createWindow(null, FIRST_APPLICATION_WINDOW, in testGetClosingApps_closing()
61 final WindowState closingWindow = createWindow(null, FIRST_APPLICATION_WINDOW, in testGetClosingApps_notClosing()
78 final WindowState disabledWindow = createWindow(null, in testGetSnapshotMode()
84 final WindowState normalWindow = createWindow(null, in testGetSnapshotMode()
89 final WindowState secureWindow = createWindow(null, in testGetSnapshotMode()
DTaskSnapshotCacheTest.java51 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testAppRemoved()
62 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testAppDied()
73 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testTaskRemoved()
84 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testReduced_notCached()
101 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testRestoreFromDisk()
DDisplayContentTests.java65 final WindowState exitingAppWindow = createWindow(null, TYPE_BASE_APPLICATION, in testForAllWindows()
87 createWindow(null, TYPE_BASE_APPLICATION, mDisplayContent, "imeAppTarget"); in testForAllWindows_WithAppImeTarget()
140 final WindowState voiceInteractionWindow = createWindow(null, TYPE_VOICE_INTERACTION, in testForAllWindows_WithInBetweenWindowToken()
159 final WindowState appWin = createWindow(null, TYPE_APPLICATION, mDisplayContent, "appWin"); in testComputeImeTarget()
166 final WindowState childWin = createWindow(appWin, in testComputeImeTarget()
300 createWindow(null, TYPE_BASE_APPLICATION, mDisplayContent, "window1"); in testFocusedWindowMultipleDisplays()
308 final WindowState window2 = createWindow(null, TYPE_BASE_APPLICATION, dc, "window2"); in testFocusedWindowMultipleDisplays()
318 final WindowState keyguard = createWindow(null, TYPE_STATUS_BAR, in testKeyguard_preventsSecondaryDisplayFocus()
324 final WindowState win = createWindow(null, TYPE_BASE_APPLICATION, dc, "win"); in testKeyguard_preventsSecondaryDisplayFocus()
395 final WindowState window = createWindow(null /* parent */, TYPE_BASE_APPLICATION, dc, "w"); in testDontReportDeferredRemoval()
[all …]
DWindowFrameTests.java118 WindowState w = createWindow(task, FILL_PARENT, FILL_PARENT); in testLayoutInFullscreenTaskInsets()
175 WindowState w = createWindow(task, FILL_PARENT, FILL_PARENT); in testLayoutInFullscreenTaskNoInsets()
263 WindowState w = createWindow(task, FILL_PARENT, FILL_PARENT); in testLayoutNonfullscreenTask()
307 final WindowStateWithTask w = createWindow( in testCalculatePolicyCrop()
381 WindowState w = createWindow(task, FILL_PARENT, FILL_PARENT); in testLayoutLetterboxedWindow()
410 private WindowStateWithTask createWindow(Task task, int width, int height) { in createWindow() method in WindowFrameTests
DTestWindowManagerPolicy.java216 window = WindowTestsBase.createWindow(null, TYPE_APPLICATION_STARTING, atoken, in addSplashScreen()
/frameworks/av/cmds/screenrecord/
DEglWindow.h45 status_t createWindow(const sp<IGraphicBufferProducer>& surface);
DOverlay.cpp136 err = mEglWindow.createWindow(mOutputSurface); in setup_l()
293 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.java117 createWindow(); in OverlayDisplayWindow()
195 private void createWindow() { in createWindow() method in OverlayDisplayWindow
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DOverlayDisplayWindow.java231 createWindow(); in JellybeanMr1Impl()
288 private void createWindow() { in createWindow() method in OverlayDisplayWindow.JellybeanMr1Impl