Home
last modified time | relevance | path

Searched refs:SortOrder (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpDeviceIndex.java75 public enum SortOrder { enum in MtpDeviceIndex
243 public Object get(int position, SortOrder order) { in get()
248 if (order == SortOrder.ASCENDING) { in get()
273 public IngestObjectInfo getWithoutLabels(int position, SortOrder order) { in getWithoutLabels()
278 if (order == SortOrder.ASCENDING) { in getWithoutLabels()
292 public int getPositionFromPositionWithoutLabels(int position, SortOrder order) { in getPositionFromPositionWithoutLabels()
301 if (order == SortOrder.DESCENDING) { in getPositionFromPositionWithoutLabels()
321 if (order == SortOrder.DESCENDING) { in getPositionFromPositionWithoutLabels()
334 public int getPositionWithoutLabelsFromPosition(int position, SortOrder order) { in getPositionWithoutLabelsFromPosition()
339 if (order == SortOrder.ASCENDING) { in getPositionWithoutLabelsFromPosition()
[all …]
/packages/apps/Dialer/java/com/android/dialer/contacts/displaypreference/
DContactDisplayPreferences.java93 enum SortOrder implements StringResEnum { enum
112 SortOrder(@StringRes int value) { in SortOrder() method in SortOrder
122 static SortOrder fromValue(Context context, String value) { in fromValue()
123 return StringResEnum.fromValue(context, SortOrder.values(), value); in fromValue()
131 SortOrder getSortOrder(); in getSortOrder()
133 void setSortOrder(SortOrder sortOrder); in setSortOrder()
DContactDisplayPreferencesImpl.java62 public SortOrder getSortOrder() { in getSortOrder()
65 return SortOrder.BY_PRIMARY; in getSortOrder()
67 return SortOrder.fromValue(appContext, sharedPreferences.getString(sortOrderKey, null)); in getSortOrder()
71 public void setSortOrder(SortOrder sortOrder) { in setSortOrder()
113 return SortOrder.BY_ALTERNATIVE.getValue(appContext); in translateLegacySortOrder()
115 return SortOrder.BY_PRIMARY.getValue(appContext); in translateLegacySortOrder()
DContactDisplayPreferencesStub.java41 public SortOrder getSortOrder() { in getSortOrder()
42 return SortOrder.BY_PRIMARY; in getSortOrder()
46 public void setSortOrder(SortOrder sortOrder) { in setSortOrder()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
DMtpAdapter.java22 import com.android.gallery3d.ingest.data.MtpDeviceIndex.SortOrder;
48 private SortOrder mSortOrder = SortOrder.DESCENDING;
192 public SortOrder getSortOrder() { in getSortOrder()
DMtpPagerAdapter.java22 import com.android.gallery3d.ingest.data.MtpDeviceIndex.SortOrder;
43 private SortOrder mSortOrder = SortOrder.DESCENDING;
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DSearchContactsCursorLoader.java33 import com.android.dialer.contacts.displaypreference.ContactDisplayPreferences.SortOrder;
77 == SortOrder.BY_PRIMARY); in getSortKey()