Home
last modified time | relevance | path

Searched refs:hasFlags (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingController.java104 if (!change.hasFlags(FLAG_FILLS_TASK) && change.hasFlags( in shouldAnimate()
179 if (!change.hasFlags(FLAG_IN_TASK_WITH_EMBEDDED_ACTIVITY)) { in containsNonEmbeddedChange()
191 if (change.hasFlags(FLAG_IN_TASK_WITH_EMBEDDED_ACTIVITY)) { in handleNonEmbeddedChanges()
201 if (!change.hasFlags(FLAG_IN_TASK_WITH_EMBEDDED_ACTIVITY) in handleNonEmbeddedChanges()
210 if (!change.hasFlags(FLAG_IN_TASK_WITH_EMBEDDED_ACTIVITY)) { in handleNonEmbeddedChanges()
DActivityEmbeddingAnimationRunner.java200 if (change.hasFlags(FLAG_IS_BEHIND_STARTING_WINDOW)) { in createAnimationAdapters()
339 if (adapter.mChange.hasFlags(FLAG_TRANSLUCENT) in addEdgeExtensionIfNeeded()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java1873 public boolean hasFlags(@ShortcutFlags int flags) { in hasFlags() method in ShortcutInfo
1879 return hasFlags(FLAG_RETURNED_BY_SERVICE); in isReturnedByServer()
1889 return hasFlags(FLAG_LONG_LIVED); in isLongLived()
1909 return hasFlags(FLAG_DYNAMIC); in isDynamic()
1914 return hasFlags(FLAG_PINNED); in isPinned()
1928 return hasFlags(FLAG_MANIFEST); in isDeclaredInManifest()
1947 return hasFlags(FLAG_IMMUTABLE); in isOriginallyFromManifest()
1984 return hasFlags(FLAG_IMMUTABLE); in isImmutable()
1992 return !hasFlags(FLAG_DISABLED); in isEnabled()
1997 return hasFlags(FLAG_PINNED) || hasFlags(FLAG_DYNAMIC) || hasFlags(FLAG_MANIFEST) in isAlive()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DActionIntentCreatorTest.kt45 .hasFlags( in testCreateShare()
81 .hasFlags( in testCreateShareWithSubject()
105 .hasFlags( in testCreateShareWithText()
135 .hasFlags( in testCreateEdit()
/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/
DTransitionUtil.java89 if (change.getMode() == TRANSIT_CHANGE && change.hasFlags(FLAG_IS_DISPLAY)) { in hasDisplayChange()
99 && change.hasFlags(FLAG_IS_WALLPAPER) in isWallpaper()
100 && !change.hasFlags(FLAG_IN_TASK_WITH_EMBEDDED_ACTIVITY); in isWallpaper()
106 && !change.hasFlags(FLAG_IS_WALLPAPER) in isNonApp()
107 && !change.hasFlags(FLAG_IN_TASK_WITH_EMBEDDED_ACTIVITY); in isNonApp()
112 return isNonApp(change) && change.hasFlags(FLAG_IS_DIVIDER_BAR); in isDividerBar()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/
DNoteTaskControllerTest.kt271 hasFlags(FLAG_ACTIVITY_NEW_TASK) in <lambda>()
272 hasFlags(FLAG_ACTIVITY_MULTIPLE_TASK) in <lambda>()
273 hasFlags(FLAG_ACTIVITY_NEW_DOCUMENT) in <lambda>()
295 hasFlags(FLAG_ACTIVITY_NEW_TASK) in <lambda>()
296 hasFlags(FLAG_ACTIVITY_MULTIPLE_TASK) in <lambda>()
297 hasFlags(FLAG_ACTIVITY_NEW_DOCUMENT) in <lambda>()
321 hasFlags(FLAG_ACTIVITY_NEW_TASK) in <lambda>()
452 hasFlags(FLAG_ACTIVITY_NEW_TASK) in <lambda>()
453 hasFlags(FLAG_ACTIVITY_MULTIPLE_TASK) in <lambda>()
454 hasFlags(FLAG_ACTIVITY_NEW_DOCUMENT) in <lambda>()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTransitionTests.java570 .hasFlags(TransitionInfo.FLAG_NO_ANIMATION)); in testCreateInfo_NoAnimation()
581 .hasFlags(TransitionInfo.FLAG_NO_ANIMATION)); in testCreateInfo_NoAnimation()
840 assertFalse(info.getChanges().get(0).hasFlags(FLAG_TRANSLUCENT)); in testOpenOpaqueTask()
841 assertFalse(info.getChanges().get(1).hasFlags(FLAG_TRANSLUCENT)); in testOpenOpaqueTask()
879 assertTrue(info.getChanges().get(0).hasFlags(FLAG_TRANSLUCENT)); in testOpenTranslucentTask()
880 assertFalse(info.getChanges().get(1).hasFlags(FLAG_TRANSLUCENT)); in testOpenTranslucentTask()
921 assertFalse(info.getChanges().get(0).hasFlags(FLAG_TRANSLUCENT)); in testOpenOpaqueTaskFragment()
922 assertFalse(info.getChanges().get(1).hasFlags(FLAG_TRANSLUCENT)); in testOpenOpaqueTaskFragment()
963 assertTrue(info.getChanges().get(0).hasFlags(FLAG_TRANSLUCENT)); in testOpenTranslucentTaskFragment()
964 assertFalse(info.getChanges().get(1).hasFlags(FLAG_TRANSLUCENT)); in testOpenTranslucentTaskFragment()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DDefaultTransitionHandler.java349 if (change.hasFlags(TransitionInfo.FLAGS_IS_NON_APP_WINDOW)) { in startAnimation()
357 if (mode == TRANSIT_CHANGE && change.hasFlags(FLAG_IS_DISPLAY)) { in startAnimation()
404 if (isTask || (change.hasFlags(FLAG_IN_TASK_WITH_EMBEDDED_ACTIVITY) in startAnimation()
405 && !change.hasFlags(FLAG_FILLS_TASK))) { in startAnimation()
412 if (change.getParent() == null && !change.hasFlags(FLAG_IS_DISPLAY) in startAnimation()
647 if (change.hasFlags(FLAG_TRANSLUCENT)) { in isOnlyTranslucent()
887 final Drawable thumbnailDrawable = change.hasFlags(FLAG_CROSS_PROFILE_OWNER_THUMBNAIL) in attachCrossProfileThumbnailAnimation()
889 : change.hasFlags(FLAG_CROSS_PROFILE_WORK_THUMBNAIL) in attachCrossProfileThumbnailAnimation()
DTransitions.java523 if (change.hasFlags(FLAGS_IS_NON_APP_WINDOW & ~FLAG_IS_WALLPAPER)) { in setupStartState()
531 if (change.hasFlags(FLAG_IS_WALLPAPER) && !ensureWallpaperInTransitions()) { in setupStartState()
587 if (change.hasFlags(FLAG_IS_WALLPAPER) && Flags.ensureWallpaperInTransitions()) { in calculateAnimLayer()
685 if (change.hasFlags(FLAG_NO_ANIMATION)) { in isAllNoAnimation()
687 } else if (!TransitionUtil.isOrderOnly(change) && !change.hasFlags(FLAG_IS_OCCLUDED)) { in isAllNoAnimation()
817 transferStartingWindow |= change.hasFlags(FLAG_STARTING_WINDOW_TRANSFER_RECIPIENT); in dispatchReady()
823 if (!change.hasFlags(FLAG_IS_OCCLUDED)) { in dispatchReady()
832 if (change.hasFlags(FLAG_BACK_GESTURE_ANIMATED)) { in dispatchReady()
DHomeTransitionObserver.java73 final boolean isBackGesture = change.hasFlags(FLAG_BACK_GESTURE_ANIMATED); in onTransitionReady()
DTransitionAnimationHelper.java207 if ((change.getTaskInfo() != null || change.hasFlags(FLAG_IS_DISPLAY)) in getTransitionTypeFromInfo()
213 && change.hasFlags(FLAG_IS_DISPLAY | FLAGS_IS_NON_APP_WINDOW)) { in getTransitionTypeFromInfo()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java257 && !si.hasFlags(ShortcutInfo.FLAG_SHADOW) in onRestored()
1430 if (a.hasFlags(ShortcutInfo.FLAG_CACHED_PEOPLE_TILE)
1431 && !b.hasFlags(ShortcutInfo.FLAG_CACHED_PEOPLE_TILE)) {
1433 } else if (!a.hasFlags(ShortcutInfo.FLAG_CACHED_PEOPLE_TILE)
1434 && b.hasFlags(ShortcutInfo.FLAG_CACHED_PEOPLE_TILE)) {
1438 if (a.hasFlags(ShortcutInfo.FLAG_CACHED_BUBBLES)
1439 && !b.hasFlags(ShortcutInfo.FLAG_CACHED_BUBBLES)) {
1441 } else if (!a.hasFlags(ShortcutInfo.FLAG_CACHED_BUBBLES)
1442 && b.hasFlags(ShortcutInfo.FLAG_CACHED_BUBBLES)) {
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/animation/
DFullscreenUnfoldTaskAnimator.java113 && source.hasFlags(InsetsSource.FLAG_INSETS_ROUNDED_CORNER)) { in getExpandedTaskbarSource()
DSplitTaskUnfoldAnimator.java152 && source.hasFlags(InsetsSource.FLAG_INSETS_ROUNDED_CORNER)) { in getExpandedTaskbarSource()
/frameworks/base/core/java/android/view/
DInsetsFrameProvider.java174 public boolean hasFlags(@Flags int mask) { in hasFlags() method in InsetsFrameProvider
DInsetsState.java214 if (source.hasFlags(FLAG_INSETS_ROUNDED_CORNER)) { in calculateRelativeRoundedCorners()
294 if (source.hasFlags(FLAG_FORCE_CONSUMING)) { in calculateVisibleInsets()
DInsetsSource.java257 public boolean hasFlags(int flags) { in hasFlags() method in InsetsSource
DInsetsController.java730 if (!source1.hasFlags(InsetsSource.FLAG_ANIMATE_RESIZING)
731 || !source2.hasFlags(InsetsSource.FLAG_ANIMATE_RESIZING)
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/transition/
DHomeTransitionObserverTest.java197 when(change.hasFlags(FLAG_BACK_GESTURE_ANIMATED)).thenReturn(true); in testHomeActivityWithBackGestureNotifiesHomeIsVisible()
/frameworks/base/core/java/android/window/
DTransitionInfo.java577 if (change.hasFlags(FLAG_IN_TASK_WITH_EMBEDDED_ACTIVITY)) return false; in isIndependent()
884 public boolean hasFlags(@ChangeFlags int flags) { in hasFlags() method in TransitionInfo.Change
/frameworks/base/core/java/android/widget/
DRemoteViews.java556 public boolean hasFlags(@ApplyFlags int flag) { in hasFlags() method in RemoteViews
1501 hasFlags(FLAG_USE_LIGHT_BACKGROUND_LAYOUT));
1564 if (hasFlags(FLAG_WIDGET_IS_COLLECTION_CHILD)) {
1578 if (!hasFlags(FLAG_WIDGET_IS_COLLECTION_CHILD)) {
1630 if (hasFlags(FLAG_WIDGET_IS_COLLECTION_CHILD)) { in apply()
1692 if (hasFlags(FLAG_WIDGET_IS_COLLECTION_CHILD)) { in apply()
1699 if (!hasFlags(FLAG_WIDGET_IS_COLLECTION_CHILD)) { in apply()
4437 return hasFlags(FLAG_USE_LIGHT_BACKGROUND_LAYOUT) && (mLightBackgroundLayoutId != 0)
5938 if (hasFlags(FLAG_USE_LIGHT_BACKGROUND_LAYOUT)) {
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DDividerView.java245 && source.hasFlags(InsetsSource.FLAG_INSETS_ROUNDED_CORNER)) { in onInsetsChanged()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsLDBackend.cpp1043 static bool getAbiFlags(const Input& pInput, uint64_t elfFlags, bool& hasFlags, in getAbiFlags() argument
1056 hasFlags = true; in getAbiFlags()
/frameworks/base/services/core/java/com/android/server/wm/
DLetterboxUiController.java1524 && source.hasFlags(InsetsSource.FLAG_INSETS_ROUNDED_CORNER) in getExpandedTaskbarOrNull()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/
DRecentsTransitionHandler.java768 if (change.hasFlags(TransitionInfo.FLAG_IS_DISPLAY) in merge()

12