Home
last modified time | relevance | path

Searched refs:TYPE_APPLICATION (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInsetsStateControllerTest.java30 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
64 final WindowState navBar = createWindow(null, TYPE_APPLICATION, "navBar"); in testStripForDispatch_navBar()
65 final WindowState statusBar = createWindow(null, TYPE_APPLICATION, "statusBar"); in testStripForDispatch_navBar()
66 final WindowState ime = createWindow(null, TYPE_APPLICATION, "ime"); in testStripForDispatch_navBar()
80 final WindowState statusBar = createWindow(null, TYPE_APPLICATION, "statusBar"); in testStripForDispatch_pip()
81 final WindowState navBar = createWindow(null, TYPE_APPLICATION, "navBar"); in testStripForDispatch_pip()
82 final WindowState app = createWindow(null, TYPE_APPLICATION, "app"); in testStripForDispatch_pip()
95 final WindowState statusBar = createWindow(null, TYPE_APPLICATION, "statusBar"); in testStripForDispatch_freeform()
96 final WindowState navBar = createWindow(null, TYPE_APPLICATION, "navBar"); in testStripForDispatch_freeform()
97 final WindowState app = createWindow(null, TYPE_APPLICATION, "app"); in testStripForDispatch_freeform()
[all …]
DInsetsSourceProviderTest.java21 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 …]
DImeInsetsSourceProviderTest.java20 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
53 final WindowState appWin = createWindow(null, TYPE_APPLICATION, "app"); in testTransparentControlTargetWindowCanShowIme()
54 final WindowState popup = createWindow(appWin, TYPE_APPLICATION, "popup"); in testTransparentControlTargetWindowCanShowIme()
64 WindowState target = createWindow(null, TYPE_APPLICATION, "app"); in testInputMethodInputTargetCanShowIme()
76 WindowState target = createWindow(null, TYPE_APPLICATION, "app"); in testIsImeShowing()
DWindowStateTests.java32 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
123 final WindowState parentWindow = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testIsParentWindowHidden()
141 final WindowState parentWindow = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testIsChildWindow()
144 final WindowState randomWindow = createWindow(null, TYPE_APPLICATION, "randomWindow"); in testIsChildWindow()
154 final WindowState win1 = createWindow(null, TYPE_APPLICATION, "win1"); in testHasChild()
157 final WindowState win2 = createWindow(null, TYPE_APPLICATION, "win2"); in testHasChild()
159 final WindowState randomWindow = createWindow(null, TYPE_APPLICATION, "randomWindow"); in testHasChild()
175 final WindowState parentWindow = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testGetParentWindow()
196 final WindowState root = createWindow(null, TYPE_APPLICATION, "root"); in testGetTopParentWindow()
213 final WindowState window = createWindow(null, TYPE_APPLICATION, "window"); in testIsOnScreen_hiddenByPolicy()
[all …]
DWindowTokenTests.java21 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
67 final WindowState window1 = createWindow(null, TYPE_APPLICATION, token, "window1"); in testAddWindow()
70 final WindowState window2 = createWindow(null, TYPE_APPLICATION, token, "window2"); in testAddWindow()
71 final WindowState window3 = createWindow(null, TYPE_APPLICATION, token, "window3"); in testAddWindow()
101 final WindowState window1 = createWindow(null, TYPE_APPLICATION, token, "window1"); in testChildRemoval()
102 final WindowState window2 = createWindow(null, TYPE_APPLICATION, token, "window2"); in testChildRemoval()
254 final WindowState app = createWindow(null, TYPE_APPLICATION, "app"); in testSetInsetsFrozen_notAffectImeWindowState()
DInsetsPolicyTest.java28 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
88 ACTIVITY_TYPE_STANDARD, TYPE_APPLICATION, mDisplayContent, "app"); in testControlsForDispatch_dockedStackVisible()
101 ACTIVITY_TYPE_STANDARD, TYPE_APPLICATION, mDisplayContent, "app"); in testControlsForDispatch_freeformStackVisible()
181 final WindowState fullscreenApp = addWindow(TYPE_APPLICATION, "fullscreenApp"); in testControlsForDispatch_topAppHidesStatusBar()
187 final WindowState dialog = addWindow(TYPE_APPLICATION, "dialog"); in testControlsForDispatch_topAppHidesStatusBar()
216 final WindowState newFocusedFullscreenApp = addWindow(TYPE_APPLICATION, "newFullscreenApp"); in testControlsForDispatch_topAppHidesStatusBar()
393 final WindowState app = addWindow(TYPE_APPLICATION, "app"); in testShowTransientBars_abortsWhenControlTargetChanges()
394 final WindowState app2 = addWindow(TYPE_APPLICATION, "app"); in testShowTransientBars_abortsWhenControlTargetChanges()
420 return addWindowAndGetControlsForDispatch(addWindow(TYPE_APPLICATION, "app")); in addAppWindowAndGetControlsForDispatch()
DWindowManagerServiceTests.java25 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
102 WindowState focusedWindow = createAppWindow(focusedTask, TYPE_APPLICATION, "App Window"); in testTaskFocusChange_rootTaskNotHomeType_focusChanges()
123 WindowState focusedWindow = createAppWindow(focusedTask, TYPE_APPLICATION, "App Window"); in testTaskFocusChange_rootTaskHomeTypeWithSameTaskDisplayArea_focusDoesNotChange()
146 WindowState focusedWindow = createAppWindow(focusedTask, TYPE_APPLICATION, "App Window"); in testTaskFocusChange_rootTaskHomeTypeWithDifferentTaskDisplayArea_focusChanges()
221 doReturn(TYPE_APPLICATION).when(mWm.mWindowContextListenerController) in testAttachWindowContextToWindowToken_DifferentWindowType_ThrowException()
DDisplayContentTests.java48 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
291 final WindowState appWin = createWindow(null, TYPE_APPLICATION, mDisplayContent, "appWin"); in testComputeImeTarget()
551 TYPE_WALLPAPER, TYPE_APPLICATION); in testShouldWaitForSystemDecorWindowsOnBoot_OnDefaultDisplay()
572 TYPE_WALLPAPER, TYPE_APPLICATION); in testShouldWaitForSystemDecorWindowsOnBoot_OnSecondaryDisplay()
591 final WindowState ws = createWindow(null, TYPE_APPLICATION, dc, "app window"); in testImeIsAttachedToDisplayForLetterboxedApp()
912 final WindowState appWin = createWindow(null, TYPE_APPLICATION, mDisplayContent, "appWin"); in testInputMethodTargetUpdateWhenSwitchingOnDisplays()
917 final WindowState appWin1 = createWindow(null, TYPE_APPLICATION, newDisplay, "appWin1"); in testInputMethodTargetUpdateWhenSwitchingOnDisplays()
1166 final WindowState win2 = createWindow(null, TYPE_APPLICATION, dc, "win2"); in testCalculateSystemGestureExclusion()
1194 final WindowState win2 = createWindow(null, TYPE_APPLICATION, dc, "modal"); in testCalculateSystemGestureExclusion_modal()
1728 WindowState activityWindow = createAppWindow(task, TYPE_APPLICATION, "App Window"); in testFindScrollCaptureTargetWindow_behindWindow()
[all …]
DDisplayPolicyTests.java34 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
84 final WindowState win = spy(createWindow(null, TYPE_APPLICATION, "dimmingDialog")); in createDimmingDialogWindow()
254 final WindowState win = createWindow(null, TYPE_APPLICATION, "Application"); in createApplicationWindow()
DFrameRateSelectionPriorityTests.java19 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
61 WindowState window = createWindow(null, TYPE_APPLICATION, name); in createWindow()
DWindowFrameTests.java24 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
316 …final WindowState ws = createWindow(null, TYPE_APPLICATION, mTestDisplayContent, "WindowFrameTests… in createWindow()
DWallpaperControllerTests.java24 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
237 WindowState otherWindow = createWindow(null /* parent */, TYPE_APPLICATION, dc, in testWallpaperZoom_multipleCallers()
DDisplayAreaTest.java21 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
411 final WindowToken windowToken = createWindowToken(TYPE_APPLICATION); in testSetMaxBounds()
/frameworks/base/core/tests/coretests/src/android/view/
DInsetsStateTest.java45 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
90 false, SOFT_INPUT_ADJUST_RESIZE, 0, 0, TYPE_APPLICATION, WINDOWING_MODE_UNDEFINED, in testCalculateInsets()
107 false, SOFT_INPUT_ADJUST_RESIZE, 0, 0, TYPE_APPLICATION, WINDOWING_MODE_UNDEFINED, in testCalculateInsets_imeAndNav()
124 false, 0, 0, 0, TYPE_APPLICATION, WINDOWING_MODE_UNDEFINED, null); in testCalculateInsets_navRightStatusTop()
137 false, 0, 0, 0, TYPE_APPLICATION, WINDOWING_MODE_UNDEFINED, null); in testCalculateInsets_extraNavRightClimateTop()
152 false, SOFT_INPUT_ADJUST_NOTHING, 0, 0, TYPE_APPLICATION, WINDOWING_MODE_UNDEFINED, in testCalculateInsets_imeIgnoredWithoutAdjustResize()
166 false, SOFT_INPUT_ADJUST_NOTHING, 0, SYSTEM_UI_FLAG_LAYOUT_STABLE, TYPE_APPLICATION, in testCalculateInsets_systemUiFlagLayoutStable()
170 SOFT_INPUT_ADJUST_NOTHING, 0, 0 /* legacySystemUiFlags */, TYPE_APPLICATION, in testCalculateInsets_systemUiFlagLayoutStable()
181 TYPE_APPLICATION, WINDOWING_MODE_UNDEFINED, null); in testCalculateInsets_systemUiFlagLayoutStable_windowFlagFullscreen()
184 SOFT_INPUT_ADJUST_NOTHING, 0, 0 /* legacySystemUiFlags */, TYPE_APPLICATION, in testCalculateInsets_systemUiFlagLayoutStable_windowFlagFullscreen()
[all …]
DViewRootImplTest.java29 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
82 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_layoutFullscreen()
92 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_layoutInScreen()
102 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_layoutHideNavigation()
128 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_fitSystemBars()
136 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_fitSystemBarsAndIme()
145 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_noAdjustLayout()
DImeInsetsSourceConsumerTest.java22 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
86 TYPE_APPLICATION, WINDOWING_MODE_UNDEFINED, in setup()
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
DWindowManagerPermissionTests.java20 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
57 mWm.addWindowToken(null, TYPE_APPLICATION, DEFAULT_DISPLAY, null /* options */); in testMANAGE_APP_TOKENS()
/frameworks/layoutlib/bridge/src/android/view/
DWindowManagerImpl.java20 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
168 SOFT_INPUT_ADJUST_NOTHING, 0, SYSTEM_UI_FLAG_VISIBLE, TYPE_APPLICATION, in computeWindowInsets()
/frameworks/base/core/java/android/view/
DSurfaceControlViewHost.java252 WindowManager.LayoutParams.TYPE_APPLICATION, 0, PixelFormat.TRANSPARENT); in setView()
311 WindowManager.LayoutParams.TYPE_APPLICATION, 0, PixelFormat.TRANSPARENT); in relayout()
DInsetsAnimationControlImpl.java39 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
370 0 /* legacyWindowFlags */, 0 /* legacySystemUiFlags */, TYPE_APPLICATION, in getInsetsFromState()
/frameworks/base/tests/SurfaceControlViewHostTest/src/com/android/test/viewembed/
DSurfaceControlViewHostTest.java66 new WindowManager.LayoutParams(500, 500, WindowManager.LayoutParams.TYPE_APPLICATION, in addEmbeddedView()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DSurfaceViewRequestReceiver.java83 WindowManager.LayoutParams.TYPE_APPLICATION, in onReceive()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageProperty.java20 import static android.content.pm.PackageManager.TYPE_APPLICATION;
80 if (componentType == TYPE_APPLICATION) { in queryProperty()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityWindowInfo.java53 public static final int TYPE_APPLICATION = 1; field in AccessibilityWindowInfo
760 case TYPE_APPLICATION: { in typeToString()
/frameworks/base/core/java/android/service/autofill/
DInlineSuggestionRenderService.java165 measuredSize.getHeight(), WindowManager.LayoutParams.TYPE_APPLICATION, 0, in handleRenderSuggestion()

12