Home
last modified time | relevance | path

Searched refs:callTypes (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogListItemHelper.java188 if (details.callTypes.length > 1) { in getCallDescription()
190 resources.getString(R.string.description_num_calls, details.callTypes.length)); in getCallDescription()
202 int stringID = getCallDescriptionStringID(details.callTypes, details.isRead); in getCallDescription()
222 public int getCallDescriptionStringID(int[] callTypes, boolean isRead) { in getCallDescriptionStringID() argument
223 int lastCallType = getLastCallType(callTypes); in getCallDescriptionStringID()
252 private int getLastCallType(int[] callTypes) { in getLastCallType() argument
253 if (callTypes.length > 0) { in getLastCallType()
254 return callTypes[0]; in getLastCallType()
DPhoneCallDetailsHelper.java157 int count = details.callTypes.length; in setPhoneCallDetails()
160 views.callTypeIcons.add(details.callTypes[index]); in setPhoneCallDetails()
162 isVoicemail = details.callTypes[index] == Calls.VOICEMAIL_TYPE; in setPhoneCallDetails()
445 if (details.callTypes[0] != Calls.VOICEMAIL_TYPE) { in getCallLocationAndDate()
513 if (details.callTypes[0] == Calls.VOICEMAIL_TYPE) { in getCallDate()
595 if (details.callTypes[0] == Calls.VOICEMAIL_TYPE && details.duration > 0) { in setDetailText()
DCallLogAdapter.java967 details.callTypes = getCallTypes(cursor, count); in createPhoneCallDetails()
988 if (details.callTypes[0] == CallLog.Calls.VOICEMAIL_TYPE in createPhoneCallDetails()
989 || details.callTypes[0] == CallLog.Calls.MISSED_TYPE) { in createPhoneCallDetails()
1321 int[] callTypes = new int[count]; in getCallTypes() local
1323 callTypes[index] = cursor.getInt(CallLogQuery.CALL_TYPE); in getCallTypes()
1327 return callTypes; in getCallTypes()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DPhoneCallDetails.java54 public int[] callTypes; field in PhoneCallDetails
201 for (int i = 0; i < callTypes.length; i++) { in hasIncomingCalls()
202 if (callTypes[i] == CallLog.Calls.INCOMING_TYPE in hasIncomingCalls()
203 || callTypes[i] == CallLog.Calls.MISSED_TYPE in hasIncomingCalls()
204 || callTypes[i] == CallLog.Calls.VOICEMAIL_TYPE in hasIncomingCalls()
205 || callTypes[i] == CallLog.Calls.REJECTED_TYPE in hasIncomingCalls()
206 || callTypes[i] == CallLog.Calls.BLOCKED_TYPE) { in hasIncomingCalls()
DCallTypeIconsView.java49 private List<Integer> callTypes = new ArrayList<>(3); field in CallTypeIconsView
77 callTypes.clear(); in clear()
84 callTypes.add(callType); in add()
161 return callTypes.size(); in getCount()
165 return callTypes.get(index); in getCallType()
204 for (Integer callType : callTypes) { in onDraw()