Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f652551b authored by Michael Wright's avatar Michael Wright Committed by Android Git Automerger
Browse files

am b044c40c: Merge "Fixed javadoc in input related classes" into jb-mr2-dev

* commit 'b044c40c':
  Fixed javadoc in input related classes
parents 10ce90ad b044c40c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -533,7 +533,6 @@ public final class InputDevice implements Parcelable {
     *
     * @see MotionEvent#AXIS_X
     * @see MotionEvent#AXIS_Y
     * @see #getSupportedAxes()
     */
    public MotionRange getMotionRange(int axis) {
        final int numRanges = mMotionRanges.size();
@@ -559,7 +558,6 @@ public final class InputDevice implements Parcelable {
     *
     * @see MotionEvent#AXIS_X
     * @see MotionEvent#AXIS_Y
     * @see #getSupportedAxes()
     */
    public MotionRange getMotionRange(int axis, int source) {
        final int numRanges = mMotionRanges.size();
+0 −1
Original line number Diff line number Diff line
@@ -70,7 +70,6 @@ public abstract class InputEvent implements Parcelable {
     * Gets the source of the event.
     * 
     * @return The event source or {@link InputDevice#SOURCE_UNKNOWN} if unknown.
     * @see InputDevice#getSourceInfo
     */
    public abstract int getSource();

+1 −1
Original line number Diff line number Diff line
@@ -2822,7 +2822,7 @@ public class KeyEvent extends InputEvent implements Parcelable {
     *
     * @param symbolicName The symbolic name of the keycode.
     * @return The keycode or {@link #KEYCODE_UNKNOWN} if not found.
     * @see #keycodeToString
     * @see #keycodeToString(int)
     */
    public static int keyCodeFromString(String symbolicName) {
        if (symbolicName == null) {
+3 −5
Original line number Diff line number Diff line
@@ -1947,8 +1947,6 @@ public final class MotionEvent extends InputEvent implements Parcelable {
     * @see #TOOL_TYPE_FINGER
     * @see #TOOL_TYPE_STYLUS
     * @see #TOOL_TYPE_MOUSE
     * @see #TOOL_TYPE_INDIRECT_FINGER
     * @see #TOOL_TYPE_INDIRECT_STYLUS
     */
    public final int getToolType(int pointerIndex) {
        return nativeGetToolType(mNativePtr, pointerIndex);
@@ -2190,7 +2188,7 @@ public final class MotionEvent extends InputEvent implements Parcelable {
     * on the screen, before it had been adjusted for the containing window
     * and views.
     *
     * @see getX()
     * @see #getX(int)
     * @see #AXIS_X
     */
    public final float getRawX() {
@@ -2203,7 +2201,7 @@ public final class MotionEvent extends InputEvent implements Parcelable {
     * on the screen, before it had been adjusted for the containing window
     * and views.
     *
     * @see getY()
     * @see #getY(int)
     * @see #AXIS_Y
     */
    public final float getRawY() {
@@ -3063,7 +3061,7 @@ public final class MotionEvent extends InputEvent implements Parcelable {
     *
     * @param symbolicName The symbolic name of the axis.
     * @return The axis or -1 if not found.
     * @see #keycodeToString
     * @see KeyEvent#keycodeToString(int)
     */
    public static int axisFromString(String symbolicName) {
        if (symbolicName == null) {