Lines Matching refs:action

257      * for old applications, but still do the appropriate action when
267 * event and should not perform the action normally associated with the
269 * action for a key until it receives an up or the long press timeout has
289 * press action was executed while it was down.
397 * @param action Action code: either {@link #ACTION_DOWN},
401 public KeyEvent(int action, int code) {
402 mAction = action;
414 * @param action Action code: either {@link #ACTION_DOWN},
420 public KeyEvent(long downTime, long eventTime, int action,
424 mAction = action;
436 * @param action Action code: either {@link #ACTION_DOWN},
443 public KeyEvent(long downTime, long eventTime, int action,
447 mAction = action;
460 * @param action Action code: either {@link #ACTION_DOWN},
469 public KeyEvent(long downTime, long eventTime, int action,
474 mAction = action;
489 * @param action Action code: either {@link #ACTION_DOWN},
499 public KeyEvent(long downTime, long eventTime, int action,
504 mAction = action;
515 * action, and repeat could will automatically be set to
611 * Copy an existing key event, modifying its action.
614 * @param action The new action code of the event.
616 private KeyEvent(KeyEvent origEvent, int action) {
619 mAction = action;
627 // when changing the action.
632 * action is replaced with the given value.
635 * @param action The new action code of the event.
637 public static KeyEvent changeAction(KeyEvent event, int action) {
638 return new KeyEvent(event, action);
658 * @return If the action is ACTION_DOWN, returns true; else false.
781 * Retrieve the action of this key event. May be either
784 * @return The event action: ACTION_DOWN, ACTION_UP, or ACTION_MULTIPLE.
1145 * action with a long press, so no action should occur on the up.
1178 return "KeyEvent{action=" + mAction + " code=" + mKeyCode