Lines Matching defs:Action

1200      * or {@link Notification.Builder#addAction(Notification.Action)}
1203 public static class Action implements Parcelable {
1227 * @deprecated Use {@link Action#getIcon()} instead.
1243 private Action(Parcel in) {
1260 * @deprecated Use {@link android.app.Notification.Action.Builder}.
1263 public Action(int icon, CharSequence title, PendingIntent intent) {
1267 /** Keep in sync with {@link Notification.Action.Builder#Builder(Action)}! */
1268 private Action(Icon icon, CharSequence title, PendingIntent intent, Bundle extras,
1293 * Get additional metadata carried around with this Action.
1301 * {@link Action}
1331 * Builder class for {@link Action} objects.
1342 * Construct a new builder for {@link Action} object.
1353 * Construct a new builder for {@link Action} object.
1363 * Construct a new builder for {@link Action} object using the fields from an
1364 * {@link Action}.
1367 public Builder(Action action) {
1391 * @see Notification.Action#extras
1426 * {@link RemoteInput#getChoices()}. If the {@link Action} doesn't have a
1448 * Combine all of the options that have been set and return a new {@link Action}
1452 public Action build() {
1478 return new Action(mIcon, mTitle, mIntent, mExtras, textInputsArr,
1484 public Action clone() {
1485 return new Action(
1517 public static final Parcelable.Creator<Action> CREATOR =
1518 new Parcelable.Creator<Action>() {
1519 public Action createFromParcel(Parcel in) {
1520 return new Action(in);
1522 public Action[] newArray(int size) {
1523 return new Action[size];
1542 * create a new {@link android.app.Notification.Action.WearableExtender} object using
1544 * {@link android.app.Notification.Action.Builder} using
1545 * {@link android.app.Notification.Action.Builder#extend}.
1548 * Notification.Action action = new Notification.Action.Builder(
1550 * .extend(new Notification.Action.WearableExtender()
1579 * Create a {@link android.app.Notification.Action.WearableExtender} with default
1586 * Create a {@link android.app.Notification.Action.WearableExtender} by reading
1590 public WearableExtender(Action action) {
1602 * typically called by the {@link android.app.Notification.Action.Builder#extend}
1603 * method of {@link android.app.Notification.Action.Builder}.
1606 public Action.Builder extend(Action.Builder builder) {
1732 * Set a hint that this Action will launch an {@link Activity} directly, telling the
1745 * Get a hint that this Action will launch an {@link Activity} directly, telling the
1756 * Set a hint that this Action should be displayed inline.
1769 * Get a hint that this Action should be displayed inline.
1771 * @return {@code true} if the Action should be displayed inline, {@code false}
1781 * Array of all {@link Action} structures attached to this notification by
1786 public Action[] actions;
1923 actions = parcel.createTypedArray(Action.CREATOR); // may be null
2040 that.actions = new Action[this.actions.length];
2719 private ArrayList<Action> mActions = new ArrayList<Action>(MAX_ACTION_BUTTONS);
3630 * @deprecated Use {@link #addAction(Action)} instead.
3634 mActions.add(new Action(icon, safeCharSequence(title), intent));
3653 public Builder addAction(Action action) {
3662 * @see #addAction(Action).
3667 public Builder setActions(Action... actions) {
4244 Action action = mActions.get(i);
4279 private boolean hasValidRemoteInput(Action action) {
4467 ArrayList<Action> actions = mActions;
4543 private RemoteViews generateActionButton(Action action, boolean emphazisedMode,
4809 mN.actions = new Action[mActions.size()];
5610 ArrayList<Action> actions = mBuilder.mActions;
5897 ArrayList<Action> actions = mBuilder.mActions;
6395 * {@link Notification.Action}s specified with
6396 * {@link Notification.Builder#addAction(Action) addAction} will be
6540 private RemoteViews generateMediaActionButton(Action action, int color) {
6571 final Action action = mBuilder.mActions.get(mActionsToShowInCompact[i]);
7001 private ArrayList<Action> mActions = new ArrayList<Action>();
7026 List<Action> actions = wearableBundle.getParcelableArrayList(KEY_ACTIONS);
7117 that.mActions = new ArrayList<Action>(this.mActions);
7144 * @see android.app.Notification.Action
7146 public WearableExtender addAction(Action action) {
7161 * @see android.app.Notification.Action
7163 public WearableExtender addActions(List<Action> actions) {
7181 public List<Action> getActions() {