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

Side by Side Diff: android_webview/java/src/org/chromium/android_webview/AwScrollOffsetManager.java

Issue 110963003: Fixing all Java import ordering issues. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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.android_webview; 5 package org.chromium.android_webview;
6 6
7 import android.graphics.Rect; 7 import android.graphics.Rect;
8 import android.view.View;
9 import android.webkit.WebView;
Ted C 2013/12/10 00:36:20 Again, how often are these used? If not much, let
aurimas (slooooooooow) 2013/12/10 01:54:32 Done.
8 import android.widget.OverScroller; 10 import android.widget.OverScroller;
9 11
10 import com.google.common.annotations.VisibleForTesting; 12 import com.google.common.annotations.VisibleForTesting;
11 13
12 /** 14 /**
13 * Takes care of syncing the scroll offset between the Android View system and t he 15 * Takes care of syncing the scroll offset between the Android View system and t he
14 * InProcessViewRenderer. 16 * InProcessViewRenderer.
15 * 17 *
16 * Unless otherwise values (sizes, scroll offsets) are in physical pixels. 18 * Unless otherwise values (sizes, scroll offsets) are in physical pixels.
17 */ 19 */
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 } 428 }
427 429
428 if (immediate) { 430 if (immediate) {
429 scrollBy(scrollXDelta, scrollYDelta); 431 scrollBy(scrollXDelta, scrollYDelta);
430 return true; 432 return true;
431 } else { 433 } else {
432 return animateScrollTo(scrollX + scrollXDelta, scrollY + scrollYDelt a); 434 return animateScrollTo(scrollX + scrollXDelta, scrollY + scrollYDelt a);
433 } 435 }
434 } 436 }
435 } 437 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698