Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/wm/
DRootDisplayArea.java131 return findAreaForWindowTypeInLayer(token.windowType, token.mOwnerCanManageAppTokens, in findAreaForTokenInLayer()
137 DisplayArea.Tokens findAreaForWindowTypeInLayer(int windowType, boolean ownerCanManageAppTokens, in findAreaForWindowTypeInLayer() argument
139 int windowLayerFromType = mWmService.mPolicy.getWindowLayerFromTypeLw(windowType, in findAreaForWindowTypeInLayer()
DInsetsSourceProvider.java261 final int windowType = mOverrideFrameProviders.keyAt(i); in updateSourceFrame() local
263 if (mOverrideFrames.contains(windowType)) { in updateSourceFrame()
264 overrideFrame = mOverrideFrames.get(windowType); in updateSourceFrame()
270 mOverrideFrameProviders.get(windowType); in updateSourceFrame()
272 mOverrideFrameProviders.get(windowType).apply( in updateSourceFrame()
276 mOverrideFrames.put(windowType, overrideFrame); in updateSourceFrame()
669 boolean overridesFrame(int windowType) { in overridesFrame() argument
670 return mOverrideFrames.contains(windowType); in overridesFrame()
673 Rect getOverriddenFrame(int windowType) { in getOverriddenFrame() argument
674 return mOverrideFrames.get(windowType); in getOverriddenFrame()
DWindowSurfaceController.java62 int windowType) { in WindowSurfaceController() argument
69 mWindowType = windowType; in WindowSurfaceController()
78 .setMetadata(METADATA_WINDOW_TYPE, windowType) in WindowSurfaceController()
DImeTargetChangeListener.java42 @WindowManager.LayoutParams.WindowType int windowType, in onImeTargetOverlayVisibilityChanged() argument
DWindowToken.java69 final int windowType; field in WindowToken
227 windowType = type; in WindowToken()
721 pw.print(prefix); pw.print("windowType="); pw.print(windowType); in dump()
734 + " type=" + windowType + " " + token + "}"; in toString()
750 return mWmService.mPolicy.getWindowLayerFromTypeLw(windowType, mOwnerCanManageAppTokens, in getWindowLayerFromType()
773 return windowType; in getWindowType()
DAccessibilityController.java972 final int windowType = windowState.mAttrs.type; in recomputeBounds() local
973 if (isExcludedWindowType(windowType) in recomputeBounds()
1094 private boolean isExcludedWindowType(int windowType) { in isExcludedWindowType() argument
1095 return windowType == TYPE_MAGNIFICATION_OVERLAY in isExcludedWindowType()
1099 || windowType == TYPE_ACCESSIBILITY_MAGNIFICATION_OVERLAY; in isExcludedWindowType()
1969 private static boolean isReportedWindowType(int windowType) { in isReportedWindowType() argument
1970 return (windowType != WindowManager.LayoutParams.TYPE_WALLPAPER in isReportedWindowType()
1971 && windowType != WindowManager.LayoutParams.TYPE_BOOT_PROGRESS in isReportedWindowType()
1972 && windowType != WindowManager.LayoutParams.TYPE_DISPLAY_OVERLAY in isReportedWindowType()
1973 && windowType != WindowManager.LayoutParams.TYPE_DRAG in isReportedWindowType()
[all …]
DEmbeddedWindowController.java238 WindowState hostWindowState, int ownerUid, int ownerPid, int windowType, in EmbeddedWindow() argument
249 mWindowType = windowType; in EmbeddedWindow()
DShellRoot.java116 if (mToken.windowType != TYPE_DOCK_DIVIDER) { in startAnimation()
DInsetsPolicy.java304 final int windowType = attrs.type; in enforceInsetsPolicyForTarget() local
307 if (otherProvider.overridesFrame(windowType)) { in enforceInsetsPolicyForTarget()
312 override.setFrame(otherProvider.getOverriddenFrame(windowType)); in enforceInsetsPolicyForTarget()
DDisplayAreaPolicyBuilder.java389 public RootDisplayArea apply(Integer windowType, Bundle options) { in apply() argument
848 return mSelectRootForWindowFunc.apply(token.windowType, token.mOptions) in findAreaForToken()
/frameworks/base/core/java/android/view/
DRemoteAnimationTarget.java222 public final @WindowManager.LayoutParams.WindowType int windowType; field in RemoteAnimationTarget
271 @WindowManager.LayoutParams.WindowType int windowType) { in RemoteAnimationTarget() argument
288 this.windowType = windowType; in RemoteAnimationTarget()
319 windowType = in.readInt(); in RemoteAnimationTarget()
371 dest.writeInt(windowType); in writeToParcel()
395 pw.print(prefix); pw.print("windowType="); pw.println(windowType); in dump()
DWindowManagerImpl.java181 private void assertWindowContextTypeMatches(@LayoutParams.WindowType int windowType) { in assertWindowContextTypeMatches() argument
187 if (windowType >= FIRST_SUB_WINDOW && windowType <= LAST_SUB_WINDOW) { in assertWindowContextTypeMatches()
191 if (windowProvider.getWindowType() == windowType) { in assertWindowContextTypeMatches()
196 + ", while LayoutParams' type is set to " + windowType + "." in assertWindowContextTypeMatches()
198 + " createWindowContext(getDisplay(), " + windowType + ", null)" in assertWindowContextTypeMatches()
199 + " to add window with type:" + windowType); in assertWindowContextTypeMatches()
DInsetsState.java122 int legacySystemUiFlags, int windowType, @ActivityType int activityType, in calculateInsets() argument
171 if (clearsCompatInsets(windowType, legacyWindowFlags, activityType, forceConsumingTypes)) { in calculateInsets()
281 public Insets calculateVisibleInsets(Rect frame, int windowType, @ActivityType int activityType, in calculateVisibleInsets() argument
299 return clearsCompatInsets(windowType, windowFlags, activityType, forceConsumingTypes) in calculateVisibleInsets()
644 public static boolean clearsCompatInsets(int windowType, int windowFlags, in clearsCompatInsets() argument
649 && windowType != TYPE_WALLPAPER && windowType != TYPE_SYSTEM_ERROR in clearsCompatInsets()
DInsetsFrameProvider.java360 public InsetsSizeOverride(int windowType, Insets insetsSize) { in InsetsSizeOverride() argument
361 mWindowType = windowType; in InsetsSizeOverride()
DInsetsController.java935 public WindowInsets calculateInsets(boolean isScreenRound, int windowType, int activityType, in calculateInsets() argument
937 mWindowType = windowType; in calculateInsets()
944 legacySystemUiFlags, windowType, activityType, null /* idSideMap */); in calculateInsets()
951 public Insets calculateVisibleInsets(int windowType, int activityType, in calculateVisibleInsets() argument
953 return mState.calculateVisibleInsets(mFrame, windowType, activityType, softInputMode, in calculateVisibleInsets()
/frameworks/base/core/java/android/service/wallpaper/
DIWallpaperService.aidl28 IBinder windowToken, int windowType, boolean isPreview, in attach() argument
DWallpaperService.java2469 int windowType, boolean isPreview, int reqWidth, int reqHeight, Rect padding, in IWallpaperEngineWrapper() argument
2475 mWindowType = windowType; in IWallpaperEngineWrapper()
2821 int windowType, boolean isPreview, int reqWidth, int reqHeight, Rect padding, in attach() argument
2825 new IWallpaperEngineWrapper(mTarget, conn, windowToken, windowType, in attach()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DVolumeDialog.java31 void init(int windowType, Callback callback); in init() argument
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DSystemWindows.java173 IWindow getWindow(int displayId, int windowType) { in getWindow() argument
178 return pd.getWindow(windowType); in getWindow()
256 IWindow getWindow(int windowType) { in getWindow() argument
257 SysUiWindowManager wwm = mWwms.get(windowType); in getWindow()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityWindowManager.java630 private static boolean isReportedWindowType(int windowType) { in isReportedWindowType() argument
631 return (windowType != WindowManager.LayoutParams.TYPE_WALLPAPER in isReportedWindowType()
632 && windowType != WindowManager.LayoutParams.TYPE_BOOT_PROGRESS in isReportedWindowType()
633 && windowType != WindowManager.LayoutParams.TYPE_DISPLAY_OVERLAY in isReportedWindowType()
634 && windowType != WindowManager.LayoutParams.TYPE_DRAG in isReportedWindowType()
635 && windowType != WindowManager.LayoutParams.TYPE_INPUT_CONSUMER in isReportedWindowType()
636 && windowType != WindowManager.LayoutParams.TYPE_POINTER in isReportedWindowType()
637 && windowType != TYPE_MAGNIFICATION_OVERLAY in isReportedWindowType()
638 && windowType != WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA_OVERLAY in isReportedWindowType()
639 && windowType != WindowManager.LayoutParams.TYPE_SECURE_SYSTEM_OVERLAY in isReportedWindowType()
[all …]
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionWindow.java147 int windowType, int gravity, boolean takesFocus) { in VoiceInteractionWindow() argument
153 mWindowType = windowType; in VoiceInteractionWindow()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowTokenTests.java243 verify(selectFunc).apply(token1.windowType, null); in testWindowAttachedWithOptions()
254 verify(selectFunc).apply(token2.windowType, options); in testWindowAttachedWithOptions()
DRemoteAnimationControllerTest.java680 if (nonAppsCaptor.getValue()[0].windowType == TYPE_NAVIGATION_BAR) { in testNonAppTarget_sendNavBar()
708 if (nonAppsCaptor.getValue()[0].windowType == TYPE_NAVIGATION_BAR) { in testNonAppTarget_notSendNavBar_notAttachToApp()
727 if (nonAppsCaptor.getValue()[0].windowType == TYPE_NAVIGATION_BAR) { in testNonAppTarget_notSendNavBar_controlledByFadeRotation()
746 if (nonAppsCaptor.getValue()[0].windowType == TYPE_NAVIGATION_BAR) { in testNonAppTarget_notSendNavBar_controlledByRecents()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DImeVisibilityStateComputer.java202 @WindowManager.LayoutParams.WindowType int windowType, boolean visible, in ImeVisibilityStateComputer()
207 (visible && !removed && windowType != TYPE_APPLICATION_STARTING) in ImeVisibilityStateComputer()
/frameworks/base/core/java/android/window/
DSnapshotDrawerUtils.java410 CharSequence title, @WindowManager.LayoutParams.WindowType int windowType, in createLayoutParameters() argument
429 layoutParams.type = windowType; in createLayoutParameters()

12