Home
last modified time | relevance | path

Searched refs:seenKeys (Results 1 – 2 of 2) sorted by relevance

/development/samples/ShortcutSample/src/com/example/android/shortcutsample/
DShortcutHelper.java92 final HashSet<String> seenKeys = new HashSet<>(); in getShortcuts() local
96 seenKeys.add(shortcut.getId()); in getShortcuts()
99 if (!seenKeys.contains(shortcut.getId())) { in getShortcuts()
101 seenKeys.add(shortcut.getId()); in getShortcuts()
105 if (!seenKeys.contains(shortcut.getId())) { in getShortcuts()
107 seenKeys.add(shortcut.getId()); in getShortcuts()
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/
DShortcutHelper.java93 final HashSet<String> seenKeys = new HashSet<>(); in getShortcuts() local
99 seenKeys.add(shortcut.getId()); in getShortcuts()
103 if (!shortcut.isImmutable() && !seenKeys.contains(shortcut.getId())) { in getShortcuts()
105 seenKeys.add(shortcut.getId()); in getShortcuts()