Merge "Add SOURCE_SENSOR to InputDevice API." into sc-dev am: 31741788ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13447195 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I442421c57f5386fafb7fb5a5fc781f760147f7aa
This commit is contained in:
@@ -46417,6 +46417,7 @@ package android.view {
|
|||||||
field public static final int SOURCE_MOUSE = 8194; // 0x2002
|
field public static final int SOURCE_MOUSE = 8194; // 0x2002
|
||||||
field public static final int SOURCE_MOUSE_RELATIVE = 131076; // 0x20004
|
field public static final int SOURCE_MOUSE_RELATIVE = 131076; // 0x20004
|
||||||
field public static final int SOURCE_ROTARY_ENCODER = 4194304; // 0x400000
|
field public static final int SOURCE_ROTARY_ENCODER = 4194304; // 0x400000
|
||||||
|
field public static final int SOURCE_SENSOR = 67108864; // 0x4000000
|
||||||
field public static final int SOURCE_STYLUS = 16386; // 0x4002
|
field public static final int SOURCE_STYLUS = 16386; // 0x4002
|
||||||
field public static final int SOURCE_TOUCHPAD = 1048584; // 0x100008
|
field public static final int SOURCE_TOUCHPAD = 1048584; // 0x100008
|
||||||
field public static final int SOURCE_TOUCHSCREEN = 4098; // 0x1002
|
field public static final int SOURCE_TOUCHSCREEN = 4098; // 0x1002
|
||||||
|
|||||||
@@ -322,6 +322,13 @@ public final class InputDevice implements Parcelable {
|
|||||||
*/
|
*/
|
||||||
public static final int SOURCE_HDMI = 0x02000000 | SOURCE_CLASS_BUTTON;
|
public static final int SOURCE_HDMI = 0x02000000 | SOURCE_CLASS_BUTTON;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The input source is a sensor associated with the input device.
|
||||||
|
*
|
||||||
|
* @see #SOURCE_CLASS_NONE
|
||||||
|
*/
|
||||||
|
public static final int SOURCE_SENSOR = 0x04000000 | SOURCE_CLASS_NONE;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A special input source constant that is used when filtering input devices
|
* A special input source constant that is used when filtering input devices
|
||||||
* to match devices that provide any type of input source.
|
* to match devices that provide any type of input source.
|
||||||
|
|||||||
Reference in New Issue
Block a user