OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ContactDisplayUtils
(Results
1 - 11
of
11
) sorted by null
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/
ContactDisplayUtilTests.java
27
* Unit tests for (@link
ContactDisplayUtils
}
33
assertTrue(
ContactDisplayUtils
.isCustomPhoneType(Phone.TYPE_CUSTOM));
34
assertTrue(
ContactDisplayUtils
.isCustomPhoneType(Phone.TYPE_ASSISTANT));
38
assertFalse(
ContactDisplayUtils
.isCustomPhoneType(Phone.TYPE_HOME));
39
assertFalse(
ContactDisplayUtils
.isCustomPhoneType(Phone.TYPE_FAX_WORK));
40
assertFalse(
ContactDisplayUtils
.isCustomPhoneType(Phone.TYPE_MOBILE));
41
assertFalse(
ContactDisplayUtils
.isCustomPhoneType(Phone.TYPE_OTHER));
45
final CharSequence smsResult =
ContactDisplayUtils
.getLabelForCallOrSms(Phone.TYPE_CUSTOM,
46
"expected sms label",
ContactDisplayUtils
.INTERACTION_SMS, getContext());
49
final CharSequence callResult =
ContactDisplayUtils
.getLabelForCallOrSms(Phone.TYPE_CUSTOM
[
all
...]
/packages/apps/Contacts/src/com/android/contacts/widget/
AlphaTouchInterceptorOverlay.java
23
import com.android.contacts.detail.
ContactDisplayUtils
;
69
if (mAlphaLayer == this)
ContactDisplayUtils
.setAlphaOnViewBackground(this, 0.0f);
79
ContactDisplayUtils
.setAlphaOnViewBackground(mAlphaLayer, mAlpha);
/packages/apps/Dialer/tests/src/com/android/dialer/interactions/
PhoneNumberInteractionTest.java
35
import com.android.contacts.common.util.
ContactDisplayUtils
;
87
mContext,
ContactDisplayUtils
.INTERACTION_SMS, null);
106
mContext,
ContactDisplayUtils
.INTERACTION_SMS, null);
127
mContext,
ContactDisplayUtils
.INTERACTION_SMS, null);
168
mContext,
ContactDisplayUtils
.INTERACTION_CALL, null);
186
mContext,
ContactDisplayUtils
.INTERACTION_CALL, null);
207
mContext,
ContactDisplayUtils
.INTERACTION_CALL, null);
/packages/apps/Dialer/src/com/android/dialer/interactions/
PhoneNumberInteraction.java
52
import com.android.contacts.common.util.
ContactDisplayUtils
;
167
CharSequence value =
ContactDisplayUtils
.getLabelForCallOrSms((int) item.type,
222
.setTitle(mInteractionType ==
ContactDisplayUtils
.INTERACTION_SMS
320
case
ContactDisplayUtils
.INTERACTION_SMS:
461
(new PhoneNumberInteraction(activity,
ContactDisplayUtils
.INTERACTION_CALL, null))
482
(new PhoneNumberInteraction(activity,
ContactDisplayUtils
.INTERACTION_CALL, null))
496
(new PhoneNumberInteraction(activity,
ContactDisplayUtils
.INTERACTION_CALL, null, callOrigin))
513
(new PhoneNumberInteraction(activity,
ContactDisplayUtils
.INTERACTION_SMS, null))
/packages/apps/Contacts/src/com/android/contacts/interactions/
SmsInteraction.java
19
import com.android.contacts.common.util.
ContactDisplayUtils
;
169
return
ContactDisplayUtils
.getTelephoneTtsSpannable(contentDescription, phoneNumber);
CallLogInteraction.java
20
import com.android.contacts.common.util.
ContactDisplayUtils
;
189
return
ContactDisplayUtils
.getTelephoneTtsSpannable(contentDescription, phoneNumber);
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
ContactDisplayUtils.java
36
public class
ContactDisplayUtils
{
38
private static final String TAG =
ContactDisplayUtils
.class.getSimpleName();
78
". Defaulting to
ContactDisplayUtils
.INTERACTION_CALL.");
/packages/apps/Contacts/src/com/android/contacts/detail/
ContactDisplayUtils.java
55
public class
ContactDisplayUtils
{
56
private static final String TAG = "
ContactDisplayUtils
";
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactListItemView.java
54
import com.android.contacts.common.util.
ContactDisplayUtils
;
[
all
...]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
QuickContactActivity.java
129
import com.android.contacts.detail.
ContactDisplayUtils
;
[
all
...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
BaseAccountType.java
45
import com.android.contacts.common.util.
ContactDisplayUtils
;
543
return
ContactDisplayUtils
.isCustomPhoneType(type);
548
return
ContactDisplayUtils
.getPhoneLabelResourceId(type);
555
return
ContactDisplayUtils
.isCustomPhoneType(type);
560
return
ContactDisplayUtils
.getSmsLabelResourceId(type);
[
all
...]
Completed in 687 milliseconds