Fix lint warnings

This commit is contained in:
Fredrik Fornwall
2015-12-23 01:12:47 +01:00
parent 4de0f98fa4
commit 9d37461ac7
3 changed files with 5 additions and 6 deletions

View File

@@ -138,11 +138,11 @@ public class DrawerLayout extends ViewGroup {
private final ChildAccessibilityDelegate mChildAccessibilityDelegate = new ChildAccessibilityDelegate(); private final ChildAccessibilityDelegate mChildAccessibilityDelegate = new ChildAccessibilityDelegate();
private int mMinDrawerMargin; private final int mMinDrawerMargin;
private int mScrimColor = DEFAULT_SCRIM_COLOR; private int mScrimColor = DEFAULT_SCRIM_COLOR;
private float mScrimOpacity; private float mScrimOpacity;
private Paint mScrimPaint = new Paint(); private final Paint mScrimPaint = new Paint();
private final ViewDragHelper mLeftDragger; private final ViewDragHelper mLeftDragger;
private final ViewDragHelper mRightDragger; private final ViewDragHelper mRightDragger;

View File

@@ -57,7 +57,7 @@ public class ViewDragHelper {
/** /**
* Edge flag indicating that the left edge should be affected. * Edge flag indicating that the left edge should be affected.
*/ */
public static final int EDGE_LEFT = 1 << 0; public static final int EDGE_LEFT = 1 /*1 << 0*/;
/** /**
* Edge flag indicating that the right edge should be affected. * Edge flag indicating that the right edge should be affected.
@@ -82,7 +82,7 @@ public class ViewDragHelper {
/** /**
* Indicates that a check should occur along the horizontal axis * Indicates that a check should occur along the horizontal axis
*/ */
public static final int DIRECTION_HORIZONTAL = 1 << 0; public static final int DIRECTION_HORIZONTAL = 1 /*1 << 0*/;
/** /**
* Indicates that a check should occur along the vertical axis * Indicates that a check should occur along the vertical axis

View File

@@ -33,8 +33,7 @@ public final class TerminalEmulator {
private static final boolean LOG_ESCAPE_SEQUENCES = false; private static final boolean LOG_ESCAPE_SEQUENCES = false;
public static final int MOUSE_LEFT_BUTTON = 0; public static final int MOUSE_LEFT_BUTTON = 0;
public static final int MOUSE_MIDDLE_BUTTON = 1;
public static final int MOUSE_RIGHT_BUTTON = 2;
/** Mouse moving while having left mouse button pressed. */ /** Mouse moving while having left mouse button pressed. */
public static final int MOUSE_LEFT_BUTTON_MOVED = 32; public static final int MOUSE_LEFT_BUTTON_MOVED = 32;
public static final int MOUSE_WHEELUP_BUTTON = 64; public static final int MOUSE_WHEELUP_BUTTON = 64;