From c8a57806ad25aea0363a1b665b7d9b3e14cbe188 Mon Sep 17 00:00:00 2001 From: Alexander Sytnyk Date: Mon, 31 Jul 2017 15:53:36 +0300 Subject: [PATCH] Delete unnecessary fields --- OsmAnd/src/net/osmand/plus/views/RulerControlLayer.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/views/RulerControlLayer.java b/OsmAnd/src/net/osmand/plus/views/RulerControlLayer.java index d5426f8038..762ed3a889 100644 --- a/OsmAnd/src/net/osmand/plus/views/RulerControlLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/RulerControlLayer.java @@ -5,7 +5,6 @@ import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Paint.Style; -import android.graphics.Path; import android.graphics.PointF; import android.graphics.Rect; import android.os.Handler; @@ -25,8 +24,6 @@ import net.osmand.plus.activities.MapActivity; import java.util.ArrayList; -import gnu.trove.list.array.TIntArrayList; - public class RulerControlLayer extends OsmandMapLayer { private static final long DRAW_TIME = 2000; @@ -54,9 +51,6 @@ public class RulerControlLayer extends OsmandMapLayer { private double cacheTileY; private long cacheMultiTouchEndTime; private ArrayList cacheDistances; - private Path distancePath; - private TIntArrayList tx; - private TIntArrayList ty; private LatLon touchPointLatLon; private PointF touchPoint; private long touchStartTime; @@ -97,9 +91,6 @@ public class RulerControlLayer extends OsmandMapLayer { cacheCenter = new QuadPoint(); maxRadiusInDp = mapActivity.getResources().getDimensionPixelSize(R.dimen.map_ruler_width); rightWidgetsPanel = mapActivity.findViewById(R.id.map_right_widgets_panel); - distancePath = new Path(); - tx = new TIntArrayList(); - ty = new TIntArrayList(); touchPoint = new PointF(); acceptableTouchRadius = mapActivity.getResources().getDimensionPixelSize(R.dimen.acceptable_touch_radius);