Lines Matching refs:Builder
227 public static class Builder {
241 * Creates a builder with the specified {@link PhoneAccountHandle} and label.
243 public Builder(PhoneAccountHandle accountHandle, CharSequence label) {
249 * Creates an instance of the {@link PhoneAccount.Builder} from an existing
252 * @param phoneAccount The {@link PhoneAccount} used to initialize the builder.
254 public Builder(PhoneAccount phoneAccount) {
272 * @return The builder.
274 public Builder setAddress(Uri value) {
283 * @return The builder.
285 public Builder setSubscriptionAddress(Uri value) {
294 * @return The builder.
296 public Builder setCapabilities(int value) {
306 public Builder setIcon(Icon icon) {
315 * @return The builder.
317 public Builder setHighlightColor(int value) {
326 * @return The builder.
328 public Builder setShortDescription(CharSequence value) {
337 * @return The builder.
339 public Builder addSupportedUriScheme(String uriScheme) {
350 * @return The builder.
352 public Builder setSupportedUriSchemes(List<String> uriSchemes) {
372 public Builder setExtras(Bundle extras) {
381 * @return The builder.
384 public Builder setIsEnabled(boolean isEnabled) {
390 * Creates an instance of a {@link PhoneAccount} based on the current builder settings.
440 public static Builder builder(
443 Builder(accountHandle, label);
447 * Returns a builder initialized with the current {@link PhoneAccount} instance.
449 * @return The builder.
451 public Builder toBuilder() { return new Builder(this); }