Lines Matching refs:label
28 * cause of the disconnect. Optionally, it may include a label and/or description to display to the
30 * the label and description. It also may contain a reason for the disconnect, which is intended for
122 * @param label The localized label to show to the user to explain the disconnect.
126 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason) {
127 this(code, label, description, reason, ToneGenerator.TONE_UNKNOWN);
134 * @param label The localized label to show to the user to explain the disconnect.
139 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason,
142 mDisconnectLabel = label;
158 * Returns a short label which explains the reason for the disconnect cause and is for display
162 * providing and localizing this label. If there is no string provided, returns null.
164 * @return The disconnect label.
207 CharSequence label = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
211 return new DisconnectCause(code, label, description, reason, tone);
303 String label = mDisconnectLabel == null ? "" : mDisconnectLabel.toString();
308 + " Label: (" + label + ")"