Searched refs:summary (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/core/java/android/service/notification/
H A DCondition.java46 public final String summary; field in class:Condition
53 public Condition(Uri id, String summary, String line1, String line2, int icon, argument
56 if (summary == null) throw new IllegalArgumentException("summary is required");
61 this.summary = summary;
86 dest.writeString(summary);
98 .append(",summary=").append(summary)
129 && Objects.equals(other.summary, summar
[all...]
H A DZenModeConfig.java85 private static final String CONDITION_ATT_SUMMARY = "summary";
371 final String summary = parser.getAttributeValue(null, CONDITION_ATT_SUMMARY);
378 return new Condition(id, summary, line1, line2, icon, state, flags);
387 out.attribute(null, CONDITION_ATT_SUMMARY, c.summary);
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
H A DStackOverflowXmlParser.java69 // It includes the data members "title," "link," and "summary."
73 public final String summary; field in class:StackOverflowXmlParser.Entry
75 private Entry(String title, String summary, String link) { argument
77 this.summary = summary;
82 // Parses the contents of an entry. If it encounters a title, summary, or link tag, hands them
88 String summary = null;
97 } else if (name.equals("summary")) {
98 summary = readSummary(parser);
105 return new Entry(title, summary, lin
[all...]
H A DNetworkActivity.java221 String summary = null;
225 // Checks whether the user set the preference to include summary text
249 // a text summary.
254 // If the user set the preference to include summary text,
257 htmlString.append(entry.summary);
/frameworks/base/core/java/android/preference/
H A DTwoStatePreference.java104 * Sets the summary to be shown when checked.
106 * @param summary The summary to be shown when checked.
108 public void setSummaryOn(CharSequence summary) { argument
109 mSummaryOn = summary;
117 * @param summaryResId The summary as a resource.
124 * Returns the summary to be shown when checked.
125 * @return The summary.
132 * Sets the summary to be shown when unchecked.
134 * @param summary Th
136 setSummaryOff(CharSequence summary) argument
[all...]
H A DListPreference.java55 /* Retrieve the Preference summary attribute since it's private
155 * Returns the summary of this ListPreference. If the summary
160 * @return the summary with appropriate string substitution
173 * Sets the summary for this Preference with a CharSequence.
174 * If the summary has a
179 * @param summary The summary for the preference.
182 public void setSummary(CharSequence summary) { argument
183 super.setSummary(summary);
[all...]
H A DMultiCheckPreference.java58 /* Retrieve the Preference summary attribute since it's private
181 * Returns the summary of this ListPreference. If the summary
186 * @return the summary with appropriate string substitution
198 * Sets the summary for this Preference with a CharSequence.
199 * If the summary has a
204 * @param summary The summary for the preference.
207 public void setSummary(CharSequence summary) { argument
208 super.setSummary(summary);
[all...]
H A DPreference.java421 * {@link android.R.id#title} and {@link android.R.id#summary}.
548 com.android.internal.R.id.summary);
550 final CharSequence summary = getSummary();
551 if (!TextUtils.isEmpty(summary)) {
552 summaryView.setText(summary);
715 * Returns the summary of this Preference.
717 * @return The summary.
725 * Sets the summary for this Preference with a CharSequence.
727 * @param summary The summary fo
729 setSummary(CharSequence summary) argument
[all...]
H A DPreferenceActivity.java260 TextView summary; field in class:PreferenceActivity.HeaderAdapter.HeaderViewHolder
285 holder.summary = (TextView) view.findViewById(com.android.internal.R.id.summary);
305 CharSequence summary = header.getSummary(getContext().getResources());
306 if (!TextUtils.isEmpty(summary)) {
307 holder.summary.setVisibility(View.VISIBLE);
308 holder.summary.setText(summary);
310 holder.summary.setVisibility(View.GONE);
349 * Resource ID of optional summary describin
358 public CharSequence summary; field in class:PreferenceActivity.Header
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DRootInfo.java52 public String summary; field in class:RootInfo
73 summary = null;
93 summary = DurableUtils.readNullableString(in);
112 DurableUtils.writeNullableString(out, summary);
149 root.summary = getCursorString(cursor, Root.COLUMN_SUMMARY);
256 return !TextUtils.isEmpty(summary) ? summary : title;
H A DDocumentInfo.java62 public String summary; field in class:DocumentInfo
81 summary = null;
101 summary = DurableUtils.readNullableString(in);
120 DurableUtils.writeNullableString(out, summary);
169 this.summary = getCursorString(cursor, Document.COLUMN_SUMMARY);
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/matcher/
H A DPreferenceMatchers.java42 description.appendText(" with summary string from resource id: ");
74 public static Matcher<Preference> withSummaryText(String summary) { argument
75 return withSummaryText(is(summary));
82 description.appendText(" a preference with summary matching: ");
88 String summary = pref.getSummary().toString();
89 return summaryMatcher.matches(summary);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRootsFragment.java235 final TextView summary = (TextView) convertView.findViewById(android.R.id.summary);
241 // Show available space if no summary
242 String summaryText = root.summary;
248 summary.setText(summaryText);
249 summary.setVisibility(TextUtils.isEmpty(summaryText) ? View.GONE : View.VISIBLE);
276 final TextView summary = (TextView) convertView.findViewById(android.R.id.summary);
282 // TODO: match existing summary behavior from disambig dialog
283 summary
[all...]
H A DDirectoryFragment.java792 final TextView summary = (TextView) convertView.findViewById(android.R.id.summary);
868 if (summary != null) {
872 summary.setText(root.getDirectoryString());
873 summary.setVisibility(View.VISIBLE);
877 // No summary needed if icon speaks for itself
878 summary.setVisibility(View.INVISIBLE);
880 summary.setText(root.getDirectoryString());
881 summary.setVisibility(View.VISIBLE);
882 summary
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSDetailItems.java91 FontSizeUtils.updateFontSize(item, android.R.id.summary,
167 final TextView summary = (TextView) view.findViewById(android.R.id.summary);
169 summary.setVisibility(twoLines ? VISIBLE : GONE);
170 summary.setText(twoLines ? item.line2 : null);
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
H A DInputMethodSettingsImpl.java169 final String summary = getEnabledSubtypesLabel(context, mImm, mImi);
170 if (!TextUtils.isEmpty(summary)) {
171 pref.setSummary(summary);
/frameworks/wilhelm/src/itf/
H A DIOutputMixExt.c218 Summary summary; local
220 summary = GAIN_MUTE;
222 summary = GAIN_UNITY;
224 summary = GAIN_OTHER;
226 summaries[channel] = summary;
/frameworks/base/cmds/pm/src/com/android/commands/pm/
H A DPm.java580 boolean summary = false;
591 summary = true;
618 doListPermissions(groupList, groups, labels, summary,
624 doListPermissions(groupList, groups, labels, summary,
631 doListPermissions(groupList, groups, labels, summary,
637 doListPermissions(groupList, groups, labels, summary,
647 boolean groups, boolean labels, boolean summary,
658 if (summary) {
684 System.out.println(((labels && !summary)
703 if (summary) {
646 doListPermissions(ArrayList<String> groupList, boolean groups, boolean labels, boolean summary, int startProtectionLevel, int endProtectionLevel) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkStatsServiceTest.java851 // verify summary API
870 // verify summary API
899 private void expectNetworkStatsSummary(NetworkStats summary) throws Exception { argument
900 expectNetworkStatsSummaryDev(summary);
901 expectNetworkStatsSummaryXt(summary);
904 private void expectNetworkStatsSummaryDev(NetworkStats summary) throws Exception { argument
905 expect(mNetManager.getNetworkStatsSummaryDev()).andReturn(summary).atLeastOnce();
908 private void expectNetworkStatsSummaryXt(NetworkStats summary) throws Exception { argument
909 expect(mNetManager.getNetworkStatsSummaryXt()).andReturn(summary).atLeastOnce();
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DZenModePanel.java273 mExitConditionText = condition != null ? condition.summary : forever;
275 mExitConditionText = mExitCondition.summary;
459 tag.title.setText(condition.summary);
495 button2.setEnabled(!Objects.equals(condition.summary, maxCondition.summary));
/frameworks/base/services/core/java/com/android/server/notification/
H A DDowntimeConditionProvider.java160 final String summary = mContext.getString(R.string.downtime_condition_summary, formatted);
161 return new Condition(id, summary, "", "", 0, state, Condition.FLAG_RELEVANT_NOW);
/frameworks/base/docs/html/reference/renderscript/
H A Ddoxygen.css747 div.summary
756 div.summary a
925 .summary { display: none; }
/frameworks/base/services/core/java/com/android/server/
H A DInputMethodManagerService.java1592 final CharSequence summary = InputMethodUtils.getImeAndSubtypeDisplayName(
1598 mContext, title, summary, mImeSwitchPendingIntent);
1602 Slog.d(TAG, "--- show notification: label = " + summary);

Completed in 678 milliseconds