OSDN Git Service

Adding TransformingTouchDelegate to allow transforming touch events before sending...
authorSunny Goyal <sunnygoyal@google.com>
Tue, 26 Jul 2016 18:01:43 +0000 (18:01 +0000)
committerandroid-build-merger <android-build-merger@google.com>
Tue, 26 Jul 2016 18:01:43 +0000 (18:01 +0000)
am: bf547ff6f0

Change-Id: Ib32f12cbbfd064fe4a5921ba714012db21c7a8fb

1  2 
src/com/android/launcher3/pageindicators/PageIndicatorLineCaret.java

@@@ -61,10 -60,8 +60,10 @@@ public class PageIndicatorLineCaret ext
      private Paint mLinePaint;
      private Launcher mLauncher;
      private final int mLineHeight;
-     private final Rect mTouchHitRect = new Rect();
+     private final TransformingTouchDelegate mTouchDelegate;
      private final int mTouchExtensionHeight;
 +    private final int mCaretSizePx;
 +    private final int mCaretWorkspaceOffsetPx;
  
      private static final Property<PageIndicatorLineCaret, Integer> PAINT_ALPHA
              = new Property<PageIndicatorLineCaret, Integer>(Integer.class, "paint_alpha") {