/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | InsetsStateControllerTest.java | 29 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 74 final WindowState statusBar = createWindow(null, TYPE_APPLICATION, "statusBar"); in testStripForDispatch_notOwn() 75 final WindowState app = createWindow(null, TYPE_APPLICATION, "app"); in testStripForDispatch_notOwn() 83 final WindowState statusBar = createWindow(null, TYPE_APPLICATION, "statusBar"); in testStripForDispatch_own() 93 final WindowState navBar = createWindow(null, TYPE_APPLICATION, "navBar"); in testStripForDispatch_navBar() 94 final WindowState statusBar = createWindow(null, TYPE_APPLICATION, "statusBar"); in testStripForDispatch_navBar() 95 final WindowState ime = createWindow(null, TYPE_APPLICATION, "ime"); in testStripForDispatch_navBar() 109 final WindowState statusBar = createWindow(null, TYPE_APPLICATION, "statusBar"); in testStripForDispatch_pip() 110 final WindowState navBar = createWindow(null, TYPE_APPLICATION, "navBar"); in testStripForDispatch_pip() 111 final WindowState app = createWindow(null, TYPE_APPLICATION, "app"); in testStripForDispatch_pip() [all …]
|
D | InsetsSourceProviderTest.java | 21 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 63 final WindowState statusBar = createWindow(null, TYPE_APPLICATION, "statusBar"); in testPostLayout() 78 final WindowState ime = createWindow(null, TYPE_APPLICATION, "ime"); in testPostLayout_givenInsets() 96 final WindowState statusBar = createWindow(null, TYPE_APPLICATION, "statusBar"); in testPostLayout_invisible() 106 final WindowState statusBar = createWindow(null, TYPE_APPLICATION, "statusBar"); in testPostLayout_frameProvider() 119 final WindowState statusBar = createWindow(null, TYPE_APPLICATION, "statusBar"); in testUpdateControlForTarget() 120 final WindowState target = createWindow(null, TYPE_APPLICATION, "target"); in testUpdateControlForTarget() 164 final WindowState statusBar = createWindow(null, TYPE_APPLICATION, "statusBar"); in testUpdateControlForFakeTarget() 165 final WindowState target = createWindow(null, TYPE_APPLICATION, "target"); in testUpdateControlForFakeTarget() 201 final WindowState statusBar = createWindow(null, TYPE_APPLICATION, "statusBar"); in testInsetsModified() [all …]
|
D | WindowStateTests.java | 29 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 113 final WindowState parentWindow = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testIsParentWindowHidden() 131 final WindowState parentWindow = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testIsChildWindow() 134 final WindowState randomWindow = createWindow(null, TYPE_APPLICATION, "randomWindow"); in testIsChildWindow() 144 final WindowState win1 = createWindow(null, TYPE_APPLICATION, "win1"); in testHasChild() 147 final WindowState win2 = createWindow(null, TYPE_APPLICATION, "win2"); in testHasChild() 149 final WindowState randomWindow = createWindow(null, TYPE_APPLICATION, "randomWindow"); in testHasChild() 165 final WindowState parentWindow = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testGetParentWindow() 186 final WindowState root = createWindow(null, TYPE_APPLICATION, "root"); in testGetTopParentWindow() 203 final WindowState window = createWindow(null, TYPE_APPLICATION, "window"); in testIsOnScreen_hiddenByPolicy() [all …]
|
D | FrameRateSelectionPriorityTests.java | 19 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 46 final WindowState appWindow = createWindow(null, TYPE_APPLICATION, "appWindow"); in basicTest() 65 final WindowState appWindow = createWindow(null, TYPE_APPLICATION, "appWindow"); in testApplicationInFocusWithoutModeId() 87 final WindowState appWindow = createWindow(null, TYPE_APPLICATION, "appWindow"); in testApplicationInFocusWithModeId() 118 final WindowState appWindow = createWindow(null, TYPE_APPLICATION, "appWindow"); in testApplicationNotInFocusWithModeId() 121 final WindowState inFocusWindow = createWindow(null, TYPE_APPLICATION, "inFocus"); in testApplicationNotInFocusWithModeId() 142 final WindowState appWindow = createWindow(null, TYPE_APPLICATION, "appWindow"); in testApplicationNotInFocusWithoutModeId() 145 final WindowState inFocusWindow = createWindow(null, TYPE_APPLICATION, "inFocus"); in testApplicationNotInFocusWithoutModeId()
|
D | ImeInsetsSourceProviderTest.java | 20 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 51 final WindowState appWin = createWindow(null, TYPE_APPLICATION, "app"); in testTransparentControlTargetWindowCanShowIme() 52 final WindowState popup = createWindow(appWin, TYPE_APPLICATION, "popup"); in testTransparentControlTargetWindowCanShowIme()
|
D | WindowTokenTests.java | 21 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 59 final WindowState window1 = createWindow(null, TYPE_APPLICATION, token, "window1"); in testAddWindow() 62 final WindowState window2 = createWindow(null, TYPE_APPLICATION, token, "window2"); in testAddWindow() 63 final WindowState window3 = createWindow(null, TYPE_APPLICATION, token, "window3"); in testAddWindow() 89 final WindowState window1 = createWindow(null, TYPE_APPLICATION, token, "window1"); in testChildRemoval() 90 final WindowState window2 = createWindow(null, TYPE_APPLICATION, token, "window2"); in testChildRemoval()
|
D | InsetsPolicyTest.java | 29 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 100 ACTIVITY_TYPE_STANDARD, TYPE_APPLICATION, mDisplayContent, "app"); in testControlsForDispatch_dockedStackVisible() 113 ACTIVITY_TYPE_STANDARD, TYPE_APPLICATION, mDisplayContent, "app"); in testControlsForDispatch_freeformStackVisible() 192 final WindowState fullscreenApp = addWindow(TYPE_APPLICATION, "fullscreenApp"); in testControlsForDispatch_topAppHidesStatusBar() 198 final WindowState dialog = addWindow(TYPE_APPLICATION, "dialog"); in testControlsForDispatch_topAppHidesStatusBar() 333 final WindowState app = addWindow(TYPE_APPLICATION, "app"); in testShowTransientBars_abortsWhenControlTargetChanges() 334 final WindowState app2 = addWindow(TYPE_APPLICATION, "app"); in testShowTransientBars_abortsWhenControlTargetChanges() 361 return addWindowAndGetControlsForDispatch(addWindow(TYPE_APPLICATION, "app")); in addAppWindowAndGetControlsForDispatch()
|
D | WindowManagerServiceTests.java | 24 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 129 WindowState focusedWindow = createAppWindow(focusedTask, TYPE_APPLICATION, "App Window"); in testTaskFocusChange_stackNotHomeType_focusChanges() 150 WindowState focusedWindow = createAppWindow(focusedTask, TYPE_APPLICATION, "App Window"); in testTaskFocusChange_stackHomeTypeWithSameTaskDisplayArea_focusDoesNotChange() 175 WindowState focusedWindow = createAppWindow(focusedTask, TYPE_APPLICATION, "App Window"); in testTaskFocusChange_stackHomeTypeWithDifferentTaskDisplayArea_focusChanges()
|
D | RootWindowContainerTests.java | 22 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 66 final WindowState app = createWindow(null, TYPE_APPLICATION, "app", FAKE_CALLING_UID); in testIsAnyNonToastWindowVisibleForUid_oneToastOneAppStartOneNonToastBothVisible() 104 final WindowState app = createWindow(null, TYPE_APPLICATION, "app", FAKE_CALLING_UID); in testIsAnyNonToastWindowVisibleForUid_aFewNonToastButNoneVisible()
|
D | AppWindowTokenTests.java | 32 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 105 final WindowState win1 = createWindow(null, TYPE_APPLICATION, mActivity, "win1"); in testAddWindow_Order() 109 final WindowState win4 = createWindow(null, TYPE_APPLICATION, mActivity, "win4"); in testAddWindow_Order() 149 final WindowState window11 = createWindow(null, TYPE_APPLICATION, mActivity, "window11"); in testGetTopFullscreenOpaqueWindow() 150 final WindowState window12 = createWindow(null, TYPE_APPLICATION, mActivity, "window12"); in testGetTopFullscreenOpaqueWindow()
|
D | WindowOrganizerTests.java | 31 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 716 final WindowState w = createAppWindow(task, TYPE_APPLICATION, "Enlightened Window"); in testOverlappingBLASTCallback() 742 final WindowState w = createAppWindow(task, TYPE_APPLICATION, "Enlightened Window"); in testBLASTCallbackWithWindow() 766 final WindowState w = createAppWindow(task, TYPE_APPLICATION, "Enlightened Window"); in testBLASTCallbackNoDoubleAdd() 788 final WindowState w = createAppWindow(task, TYPE_APPLICATION, "Enlightened Window"); in testBLASTCallbackWithInvisibleWindow() 810 final WindowState w = createAppWindow(task, TYPE_APPLICATION, "Enlightened Window"); in testBLASTCallbackWithChildWindow() 811 final WindowState child = createWindow(w, TYPE_APPLICATION, "Other Window"); in testBLASTCallbackWithChildWindow() 989 final WindowState w1 = createAppWindow(task, TYPE_APPLICATION, "Enlightened Window 1"); in testBLASTCallbackWithMultipleWindows() 990 final WindowState w2 = createAppWindow(task, TYPE_APPLICATION, "Enlightened Window 2"); in testBLASTCallbackWithMultipleWindows()
|
D | DisplayContentTests.java | 43 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 261 final WindowState appWin = createWindow(null, TYPE_APPLICATION, mDisplayContent, "appWin"); in testComputeImeTarget() 484 TYPE_WALLPAPER, TYPE_APPLICATION); in testShouldWaitForSystemDecorWindowsOnBoot_OnDefaultDisplay() 504 TYPE_WALLPAPER, TYPE_APPLICATION); in testShouldWaitForSystemDecorWindowsOnBoot_OnSecondaryDisplay() 766 final WindowState appWin = createWindow(null, TYPE_APPLICATION, mDisplayContent, "appWin"); in testInputMethodTargetUpdateWhenSwitchingOnDisplays() 767 final WindowState appWin1 = createWindow(null, TYPE_APPLICATION, newDisplay, "appWin1"); in testInputMethodTargetUpdateWhenSwitchingOnDisplays() 998 final WindowState win2 = createWindow(null, TYPE_APPLICATION, dc, "win2"); in testCalculateSystemGestureExclusion() 1026 final WindowState win2 = createWindow(null, TYPE_APPLICATION, dc, "modal"); in testCalculateSystemGestureExclusion_modal() 1431 WindowState activityWindow = createAppWindow(task, TYPE_APPLICATION, "App Window"); in testFindScrollCaptureTargetWindow_behindWindow() 1444 WindowState window = createAppWindow(task, TYPE_APPLICATION, "App Window"); in testFindScrollCaptureTargetWindow_taskId()
|
D | DisplayPolicyTests.java | 38 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 91 final WindowState win = spy(createWindow(null, TYPE_APPLICATION, "dimmingDialog")); in createDimmingDialogWindow() 270 final WindowState win = createWindow(null, TYPE_APPLICATION, "Application"); in createApplicationWindow()
|
D | WallpaperControllerTests.java | 24 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 228 WindowState otherWindow = createWindow(null /* parent */, TYPE_APPLICATION, dc, in testWallpaperZoom_multipleCallers()
|
D | WindowFrameTests.java | 24 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 500 …final WindowState ws = createWindow(null, TYPE_APPLICATION, mTestDisplayContent, "WindowFrameTests… in createWindow()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewRootImplTest.java | 27 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION; 71 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_layoutFullscreen() 81 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_layoutInScreen() 91 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_layoutHideNavigation() 117 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_fitSystemBars() 126 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; 59 mWm.addWindowToken(null, TYPE_APPLICATION, DEFAULT_DISPLAY); in testMANAGE_APP_TOKENS() 183 mWm.addWindowTokenWithOptions(null, TYPE_APPLICATION, DEFAULT_DISPLAY, null, ""); in testADD_WINDOW_TOKEN_WITH_OPTIONS() 194 mWm.addWindowTokenWithOptions(null, TYPE_APPLICATION, DEFAULT_DISPLAY, null, null); in testADD_WINDOW_TOKEN_WITH_OPTIONS()
|
/frameworks/base/core/java/android/view/ |
D | SurfaceControlViewHost.java | 228 WindowManager.LayoutParams.TYPE_APPLICATION, 0, PixelFormat.TRANSPARENT); in setView() 277 WindowManager.LayoutParams.TYPE_APPLICATION, 0, PixelFormat.TRANSPARENT); in relayout()
|
D | WindowManager.java | 712 @ViewDebug.IntToString(from = TYPE_APPLICATION, 818 public static final int TYPE_APPLICATION = 2; field in WindowManager.LayoutParams 1243 TYPE_APPLICATION, 2967 type = TYPE_APPLICATION; in LayoutParams()
|
/frameworks/base/tests/SurfaceControlViewHostTest/src/com/android/test/viewembed/ |
D | SurfaceControlViewHostTest.java | 67 new WindowManager.LayoutParams(500, 500, WindowManager.LayoutParams.TYPE_APPLICATION, in addEmbeddedView()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | SurfaceViewRequestReceiver.java | 83 WindowManager.LayoutParams.TYPE_APPLICATION, in onReceive()
|
/frameworks/native/include/input/ |
D | InputWindow.h | 72 TYPE_APPLICATION = 2, enumerator
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityWindowInfo.java | 53 public static final int TYPE_APPLICATION = 1; field in AccessibilityWindowInfo 760 case TYPE_APPLICATION: { in typeToString()
|
/frameworks/native/services/inputflinger/benchmarks/ |
D | InputDispatcher_benchmarks.cpp | 165 mInfo.layoutParamsType = InputWindowInfo::TYPE_APPLICATION; in updateInfo()
|
/frameworks/base/core/java/android/service/autofill/ |
D | InlineSuggestionRenderService.java | 167 measuredSize.getHeight(), WindowManager.LayoutParams.TYPE_APPLICATION, 0, in handleRenderSuggestion()
|