Home
last modified time | relevance | path

Searched refs:sortKey (Results 1 – 4 of 4) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortingCursorWrapper.java185 String[] sortKey, in binarySort() argument
193 final String pivotValue = sortKey[start]; in binarySort()
212 final String rhs = sortKey[mid]; in binarySort()
242 sortKey[left + 2] = sortKey[left + 1]; in binarySort()
246 sortKey[left + 1] = sortKey[left]; in binarySort()
251 System.arraycopy(sortKey, left, sortKey, left + 1, n); in binarySort()
256 sortKey[left] = pivotValue; in binarySort()
266 long[] sortKey, in binarySort() argument
274 final long pivotValue = sortKey[start]; in binarySort()
293 final long rhs = sortKey[mid]; in binarySort()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactSectionIndexer.java143 final String sortKey = cursor.getString(ContactUtil.INDEX_SORT_KEY); in buildIndexerFromDisplayNames() local
144 final String section = TextUtils.isEmpty(sortKey) ? BLANK_HEADER_STRING : in buildIndexerFromDisplayNames()
145 sortKey.substring(0, 1).toUpperCase(); in buildIndexerFromDisplayNames()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleNotifications.java857 final String sortKey = String.format(Locale.US, "%02d", order); in setWearableGroupOptions() local
858 notifBuilder.setGroup(groupKey).setSortKey(sortKey); in setWearableGroupOptions()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java7042 String sortKey; in getLocalizedSortOrder() local
7046 sortKey = sortOrder.substring(0, spaceIndex); in getLocalizedSortOrder()
7049 sortKey = sortOrder; in getLocalizedSortOrder()
7051 if (TextUtils.equals(sortKey, Contacts.SORT_KEY_PRIMARY)) { in getLocalizedSortOrder()
7054 } else if (TextUtils.equals(sortKey, Contacts.SORT_KEY_ALTERNATIVE)) { in getLocalizedSortOrder()
7559 String sortKey; in getFastScrollingIndexExtras() local
7568 sortKey = sortOrder.substring(0, spaceIndex); in getFastScrollingIndexExtras()
7571 sortKey = sortOrder; in getFastScrollingIndexExtras()
7574 sortKey = Contacts.SORT_KEY_PRIMARY; in getFastScrollingIndexExtras()
7579 if (TextUtils.equals(sortKey, Contacts.SORT_KEY_PRIMARY)) { in getFastScrollingIndexExtras()
[all …]