Searched refs:FLAG_PINNED (Results 1 – 6 of 6) sorted by relevance
257 si.addFlags(ShortcutInfo.FLAG_PINNED); in testShortcutInfoParcel()280 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoParcel()312 si.addFlags(ShortcutInfo.FLAG_PINNED); in testShortcutInfoParcel_resId()337 assertEquals(ShortcutInfo.FLAG_PINNED, si.getFlags()); in testShortcutInfoParcel_resId()363 sorig.addFlags(ShortcutInfo.FLAG_PINNED); in testShortcutInfoClone()390 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()414 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()436 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()458 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_KEY_FIELDS_ONLY in testShortcutInfoClone()484 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_LONG_LIVED, si.getFlags()); in testShortcutInfoClone()[all …]
289 shortcut.clearFlags(ShortcutInfo.FLAG_DYNAMIC | ShortcutInfo.FLAG_PINNED in forceDeleteShortcutInner()333 & (ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_CACHED_ALL)); in addOrReplaceDynamicShortcut()392 & (ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_CACHED_ALL)); in pushDynamicShortcut()575 shortcut.addFlags(ShortcutInfo.FLAG_PINNED); in updateInvisibleShortcutForPinRequestWith()591 mShortcuts.valueAt(i).clearFlags(ShortcutInfo.FLAG_PINNED); in refreshPinnedFlags()612 si.addFlags(ShortcutInfo.FLAG_PINNED); in refreshPinnedFlags()754 clone.clearFlags(ShortcutInfo.FLAG_PINNED); in findAll()759 clone.clearFlags(ShortcutInfo.FLAG_PINNED); in findAll()1122 newShortcut.addFlags(ShortcutInfo.FLAG_PINNED); in publishManifestShortcuts()
341 shortcutForLauncher.clearFlags(ShortcutInfo.FLAG_PINNED); in requestPinShortcutLocked()
1172 | (matchPinned ? ShortcutInfo.FLAG_PINNED : 0) in filterShortcutsByQuery()
2408 | (matchPinned ? ShortcutInfo.FLAG_PINNED : 0) in getShortcuts()
80 public static final int FLAG_PINNED = 1 << 1; field in ShortcutInfo146 FLAG_PINNED,1742 return hasFlags(FLAG_PINNED); in isPinned()1825 return hasFlags(FLAG_PINNED) || hasFlags(FLAG_DYNAMIC) || hasFlags(FLAG_MANIFEST) in isAlive()