Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: remoting/android/java/src/org/chromium/chromoting/TrackingInputHandler.java

Issue 110963003: Fixing all Java import ordering issues. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ReBaSe Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.chromoting; 5 package org.chromium.chromoting;
6 6
7 import android.content.Context; 7 import android.content.Context;
8 import android.graphics.Matrix; 8 import android.graphics.Matrix;
9 import android.graphics.PointF; 9 import android.graphics.PointF;
10 import android.util.Log;
11 import android.view.GestureDetector; 10 import android.view.GestureDetector;
12 import android.view.MotionEvent; 11 import android.view.MotionEvent;
13 import android.view.ScaleGestureDetector; 12 import android.view.ScaleGestureDetector;
14 import android.widget.Scroller; 13 import android.widget.Scroller;
15 14
16 /** 15 /**
17 * This class implements the cursor-tracking behavior and gestures. 16 * This class implements the cursor-tracking behavior and gestures.
18 */ 17 */
19 public class TrackingInputHandler implements TouchInputHandler { 18 public class TrackingInputHandler implements TouchInputHandler {
20 /** 19 /**
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 public void onLongPress(int pointerCount) { 455 public void onLongPress(int pointerCount) {
457 mHeldButton = mouseButtonFromPointerCount(pointerCount); 456 mHeldButton = mouseButtonFromPointerCount(pointerCount);
458 if (mHeldButton != BUTTON_UNDEFINED) { 457 if (mHeldButton != BUTTON_UNDEFINED) {
459 injectButtonEvent(mHeldButton, true); 458 injectButtonEvent(mHeldButton, true);
460 mViewer.showLongPressFeedback(); 459 mViewer.showLongPressFeedback();
461 mSuppressFling = true; 460 mSuppressFling = true;
462 } 461 }
463 } 462 }
464 } 463 }
465 } 464 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698