/frameworks/base/core/java/android/window/ |
D | DisplayWindowPolicyController.java | 79 public final boolean isInterestedWindowFlags(int windowFlags, int systemWindowFlags) { in isInterestedWindowFlags() argument 80 return (mWindowFlags & windowFlags) != 0 || (mSystemWindowFlags & systemWindowFlags) != 0; in isInterestedWindowFlags() 87 public final void setInterestedWindowFlags(int windowFlags, int systemWindowFlags) { in setInterestedWindowFlags() argument 88 mWindowFlags = windowFlags; in setInterestedWindowFlags() 162 ActivityInfo activityInfo, int windowFlags, int systemWindowFlags); in keepActivityOnWindowFlagsChanged() argument
|
D | SnapshotDrawerUtils.java | 140 public void initiateSystemBarPainter(int windowFlags, int windowPrivateFlags, in initiateSystemBarPainter() argument 143 mSystemBarBackgroundPainter = new SystemBarBackgroundPainter(windowFlags, in initiateSystemBarPainter() 423 final int windowFlags = attrs.flags; in createLayoutParameters() local 431 layoutParams.flags = (windowFlags & ~FLAG_INHERIT_EXCLUDES) in createLayoutParameters() 479 public SystemBarBackgroundPainter(int windowFlags, int windowPrivateFlags, int appearance, in SystemBarBackgroundPainter() argument 482 mWindowFlags = windowFlags; in SystemBarBackgroundPainter() 488 mStatusBarColor = DecorView.calculateBarColor(windowFlags, FLAG_TRANSLUCENT_STATUS, in SystemBarBackgroundPainter() 493 mNavigationBarColor = DecorView.calculateBarColor(windowFlags, in SystemBarBackgroundPainter()
|
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/ |
D | ImeStressTestUtil.java | 284 public static boolean hasUnfocusableWindowFlags(int windowFlags) { in hasUnfocusableWindowFlags() argument 285 return (windowFlags & LayoutParams.FLAG_NOT_FOCUSABLE) != 0 in hasUnfocusableWindowFlags() 286 || (windowFlags & LayoutParams.FLAG_ALT_FOCUSABLE_IM) != 0 in hasUnfocusableWindowFlags() 287 || (windowFlags & LayoutParams.FLAG_LOCAL_FOCUS_MODE) != 0; in hasUnfocusableWindowFlags() 305 int windowFlags = activity.getWindow().getAttributes().flags; in verifyImeAlwaysHiddenWithWindowFlagSet() local 307 if ((windowFlags & WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE) != 0) { in verifyImeAlwaysHiddenWithWindowFlagSet() 312 } else if ((windowFlags & WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM) != 0 in verifyImeAlwaysHiddenWithWindowFlagSet() 313 || (windowFlags & WindowManager.LayoutParams.FLAG_LOCAL_FOCUS_MODE) != 0) { in verifyImeAlwaysHiddenWithWindowFlagSet() 357 int windowFlags, int softInputFlags, List<String> extras) { in createIntent() argument 360 .putExtra(WINDOW_FLAGS, windowFlags) in createIntent() [all …]
|
D | AutoShowTest.java | 119 int windowFlags = activity.getWindow().getAttributes().flags; in autoShow_hasFocusedView_notRequestFocus() local 120 if ((windowFlags & WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE) != 0) { in autoShow_hasFocusedView_notRequestFocus() 148 int windowFlags = activity.getWindow().getAttributes().flags; in autoShow_notFocusedView_notRequestFocus() local 149 if ((windowFlags & WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE) != 0) { in autoShow_notFocusedView_notRequestFocus() 370 int windowFlags = activity.getWindow().getAttributes().flags; in verifyAutoShowBehavior_forwardWithKeyboardOn() local 376 if ((windowFlags & WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE) != 0) { in verifyAutoShowBehavior_forwardWithKeyboardOn() 384 } else if ((windowFlags & WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM) != 0 in verifyAutoShowBehavior_forwardWithKeyboardOn() 385 || (windowFlags & WindowManager.LayoutParams.FLAG_LOCAL_FOCUS_MODE) != 0) { in verifyAutoShowBehavior_forwardWithKeyboardOn() 465 int windowFlags = activity.getWindow().getAttributes().flags; in verifyClickBehavior() local 469 if ((windowFlags & WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM) != 0 in verifyClickBehavior() [all …]
|
D | ImeOpenCloseStressTest.java | 245 int windowFlags = activity.getWindow().getAttributes().flags; in testShowWithInputMethodManager_notRequestFocus() local 247 if ((windowFlags & WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE) != 0) { in testShowWithInputMethodManager_notRequestFocus() 524 int windowFlags = activity.getWindow().getAttributes().flags; in verifyShowBehaviorNotRequestFocus() local 527 if ((windowFlags & WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE) != 0) { in verifyShowBehaviorNotRequestFocus() 531 } else if ((windowFlags & WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM) != 0 in verifyShowBehaviorNotRequestFocus() 532 || (windowFlags & WindowManager.LayoutParams.FLAG_LOCAL_FOCUS_MODE) != 0) { in verifyShowBehaviorNotRequestFocus()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | ViewFocusParameterInfo.java | 55 int windowFlags) { in sameAs() argument 59 && mPreviousWindowFlags == windowFlags in sameAs()
|
D | IInputMethodManagerGlobalInvoker.java | 371 @WindowManager.LayoutParams.Flags int windowFlags, @Nullable EditorInfo editorInfo, in startInputOrWindowGainedFocus() argument 382 startInputFlags, softInputMode, windowFlags, editorInfo, remoteInputConnection, in startInputOrWindowGainedFocus() 400 @WindowManager.LayoutParams.Flags int windowFlags, @Nullable EditorInfo editorInfo, in startInputOrWindowGainedFocusAsync() argument 411 startInputFlags, softInputMode, windowFlags, editorInfo, remoteInputConnection, in startInputOrWindowGainedFocusAsync()
|
D | InputMethodManager.java | 849 final int windowFlags = windowAttribute.flags; in onPostWindowGainedFocus() local 877 viewForWindowFocus, startInputFlags, softInputMode, windowFlags)) { in onPostWindowGainedFocus() 894 windowFlags, in onPostWindowGainedFocus() 1029 @SoftInputModeFlags int softInputMode, int windowFlags) { in startInputOnWindowFocusGainInternal() argument 1037 softInputMode, windowFlags); in startInputOnWindowFocusGainInternal() 3157 @SoftInputModeFlags int softInputMode, int windowFlags) { in startInputInner() argument 3203 windowFlags = view.getViewRootImpl().mWindowAttributes.flags; in startInputInner() 3294 startInputReason, softInputMode, windowFlags); in startInputInner() 3296 startInputFlags, startInputReason, softInputMode, windowFlags); in startInputInner() 3312 softInputMode, windowFlags, editorInfo, servedInputConnection, in startInputInner() [all …]
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | VirtualDisplayTest.java | 305 @ColorInt final int color, @Flags final int windowFlags) { in assertDisplayCanShowPresentation() argument 317 dialogs[0] = new TestDialog(windowContext, color, windowFlags); in assertDisplayCanShowPresentation() 319 dialogs[0] = new TestPresentation(getContext(), display, color, windowFlags); in assertDisplayCanShowPresentation() 371 @Flags int windowFlags) { in TestPresentation() argument 374 mWindowFlags = windowFlags; in TestPresentation() 394 TestDialog(Context context, @ColorInt int color, @Flags int windowFlags) { in TestDialog() argument 397 mWindowFlags = windowFlags; in TestDialog()
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | GenericWindowPolicyController.java | 183 int windowFlags, in GenericWindowPolicyController() argument 209 setInterestedWindowFlags(windowFlags, systemWindowFlags); in GenericWindowPolicyController() 399 public boolean keepActivityOnWindowFlagsChanged(ActivityInfo activityInfo, int windowFlags, in keepActivityOnWindowFlagsChanged() argument 404 if ((windowFlags & FLAG_SECURE) != 0 && mSecureWindowCallback != null in keepActivityOnWindowFlagsChanged() 415 if ((windowFlags & FLAG_SECURE) != 0 in keepActivityOnWindowFlagsChanged()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | IInputMethodManagerImpl.java | 118 @WindowManager.LayoutParams.SoftInputModeFlags int softInputMode, int windowFlags, in startInputOrWindowGainedFocusAsync() argument 127 @WindowManager.LayoutParams.SoftInputModeFlags int softInputMode, int windowFlags, in startInputOrWindowGainedFocus() argument 297 int windowFlags, @Nullable EditorInfo editorInfo, in startInputOrWindowGainedFocus() argument 304 windowFlags, editorInfo, inputConnection, remoteAccessibilityInputConnection, in startInputOrWindowGainedFocus() 313 int windowFlags, @Nullable EditorInfo editorInfo, in startInputOrWindowGainedFocusAsync() argument 320 windowFlags, editorInfo, inputConnection, remoteAccessibilityInputConnection, in startInputOrWindowGainedFocusAsync()
|
D | ImeVisibilityStateComputer.java | 674 ImeTargetWindowState(@SoftInputModeFlags int softInputModeState, int windowFlags, in ImeTargetWindowState() argument 677 this(softInputModeState, windowFlags, imeFocusChanged, hasFocusedEditor, in ImeTargetWindowState() 681 ImeTargetWindowState(@SoftInputModeFlags int softInputModeState, int windowFlags, in ImeTargetWindowState() argument 685 mWindowFlags = windowFlags; in ImeTargetWindowState()
|
D | ZeroJankProxy.java | 238 int windowFlags, @Nullable EditorInfo editorInfo, in startInputOrWindowGainedFocusAsync() argument 245 windowToken, startInputFlags, softInputMode, windowFlags, in startInputOrWindowGainedFocusAsync() 272 int windowFlags, @Nullable EditorInfo editorInfo, in startInputOrWindowGainedFocus() argument
|
D | InputMethodManagerService.java | 3694 int windowFlags, @Nullable EditorInfo editorInfo, in startInputOrWindowGainedFocusAsync() argument 3707 int windowFlags, @Nullable EditorInfo editorInfo, in startInputOrWindowGainedFocus() argument 3840 client, windowToken, startInputFlags, softInputMode, windowFlags, in startInputOrWindowGainedFocus() 3851 + " windowFlags=#" + Integer.toHexString(windowFlags) in startInputOrWindowGainedFocus() 3867 @SoftInputModeFlags int softInputMode, int windowFlags, EditorInfo editorInfo, in startInputOrWindowGainedFocusInternalLocked() argument 3881 + " windowFlags=#" + Integer.toHexString(windowFlags) in startInputOrWindowGainedFocusInternalLocked() 3898 softInputMode, windowFlags, !sameWindowFocused, isTextEditor, in startInputOrWindowGainedFocusInternalLocked()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | IInputMethodManager.aidl | 104 /* @android.view.WindowManager.LayoutParams.Flags */ int windowFlags, in startInputOrWindowGainedFocus() argument 119 /* @android.view.WindowManager.LayoutParams.Flags */ int windowFlags, in startInputOrWindowGainedFocusAsync() argument
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/ |
D | SplashscreenContentDrawer.java | 235 int windowFlags = WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED in createLayoutParameters() local 240 windowFlags |= WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER; in createLayoutParameters() 244 windowFlags |= WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS; in createLayoutParameters() 247 windowFlags |= WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS; in createLayoutParameters() 273 windowFlags |= WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED; in createLayoutParameters() 282 windowFlags |= WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE in createLayoutParameters() 285 params.flags = windowFlags; in createLayoutParameters()
|
/frameworks/base/core/tests/coretests/src/android/window/ |
D | SnapshotDrawerUtilsTest.java | 65 int windowFlags, Rect taskBounds) { in setupSurface() argument 81 mSnapshotSurface.initiateSystemBarPainter(windowFlags, 0, 0, in setupSurface()
|
/frameworks/base/core/java/android/view/ |
D | InsetsState.java | 282 @SoftInputModeFlags int softInputMode, int windowFlags) { in calculateVisibleInsets() argument 299 return clearsCompatInsets(windowType, windowFlags, activityType, forceConsumingTypes) in calculateVisibleInsets() 644 public static boolean clearsCompatInsets(int windowType, int windowFlags, in clearsCompatInsets() argument 646 return (windowFlags & FLAG_LAYOUT_NO_LIMITS) != 0 in clearsCompatInsets()
|
D | InsetsController.java | 952 @SoftInputModeFlags int softInputMode, int windowFlags) { in calculateVisibleInsets() argument 954 windowFlags); in calculateVisibleInsets()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 2345 public boolean isPresent(boolean requestedVisible, int windowFlags, boolean force) { in isPresent() argument 2347 && ((windowFlags & FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS) != 0 || force); in isPresent() 2350 public boolean isVisible(boolean present, int color, int windowFlags, boolean force) { in isVisible() argument 2353 && ((windowFlags & translucentFlag) == 0 || force); in isVisible() 2356 public boolean isVisible(@InsetsType int requestedVisibleTypes, int color, int windowFlags, in isVisible() argument 2359 final boolean present = isPresent(requestedVisible, windowFlags, force); in isVisible() 2360 return isVisible(present, color, windowFlags, force); in isVisible()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayWindowPolicyControllerTests.java | 251 public boolean keepActivityOnWindowFlagsChanged(ActivityInfo activityInfo, int windowFlags, in keepActivityOnWindowFlagsChanged() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthContainerView.java | 975 final int windowFlags = WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED 983 windowFlags,
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 1784 final int windowFlags = WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN in onCreate() local 1787 final int windowFlagsMask = windowFlags in onCreate() 1789 window.setFlags(windowFlags, windowFlagsMask); in onCreate()
|