Home
last modified time | relevance | path

Searched refs:pinnedPosition (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/speeddial/database/
DSpeedDialEntryDatabaseHelper.java133 Optional<Integer> pinnedPosition = Optional.of(cursor.getInt(POSITION_PINNED_POSITION)); in getAllEntries() local
134 if (pinnedPosition.or(PINNED_POSITION_ABSENT) == PINNED_POSITION_ABSENT) { in getAllEntries()
135 pinnedPosition = Optional.absent(); in getAllEntries()
143 .setPinnedPosition(pinnedPosition) in getAllEntries()
246 values.put(PINNED_POSITION, entry.pinnedPosition().or(PINNED_POSITION_ABSENT)); in buildContentValues()
DSpeedDialEntry.java40 public abstract Optional<Integer> pinnedPosition(); in pinnedPosition() method in SpeedDialEntry
69 public abstract Builder setPinnedPosition(Optional<Integer> pinnedPosition); in setPinnedPosition() argument
/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/
DSpeedDialUiItem.java184 .setPinnedPosition(pinnedPosition()) in buildSpeedDialEntry()
287 public abstract Optional<Integer> pinnedPosition(); in pinnedPosition() method in SpeedDialUiItem
352 public abstract Builder setPinnedPosition(Optional<Integer> pinnedPosition); in setPinnedPosition() argument
DSpeedDialUiItemMutator.java444 .setPinnedPosition(entry.pinnedPosition()); in getSpeedDialUiItemsFromEntries()
604 if (item.pinnedPosition().isPresent() in updatePinnedPosition()
605 && item.pinnedPosition().get() == databasePinnedPosition) { in updatePinnedPosition()
/packages/apps/Dialer/java/com/android/dialer/speeddial/
DSpeedDialAdapter.java177 return Integer.compare(o1.pinnedPosition().or(-1), o2.pinnedPosition().or(-1)); in setSpeedDialUiItems()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java230 String name, int iconResource, int pinnedPosition, int pinnedPriority) { in PinnedListItem() argument
232 mPinnedPosition = pinnedPosition; in PinnedListItem()