Home
last modified time | relevance | path

Searched refs:RowType (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/speeddial/
DSpeedDialAdapter.java68 @IntDef({RowType.STARRED_HEADER, RowType.SUGGESTION_HEADER, RowType.STARRED, RowType.SUGGESTION})
69 @interface RowType { annotation in SpeedDialAdapter
115 case RowType.STARRED: in onCreateViewHolder()
120 case RowType.SUGGESTION: in onCreateViewHolder()
123 case RowType.STARRED_HEADER: in onCreateViewHolder()
124 case RowType.SUGGESTION_HEADER: in onCreateViewHolder()
127 case RowType.REMOVE_VIEW: in onCreateViewHolder()
140 case RowType.STARRED_HEADER: in onBindViewHolder()
144 case RowType.SUGGESTION_HEADER: in onBindViewHolder()
148 case RowType.STARRED: in onBindViewHolder()
[all …]
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/
DNewCallLogAdapter.java42 RowType.PROMOTION_CARD,
43 RowType.HEADER_TODAY,
44 RowType.HEADER_YESTERDAY,
45 RowType.HEADER_OLDER,
46 RowType.CALL_LOG_ENTRY
48 @interface RowType { annotation in NewCallLogAdapter
182 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, @RowType int viewType) { in onCreateViewHolder()
184 case RowType.PROMOTION_CARD: in onCreateViewHolder()
190 case RowType.HEADER_TODAY: in onCreateViewHolder()
191 case RowType.HEADER_YESTERDAY: in onCreateViewHolder()
[all …]
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/
DSearchCursorManager.java57 SearchCursorManager.RowType.INVALID,
58 SearchCursorManager.RowType.CONTACT_HEADER,
59 SearchCursorManager.RowType.CONTACT_ROW,
60 SearchCursorManager.RowType.NEARBY_PLACES_HEADER,
61 SearchCursorManager.RowType.NEARBY_PLACES_ROW,
62 SearchCursorManager.RowType.DIRECTORY_HEADER,
63 SearchCursorManager.RowType.DIRECTORY_ROW,
64 SearchCursorManager.RowType.SEARCH_ACTION,
65 SearchCursorManager.RowType.LOCATION_REQUEST
67 @interface RowType { annotation in SearchCursorManager
[all …]
DSearchAdapter.java34 import com.android.dialer.searchfragment.list.SearchCursorManager.RowType;
62 public ViewHolder onCreateViewHolder(ViewGroup root, @RowType int rowType) { in onCreateViewHolder()
64 case RowType.CONTACT_ROW: in onCreateViewHolder()
68 case RowType.NEARBY_PLACES_ROW: in onCreateViewHolder()
72 case RowType.CONTACT_HEADER: in onCreateViewHolder()
73 case RowType.DIRECTORY_HEADER: in onCreateViewHolder()
74 case RowType.NEARBY_PLACES_HEADER: in onCreateViewHolder()
77 case RowType.DIRECTORY_ROW: in onCreateViewHolder()
81 case RowType.SEARCH_ACTION: in onCreateViewHolder()
85 case RowType.LOCATION_REQUEST: in onCreateViewHolder()
[all …]
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DRttChatAdapter.java44 RowType.ADVISORY,
45 RowType.MESSAGE,
47 @interface RowType { annotation in RttChatAdapter
77 public ViewHolder onCreateViewHolder(ViewGroup parent, @RowType int viewType) { in onCreateViewHolder()
80 case RowType.ADVISORY: in onCreateViewHolder()
83 case RowType.MESSAGE: in onCreateViewHolder()
94 return RowType.ADVISORY; in getItemViewType()
96 return RowType.MESSAGE; in getItemViewType()
103 case RowType.ADVISORY: in onBindViewHolder()
105 case RowType.MESSAGE: in onBindViewHolder()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DNewVoicemailAdapter.java69 @IntDef({RowType.HEADER, RowType.VOICEMAIL_ENTRY, RowType.VOICEMAIL_ALERT})
70 @interface RowType { annotation in NewVoicemailAdapter
215 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, @RowType int viewType) { in onCreateViewHolder()
220 case RowType.VOICEMAIL_ALERT: in onCreateViewHolder()
223 case RowType.HEADER: in onCreateViewHolder()
226 case NewVoicemailAdapter.RowType.VOICEMAIL_ENTRY: in onCreateViewHolder()
386 @RowType int viewType = getItemViewType(position); in onBindAlertViewHolder()
396 Assert.checkArgument(viewType == RowType.VOICEMAIL_ALERT, "Invalid row type: " + viewType); in onBindAlertViewHolder()
414 @RowType int viewType = getItemViewType(position); in onBindHeaderViewHolder()
1035 @RowType
[all …]