From de77eae1e8936c387cd957b3a9c75eb313aed2db Mon Sep 17 00:00:00 2001 From: sonora Date: Tue, 28 Feb 2012 13:44:55 +0100 Subject: [PATCH] remove Alpha comments --- OsmAnd/src/net/osmand/plus/views/OsmBugsLayer.java | 2 -- OsmAnd/src/net/osmand/plus/views/POIMapLayer.java | 1 - OsmAnd/src/net/osmand/plus/views/PointLocationLayer.java | 2 -- OsmAnd/src/net/osmand/plus/views/RouteLayer.java | 1 - OsmAnd/src/net/osmand/plus/views/TransportInfoLayer.java | 2 -- OsmAnd/src/net/osmand/plus/views/TransportStopsLayer.java | 1 - 6 files changed, 9 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/views/OsmBugsLayer.java b/OsmAnd/src/net/osmand/plus/views/OsmBugsLayer.java index f9644e2172..3031fb2c62 100644 --- a/OsmAnd/src/net/osmand/plus/views/OsmBugsLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/OsmBugsLayer.java @@ -99,11 +99,9 @@ public class OsmBugsLayer extends OsmandMapLayer implements ContextMenuLayer.ICo } pointOpenedUI = new Paint(); pointOpenedUI.setColor(activity.getResources().getColor(R.color.osmbug_opened)); - //pointOpenedUI.setAlpha(200); pointOpenedUI.setAntiAlias(true); pointClosedUI = new Paint(); pointClosedUI.setColor(activity.getResources().getColor(R.color.osmbug_closed)); - //pointClosedUI.setAlpha(200); pointClosedUI.setAntiAlias(true); } diff --git a/OsmAnd/src/net/osmand/plus/views/POIMapLayer.java b/OsmAnd/src/net/osmand/plus/views/POIMapLayer.java index 575e8dc32b..51cbb867f4 100644 --- a/OsmAnd/src/net/osmand/plus/views/POIMapLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/POIMapLayer.java @@ -136,7 +136,6 @@ public class POIMapLayer extends OsmandMapLayer implements ContextMenuLayer.ICon pointAltUI = new Paint(); pointAltUI.setColor(view.getApplication().getResources().getColor(R.color.poi_background)); - //pointAltUI.setAlpha(160); pointAltUI.setStyle(Style.FILL); paintIcon = new Paint(); diff --git a/OsmAnd/src/net/osmand/plus/views/PointLocationLayer.java b/OsmAnd/src/net/osmand/plus/views/PointLocationLayer.java index 1c5628c59c..15d07bcda9 100644 --- a/OsmAnd/src/net/osmand/plus/views/PointLocationLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/PointLocationLayer.java @@ -41,7 +41,6 @@ public class PointLocationLayer extends OsmandMapLayer { area = new Paint(); area.setColor(view.getResources().getColor(R.color.pos_area)); - //area.setAlpha(40); aroundArea = new Paint(); aroundArea.setColor(view.getResources().getColor(R.color.pos_around)); @@ -51,7 +50,6 @@ public class PointLocationLayer extends OsmandMapLayer { headingPaint = new Paint(); headingPaint.setColor(view.getResources().getColor(R.color.pos_heading)); - //headingPaint.setAlpha(50); headingPaint.setAntiAlias(true); headingPaint.setStyle(Style.FILL); diff --git a/OsmAnd/src/net/osmand/plus/views/RouteLayer.java b/OsmAnd/src/net/osmand/plus/views/RouteLayer.java index 1275f8c70b..b27abfd947 100644 --- a/OsmAnd/src/net/osmand/plus/views/RouteLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/RouteLayer.java @@ -48,7 +48,6 @@ public class RouteLayer extends OsmandMapLayer { } paint.setStyle(Style.STROKE); paint.setStrokeWidth(14); - //paint.setAlpha(150); paint.setAntiAlias(true); paint.setStrokeCap(Cap.ROUND); paint.setStrokeJoin(Join.ROUND); diff --git a/OsmAnd/src/net/osmand/plus/views/TransportInfoLayer.java b/OsmAnd/src/net/osmand/plus/views/TransportInfoLayer.java index 7c488f46e6..36a8dc0abd 100644 --- a/OsmAnd/src/net/osmand/plus/views/TransportInfoLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/TransportInfoLayer.java @@ -39,11 +39,9 @@ public class TransportInfoLayer extends OsmandMapLayer { paintInt = new Paint(); paintInt.setColor(view.getResources().getColor(R.color.transport_int)); - //paintInt.setAlpha(150); paintInt.setAntiAlias(true); paintEnd = new Paint(); paintEnd.setColor(view.getResources().getColor(R.color.transport_end)); - //paintEnd.setAlpha(150); paintEnd.setAntiAlias(true); } diff --git a/OsmAnd/src/net/osmand/plus/views/TransportStopsLayer.java b/OsmAnd/src/net/osmand/plus/views/TransportStopsLayer.java index a9e8ab8fe9..95f8ea5866 100644 --- a/OsmAnd/src/net/osmand/plus/views/TransportStopsLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/TransportStopsLayer.java @@ -35,7 +35,6 @@ public class TransportStopsLayer extends OsmandMapLayer implements ContextMenuLa pointAltUI = new Paint(); pointAltUI.setColor(view.getResources().getColor(R.color.transport_stop)); - //pointAltUI.setAlpha(150); pointAltUI.setAntiAlias(true); }