Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInsetsStateControllerTest.java29 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 …]
DInsetsSourceProviderTest.java22 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 …]
DImeInsetsSourceProviderTest.java19 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()
DWindowStateTests.java37 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 …]
DWindowTokenTests.java21 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()
DInsetsPolicyTest.java29 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 …]
DSurfaceControlViewHostTests.java22 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
125 TYPE_APPLICATION, 0, PixelFormat.OPAQUE); in requestFocusWithMultipleWindows()
127 TYPE_APPLICATION, 0, PixelFormat.OPAQUE); in requestFocusWithMultipleWindows()
DDisplayPolicyLayoutTests.java22 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
79 mWindow = spy(createWindow(null, TYPE_APPLICATION, "window")); in setUp()
DZOrderingTests.java26 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()
DDisplayContentTests.java54 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 …]
DWindowManagerServiceTests.java36 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()
DFrameRateSelectionPriorityTests.java19 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/
DInsetsStateTest.java42 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 …]
DImeInsetsSourceConsumerTest.java22 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
88 TYPE_APPLICATION, ACTIVITY_TYPE_UNDEFINED, in setup()
DViewRootImplTest.java43 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/
DWindowManagerPermissionTests.java20 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/
DCarDisplayAreaPolicyProvider.java20 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
116 .and(TYPE_APPLICATION) in instantiate()
/frameworks/base/tests/SurfaceControlViewHostTest/src/com/android/test/viewembed/
DEmbeddedWindowService.java20 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
103 new WindowManager.LayoutParams(width, height, TYPE_APPLICATION, in attachEmbedded()
DSurfaceControlViewHostTest.java66 new WindowManager.LayoutParams(500, 500, WindowManager.LayoutParams.TYPE_APPLICATION, in addEmbeddedView()
/frameworks/base/tests/MultiDeviceInput/src/test/multideviceinput/
DMainActivity.kt51 val wmlp = WindowManager.LayoutParams(WindowManager.LayoutParams.TYPE_APPLICATION) in onResume()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DSurfaceViewRequestReceiver.java80 WindowManager.LayoutParams.TYPE_APPLICATION, in onReceive()
/frameworks/layoutlib/bridge/src/android/view/
DWindowManagerImpl.java22 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/
DSurfaceControlViewHost.java470 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/
DPackageProperty.java20 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/
DDragResizeInputListener.java23 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
116 TYPE_APPLICATION, in DragResizeInputListener()

123