benchmark the Map draw() call

itemized2sql
Georg Lukas 2010-12-20 22:49:35 +01:00
rodzic fa66dc90ae
commit 353e8be4ab
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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() {