Searched refs:FLAG_PINNED (Results 1 – 4 of 4) sorted by relevance
255 si.addFlags(ShortcutInfo.FLAG_PINNED); in testShortcutInfoParcel()274 assertEquals(ShortcutInfo.FLAG_PINNED, si.getFlags()); in testShortcutInfoParcel()305 si.addFlags(ShortcutInfo.FLAG_PINNED); in testShortcutInfoParcel_resId()329 assertEquals(ShortcutInfo.FLAG_PINNED, si.getFlags()); in testShortcutInfoParcel_resId()352 sorig.addFlags(ShortcutInfo.FLAG_PINNED); in testShortcutInfoClone()375 assertEquals(ShortcutInfo.FLAG_PINNED, si.getFlags()); in testShortcutInfoClone()395 assertEquals(ShortcutInfo.FLAG_PINNED, si.getFlags()); in testShortcutInfoClone()415 assertEquals(ShortcutInfo.FLAG_PINNED, si.getFlags()); in testShortcutInfoClone()435 assertEquals(ShortcutInfo.FLAG_PINNED | ShortcutInfo.FLAG_KEY_FIELDS_ONLY, si.getFlags()); in testShortcutInfoClone()459 sorig.addFlags(ShortcutInfo.FLAG_PINNED); in testShortcutInfoClone_resId()[all …]
236 shortcut.clearFlags(ShortcutInfo.FLAG_DYNAMIC | ShortcutInfo.FLAG_PINNED in forceDeleteShortcutInner()286 newShortcut.addFlags(ShortcutInfo.FLAG_PINNED); in addOrReplaceDynamicShortcut()442 shortcut.addFlags(ShortcutInfo.FLAG_PINNED); in updateInvisibleShortcutForPinRequestWith()458 mShortcuts.valueAt(i).clearFlags(ShortcutInfo.FLAG_PINNED); in refreshPinnedFlags()479 si.addFlags(ShortcutInfo.FLAG_PINNED); in refreshPinnedFlags()621 clone.clearFlags(ShortcutInfo.FLAG_PINNED); in findAll()626 clone.clearFlags(ShortcutInfo.FLAG_PINNED); in findAll()890 newShortcut.addFlags(ShortcutInfo.FLAG_PINNED); in publishManifestShortcuts()
339 shortcutForLauncher.clearFlags(ShortcutInfo.FLAG_PINNED); in requestPinShortcutLocked()
72 public static final int FLAG_PINNED = 1 << 1; field in ShortcutInfo114 FLAG_PINNED,1532 return hasFlags(FLAG_PINNED); in isPinned()1609 return hasFlags(FLAG_PINNED) || hasFlags(FLAG_DYNAMIC) || hasFlags(FLAG_MANIFEST); in isAlive()