mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
cleanup up logging
This commit is contained in:
parent
57c71f4c82
commit
0fc528a074
1 changed files with 4 additions and 4 deletions
|
@ -109,7 +109,7 @@ public class BoardView extends View implements BoardHandler, SyncedDraw {
|
||||||
} else if ( XwJNI.board_containsPt( m_jniGamePtr, xx, yy ) ) {
|
} else if ( XwJNI.board_containsPt( m_jniGamePtr, xx, yy ) ) {
|
||||||
handle( JNIThread.JNICmd.CMD_PEN_DOWN, xx, yy );
|
handle( JNIThread.JNICmd.CMD_PEN_DOWN, xx, yy );
|
||||||
} else {
|
} else {
|
||||||
DbgUtils.logd( TAG, "BoardView.onTouchEvent(): in white space" );
|
DbgUtils.logd( TAG, "onTouchEvent(): in white space" );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case MotionEvent.ACTION_MOVE:
|
case MotionEvent.ACTION_MOVE:
|
||||||
|
@ -160,7 +160,7 @@ public class BoardView extends View implements BoardHandler, SyncedDraw {
|
||||||
if ( BoardContainer.getIsPortrait() != (m_dims.height > m_dims.width) ) {
|
if ( BoardContainer.getIsPortrait() != (m_dims.height > m_dims.width) ) {
|
||||||
// square possible; will break above!
|
// square possible; will break above!
|
||||||
Assert.assertTrue( m_dims.height != m_dims.width );
|
Assert.assertTrue( m_dims.height != m_dims.width );
|
||||||
DbgUtils.logd( TAG, "BoardView.onMeasure: discarding m_dims" );
|
DbgUtils.logd( TAG, "onMeasure: discarding m_dims" );
|
||||||
if ( ++m_dimsTossCount < 4 ) {
|
if ( ++m_dimsTossCount < 4 ) {
|
||||||
m_dims = null;
|
m_dims = null;
|
||||||
m_layoutWidth = m_layoutHeight = 0;
|
m_layoutWidth = m_layoutHeight = 0;
|
||||||
|
@ -187,7 +187,7 @@ public class BoardView extends View implements BoardHandler, SyncedDraw {
|
||||||
width = minWidth;
|
width = minWidth;
|
||||||
}
|
}
|
||||||
setMeasuredDimension( width, height );
|
setMeasuredDimension( width, height );
|
||||||
DbgUtils.logd( TAG, "BoardView.onMeasure: calling setMeasuredDimension( width=%d, height=%d )",
|
DbgUtils.logd( TAG, "onMeasure: calling setMeasuredDimension( width=%d, height=%d )",
|
||||||
width, height );
|
width, height );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -214,7 +214,7 @@ public class BoardView extends View implements BoardHandler, SyncedDraw {
|
||||||
ConnStatusHandler.draw( m_context, canvas, getResources(),
|
ConnStatusHandler.draw( m_context, canvas, getResources(),
|
||||||
m_connTypes, m_isSolo );
|
m_connTypes, m_isSolo );
|
||||||
} else {
|
} else {
|
||||||
DbgUtils.logd( TAG, "BoardView.onDraw(): board not laid out yet" );
|
DbgUtils.logd( TAG, "onDraw(): board not laid out yet" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue