Lines Matching defs:actions

856      * {@link #extras} key: the indices of actions to be shown in the compact view,
904 * to attach actions.
1156 * Wearable extender for notification actions. To add extensions to an action,
1350 * interface for invoking actions.
1352 public Action[] actions;
1470 actions = parcel.createTypedArray(Action.CREATOR); // may be null
1563 if (this.actions != null) {
1564 that.actions = new Action[this.actions.length];
1565 for(int i=0; i<this.actions.length; i++) {
1566 that.actions[i] = this.actions[i].clone();
1733 parcel.writeTypedArray(actions, 0); // null ok
1885 if (actions != null) {
1886 sb.append(" actions=");
1887 sb.append(actions.length);
2766 * A notification in its expanded form can display up to 3 actions, from left to right in
2791 * A notification in its expanded form can display up to 3 actions, from left to right in
3121 big.setViewVisibility(R.id.actions, View.GONE);
3123 big.removeAllViews(R.id.actions);
3133 big.setViewVisibility(R.id.actions, View.VISIBLE);
3138 big.addView(R.id.actions, button);
3355 n.actions = new Action[mActions.size()];
3356 mActions.toArray(n.actions);
3598 if (n.actions != null) {
3599 Collections.addAll(mActions, n.actions);
4329 * {@link #setShowActionsInCompactView(int...)} you can promote up to 3 actions to be displayed
4371 * Request up to 3 actions (by index in the order of addition) to be shown in the compact
4374 * @param actions the indices of the actions to show in the compact notification view
4376 public MediaStyle setShowActionsInCompactView(int...actions) {
4377 mActionsToShowInCompact = actions;
4677 private static final String KEY_ACTIONS = "actions";
4726 List<Action> actions = wearableBundle.getParcelableArrayList(KEY_ACTIONS);
4727 if (actions != null) {
4728 mActions.addAll(actions);
4827 * <p>When wearable actions are added using this method, the set of actions that
4828 * show on a wearable device splits from devices that only show actions added
4830 * of which actions display on different devices.
4842 * Adds wearable actions to this notification.
4844 * <p>When wearable actions are added using this method, the set of actions that
4845 * show on a wearable device splits from devices that only show actions added
4847 * of which actions display on different devices.
4849 * @param actions the actions to add to this notification
4853 public WearableExtender addActions(List<Action> actions) {
4854 mActions.addAll(actions);
4859 * Clear all wearable actions present on this builder.
4869 * Get the wearable actions present on this notification.
5032 * Set an action from this notification's actions to be clickable with the content of
5036 * <p>For notifications with multiple pages, child pages can also have content actions
5037 * set, although the list of available actions comes from the main notification and not
5041 * If wearable actions were added to the main notification, this index
5043 * actions list.
5055 * <p>For notifications with multiple pages, child pages can also have content actions
5056 * set, although the list of available actions comes from the main notification and not
5059 * <p>If wearable specific actions were added to the main notification, this index will
5060 * apply to that list, otherwise it will apply to the regular actions list.