Home
last modified time | relevance | path

Searched refs:summary (Results 1 – 25 of 76) sorted by relevance

1234

/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
DMessageHeaderViewTest.java34 String summary = MessageHeaderView.getRecipientSummaryText(getContext(), "", "", to, cc, in testRecipientSummaryLongTo() local
37 assertTrue(summary.contains("TO00")); in testRecipientSummaryLongTo()
38 assertTrue(summary.contains("TO49")); in testRecipientSummaryLongTo()
39 assertFalse(summary.contains("TO50")); in testRecipientSummaryLongTo()
47 String summary = MessageHeaderView.getRecipientSummaryText(getContext(), "", "", to, cc, in testRecipientSummaryLongMultipleLists() local
50 assertTrue(summary.contains("TO00")); in testRecipientSummaryLongMultipleLists()
51 assertTrue(summary.contains("TO19")); in testRecipientSummaryLongMultipleLists()
52 assertTrue(summary.contains("CC00")); in testRecipientSummaryLongMultipleLists()
53 assertTrue(summary.contains("CC09")); in testRecipientSummaryLongMultipleLists()
54 assertTrue(summary.contains("BB00")); in testRecipientSummaryLongMultipleLists()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/
DAppViewHolder.java35 public TextView summary; field in AppViewHolder
50 holder.summary = (TextView) convertView.findViewById(R.id.widget_text1); in createOrRecycle()
67 summary.setText(entry.internalSizeStr); in updateSizeText()
70 summary.setText(entry.externalSizeStr); in updateSizeText()
73 summary.setText(entry.sizeStr); in updateSizeText()
77 summary.setText(invalidSizeStr); in updateSizeText()
DPremiumSmsAccess.java106 DividerPreference summary = new DividerPreference(getPrefContext()); in updatePrefs() local
107 summary.setSelectable(false); in updatePrefs()
108 summary.setSummary(R.string.premium_sms_warning); in updatePrefs()
109 summary.setDividerAllowedAbove(true); in updatePrefs()
110 screen.addPreference(summary); in updatePrefs()
DAppDomainsPreference.java51 final CharSequence summary = super.getSummary(); in getSummary() local
55 return context.getString(whichVersion, summary); in getSummary()
/packages/apps/PhoneCommon/src/com/android/phone/common/util/
DSettingsUtil.java80 CharSequence summary = context.getString(R.string.ringtone_unknown); in updateRingtoneName() local
83 summary = context.getString(R.string.ringtone_silent); in updateRingtoneName()
91 summary = title; in updateRingtoneName()
99 summary = context.getString(R.string.default_notification_description, summary); in updateRingtoneName()
101 handler.sendMessage(handler.obtainMessage(msg, summary)); in updateRingtoneName()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSettingsFragment.java270 final String summary = mRingtone != null ? mRingtone.getTitle(mContext) in setRingtoneSummary() local
273 mInboxRingtone.setSummary(summary); in setRingtoneSummary()
301 String summary = newValue.toString().trim(); in onPreferenceChange() local
302 if (TextUtils.isEmpty(summary)) { in onPreferenceChange()
303 summary = mUiAccount.getEmailAddress(); in onPreferenceChange()
305 mAccountDescription.setSummary(summary); in onPreferenceChange()
306 mAccountDescription.setText(summary); in onPreferenceChange()
307 cv.put(AccountColumns.DISPLAY_NAME, summary); in onPreferenceChange()
309 final String summary = newValue.toString().trim(); in onPreferenceChange() local
310 if (!TextUtils.isEmpty(summary)) { in onPreferenceChange()
[all …]
/packages/apps/Settings/src/com/android/settings/vpn2/
DManageablePreference.java88 String summary = (mState == STATE_NONE ? "" : states[mState]); in updateSummary() local
91 summary = TextUtils.isEmpty(summary) ? alwaysOnString : res.getString( in updateSummary()
92 R.string.join_two_unrelated_items, summary, alwaysOnString); in updateSummary()
94 setSummary(summary); in updateSummary()
/packages/apps/Settings/src/com/android/settings/accessibility/
DColorPreference.java102 final CharSequence summary = getSummary(); in onBindViewHolder() local
103 if (!TextUtils.isEmpty(summary)) { in onBindViewHolder()
104 previewImage.setContentDescription(summary); in onBindViewHolder()
134 final TextView summary = (TextView) view.findViewById(R.id.summary); in onBindListItem() local
135 summary.setText(title); in onBindListItem()
DPresetPreference.java63 final TextView summary = (TextView) view.findViewById(R.id.summary); in onBindListItem() local
64 summary.setText(title); in onBindListItem()
DEdgeTypePreference.java70 final TextView summary = (TextView) view.findViewById(R.id.summary); in onBindListItem() local
71 summary.setText(title); in onBindListItem()
DToggleFeaturePreferenceFragment.java62 final TextView summaryView = (TextView) view.findViewById(android.R.id.summary); in onCreate()
169 final CharSequence summary = arguments.getCharSequence( in onProcessArguments() local
171 mSummaryPreference.setSummary(summary); in onProcessArguments()
/packages/apps/Settings/src/com/android/settings/notification/
DSoundSettings.java375 final CharSequence summary = updateRingtoneName(
377 if (summary != null) {
378 mHandler.obtainMessage(H.UPDATE_PHONE_RINGTONE, summary).sendToTarget();
382 final CharSequence summary = updateRingtoneName(
384 if (summary != null) {
385 mHandler.obtainMessage(H.UPDATE_NOTIFICATION_RINGTONE, summary).sendToTarget();
389 final CharSequence summary =
391 if (summary != null) {
392 mHandler.obtainMessage(H.UPDATE_ALARM_RINGTONE, summary).sendToTarget();
404 CharSequence summary = context.getString(com.android.internal.R.string.ringtone_unknown); in updateRingtoneName() local
[all …]
/packages/services/Telephony/src/com/android/phone/
DCLIRListPreference.java97 int summary = R.string.sum_default_caller_id; in handleGetCLIRResult() local
100 summary = R.string.sum_show_caller_id; in handleGetCLIRResult()
103 summary = R.string.sum_hide_caller_id; in handleGetCLIRResult()
106 summary = R.string.sum_default_caller_id; in handleGetCLIRResult()
109 setSummary(summary); in handleGetCLIRResult()
DEditPhoneNumberPreference.java159 TextView summaryView = (TextView) view.findViewById(android.R.id.summary); in onBindView()
435 public EditPhoneNumberPreference setSummaryOn(CharSequence summary) { in setSummaryOn() argument
436 mSummaryOn = summary; in setSummaryOn()
459 public EditPhoneNumberPreference setSummaryOff(CharSequence summary) { in setSummaryOff() argument
460 mSummaryOff = summary; in setSummaryOff()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/
DSettingsUtils.java23 public static void updatePreferenceSummary(Preference preference, String summary, in updatePreferenceSummary() argument
26 if (!TextUtils.isEmpty(summary)) { in updatePreferenceSummary()
28 preference.setSummary(summary); in updatePreferenceSummary()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DWallOfTextPreference.java35 final TextView summary = (TextView) view.findViewById(android.R.id.summary); in onBindViewHolder() local
36 summary.setMaxLines(20); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageSummaryPreference.java53 final TextView summary = (TextView) view.findViewById(android.R.id.summary); in onBindViewHolder() local
54 summary.setTextColor(Color.parseColor("#8a000000")); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardAdapter.java324 if (!TextUtils.isEmpty(tile.summary)) {
325 holder.summary.setText(tile.summary);
326 holder.summary.setVisibility(View.VISIBLE);
328 holder.summary.setVisibility(View.GONE);
434 public final TextView summary;
440 summary = (TextView) itemView.findViewById(android.R.id.summary);
DSummaryLoader.java83 public void setSummary(SummaryProvider provider, final CharSequence summary) { in setSummary() argument
92 if (DEBUG) Log.d(TAG, "setSummary " + tile.title + " - " + summary); in setSummary()
93 tile.summary = summary; in setSummary()
/packages/apps/EmergencyInfo/tests/src/com/android/emergency/preferences/
DEmergencyListPreferenceTest.java72 String summary = (String) mOrganDonorPreference.getSummary(); in testSummary_organDonor() local
75 assertEquals(summaryExp, summary); in testSummary_organDonor()
79 String summary = mBloodTypeListPreference.getSummary().toString(); in testSummary_bloodType() local
82 assertEquals(summaryExp, summary); in testSummary_bloodType()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java334 String summary = cursor.getString( in includeDownloadFromCursor() local
356 summary = getContext().getString(R.string.download_queued); in includeDownloadFromCursor()
359 summary = getContext().getString(R.string.download_queued); in includeDownloadFromCursor()
367 summary = getContext().getString(R.string.download_running_percent, percent); in includeDownloadFromCursor()
369 summary = getContext().getString(R.string.download_running); in includeDownloadFromCursor()
374 summary = getContext().getString(R.string.download_error); in includeDownloadFromCursor()
393 row.add(Document.COLUMN_SUMMARY, summary); in includeDownloadFromCursor()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DSyncStateSwitchPreference.java81 TextView summary = (TextView) view.findViewById(android.R.id.summary); in onBindViewHolder() local
82 summary.setText(getContext().getString(R.string.sync_one_time_sync, getSummary())); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/accounts/
DSyncStateSwitchPreference.java86 TextView summary = (TextView) view.findViewById(android.R.id.summary); in onBindViewHolder() local
87 summary.setText(getContext().getString(R.string.sync_one_time_sync, getSummary())); in onBindViewHolder()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DProgressDialogFragment.java53 mSummaryView = (TextView) view.findViewById(android.R.id.summary); in onCreateView()
96 public void setSummary(CharSequence summary) { in setSummary() argument
97 mSummaryView.setText(summary); in setSummary()
/packages/apps/Settings/src/com/android/settings/sim/
DSimDialogActivity.java303 holder.summary = (TextView) rowView.findViewById(R.id.summary); in getView()
314 holder.summary.setText(""); in getView()
320 holder.summary.setText(sir.getNumber()); in getView()
328 TextView summary; field in SimDialogActivity.SelectAccountListAdapter.ViewHolder

1234