Searched defs:callType (Results 1 - 8 of 8) sorted by relevance

/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DCallTypeHelper.java52 public CharSequence getCallTypeText(int callType) { argument
53 switch (callType) {
67 throw new IllegalArgumentException("invalid call type: " + callType);
72 public Integer getHighlightedColor(int callType) { argument
73 switch (callType) {
89 throw new IllegalArgumentException("invalid call type: " + callType);
H A DCallTypeIconsView.java59 public void add(int callType) { argument
60 mCallTypes.add(callType);
62 final Drawable drawable = getCallTypeDrawable(callType);
78 private Drawable getCallTypeDrawable(int callType) { argument
79 switch (callType) {
89 throw new IllegalArgumentException("invalid call type: " + callType);
101 for (Integer callType : mCallTypes) {
102 final Drawable drawable = getCallTypeDrawable(callType);
H A DCallLogQueryHandler.java141 public void fetchCalls(int callType, long newerThan) { argument
144 fetchCalls(QUERY_CALLLOG_TOKEN, requestId, callType, false /* newOnly */, newerThan);
147 public void fetchCalls(int callType) { argument
148 fetchCalls(callType, 0);
157 private void fetchCalls(int token, int requestId, int callType, boolean newOnly, argument
170 if (callType > CALL_TYPE_ALL) {
177 selectionArgs.add(Integer.toString(callType));
H A DCallLogAdapter.java524 final int callType = c.getInt(CallLogQuery.CALL_TYPE);
542 if (callType == Calls.VOICEMAIL_TYPE) {
635 bindBadge(view, info, details, callType);
638 protected void bindBadge(View view, ContactInfo info, PhoneCallDetails details, int callType) { argument
642 final int numMissed = getNumMissedCalls(callType);
731 private int getNumMissedCalls(int callType) { argument
732 if (callType == Calls.MISSED_TYPE) {
/packages/services/Telephony/src/com/android/phone/
H A DCallLogger.java109 public void logCall(CallerInfo ci, String number, int presentation, int callType, long start, argument
128 + "," + presentation + ", " + callType + ", " + start + ", " + duration);
132 presentation, callType, start, duration);
/packages/apps/PhoneCommon/src/com/android/phone/common/
H A DCallLogAsync.java65 * @param callType The type of call (e.g INCOMING_TYPE). @see
74 int callType,
98 this.callType = callType;
108 public final int callType; field in class:CallLogAsync.AddCallArgs
165 c.callType, c.timestamp, c.durationInSec);
70 AddCallArgs(Context context, CallerInfo ci, String number, int presentation, int callType, long timestamp, long durationInMillis) argument
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
H A DCallLogListItemHelperTest.java182 int presentation, String formattedNumber, int callType) {
186 new int[]{ callType }, TEST_DATE, TEST_DURATION),
192 int presentation, String formattedNumber, int callType) {
196 new int[]{ callType }, TEST_DATE, TEST_DURATION),
181 setPhoneCallDetailsWithNumberAndType(String number, int presentation, String formattedNumber, int callType) argument
191 setPhoneCallDetailsWithNumberAndTypeInFavorites(String number, int presentation, String formattedNumber, int callType) argument
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DCallLogProviderTest.java370 private ContentValues getDefaultValues(int callType) { argument
372 values.put(Calls.TYPE, callType);

Completed in 536 milliseconds