Bug 1081397: Finalise large numbers of fields. r=rnewman

* * *
Bug 1081397: Finalise large numbers of fields. r=rnewman
This commit is contained in:
Chris Kitching
2014-10-11 00:17:01 +01:00
parent c284b1c1b1
commit 5d126e171c
146 changed files with 318 additions and 318 deletions

View File

@@ -41,9 +41,9 @@ class JavaPanZoomController
{
private static final String LOGTAG = "GeckoPanZoomController";
private static String MESSAGE_ZOOM_RECT = "Browser:ZoomToRect";
private static String MESSAGE_ZOOM_PAGE = "Browser:ZoomToPageWidth";
private static String MESSAGE_TOUCH_LISTENER = "Tab:HasTouchListener";
private static final String MESSAGE_ZOOM_RECT = "Browser:ZoomToRect";
private static final String MESSAGE_ZOOM_PAGE = "Browser:ZoomToPageWidth";
private static final String MESSAGE_TOUCH_LISTENER = "Tab:HasTouchListener";
// Animation stops if the velocity is below this value when overscrolled or panning.
private static final float STOPPED_THRESHOLD = 4.0f;
@@ -902,8 +902,8 @@ class JavaPanZoomController
* The viewport metrics that represent the start and end of the bounce-back animation,
* respectively.
*/
private ImmutableViewportMetrics mBounceStartMetrics;
private ImmutableViewportMetrics mBounceEndMetrics;
private final ImmutableViewportMetrics mBounceStartMetrics;
private final ImmutableViewportMetrics mBounceEndMetrics;
// How long ago this bounce was started in ns.
private long mBounceDuration;