Merge "Add API to inform the system a drag is initiated by an A11yAction#ACTION_DRAG_START." into sc-v2-dev
This commit is contained in:
@@ -49239,6 +49239,7 @@ package android.view {
|
|||||||
field public static final int AUTOFILL_TYPE_NONE = 0; // 0x0
|
field public static final int AUTOFILL_TYPE_NONE = 0; // 0x0
|
||||||
field public static final int AUTOFILL_TYPE_TEXT = 1; // 0x1
|
field public static final int AUTOFILL_TYPE_TEXT = 1; // 0x1
|
||||||
field public static final int AUTOFILL_TYPE_TOGGLE = 2; // 0x2
|
field public static final int AUTOFILL_TYPE_TOGGLE = 2; // 0x2
|
||||||
|
field public static final int DRAG_FLAG_ACCESSIBILITY_ACTION = 1024; // 0x400
|
||||||
field public static final int DRAG_FLAG_GLOBAL = 256; // 0x100
|
field public static final int DRAG_FLAG_GLOBAL = 256; // 0x100
|
||||||
field public static final int DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION = 64; // 0x40
|
field public static final int DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION = 64; // 0x40
|
||||||
field public static final int DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION = 128; // 0x80
|
field public static final int DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION = 128; // 0x80
|
||||||
|
|||||||
@@ -5035,6 +5035,14 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
|||||||
*/
|
*/
|
||||||
public static final int DRAG_FLAG_OPAQUE = 1 << 9;
|
public static final int DRAG_FLAG_OPAQUE = 1 << 9;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Flag indicating that the drag was initiated with
|
||||||
|
* {@link AccessibilityNodeInfo.AccessibilityAction#ACTION_DRAG_START}. When
|
||||||
|
* {@link #startDragAndDrop(ClipData, DragShadowBuilder, Object, int)} is called, this
|
||||||
|
* is used by the system to perform a drag without animations.
|
||||||
|
*/
|
||||||
|
public static final int DRAG_FLAG_ACCESSIBILITY_ACTION = 1 << 10;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Vertical scroll factor cached by {@link #getVerticalScrollFactor}.
|
* Vertical scroll factor cached by {@link #getVerticalScrollFactor}.
|
||||||
*/
|
*/
|
||||||
@@ -26632,6 +26640,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
|||||||
* <li>{@link #DRAG_FLAG_GLOBAL_URI_READ}</li>
|
* <li>{@link #DRAG_FLAG_GLOBAL_URI_READ}</li>
|
||||||
* <li>{@link #DRAG_FLAG_GLOBAL_URI_WRITE}</li>
|
* <li>{@link #DRAG_FLAG_GLOBAL_URI_WRITE}</li>
|
||||||
* <li>{@link #DRAG_FLAG_OPAQUE}</li>
|
* <li>{@link #DRAG_FLAG_OPAQUE}</li>
|
||||||
|
* <li>{@link #DRAG_FLAG_ACCESSIBILITY_ACTION}</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
* @return {@code true} if the method completes successfully, or
|
* @return {@code true} if the method completes successfully, or
|
||||||
* {@code false} if it fails anywhere. Returning {@code false} means the system was unable to
|
* {@code false} if it fails anywhere. Returning {@code false} means the system was unable to
|
||||||
|
|||||||
Reference in New Issue
Block a user