Home
last modified time | relevance | path

Searched refs:sortMethod (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/search/
DContactResultViewHolder.java75 Integer sortMethod) { in bindSearchResult() argument
79 TelecomUtils.isSortByFirstName(sortMethod) ? contact.getDisplayName() in bindSearchResult()
81 TelecomUtils.setContactBitmapAsync(mContext, mContactPicture, contact, sortMethod); in bindSearchResult()
97 Integer sortMethod) { in bindTypeDownResult() argument
105 TelecomUtils.isSortByFirstName(sortMethod) ? contact.getDisplayName() in bindTypeDownResult()
109 TelecomUtils.setContactBitmapAsync(mContext, mContactPicture, contact, sortMethod); in bindTypeDownResult()
DContactResultsAdapter.java79 public void setSortMethod(Integer sortMethod) { in setSortMethod() argument
80 mSortMethod = sortMethod; in setSortMethod()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/entity/
DContactSortingInfo.java67 Integer sortMethod; in getSortingInfo() local
72 sortMethod = TelecomUtils.SORT_BY_FIRST_NAME; in getSortingInfo()
75 sortMethod = TelecomUtils.SORT_BY_LAST_NAME; in getSortingInfo()
78 return new Pair<>(comparator, sortMethod); in getSortingInfo()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/
DFavoriteContactViewHolder.java62 public void bind(@NonNull Contact contact, Integer sortMethod) { in bind() argument
64 mTitle.setText(TelecomUtils.isSortByFirstName(sortMethod) ? contact.getDisplayName() in bind()
87 TelecomUtils.setContactBitmapAsync(context, mIcon, contact, sortMethod); in bind()
DFavoriteAdapter.java78 public void setSortMethod(Integer sortMethod) { in setSortMethod() argument
79 mSortMethod = sortMethod; in setSortMethod()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DTelecomUtils.java439 Integer sortMethod) { in setContactBitmapAsync() argument
440 setContactBitmapAsync(context, icon, contact, null, sortMethod); in setContactBitmapAsync()
469 Integer sortMethod) { in setContactBitmapAsync() argument
471 boolean startWithFirstName = isSortByFirstName(sortMethod); in setContactBitmapAsync()
678 public static boolean isSortByFirstName(Integer sortMethod) { in isSortByFirstName() argument
679 return SORT_BY_FIRST_NAME.equals(sortMethod); in isSortByFirstName()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/calllog/
DCallLogViewHolder.java81 public void bind(UiCallLog uiCallLog, Integer sortMethod) { in bind() argument
89 sortMethod); in bind() local
91 mTitleView.setText(TelecomUtils.isSortByFirstName(sortMethod) ? uiCallLog.getTitle() in bind()
DCallLogAdapter.java92 public void setSortMethod(Integer sortMethod) { in setSortMethod() argument
93 mSortMethod = sortMethod; in setSortMethod()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactListViewHolder.java77 public void bind(Contact contact, boolean showHeader, String header, Integer sortMethod) { in bind() argument
79 sortMethod); in bind() local
84 mTitleView.setText(TelecomUtils.isSortByFirstName(sortMethod) ? contact.getDisplayName() in bind()
DContactListViewModel.java122 Integer sortMethod = contactSortingInfo.second; in sortContacts() local
126 postValue(new Pair<>(sortMethod, contactList)); in sortContacts()