Kaydet (Commit) 83cd0040 authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

android: remove unneeded logging and comment tile rendering timing

Change-Id: Ia44efb54cbb0a91ea61cef9e7f250b5105c7ff51
üst 6721736e
......@@ -27,7 +27,6 @@ public final class DirectBufferAllocator {
private static native void freeDirectBufferNative(ByteBuffer aBuffer);
public static ByteBuffer allocate(int size) {
Log.i(LOGTAG, "Allocating size: " + size);
return allocateVM(size);
}
......
......@@ -103,7 +103,6 @@ public class LOKitThread extends Thread {
}
private void processEvent(LOEvent event) {
Log.i(LOGTAG, "processEvent: " + event.getTypeString());
switch (event.mType) {
case LOEvent.LOAD:
loadDocument(event.mFilename);
......@@ -124,7 +123,6 @@ public class LOKitThread extends Thread {
}
public void queueEvent(LOEvent event) {
Log.i(LOGTAG, "Event: " + event.getTypeString());
mEventQueue.add(event);
}
......
......@@ -190,11 +190,11 @@ public class LOKitTileProvider implements TileProvider {
float twipHeight = mTileHeight / zoom;
long start = System.currentTimeMillis() - objectCreationTime;
Log.i(LOGTAG, "paintTile >> @" + start + " (" + tileSize.width + " " + tileSize.height + " " + (int) twipX + " " + (int) twipY + " " + (int) twipWidth + " " + (int) twipHeight + ")");
//Log.i(LOGTAG, "paintTile >> @" + start + " (" + tileSize.width + " " + tileSize.height + " " + (int) twipX + " " + (int) twipY + " " + (int) twipWidth + " " + (int) twipHeight + ")");
mDocument.paintTile(buffer, tileSize.width, tileSize.height, (int) twipX, (int) twipY, (int) twipWidth, (int) twipHeight);
long stop = System.currentTimeMillis() - objectCreationTime;
Log.i(LOGTAG, "paintTile << @" + stop + " elapsed: " + (stop - start));
//Log.i(LOGTAG, "paintTile << @" + stop + " elapsed: " + (stop - start));
} else {
Log.e(LOGTAG, "Document is null!!");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment