Home
last modified time | relevance | path

Searched refs:accountLabel (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Dialer/tests/src/com/android/dialer/calllog/calllogcache/
DTestTelecomCallLogCache.java36 String accountLabel) { in TestTelecomCallLogCache() argument
39 mAccountLabel = accountLabel; in TestTelecomCallLogCache()
52 public void setAccountLabel(String accountLabel) { in setAccountLabel() argument
53 mAccountLabel = accountLabel; in setAccountLabel()
/packages/apps/Dialer/src/com/android/dialer/
DPhoneCallDetails.java166 @Nullable String viaNumber, @Nullable CharSequence accountLabel) { in createAccountLabelDescription() argument
168 if((!TextUtils.isEmpty(viaNumber)) && !TextUtils.isEmpty(accountLabel)) { in createAccountLabelDescription()
170 accountLabel, viaNumber); in createAccountLabelDescription()
178 } else if (!TextUtils.isEmpty(accountLabel)) { in createAccountLabelDescription()
180 resources.getString(R.string.description_phone_account), accountLabel); in createAccountLabelDescription()
DCallDetailActivity.java145 CharSequence accountLabel = PhoneAccountUtils.getAccountLabel(mContext,
149 accountLabel);
151 if (!TextUtils.isEmpty(accountLabel)) {
152 accountLabel = mResources.getString(R.string.call_log_via_number_phone_account,
153 accountLabel, mDetails.viaNumber);
155 accountLabel = mResources.getString(R.string.call_log_via_number,
159 if (!TextUtils.isEmpty(accountLabel)) {
160 mAccountLabel.setText(accountLabel);
/packages/apps/Dialer/src/com/android/dialer/calllog/
DPhoneCallDetailsHelper.java118 String accountLabel = mCallLogCache.getAccountLabel(details.accountHandle); in setPhoneCallDetails() local
120 if (!TextUtils.isEmpty(accountLabel)) { in setPhoneCallDetails()
121 accountLabel = mResources.getString(R.string.call_log_via_number_phone_account, in setPhoneCallDetails()
122 accountLabel, details.viaNumber); in setPhoneCallDetails()
124 accountLabel = mResources.getString(R.string.call_log_via_number, in setPhoneCallDetails()
128 if (!TextUtils.isEmpty(accountLabel)) { in setPhoneCallDetails()
130 views.callAccountLabel.setText(accountLabel); in setPhoneCallDetails()
DCallLogListItemHelper.java191 String accountLabel = mCallLogCache.getAccountLabel(details.accountHandle); in getCallDescription() local
193 details.viaNumber, accountLabel); in getCallDescription()
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
DPhoneCallDetailsTest.java57 CharSequence accountLabel = TextUtils.expandTemplate( in testCreateAccountLabelDescription_AccountLabel() local
61 assertEquals(accountLabel, result); in testCreateAccountLabelDescription_AccountLabel()
DPhoneCallDetailsHelperTest.java409 private void assertAccountLabelEquals(String viaNumber, String accountLabel) { in assertAccountLabelEquals() argument
412 assertEquals(accountLabel + " " + viaNumberText, mViews.callAccountLabel.getText()); in assertAccountLabelEquals()
/packages/services/Telephony/src/com/android/phone/settings/
DPhoneAccountSettingsFragment.java368 CharSequence accountLabel = account.getLabel(); in initAccountList() local
371 accountPreference.setTitle((TextUtils.isEmpty(accountLabel) && isSimAccount) in initAccountList()
372 ? getString(R.string.phone_accounts_default_account_label) : accountLabel); in initAccountList()
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DSelectSyncedCalendarsMultiAccountAdapter.java393 CharSequence accountLabel = getLabelForType(accountType); in bindGroupView() local
395 if (accountLabel != null) { in bindGroupView()
396 setText(view, R.id.account_type, accountLabel.toString()); in bindGroupView()