Home
last modified time | relevance | path

Searched refs:callType (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/calllog/
DCallTypeHelper.java52 public CharSequence getCallTypeText(int callType) { in getCallTypeText() argument
53 switch (callType) { in getCallTypeText()
67 throw new IllegalArgumentException("invalid call type: " + callType); in getCallTypeText()
72 public Integer getHighlightedColor(int callType) { in getHighlightedColor() argument
73 switch (callType) { in getHighlightedColor()
89 throw new IllegalArgumentException("invalid call type: " + callType); in getHighlightedColor()
DCallTypeIconsView.java59 public void add(int callType) { in add() argument
60 mCallTypes.add(callType); in add()
62 final Drawable drawable = getCallTypeDrawable(callType); in add()
78 private Drawable getCallTypeDrawable(int callType) { in getCallTypeDrawable() argument
79 switch (callType) { in getCallTypeDrawable()
89 throw new IllegalArgumentException("invalid call type: " + callType); in getCallTypeDrawable()
101 for (Integer callType : mCallTypes) { in onDraw()
102 final Drawable drawable = getCallTypeDrawable(callType); in onDraw()
DCallLogGroupBuilder.java69 final int callType = cursor.getInt(CallLogQuery.CALL_TYPE); in addGroups() local
84 shouldGroup = (callType == Calls.INCOMING_TYPE || callType == Calls.OUTGOING_TYPE || in addGroups()
85 callType == Calls.MISSED_TYPE); in addGroups()
102 firstCallType = callType; in addGroups()
DCallDetailHistoryAdapter.java143 int callType = details.callTypes[0]; in getView() local
145 callTypeIconView.add(callType); in getView()
146 callTypeTextView.setText(mCallTypeHelper.getCallTypeText(callType)); in getView()
153 if (callType == Calls.MISSED_TYPE || callType == Calls.VOICEMAIL_TYPE) { in getView()
DCallLogQueryHandler.java168 public void fetchCalls(int callType) { in fetchCalls() argument
171 fetchCalls(QUERY_NEW_CALLS_TOKEN, requestId, true /*isNew*/, callType); in fetchCalls()
172 fetchCalls(QUERY_OLD_CALLS_TOKEN, requestId, false /*isNew*/, callType); in fetchCalls()
181 private void fetchCalls(int token, int requestId, boolean isNew, int callType) { in fetchCalls() argument
193 if (callType > CALL_TYPE_ALL) { in fetchCalls()
196 selectionArgs.add(Integer.toString(callType)); in fetchCalls()
DCallLogFragment.java478 int callType = cursor.getInt(CallLogQuery.CALL_TYPE); in callSelectedEntry() local
480 (callType == Calls.INCOMING_TYPE in callSelectedEntry()
481 || callType == Calls.MISSED_TYPE)) { in callSelectedEntry()
DCallLogAdapter.java526 final int callType = c.getInt(CallLogQuery.CALL_TYPE); in bindView() local
535 if (callType == Calls.VOICEMAIL_TYPE) { in bindView()
/packages/apps/Phone/src/com/android/phone/
DCallLogAsync.java74 int callType, in AddCallArgs() argument
98 this.callType = callType; in AddCallArgs()
108 public final int callType; field in CallLogAsync.AddCallArgs
165 c.callType, c.timestamp, c.durationInSec); in doInBackground()
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/
DCallLogListItemHelperTest.java129 int callType) { in setPhoneCallDetailsWithNumberAndType() argument
132 new int[]{ callType }, TEST_DATE, TEST_DURATION), in setPhoneCallDetailsWithNumberAndType()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogProviderTest.java368 private ContentValues getDefaultValues(int callType) { in getDefaultValues() argument
370 values.put(Calls.TYPE, callType); in getDefaultValues()
/packages/apps/Contacts/src/com/android/contacts/
DCallDetailActivity.java600 int callType = callCursor.getInt(CALL_TYPE_COLUMN_INDEX); in getPhoneCallDetailsForUri() local
638 new int[]{ callType }, date, duration, in getPhoneCallDetailsForUri()