Home
last modified time | relevance | path

Searched refs:windowType (Results 1 – 25 of 34) sorted by relevance

12

/aosp12/frameworks/base/core/java/android/view/
H A DWindowManagerImpl.java161 private void assertWindowContextTypeMatches(@LayoutParams.WindowType int windowType) { in assertWindowContextTypeMatches() argument
167 if (windowType >= FIRST_SUB_WINDOW && windowType <= LAST_SUB_WINDOW) { in assertWindowContextTypeMatches()
171 if (windowProvider.getWindowType() == windowType) { in assertWindowContextTypeMatches()
176 + ", while LayoutParams' type is set to " + windowType + "." in assertWindowContextTypeMatches()
178 + " createWindowContext(getDisplay(), " + windowType + ", null)" in assertWindowContextTypeMatches()
179 + " to add window with type:" + windowType); in assertWindowContextTypeMatches()
H A DRemoteAnimationTarget.java213 public final @WindowManager.LayoutParams.WindowType int windowType; field in RemoteAnimationTarget
241 @WindowManager.LayoutParams.WindowType int windowType) { in RemoteAnimationTarget() argument
259 this.windowType = windowType; in RemoteAnimationTarget()
280 windowType = in.readInt(); in RemoteAnimationTarget()
308 dest.writeInt(windowType); in writeToParcel()
328 pw.print(prefix); pw.print("windowType="); pw.print(windowType); in dump()
H A DInsetsState.java201 int windowType, @WindowConfiguration.WindowingMode int windowingMode, in calculateInsets() argument
244 if (clearCompatInsets(windowType, legacyWindowFlags, windowingMode)) { in calculateInsets()
595 public static boolean clearCompatInsets(int windowType, int windowFlags, int windowingMode) { in clearCompatInsets() argument
597 && windowType != TYPE_WALLPAPER && windowType != TYPE_SYSTEM_ERROR in clearCompatInsets()
H A DInsetsController.java811 int windowType, int windowingMode, int legacySoftInputMode, int legacyWindowFlags, in calculateInsets() argument
813 mWindowType = windowType; in calculateInsets()
820 legacySystemUiFlags, windowType, windowingMode, null /* typeSideMap */); in calculateInsets()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowToken.java81 final int windowType; field in WindowToken
218 windowType = type; in WindowToken()
390 if (windowType == TYPE_DOCK_DIVIDER) { in assignLayer()
462 Rect getFixedRotationBarContentFrame(int windowType) { in getFixedRotationBarContentFrame() argument
467 return mFixedRotationTransformState.mBarContentFrames.get(windowType); in getFixedRotationBarContentFrame()
471 if (windowType == TYPE_NAVIGATION_BAR) { in getFixedRotationBarContentFrame()
475 if (windowType == TYPE_STATUS_BAR) { in getFixedRotationBarContentFrame()
725 pw.print(prefix); pw.print("windowType="); pw.print(windowType); in dump()
772 return mWmService.mPolicy.getWindowLayerFromTypeLw(windowType, mOwnerCanManageAppTokens, in getWindowLayerFromType()
795 return windowType; in getWindowType()
H A DRootDisplayArea.java115 return findAreaForWindowTypeInLayer(token.windowType, token.mOwnerCanManageAppTokens, in findAreaForTokenInLayer()
121 DisplayArea.Tokens findAreaForWindowTypeInLayer(int windowType, boolean ownerCanManageAppTokens, in findAreaForWindowTypeInLayer() argument
123 int windowLayerFromType = mWmService.mPolicy.getWindowLayerFromTypeLw(windowType, in findAreaForWindowTypeInLayer()
H A DWindowSurfaceController.java80 int flags, WindowStateAnimator animator, int windowType) { in WindowSurfaceController() argument
87 mWindowType = windowType; in WindowSurfaceController()
97 .setMetadata(METADATA_WINDOW_TYPE, windowType) in WindowSurfaceController()
H A DAccessibilityController.java1009 final int windowType = windowState.mAttrs.type; in recomputeBounds() local
1010 if (isExcludedWindowType(windowType) in recomputeBounds()
1112 private boolean isExcludedWindowType(int windowType) { in isExcludedWindowType() argument
1113 return windowType == TYPE_MAGNIFICATION_OVERLAY in isExcludedWindowType()
1117 || windowType == TYPE_ACCESSIBILITY_MAGNIFICATION_OVERLAY; in isExcludedWindowType()
1939 private static boolean isReportedWindowType(int windowType) { in isReportedWindowType() argument
1940 return (windowType != WindowManager.LayoutParams.TYPE_WALLPAPER in isReportedWindowType()
1941 && windowType != WindowManager.LayoutParams.TYPE_BOOT_PROGRESS in isReportedWindowType()
1943 && windowType != WindowManager.LayoutParams.TYPE_DRAG in isReportedWindowType()
1945 && windowType != WindowManager.LayoutParams.TYPE_POINTER in isReportedWindowType()
[all …]
H A DEmbeddedWindowController.java155 WindowState hostWindowState, int ownerUid, int ownerPid, int windowType, in EmbeddedWindow() argument
165 mWindowType = windowType; in EmbeddedWindow()
H A DShellRoot.java117 if (mToken.windowType != TYPE_DOCK_DIVIDER) { in startAnimation()
157 windowInfo.type = mToken.windowType; in getWindowInfo()
H A DDisplayAreaPolicyBuilder.java349 public RootDisplayArea apply(Integer windowType, Bundle options) { in apply() argument
753 return mSelectRootForWindowFunc.apply(token.windowType, token.mOptions) in findAreaForToken()
H A DDisplayPolicy.java2941 private Rect getBarContentFrameForWindow(WindowState win, int windowType) {
2942 final Rect rotatedBarFrame = win.mToken.getFixedRotationBarContentFrame(windowType);
2947 return mBarContentFrames.get(windowType);
2953 if (windowType == TYPE_NAVIGATION_BAR) {
2956 if (windowType == TYPE_STATUS_BAR) {
2973 boolean isFullyTransparentAllowed(WindowState win, int windowType) {
2977 return win.isFullyTransparentBarAllowed(getBarContentFrameForWindow(win, windowType));
H A DWindowStateAnimator.java297 WindowSurfaceController createSurfaceLocked(int windowType) { in createSurfaceLocked() argument
346 height, format, flags, this, windowType); in createSurfaceLocked()
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DRemoteAnimationTargetCompat.java73 public final int windowType; field in RemoteAnimationTargetCompat
100 windowType = app.windowType; in RemoteAnimationTargetCompat()
122 isNotInRecents, mStartLeash, startBounds, taskInfo, allowEnterPip, windowType in unwrap()
236 windowType = INVALID_WINDOW_TYPE; in RemoteAnimationTargetCompat()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
H A DSystemWindows.java170 IWindow getWindow(int displayId, int windowType) { in getWindow() argument
175 return pd.getWindow(windowType); in getWindow()
241 IWindow getWindow(int windowType) { in getWindow() argument
242 SysUiWindowManager wwm = mWwms.get(windowType); in getWindow()
/aosp12/packages/apps/Car/RotaryController/src/com/android/car/rotary/
H A DWindowCache.java68 void saveWindowType(int windowId, int windowType) { in saveWindowType() argument
76 mWindowTypes.put(windowId, windowType); in saveWindowType()
/aosp12/frameworks/base/core/tests/coretests/src/android/hardware/display/
H A DVirtualDisplayTest.java303 final int color, final int windowType, final int windowFlags) { in assertDisplayCanShowPresentation() argument
315 color, windowType, windowFlags); in assertDisplayCanShowPresentation()
368 int color, int windowType, int windowFlags) { in TestPresentation() argument
369 super(context, display, 0 /* theme */, windowType); in TestPresentation()
/aosp12/frameworks/base/core/java/android/service/wallpaper/
H A DIWallpaperService.aidl27 IBinder windowToken, int windowType, boolean isPreview, in attach() argument
/aosp12/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
H A DVolumeDialog.java31 void init(int windowType, Callback callback); in init() argument
/aosp12/frameworks/base/core/java/android/inputmethodservice/
H A DSoftInputWindow.java144 int windowType, int gravity, boolean takesFocus) { in SoftInputWindow() argument
150 mWindowType = windowType; in SoftInputWindow()
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWindowTokenTests.java228 verify(selectFunc).apply(token1.windowType, null); in testWindowAttachedWithOptions()
239 verify(selectFunc).apply(token2.windowType, options); in testWindowAttachedWithOptions()
H A DRemoteAnimationControllerTest.java632 if (nonAppsCaptor.getValue()[0].windowType == TYPE_NAVIGATION_BAR) { in testNonAppTarget_sendNavBar()
660 if (nonAppsCaptor.getValue()[0].windowType == TYPE_NAVIGATION_BAR) { in testNonAppTarget_notSendNavBar_notAttachToApp()
679 if (nonAppsCaptor.getValue()[0].windowType == TYPE_NAVIGATION_BAR) { in testNonAppTarget_notSendNavBar_controlledByFadeRotation()
698 if (nonAppsCaptor.getValue()[0].windowType == TYPE_NAVIGATION_BAR) { in testNonAppTarget_notSendNavBar_controlledByRecents()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
H A DRemoteAnimationTargets.java85 if (target.windowType == type) { in getNonAppTargetOfType()
H A DTaskViewUtils.java488 if (nonAppTargets[i].windowType == TYPE_DOCK_DIVIDER && leash != null) { in composeRecentsSplitLaunchAnimatorLegacy()
615 if (targ.windowType == TYPE_DOCK_DIVIDER && leash != null) { in setSplitAuxiliarySurfacesShown()
/aosp12/packages/services/Telephony/src/com/android/phone/
H A DPhoneUtils.java576 Phone phone, int windowType) { in createUssdDialog() argument
598 ussdDialog.getWindow().setType(windowType); in createUssdDialog()

12