mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-20 22:26:54 +01:00
remove excessive logging
This commit is contained in:
parent
10608b137f
commit
6719704117
1 changed files with 0 additions and 6 deletions
|
@ -199,7 +199,6 @@ public class BoardView extends View implements BoardHandler, SyncedDraw {
|
|||
{
|
||||
synchronized( this ) {
|
||||
if ( layoutBoardOnce() && m_measuredFromDims ) {
|
||||
DbgUtils.logf( "BoardCanvas.onDraw() copying bitmap" );
|
||||
canvas.drawBitmap( s_bitmap, 0, 0, m_drawPaint );
|
||||
ConnStatusHandler.draw( m_context, canvas, getResources(),
|
||||
0, 0, m_connType );
|
||||
|
@ -211,7 +210,6 @@ public class BoardView extends View implements BoardHandler, SyncedDraw {
|
|||
|
||||
private boolean layoutBoardOnce()
|
||||
{
|
||||
DbgUtils.logf( "layoutBoardOnce()" );
|
||||
final int width = getWidth();
|
||||
final int height = getHeight();
|
||||
boolean layoutDone = width == m_layoutWidth && height == m_layoutHeight;
|
||||
|
@ -243,13 +241,10 @@ public class BoardView extends View implements BoardHandler, SyncedDraw {
|
|||
}
|
||||
|
||||
if ( null == s_bitmap ) {
|
||||
DbgUtils.logf( "making %dx%d static bitmap", bmWidth, bmHeight );
|
||||
s_bitmap = Bitmap.createBitmap( bmWidth, bmHeight,
|
||||
Bitmap.Config.ARGB_8888 );
|
||||
}
|
||||
if ( null == m_canvas ) {
|
||||
DbgUtils.logf( "layoutBoardOnce: allocating canvas for %d, %d",
|
||||
bmWidth, bmHeight );
|
||||
m_canvas = new BoardCanvas( m_parent, s_bitmap, m_jniThread,
|
||||
m_dims );
|
||||
} else {
|
||||
|
@ -263,7 +258,6 @@ public class BoardView extends View implements BoardHandler, SyncedDraw {
|
|||
m_layoutHeight = height;
|
||||
layoutDone = true;
|
||||
}
|
||||
DbgUtils.logf( "layoutBoardOnce()=>%b", layoutDone );
|
||||
return layoutDone;
|
||||
} // layoutBoardOnce
|
||||
|
||||
|
|
Loading…
Reference in a new issue