Home
last modified time | relevance | path

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

123

/packages/apps/Settings/src/com/android/settings/wifi/
DAccessPoint.java259 mSummaryView = (TextView) view.findViewById(com.android.internal.R.id.summary); in onBindView()
617 StringBuilder summary = new StringBuilder(); in refresh() local
620 summary.append(Summary.get(context, getState(), in refresh()
624 summary.append(context.getString(R.string.wifi_no_internet)); in refresh()
632 summary.append(context.getString(R.string.wifi_disabled_network_failure)); in refresh()
634 summary.append(context.getString(R.string.wifi_disabled_password_failure)); in refresh()
636 summary.append(context.getString(R.string.wifi_disabled_wifi_failure)); in refresh()
641 summary.append(context.getString(R.string.wifi_disabled_password_failure)); in refresh()
645 summary.append(context.getString(R.string.wifi_disabled_network_failure)); in refresh()
649 summary.append(context.getString(R.string.wifi_disabled_generic)); in refresh()
[all …]
/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/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/Dialer/src/com/android/dialer/settings/
DDialerSettingsActivity.java131 TextView summary; field in DialerSettingsActivity.HeaderAdapter.HeaderViewHolder
150 holder.summary = (TextView) view.findViewById(R.id.summary); in getView()
160 CharSequence summary = header.getSummary(getContext().getResources()); in getView() local
161 if (!TextUtils.isEmpty(summary)) { in getView()
162 holder.summary.setVisibility(View.VISIBLE); in getView()
163 holder.summary.setText(summary); in getView()
165 holder.summary.setVisibility(View.GONE); in getView()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationSettings.java278 final CharSequence summary = updateRingtoneName(
280 if (summary != null) {
281 mHandler.obtainMessage(H.UPDATE_PHONE_RINGTONE, summary).sendToTarget();
285 final CharSequence summary = updateRingtoneName(
287 if (summary != null) {
288 mHandler.obtainMessage(H.UPDATE_NOTIFICATION_RINGTONE, summary).sendToTarget();
300 CharSequence summary = context.getString(com.android.internal.R.string.ringtone_unknown); in updateRingtoneName() local
303 summary = context.getString(com.android.internal.R.string.ringtone_silent); in updateRingtoneName()
317 summary = cursor.getString(0); in updateRingtoneName()
330 return summary; in updateRingtoneName()
/packages/apps/PhoneCommon/src/com/android/phone/common/util/
DSettingsUtil.java94 CharSequence summary = context.getString(com.android.internal.R.string.ringtone_unknown); in updateRingtoneName() local
97 summary = context.getString(com.android.internal.R.string.ringtone_silent); in updateRingtoneName()
105 summary = cursor.getString(0); in updateRingtoneName()
114 summary = context.getString(R.string.default_notification_description, summary); in updateRingtoneName()
116 handler.sendMessage(handler.obtainMessage(msg, summary)); in updateRingtoneName()
/packages/apps/Settings/src/com/android/settings/accessibility/
DColorPreference.java101 final CharSequence summary = getSummary(); in onBindView() local
102 if (!TextUtils.isEmpty(summary)) { in onBindView()
103 previewImage.setContentDescription(summary); in onBindView()
133 final TextView summary = (TextView) view.findViewById(R.id.summary); in onBindListItem() local
134 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()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java296 String summary = cursor.getString( in includeDownloadFromCursor() local
316 summary = getContext().getString(R.string.download_queued); in includeDownloadFromCursor()
319 summary = getContext().getString(R.string.download_queued); in includeDownloadFromCursor()
327 summary = getContext().getString(R.string.download_running_percent, percent); in includeDownloadFromCursor()
329 summary = getContext().getString(R.string.download_running); in includeDownloadFromCursor()
334 summary = getContext().getString(R.string.download_error); in includeDownloadFromCursor()
349 row.add(Document.COLUMN_SUMMARY, summary); in includeDownloadFromCursor()
/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.java157 TextView summaryView = (TextView) view.findViewById(android.R.id.summary); in onBindView()
432 public EditPhoneNumberPreference setSummaryOn(CharSequence summary) { in setSummaryOn() argument
433 mSummaryOn = summary; in setSummaryOn()
456 public EditPhoneNumberPreference setSummaryOff(CharSequence summary) { in setSummaryOff() argument
457 mSummaryOff = summary; in setSummaryOff()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DInputMethodAndLanguageSettings.java726 String summary = builder.toString();
735 indexable.summaryOn = summary;
736 indexable.summaryOff = summary;
761 String summary;
763 summary = keyboardLayout.toString();
765 summary = context.getString(R.string.keyboard_layout_default_label);
771 indexable.summaryOn = summary;
772 indexable.summaryOff = summary;
/packages/apps/Settings/src/com/android/settings/
DPrivacySettings.java206 private void setConfigureSummary(String summary) { in setConfigureSummary() argument
207 if (summary != null) { in setConfigureSummary()
208 mConfigure.setSummary(summary); in setConfigureSummary()
217 String summary = mBackupManager.getDestinationString(transport); in updateConfigureSummary() local
218 setConfigureSummary(summary); in updateConfigureSummary()
DDisplaySettings.java195 String summary; in updateTimeoutPreferenceDescription() local
198 summary = ""; in updateTimeoutPreferenceDescription()
203 summary = ""; in updateTimeoutPreferenceDescription()
212 summary = preference.getContext().getString(R.string.screen_timeout_summary, in updateTimeoutPreferenceDescription()
216 preference.setSummary(summary); in updateTimeoutPreferenceDescription()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardTile.java67 public CharSequence summary; field in DashboardTile
123 return summary; in getSummary()
137 TextUtils.writeToParcel(summary, dest, flags); in writeToParcel()
155 summary = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in); in readFromParcel()
/packages/apps/Settings/src/com/android/settings/sim/
DSimDialogActivity.java312 holder.summary = (TextView) rowView.findViewById(R.id.summary); in getView()
323 holder.summary.setText(""); in getView()
329 holder.summary.setText(sir.getNumber()); in getView()
337 TextView summary; field in SimDialogActivity.SelectAccountListAdapter.ViewHolder
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageDetail.java389 final TextView summary = (TextView) mRootView.findViewById(android.R.id.summary); in createDetails() local
390 summary.setText(getDescriptionForDrainType()); in createDetails()
391 summary.setVisibility(View.VISIBLE); in createDetails()
604 private void addControl(int title, int summary, int action) { in addControl() argument
610 TextView summaryView = (TextView) item.findViewById(R.id.summary); in addControl()
612 summaryView.setText(res.getString(summary)); in addControl()
DWallOfTextPreference.java47 final TextView summary = (TextView) view.findViewById(android.R.id.summary); in onBindView() local
48 summary.setMaxLines(20); in onBindView()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.java535 View summary; field in AlarmClockFragment.AlarmItemAdapter.ItemHolder
658 holder.summary = view.findViewById(R.id.summary); in setNewHolder()
754 itemHolder.summary.setVisibility(expanded? View.GONE : View.VISIBLE); in bindView()
1146 itemHolder.summary.setAlpha(1 - value); in expandAlarm()
1160 itemHolder.summary.setVisibility(View.GONE); in expandAlarm()
1234 itemHolder.summary.setVisibility(View.VISIBLE); in collapseAlarm()
1236 itemHolder.summary.setAlpha(1); in collapseAlarm()
1255 itemHolder.summary.setAlpha(value); in collapseAlarm()
/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/Browser/src/com/android/browser/preferences/
DNonformattingListPreference.java35 public void setSummary(CharSequence summary) { in setSummary() argument
36 mSummary = summary; in setSummary()
37 super.setSummary(summary); in setSummary()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipSettings.java111 String summary = ""; in updateSummary() local
114 summary = getString(R.string.third_party_account_summary, in updateSummary()
117 summary = registrationStatus; in updateSummary()
119 setSummary(summary); in updateSummary()
/packages/apps/Settings/src/com/android/settings/accounts/
DSyncStateSwitchPreference.java82 TextView summary = (TextView) view.findViewById(android.R.id.summary); in onBindView() local
83 summary.setText(getContext().getString(R.string.sync_one_time_sync, getSummary())); in onBindView()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsDetail.java118 final TextView summary = (TextView) mRootView.findViewById(android.R.id.summary); in createDetails() local
119 summary.setText(mEntry.mName); in createDetails()
120 summary.setVisibility(View.VISIBLE); in createDetails()

123