Lines Matching defs:Builder

48  * <p>The {@link Notification.Builder Notification.Builder} has been added to make it
142 * {@link Notification.Builder} has displayed the number in the expanded notification view.
173 * @see Notification.Builder#setFullScreenIntent
501 * You might want to consider using {@link Builder} instead.
532 * @deprecated Use {@link Builder} instead.
797 * @deprecated Use {@link Builder} instead.
802 // TODO: rewrite this to use Builder
897 * Builder class for {@link Notification} objects.
902 * {@link android.support.v4.app.NotificationCompat.Builder NotificationCompat.Builder},
909 * Notification noti = new Notification.Builder(mContext)
917 public static class Builder {
956 * Constructs a new Builder with the defaults:
970 * A {@link Context} that will be used by the Builder to construct the
971 * RemoteViews. The Context will not be held past the lifetime of this Builder
974 public Builder(Context context) {
989 public Builder setWhen(long when) {
1005 public Builder setUsesChronometer(boolean b) {
1024 public Builder setSmallIcon(int icon) {
1040 public Builder setSmallIcon(int icon, int level) {
1049 public Builder setContentTitle(CharSequence title) {
1057 public Builder setContentText(CharSequence text) {
1066 public Builder setSubText(CharSequence text) {
1076 public Builder setNumber(int number) {
1087 public Builder setContentInfo(CharSequence info) {
1097 public Builder setProgress(int max, int progress, boolean indeterminate) {
1109 public Builder setContent(RemoteViews views) {
1125 public Builder setContentIntent(PendingIntent intent) {
1135 public Builder setDeleteIntent(PendingIntent intent) {
1155 public Builder setFullScreenIntent(PendingIntent intent, boolean highPriority) {
1167 public Builder setTicker(CharSequence tickerText) {
1180 public Builder setTicker(CharSequence tickerText, RemoteViews views) {
1194 public Builder setLargeIcon(Bitmap icon) {
1206 public Builder setSound(Uri sound) {
1219 public Builder setSound(Uri sound, int streamType) {
1235 public Builder setVibrate(long[] pattern) {
1252 public Builder setLights(int argb, int onMs, int offMs) {
1275 public Builder setOngoing(boolean ongoing) {
1286 public Builder setOnlyAlertOnce(boolean onlyAlertOnce) {
1297 public Builder setAutoCancel(boolean autoCancel) {
1311 public Builder setDefaults(int defaults) {
1321 public Builder setPriority(int pri) {
1333 public Builder addKind(String k) {
1341 * A reference to the Bundle is held for the lifetime of this Builder, and the Bundle's
1348 public Builder setExtras(Bundle bag) {
1361 public Builder addAction(int icon, CharSequence title, PendingIntent intent) {
1371 public Builder setStyle(Style style) {
1616 * An object that can apply a rich notification style to a {@link Notification.Builder}
1625 protected Builder mBuilder;
1643 public void setBuilder(Builder builder) {
1654 throw new IllegalArgumentException("Style requires a valid Builder object");
1695 * This class is a "rebuilder": It consumes a Builder object and modifies its behavior, like so:
1698 * new Notification.Builder()
1717 public BigPictureStyle(Builder builder) {
1778 * This class is a "rebuilder": It consumes a Builder object and modifies its behavior, like so:
1781 * new Notification.Builder()
1798 public BigTextStyle(Builder builder) {
1859 * This class is a "rebuilder": It consumes a Builder object and modifies its behavior, like so:
1862 * new Notification.Builder()
1882 public InboxStyle(Builder builder) {