Searched refs:SortOrder (Results 1 – 7 of 7) sorted by relevance
75 public enum SortOrder { enum in MtpDeviceIndex243 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 …]
93 enum SortOrder implements StringResEnum { enum112 SortOrder(@StringRes int value) { in SortOrder() method in SortOrder122 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()
62 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()
41 public SortOrder getSortOrder() { in getSortOrder()42 return SortOrder.BY_PRIMARY; in getSortOrder()46 public void setSortOrder(SortOrder sortOrder) { in setSortOrder()
22 import com.android.gallery3d.ingest.data.MtpDeviceIndex.SortOrder;48 private SortOrder mSortOrder = SortOrder.DESCENDING;192 public SortOrder getSortOrder() { in getSortOrder()
22 import com.android.gallery3d.ingest.data.MtpDeviceIndex.SortOrder;43 private SortOrder mSortOrder = SortOrder.DESCENDING;
33 import com.android.dialer.contacts.displaypreference.ContactDisplayPreferences.SortOrder;77 == SortOrder.BY_PRIMARY); in getSortKey()