Lines Matching defs:action
31 * an action type that indicates the state of the drag and drop operation. This allows a View
33 * For example, a View can react to the {@link #ACTION_DRAG_ENTERED} action type by
38 * is called a drag shadow. Several action types reflect the position of the drag shadow relative
195 * The View can also react to this action by changing its appearance.
255 private void init(int action, float x, float y, ClipDescription description, ClipData data,
257 mAction = action;
271 public static DragEvent obtain(int action, float x, float y, Object localState,
277 ev.init(action, x, y, description, data, localState, result);
288 ev.init(action, x, y, description, data, localState, result);
300 * Inspect the action value of this event.
301 * @return One of the following action constants, in the order in which they usually occur
317 * Gets the X coordinate of the drag point. The value is only valid if the event action is
327 * event action is {@link #ACTION_DRAG_ENTERED}, {@link #ACTION_DRAG_LOCATION},
339 * This method only returns valid data if the event action is {@link #ACTION_DROP}.
377 * This method only returns valid data if the action type is {@link #ACTION_DRAG_ENDED}.
442 + " action=" + mAction + " @ (" + mX + ", " + mY + ") desc=" + mClipDescription