Searched defs:summary (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/core/java/android/preference/
H A DListPreference.java54 /* Retrieve the Preference summary attribute since it's private
139 * Returns the summary of this ListPreference. If the summary
144 * @return the summary with appropriate string substitution
157 * Sets the summary for this Preference with a CharSequence.
158 * If the summary has a
163 * @param summary The summary for the preference.
166 public void setSummary(CharSequence summary) { argument
167 super.setSummary(summary);
[all...]
H A DTwoStatePreference.java101 * Sets the summary to be shown when checked.
103 * @param summary The summary to be shown when checked.
105 public void setSummaryOn(CharSequence summary) { argument
106 mSummaryOn = summary;
114 * @param summaryResId The summary as a resource.
121 * Returns the summary to be shown when checked.
122 * @return The summary.
129 * Sets the summary to be shown when unchecked.
131 * @param summary Th
133 setSummaryOff(CharSequence summary) argument
[all...]
H A DPreferenceActivity.java245 TextView summary; field in class:PreferenceActivity.HeaderAdapter.HeaderViewHolder
266 holder.summary = (TextView) view.findViewById(com.android.internal.R.id.summary);
277 CharSequence summary = header.getSummary(getContext().getResources());
278 if (!TextUtils.isEmpty(summary)) {
279 holder.summary.setVisibility(View.VISIBLE);
280 holder.summary.setText(summary);
282 holder.summary.setVisibility(View.GONE);
321 * Resource ID of optional summary describin
330 public CharSequence summary; field in class:PreferenceActivity.Header
[all...]
H A DPreference.java385 * {@link android.R.id#title} and {@link android.R.id#summary}.
505 textView = (TextView) view.findViewById(com.android.internal.R.id.summary);
507 final CharSequence summary = getSummary();
508 if (!TextUtils.isEmpty(summary)) {
672 * Returns the summary of this Preference.
674 * @return The summary.
682 * Sets the summary for this Preference with a CharSequence.
684 * @param summary The summary for the preference.
686 public void setSummary(CharSequence summary) { argument
[all...]
/frameworks/base/cmds/pm/src/com/android/commands/pm/
H A DPm.java466 boolean summary = false;
477 summary = true;
505 doListPermissions(groupList, groups, labels, summary,
511 doListPermissions(groupList, groups, labels, summary,
518 doListPermissions(groupList, groups, labels, summary,
524 doListPermissions(groupList, groups, labels, summary,
534 boolean groups, boolean labels, boolean summary,
545 if (summary) {
571 System.out.println(((labels && !summary)
589 if (summary) {
533 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.java811 private void expectNetworkStatsSummary(NetworkStats summary) throws Exception { argument
812 expect(mNetManager.getNetworkStatsSummary()).andReturn(summary).atLeastOnce();

Completed in 165 milliseconds