Home
last modified time | relevance | path

Searched refs:hasAnyFlag (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarStashController.java252 boolean inApp = hasAnyFlag(flags, FLAGS_IN_APP);
253 boolean stashedInApp = hasAnyFlag(flags, FLAGS_STASHED_IN_APP);
254 boolean stashedLauncherState = hasAnyFlag(flags, FLAG_IN_STASHED_LAUNCHER_STATE);
255 boolean inOverview = hasAnyFlag(flags, FLAG_IN_OVERVIEW);
256 boolean stashedInOverview = hasAnyFlag(flags, FLAGS_STASHED_IN_OVERVIEW);
257 boolean forceStashed = hasAnyFlag(flags, FLAGS_FORCE_STASHED);
396 return hasAnyFlag(FLAGS_STASHED_IN_APP); in isStashedInApp()
403 return (hasAnyFlag(FLAG_IN_STASHED_LAUNCHER_STATE) && supportsVisualStashing()); in isInStashedLauncherState()
406 private boolean hasAnyFlag(long flagMask) { in hasAnyFlag() method in TaskbarStashController
407 return hasAnyFlag(mState, flagMask); in hasAnyFlag()
[all …]
DTaskbarLauncherStateController.java335 final boolean prevIsAwake = hasAnyFlag(FLAG_AWAKE); in updateStateForSysuiFlags()
336 final boolean currIsAwake = hasAnyFlag(systemUiStateFlags, SYSUI_STATE_AWAKE); in updateStateForSysuiFlags()
343 prevIsAwake && hasAnyFlag(FLAGS_LAUNCHER_ACTIVE)); in updateStateForSysuiFlags()
353 boolean isTaskbarHidden = hasAnyFlag(systemUiStateFlags, SYSUI_STATE_DEVICE_DREAMING) in updateStateForSysuiFlags()
393 private boolean hasAnyFlag(long flagMask) { in hasAnyFlag() method in TaskbarLauncherStateController
394 return hasAnyFlag(mState, flagMask); in hasAnyFlag()
397 private boolean hasAnyFlag(long flags, long flagMask) { in hasAnyFlag() method in TaskbarLauncherStateController
459 if (hasAnyFlag(changedFlags, FLAG_LAUNCHER_IN_STATE_TRANSITION)) { in onStateChangeApplied()
460 boolean launcherTransitionCompleted = !hasAnyFlag(FLAG_LAUNCHER_IN_STATE_TRANSITION); in onStateChangeApplied()
479 if (hasAnyFlag(changedFlags, FLAGS_LAUNCHER_ACTIVE)) { in onStateChangeApplied()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DSystemUiFlagUtils.kt46 return hasAnyFlag(flags, MASK_ANY_SYSUI_LOCKED) && in isLocked()
47 !hasAnyFlag(flags, QuickStepContract.SYSUI_STATE_STATUS_BAR_KEYGUARD_GOING_AWAY) in isLocked()
50 private fun hasAnyFlag(@SystemUiStateFlags flags: Long, flagMask: Long): Boolean { in hasAnyFlag() method
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskAnimationManager.java390 boolean wasExpanded = hasAnyFlag(lastSysUIFlags, isShadeExpandedFlagMask); in onSystemUiFlagsChanged()
391 boolean isExpanded = hasAnyFlag(newSysUIFlags, isShadeExpandedFlagMask); in onSystemUiFlagsChanged()
409 private boolean hasAnyFlag(long flags, long flagMask) { in hasAnyFlag() method in TaskAnimationManager