/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | InsetsStateControllerTest.java | 29 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 78 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() [all …]
|
D | InsetsSourceProviderTest.java | 22 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 65 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() [all …]
|
D | ImeInsetsSourceProviderTest.java | 19 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 60 final WindowState appWin = createWindow(null, TYPE_APPLICATION, "app"); in testTransparentControlTargetWindowCanShowIme() 61 final WindowState popup = createWindow(appWin, TYPE_APPLICATION, "popup"); in testTransparentControlTargetWindowCanShowIme() 80 final WindowState target = createWindow(null, TYPE_APPLICATION, "app"); in testScheduleShowIme() 103 final WindowState target = createWindow(null, TYPE_APPLICATION, "app"); in testScheduleShowIme_noInitialState() 134 final WindowState target = createWindow(null, TYPE_APPLICATION, "app"); in testScheduleShowIme_delayedAfterPrepareSurfaces() 166 final WindowState target = createWindow(null, TYPE_APPLICATION, "app"); in testScheduleShowIme_delayedSurfacePlacement()
|
D | WindowStateTests.java | 37 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 147 final WindowState parentWindow = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testIsParentWindowHidden() 165 final WindowState parentWindow = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testIsChildWindow() 168 final WindowState randomWindow = createWindow(null, TYPE_APPLICATION, "randomWindow"); in testIsChildWindow() 178 final WindowState win1 = createWindow(null, TYPE_APPLICATION, "win1"); in testHasChild() 181 final WindowState win2 = createWindow(null, TYPE_APPLICATION, "win2"); in testHasChild() 183 final WindowState randomWindow = createWindow(null, TYPE_APPLICATION, "randomWindow"); in testHasChild() 199 final WindowState parentWindow = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testGetParentWindow() 220 final WindowState root = createWindow(null, TYPE_APPLICATION, "root"); in testGetTopParentWindow() 237 final WindowState window = createWindow(null, TYPE_APPLICATION, "window"); in testIsOnScreen_hiddenByPolicy() [all …]
|
D | WindowTokenTests.java | 21 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 70 final WindowState window1 = createWindow(null, TYPE_APPLICATION, token, "window1"); 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() 118 final WindowState window1 = createWindow(null, TYPE_APPLICATION, token, "window1"); in testChildRemoval() 119 final WindowState window2 = createWindow(null, TYPE_APPLICATION, token, "window2"); in testChildRemoval() 272 final WindowState app = createWindow(null, TYPE_APPLICATION, "app"); in testSetInsetsFrozen_notAffectImeWindowState() 286 final WindowState win = createWindow(null, TYPE_APPLICATION, token, "win"); in testRemoveWindowToken_noAnimateExitWhenSet()
|
D | InsetsPolicyTest.java | 29 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 103 ACTIVITY_TYPE_STANDARD, TYPE_APPLICATION, mDisplayContent, "app"); in testControlsForDispatch_freeformTaskVisible() 170 final WindowState fullscreenApp = addWindow(TYPE_APPLICATION, "fullscreenApp"); in testControlsForDispatch_topAppHidesStatusBar() 174 final WindowState dialog = addWindow(TYPE_APPLICATION, "dialog"); in testControlsForDispatch_topAppHidesStatusBar() 203 final WindowState newFocusedFullscreenApp = addWindow(TYPE_APPLICATION, "newFullscreenApp"); in testControlsForDispatch_topAppHidesStatusBar() 380 final WindowState app = addWindow(TYPE_APPLICATION, "app"); in testShowTransientBars_abortsWhenControlTargetChanges() 381 final WindowState app2 = addWindow(TYPE_APPLICATION, "app"); in testShowTransientBars_abortsWhenControlTargetChanges() 406 final WindowState app1 = addWindow(TYPE_APPLICATION, "app1"); in testFakeControlTarget_overrideVisibilityReceivedByWindows() 410 final WindowState app2 = addWindow(TYPE_APPLICATION, "app2"); in testFakeControlTarget_overrideVisibilityReceivedByWindows() 450 final WindowState win1 = addWindow(TYPE_APPLICATION, "win1"); in testConsumeImeInsets() [all …]
|
D | SurfaceControlViewHostTests.java | 22 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 125 TYPE_APPLICATION, 0, PixelFormat.OPAQUE); in requestFocusWithMultipleWindows() 127 TYPE_APPLICATION, 0, PixelFormat.OPAQUE); in requestFocusWithMultipleWindows()
|
D | DisplayPolicyLayoutTests.java | 22 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 79 mWindow = spy(createWindow(null, TYPE_APPLICATION, "window")); in setUp()
|
D | ZOrderingTests.java | 26 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 414 final WindowState imeAppTarget = createWindow(null, TYPE_APPLICATION, in testAssignWindowLayers_ForImeOnAppWithRecentsAnimating() 438 final WindowState imeAppTarget = createWindow(null, TYPE_APPLICATION, in testAssignWindowLayers_ForImeOnPopupImeLayeringTarget() 583 final WindowState imeAppTarget = createAppWindow(task, TYPE_APPLICATION, "imeAppTarget"); in testImeScreenshotLayer()
|
D | DisplayContentTests.java | 54 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 313 final WindowState appWin = createWindow(null, TYPE_APPLICATION, mDisplayContent, "appWin"); in testComputeImeTarget() 575 TYPE_WALLPAPER, TYPE_APPLICATION); in testShouldWaitForSystemDecorWindowsOnBoot_OnDefaultDisplay() 596 TYPE_WALLPAPER, TYPE_APPLICATION); in testShouldWaitForSystemDecorWindowsOnBoot_OnSecondaryDisplay() 630 final WindowState ws = createWindow(null, TYPE_APPLICATION, dc, "app window"); in testImeIsAttachedToDisplayForLetterboxedApp() 998 final WindowState appWin = createWindow(null, TYPE_APPLICATION, mDisplayContent, "appWin"); in testInputMethodTargetUpdateWhenSwitchingOnDisplays() 1003 final WindowState appWin1 = createWindow(null, TYPE_APPLICATION, newDisplay, "appWin1"); in testInputMethodTargetUpdateWhenSwitchingOnDisplays() 1329 final WindowState app = createWindow(null, TYPE_APPLICATION, "app"); in testImeSecureFlagGetUpdatedAfterImeInputTarget() 1410 final WindowState win2 = createWindow(null, TYPE_APPLICATION, dc, "win2"); in testCalculateSystemGestureExclusion() 1438 final WindowState win2 = createWindow(null, TYPE_APPLICATION, dc, "modal"); in testCalculateSystemGestureExclusion_modal() [all …]
|
D | WindowManagerServiceTests.java | 36 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 194 WindowState focusedWindow = createAppWindow(focusedTask, TYPE_APPLICATION, "App Window"); in testTaskFocusChange_rootTaskNotHomeType_focusChanges() 215 WindowState focusedWindow = createAppWindow(focusedTask, TYPE_APPLICATION, "App Window"); in testTaskFocusChange_rootTaskHomeTypeWithSameTaskDisplayArea_focusDoesNotChange() 238 WindowState focusedWindow = createAppWindow(focusedTask, TYPE_APPLICATION, "App Window"); in testTaskFocusChange_rootTaskHomeTypeWithDifferentTaskDisplayArea_focusChanges() 563 doReturn(TYPE_APPLICATION).when(mWm.mWindowContextListenerController) in testAttachWindowContextToWindowToken_DifferentWindowType_ThrowException() 1158 PRIVATE_FLAG_TRUSTED_OVERLAY, INPUT_FEATURE_SPY, TYPE_APPLICATION, in testGrantInputChannel_sanitizeSpyWindowForApplications() 1175 INPUT_FEATURE_SPY, TYPE_APPLICATION, null /* windowToken */, inputTransferToken, in testGrantInputChannel_allowSpyWindowForInputMonitorPermission() 1195 0 /* inputFeatures */, TYPE_APPLICATION, null /* windowToken */, inputTransferToken, in testUpdateInputChannel_sanitizeSpyWindowForApplications() 1219 0 /* inputFeatures */, TYPE_APPLICATION, null /* windowToken */, inputTransferToken, in testUpdateInputChannel_allowSpyWindowForInputMonitorPermission() 1245 INPUT_FEATURE_SENSITIVE_FOR_PRIVACY, TYPE_APPLICATION, null /* windowToken */, in testUpdateInputChannel_sanitizeInputFeatureSensitive_forUntrustedWindows()
|
D | FrameRateSelectionPriorityTests.java | 19 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 75 WindowState window = createWindow(null, TYPE_APPLICATION, name); in createWindow()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | InsetsStateTest.java | 42 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 109 SOFT_INPUT_ADJUST_RESIZE, 0, 0, TYPE_APPLICATION, ACTIVITY_TYPE_UNDEFINED, in testCalculateInsets() 128 SOFT_INPUT_ADJUST_RESIZE, 0, 0, TYPE_APPLICATION, ACTIVITY_TYPE_UNDEFINED, in testCalculateInsets_imeAndNav() 147 0, 0, 0, TYPE_APPLICATION, ACTIVITY_TYPE_UNDEFINED, null); in testCalculateInsets_navRightStatusTop() 162 0, 0, 0, TYPE_APPLICATION, ACTIVITY_TYPE_UNDEFINED, null); in testCalculateInsets_extraNavRightClimateTop() 177 SOFT_INPUT_ADJUST_NOTHING, 0, 0, TYPE_APPLICATION, ACTIVITY_TYPE_UNDEFINED, in testCalculateInsets_imeIgnoredWithoutAdjustResize() 193 SOFT_INPUT_ADJUST_NOTHING, 0, SYSTEM_UI_FLAG_LAYOUT_STABLE, TYPE_APPLICATION, in testCalculateInsets_systemUiFlagLayoutStable() 197 SOFT_INPUT_ADJUST_NOTHING, 0, 0 /* legacySystemUiFlags */, TYPE_APPLICATION, in testCalculateInsets_systemUiFlagLayoutStable() 209 TYPE_APPLICATION, ACTIVITY_TYPE_UNDEFINED, null); in testCalculateInsets_systemUiFlagLayoutStable_windowFlagFullscreen() 212 SOFT_INPUT_ADJUST_NOTHING, 0, 0 /* legacySystemUiFlags */, TYPE_APPLICATION, in testCalculateInsets_systemUiFlagLayoutStable_windowFlagFullscreen() [all …]
|
D | ImeInsetsSourceConsumerTest.java | 22 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 88 TYPE_APPLICATION, ACTIVITY_TYPE_UNDEFINED, in setup()
|
D | ViewRootImplTest.java | 43 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 179 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_layoutFullscreen() 190 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_layoutInScreen() 201 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_layoutHideNavigation() 230 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_fitSystemBars() 239 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_fitSystemBarsAndIme() 249 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_noAdjustLayout()
|
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
D | WindowManagerPermissionTests.java | 20 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 58 mWm.addWindowToken(null, TYPE_APPLICATION, DEFAULT_DISPLAY, null /* options */); in testMANAGE_APP_TOKENS()
|
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/ |
D | CarDisplayAreaPolicyProvider.java | 20 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 116 .and(TYPE_APPLICATION) in instantiate()
|
/frameworks/base/tests/SurfaceControlViewHostTest/src/com/android/test/viewembed/ |
D | EmbeddedWindowService.java | 20 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 103 new WindowManager.LayoutParams(width, height, TYPE_APPLICATION, in attachEmbedded()
|
D | SurfaceControlViewHostTest.java | 66 new WindowManager.LayoutParams(500, 500, WindowManager.LayoutParams.TYPE_APPLICATION, in addEmbeddedView()
|
/frameworks/base/tests/MultiDeviceInput/src/test/multideviceinput/ |
D | MainActivity.kt | 51 val wmlp = WindowManager.LayoutParams(WindowManager.LayoutParams.TYPE_APPLICATION) in onResume()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | SurfaceViewRequestReceiver.java | 80 WindowManager.LayoutParams.TYPE_APPLICATION, in onReceive()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | WindowManagerImpl.java | 22 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 300 0 /* legacySystemUiFlags */, SYSTEM_UI_FLAG_VISIBLE, TYPE_APPLICATION, in computeWindowInsets()
|
/frameworks/base/core/java/android/view/ |
D | SurfaceControlViewHost.java | 470 WindowManager.LayoutParams.TYPE_APPLICATION, 0, PixelFormat.TRANSPARENT); in setView() 538 WindowManager.LayoutParams.TYPE_APPLICATION, 0, PixelFormat.TRANSPARENT); in relayout()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageProperty.java | 20 import static android.content.pm.PackageManager.TYPE_APPLICATION; 80 if (componentType == TYPE_APPLICATION) { in queryProperty()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | DragResizeInputListener.java | 23 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 116 TYPE_APPLICATION, in DragResizeInputListener()
|