Lines Matching defs:summary
101 * Sets the summary to be shown when checked.
103 * @param summary The summary to be shown when checked.
105 public void setSummaryOn(CharSequence summary) {
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 The summary to be shown when unchecked.
133 public void setSummaryOff(CharSequence summary) {
134 mSummaryOff = summary;
142 * @param summaryResId The summary as a resource.
149 * Returns the summary to be shown when unchecked.
150 * @return The summary.
204 * Sync a summary view contained within view's subhierarchy with the correct summary text.
205 * @param view View where a summary should be located
208 // Sync the summary view
209 TextView summaryView = (TextView) view.findViewById(com.android.internal.R.id.summary);
221 final CharSequence summary = getSummary();
222 if (summary != null) {
223 summaryView.setText(summary);