Merge "Revise the javadoc and rename the constant" into rvc-dev am: 4401b0db11
Change-Id: Iba05cb099c8431d3b2221858d129f9fdf7b10127
This commit is contained in:
@@ -56042,7 +56042,7 @@ package android.view.accessibility {
|
|||||||
field public static final String ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT = "ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT";
|
field public static final String ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT = "ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT";
|
||||||
field public static final String ACTION_ARGUMENT_MOVE_WINDOW_X = "ACTION_ARGUMENT_MOVE_WINDOW_X";
|
field public static final String ACTION_ARGUMENT_MOVE_WINDOW_X = "ACTION_ARGUMENT_MOVE_WINDOW_X";
|
||||||
field public static final String ACTION_ARGUMENT_MOVE_WINDOW_Y = "ACTION_ARGUMENT_MOVE_WINDOW_Y";
|
field public static final String ACTION_ARGUMENT_MOVE_WINDOW_Y = "ACTION_ARGUMENT_MOVE_WINDOW_Y";
|
||||||
field public static final String ACTION_ARGUMENT_PRESS_HOLD_DURATION_MILLIS_INT = "android.view.accessibility.action.ARGUMENT_PRESS_HOLD_DURATION_MILLIS_INT";
|
field public static final String ACTION_ARGUMENT_PRESS_AND_HOLD_DURATION_MILLIS_INT = "android.view.accessibility.action.ARGUMENT_PRESS_AND_HOLD_DURATION_MILLIS_INT";
|
||||||
field public static final String ACTION_ARGUMENT_PROGRESS_VALUE = "android.view.accessibility.action.ARGUMENT_PROGRESS_VALUE";
|
field public static final String ACTION_ARGUMENT_PROGRESS_VALUE = "android.view.accessibility.action.ARGUMENT_PROGRESS_VALUE";
|
||||||
field public static final String ACTION_ARGUMENT_ROW_INT = "android.view.accessibility.action.ARGUMENT_ROW_INT";
|
field public static final String ACTION_ARGUMENT_ROW_INT = "android.view.accessibility.action.ARGUMENT_ROW_INT";
|
||||||
field public static final String ACTION_ARGUMENT_SELECTION_END_INT = "ACTION_ARGUMENT_SELECTION_END_INT";
|
field public static final String ACTION_ARGUMENT_SELECTION_END_INT = "ACTION_ARGUMENT_SELECTION_END_INT";
|
||||||
|
|||||||
@@ -555,8 +555,8 @@ public class AccessibilityNodeInfo implements Parcelable {
|
|||||||
*
|
*
|
||||||
* @see AccessibilityAction#ACTION_PRESS_AND_HOLD
|
* @see AccessibilityAction#ACTION_PRESS_AND_HOLD
|
||||||
*/
|
*/
|
||||||
public static final String ACTION_ARGUMENT_PRESS_HOLD_DURATION_MILLIS_INT =
|
public static final String ACTION_ARGUMENT_PRESS_AND_HOLD_DURATION_MILLIS_INT =
|
||||||
"android.view.accessibility.action.ARGUMENT_PRESS_HOLD_DURATION_MILLIS_INT";
|
"android.view.accessibility.action.ARGUMENT_PRESS_AND_HOLD_DURATION_MILLIS_INT";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Argument to represent the IME action Id to press the returning key on a node.
|
* Argument to represent the IME action Id to press the returning key on a node.
|
||||||
@@ -4915,10 +4915,13 @@ public class AccessibilityNodeInfo implements Parcelable {
|
|||||||
* held. Nodes having a single action for long press should use {@link #ACTION_LONG_CLICK}
|
* held. Nodes having a single action for long press should use {@link #ACTION_LONG_CLICK}
|
||||||
* instead of this action, and nodes should not expose both actions.
|
* instead of this action, and nodes should not expose both actions.
|
||||||
* <p>
|
* <p>
|
||||||
* Use {@link #ACTION_ARGUMENT_PRESS_HOLD_DURATION_MILLIS_INT} to specify how long the
|
* When calling {@code performAction(ACTION_PRESS_AND_HOLD, bundle}, use
|
||||||
* node is pressed. To ensure reasonable behavior, the first value of this argument should
|
* {@link #ACTION_ARGUMENT_PRESS_AND_HOLD_DURATION_MILLIS_INT} to specify how long the
|
||||||
* be 0 and the others should greater than 0 and less than 10,000. UIs requested to hold for
|
* node is pressed. The first time an accessibility service performs ACTION_PRES_AND_HOLD
|
||||||
* times outside of this range should ignore the action.
|
* on a node, it must specify 0 as ACTION_ARGUMENT_PRESS_AND_HOLD, so the application is
|
||||||
|
* notified that the held state has started. To ensure reasonable behavior, the values
|
||||||
|
* must be increased incrementally and may not exceed 10,000. UIs requested
|
||||||
|
* to hold for times outside of this range should ignore the action.
|
||||||
* <p>
|
* <p>
|
||||||
* The total time the element is held could be specified by an accessibility user up-front,
|
* The total time the element is held could be specified by an accessibility user up-front,
|
||||||
* or may depend on what happens on the UI as the user continues to request the hold.
|
* or may depend on what happens on the UI as the user continues to request the hold.
|
||||||
|
|||||||
Reference in New Issue
Block a user