Searched refs:callTypes (Results 1 – 6 of 6) sorted by relevance
189 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() argument224 int lastCallType = getLastCallType(callTypes); in getCallDescriptionStringID()253 private int getLastCallType(int[] callTypes) { in getLastCallType() argument254 if (callTypes.length > 0) { in getLastCallType()255 return callTypes[0]; in getLastCallType()
78 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()
948 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() local1276 callTypes[index] = cursor.getInt(CallLogQuery.CALL_TYPE); in getCallTypes()1280 return callTypes; in getCallTypes()
54 public int[] callTypes; field in PhoneCallDetails196 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()
247 int[] callTypes = mLastCallData.getCallTypes(); in onBindLastCallRow() local248 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() local315 return new LastCallData(number, nameSb.toString(), secondaryText.toString(), callTypes); in convertLastCallCursor()402 int[] callTypes) { in LastCallData() argument406 mCallTypes = callTypes; in LastCallData()
579 int[] callTypes = new int[count]; in getCallTypes() local586 callTypes[index] = PhoneLoader.VOICEMAIL_TYPE; in getCallTypes()589 callTypes[index] = cursor.getInt(column); in getCallTypes()594 return callTypes; in getCallTypes()