Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogListItemHelper.java189 if (details.callTypes.length > 1) { in getCallDescription()
191 mResources.getString(R.string.description_num_calls, details.callTypes.length)); in getCallDescription()
203 int stringID = getCallDescriptionStringID(details.callTypes, details.isRead); in getCallDescription()
223 public int getCallDescriptionStringID(int[] callTypes, boolean isRead) { in getCallDescriptionStringID() argument
224 int lastCallType = getLastCallType(callTypes); in getCallDescriptionStringID()
253 private int getLastCallType(int[] callTypes) { in getLastCallType() argument
254 if (callTypes.length > 0) { in getLastCallType()
255 return callTypes[0]; in getLastCallType()
DPhoneCallDetailsHelper.java78 int count = details.callTypes.length; in setPhoneCallDetails()
81 views.callTypeIcons.add(details.callTypes[index]); in setPhoneCallDetails()
83 isVoicemail = details.callTypes[index] == Calls.VOICEMAIL_TYPE; in setPhoneCallDetails()
173 if (details.callTypes[0] != Calls.VOICEMAIL_TYPE) { in getCallLocationAndDate()
258 if (details.callTypes[0] == Calls.VOICEMAIL_TYPE) { in getCallDate()
358 if (details.callTypes[0] == Calls.VOICEMAIL_TYPE && details.duration > 0) { in setDetailText()
DCallLogAdapter.java948 details.callTypes = getCallTypes(cursor, count); in createPhoneCallDetails()
969 if (details.callTypes[0] == CallLog.Calls.VOICEMAIL_TYPE in createPhoneCallDetails()
970 || details.callTypes[0] == CallLog.Calls.MISSED_TYPE) { in createPhoneCallDetails()
1274 int[] callTypes = new int[count]; in getCallTypes() local
1276 callTypes[index] = cursor.getInt(CallLogQuery.CALL_TYPE); in getCallTypes()
1280 return callTypes; in getCallTypes()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DPhoneCallDetails.java54 public int[] callTypes; field in PhoneCallDetails
196 for (int i = 0; i < callTypes.length; i++) { in hasIncomingCalls()
197 if (callTypes[i] == CallLog.Calls.INCOMING_TYPE in hasIncomingCalls()
198 || callTypes[i] == CallLog.Calls.MISSED_TYPE in hasIncomingCalls()
199 || callTypes[i] == CallLog.Calls.VOICEMAIL_TYPE in hasIncomingCalls()
200 || callTypes[i] == CallLog.Calls.REJECTED_TYPE in hasIncomingCalls()
201 || callTypes[i] == CallLog.Calls.BLOCKED_TYPE) { in hasIncomingCalls()
/packages/apps/Car/Dialer/src/com/android/car/dialer/
DStrequentsAdapter.java247 int[] callTypes = mLastCallData.getCallTypes(); in onBindLastCallRow() local
248 int icons = Math.min(callTypes.length, CallTypeIconsView.MAX_CALL_TYPE_ICONS); in onBindLastCallRow()
250 viewHolder.callTypeIconsView.add(callTypes[i]); in onBindLastCallRow()
313 int[] callTypes = mUiCallManager.getCallTypes(cursor, 1); in convertLastCallCursor() local
315 return new LastCallData(number, nameSb.toString(), secondaryText.toString(), callTypes); in convertLastCallCursor()
402 int[] callTypes) { in LastCallData() argument
406 mCallTypes = callTypes; in LastCallData()
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/
DUiCallManager.java579 int[] callTypes = new int[count]; in getCallTypes() local
586 callTypes[index] = PhoneLoader.VOICEMAIL_TYPE; in getCallTypes()
589 callTypes[index] = cursor.getInt(column); in getCallTypes()
594 return callTypes; in getCallTypes()