Lines Matching defs:action
443 * Structure to encapsulate an "action", including title and icon, that can be attached to a Notification.
890 sb.append(" action");
1382 * Add an action to this notification. Actions are typically displayed by
1385 * @param icon Resource ID of a drawable that represents the action.
1386 * @param title Text describing the action.
1387 * @param intent PendingIntent to be fired when the action is invoked.
1529 //Log.d("Notification", "adding action " + i + ": " + mActions.get(i).title);
1564 private RemoteViews generateActionButton(Action action) {
1565 final boolean tombstone = (action.actionIntent == null);
1569 button.setTextViewCompoundDrawables(R.id.action0, action.icon, 0, 0, 0);
1570 button.setTextViewText(R.id.action0, action.title);
1572 button.setOnClickPendingIntent(R.id.action0, action.actionIntent);
1574 button.setContentDescription(R.id.action0, action.title);