kopia lustrzana https://github.com/ge0rg/aprsdroid
benchmark the Map draw() call
rodzic
fa66dc90ae
commit
353e8be4ab
|
@ -113,6 +113,7 @@ class StationOverlay(icons : Drawable, context : Context, db : StorageDatabase)
|
|||
|
||||
override def draw(c : Canvas, m : MapView, shadow : Boolean) : Unit = {
|
||||
if (shadow) return;
|
||||
Benchmark("draw") {
|
||||
|
||||
val textPaint = new Paint()
|
||||
textPaint.setARGB(255, 200, 255, 200)
|
||||
|
@ -157,6 +158,7 @@ class StationOverlay(icons : Drawable, context : Context, db : StorageDatabase)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def loadDb() {
|
||||
|
|
Ładowanie…
Reference in New Issue