Home
last modified time | relevance | path

Searched refs:AppCompatConstants (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
DCallLogGroupBuilderTest.java26 import com.android.dialer.util.AppCompatConstants;
71 addCallLogEntry(TEST_NUMBER1, AppCompatConstants.CALLS_INCOMING_TYPE); in testAddGroups_OneCall()
77 addCallLogEntry(TEST_NUMBER1, AppCompatConstants.CALLS_INCOMING_TYPE); in testAddGroups_TwoCallsNotMatching()
78 addCallLogEntry(TEST_NUMBER2, AppCompatConstants.CALLS_INCOMING_TYPE); in testAddGroups_TwoCallsNotMatching()
84 addCallLogEntry(TEST_NUMBER1, AppCompatConstants.CALLS_INCOMING_TYPE); in testAddGroups_ThreeCallsMatching()
85 addCallLogEntry(TEST_NUMBER1, AppCompatConstants.CALLS_INCOMING_TYPE); in testAddGroups_ThreeCallsMatching()
86 addCallLogEntry(TEST_NUMBER1, AppCompatConstants.CALLS_INCOMING_TYPE); in testAddGroups_ThreeCallsMatching()
94 AppCompatConstants.CALLS_OUTGOING_TYPE); in testAddGroups_WithPostDialMatching()
96 AppCompatConstants.CALLS_OUTGOING_TYPE); in testAddGroups_WithPostDialMatching()
98 AppCompatConstants.CALLS_OUTGOING_TYPE); in testAddGroups_WithPostDialMatching()
[all …]
DPhoneCallDetailsHelperTest.java34 import com.android.dialer.util.AppCompatConstants;
226 setPhoneCallDetailsWithCallTypeIcons(AppCompatConstants.CALLS_INCOMING_TYPE); in testSetPhoneCallDetails_CallTypeIcons()
227 assertCallTypeIconsEquals(AppCompatConstants.CALLS_INCOMING_TYPE); in testSetPhoneCallDetails_CallTypeIcons()
229 setPhoneCallDetailsWithCallTypeIcons(AppCompatConstants.CALLS_OUTGOING_TYPE); in testSetPhoneCallDetails_CallTypeIcons()
230 assertCallTypeIconsEquals(AppCompatConstants.CALLS_OUTGOING_TYPE); in testSetPhoneCallDetails_CallTypeIcons()
232 setPhoneCallDetailsWithCallTypeIcons(AppCompatConstants.CALLS_MISSED_TYPE); in testSetPhoneCallDetails_CallTypeIcons()
233 assertCallTypeIconsEquals(AppCompatConstants.CALLS_MISSED_TYPE); in testSetPhoneCallDetails_CallTypeIcons()
235 setPhoneCallDetailsWithCallTypeIcons(AppCompatConstants.CALLS_VOICEMAIL_TYPE); in testSetPhoneCallDetails_CallTypeIcons()
236 assertCallTypeIconsEquals(AppCompatConstants.CALLS_VOICEMAIL_TYPE); in testSetPhoneCallDetails_CallTypeIcons()
263 AppCompatConstants.CALLS_INCOMING_TYPE, in testSetPhoneCallDetails_MultipleCallTypeIcons()
[all …]
DCallLogListItemHelperTest.java30 import com.android.dialer.util.AppCompatConstants;
111 getPhoneCallDetailsWithTypes(AppCompatConstants.CALLS_VOICEMAIL_TYPE); in testSetPhoneCallDetails_ReadVoicemail()
118 getPhoneCallDetailsWithTypes(AppCompatConstants.CALLS_VOICEMAIL_TYPE); in testSetPhoneCallDetails_UnreadVoicemail()
125 "", AppCompatConstants.CALLS_VOICEMAIL_TYPE); in testSetPhoneCallDetails_VoicemailFromUnknown()
133 int[] callTypes = new int[] {AppCompatConstants.CALLS_INCOMING_TYPE}; in testGetCallDescriptionID_Answered()
142 int[] callTypes = new int[] {AppCompatConstants.CALLS_MISSED_TYPE}; in testGetCallDescriptionID_Missed()
153 int[] callTypes = new int[] {AppCompatConstants.CALLS_OUTGOING_TYPE}; in testGetCallDescriptionID_OutgoingSingle()
165 AppCompatConstants.CALLS_OUTGOING_TYPE, in testGetCallDescriptionID_OutgoingMultiple()
166 AppCompatConstants.CALLS_OUTGOING_TYPE in testGetCallDescriptionID_OutgoingMultiple()
177 int[] callTypes = new int[] {AppCompatConstants.CALLS_VOICEMAIL_TYPE}; in testGetCallDescriptionID_Voicemail()
[all …]
DCallLogAdapterTest.java40 import com.android.dialer.util.AppCompatConstants;
483 AppCompatConstants.CALLS_INCOMING_TYPE, in testBindView_UriNumber()
543 AppCompatConstants.CALLS_INCOMING_TYPE, in testBindView_NumberOnlyDbCachedFormattedNumber()
610 AppCompatConstants.CALLS_INCOMING_TYPE); in createPrivateCallLogEntry()
618 AppCompatConstants.CALLS_INCOMING_TYPE); in createUnknownCallLogEntry()
751 if (type == AppCompatConstants.CALLS_VOICEMAIL_TYPE) { in getValues()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallTypeHelper.java22 import com.android.dialer.util.AppCompatConstants;
69 case AppCompatConstants.CALLS_INCOMING_TYPE: in getCallTypeText()
76 case AppCompatConstants.CALLS_OUTGOING_TYPE: in getCallTypeText()
83 case AppCompatConstants.CALLS_MISSED_TYPE: in getCallTypeText()
90 case AppCompatConstants.CALLS_VOICEMAIL_TYPE: in getCallTypeText()
93 case AppCompatConstants.CALLS_REJECTED_TYPE: in getCallTypeText()
96 case AppCompatConstants.CALLS_BLOCKED_TYPE: in getCallTypeText()
107 case AppCompatConstants.CALLS_INCOMING_TYPE: in getHighlightedColor()
111 case AppCompatConstants.CALLS_OUTGOING_TYPE: in getHighlightedColor()
115 case AppCompatConstants.CALLS_MISSED_TYPE: in getHighlightedColor()
[all …]
DCallLogGroupBuilder.java29 import com.android.dialer.util.AppCompatConstants;
287 return callType != AppCompatConstants.CALLS_VOICEMAIL_TYPE in areBothNotVoicemail()
288 && groupCallType != AppCompatConstants.CALLS_VOICEMAIL_TYPE; in areBothNotVoicemail()
292 return callType != AppCompatConstants.CALLS_BLOCKED_TYPE in areBothNotBlocked()
293 && groupCallType != AppCompatConstants.CALLS_BLOCKED_TYPE; in areBothNotBlocked()
297 return callType == AppCompatConstants.CALLS_BLOCKED_TYPE in areBothBlocked()
298 && groupCallType == AppCompatConstants.CALLS_BLOCKED_TYPE; in areBothBlocked()
DCallTypeIconsView.java32 import com.android.dialer.util.AppCompatConstants;
112 case AppCompatConstants.CALLS_INCOMING_TYPE: in getCallTypeDrawable()
114 case AppCompatConstants.CALLS_OUTGOING_TYPE: in getCallTypeDrawable()
116 case AppCompatConstants.CALLS_MISSED_TYPE: in getCallTypeDrawable()
118 case AppCompatConstants.CALLS_VOICEMAIL_TYPE: in getCallTypeDrawable()
120 case AppCompatConstants.CALLS_BLOCKED_TYPE: in getCallTypeDrawable()
DCallLogListItemHelper.java26 import com.android.dialer.util.AppCompatConstants;
219 if (lastCallType == AppCompatConstants.CALLS_MISSED_TYPE) { in getCallDescriptionStringID()
223 } else if (lastCallType == AppCompatConstants.CALLS_INCOMING_TYPE) { in getCallDescriptionStringID()
227 } else if (lastCallType == AppCompatConstants.CALLS_VOICEMAIL_TYPE) { in getCallDescriptionStringID()
DCallLogQueryHandler.java42 import com.android.dialer.util.AppCompatConstants;
185 selectionArgs.add(Integer.toString(AppCompatConstants.CALLS_BLOCKED_TYPE)); in fetchCalls()
202 where.append("(" + Calls.TYPE + " = " + AppCompatConstants.CALLS_VOICEMAIL_TYPE + ")"); in fetchCalls()
/packages/apps/Dialer/tests/src/com/android/dialer/tests/calllog/
DFillCallLogTestActivity.java60 import com.android.dialer.util.AppCompatConstants;
77 AppCompatConstants.CALLS_INCOMING_TYPE,
78 AppCompatConstants.CALLS_OUTGOING_TYPE,
79 AppCompatConstants.CALLS_MISSED_TYPE
413 return AppCompatConstants.CALLS_INCOMING_TYPE; in getManualCallType()
415 return AppCompatConstants.CALLS_OUTGOING_TYPE; in getManualCallType()
417 return AppCompatConstants.CALLS_VOICEMAIL_TYPE; in getManualCallType()
421 return AppCompatConstants.CALLS_MISSED_TYPE; in getManualCallType()
542 if (getManualCallType() == AppCompatConstants.CALLS_VOICEMAIL_TYPE) { in addManualEntry()
610 if (callType == AppCompatConstants.CALLS_MISSED_TYPE) { in addCall()
/packages/apps/Dialer/tests/src/com/android/dialer/
DCallDetailActivityTest.java36 import com.android.dialer.util.AppCompatConstants;
139 values.put(CallLog.Calls.TYPE, AppCompatConstants.CALLS_INCOMING_TYPE); in setActivityIntentForTestCallEntry()
/packages/apps/Dialer/src/com/android/dialer/util/
DAppCompatConstants.java20 public final class AppCompatConstants { class