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.java184 String[] sortKey, in binarySort() argument
192 final String pivotValue = sortKey[start]; in binarySort()
211 final String rhs = sortKey[mid]; in binarySort()
241 sortKey[left + 2] = sortKey[left + 1]; in binarySort()
245 sortKey[left + 1] = sortKey[left]; in binarySort()
250 System.arraycopy(sortKey, left, sortKey, left + 1, n); in binarySort()
255 sortKey[left] = pivotValue; in binarySort()
265 long[] sortKey, in binarySort() argument
273 final long pivotValue = sortKey[start]; in binarySort()
292 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.java7540 String sortKey; in getLocalizedSortOrder() local
7544 sortKey = sortOrder.substring(0, spaceIndex); in getLocalizedSortOrder()
7547 sortKey = sortOrder; in getLocalizedSortOrder()
7549 if (TextUtils.equals(sortKey, Contacts.SORT_KEY_PRIMARY)) { in getLocalizedSortOrder()
7552 } else if (TextUtils.equals(sortKey, Contacts.SORT_KEY_ALTERNATIVE)) { in getLocalizedSortOrder()
8071 String sortKey; in getFastScrollingIndexExtras() local
8080 sortKey = sortOrder.substring(0, spaceIndex); in getFastScrollingIndexExtras()
8083 sortKey = sortOrder; in getFastScrollingIndexExtras()
8086 sortKey = Contacts.SORT_KEY_PRIMARY; in getFastScrollingIndexExtras()
8091 if (TextUtils.equals(sortKey, Contacts.SORT_KEY_PRIMARY)) { in getFastScrollingIndexExtras()
[all …]