mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-11 08:48:06 +01:00
remove unused method
This commit is contained in:
parent
16923eb27e
commit
56f9f5f88e
1 changed files with 0 additions and 24 deletions
|
@ -334,30 +334,6 @@ public class BoardView extends View implements BoardHandler, SyncedDraw {
|
|||
return m_pendingScore;
|
||||
}
|
||||
|
||||
public Bitmap getScaledBoard()
|
||||
{
|
||||
Bitmap result = null;
|
||||
if ( GitVersion.THUMBNAIL_SUPPORTED ) {
|
||||
int divisor = XWPrefs.getThumbScale( m_context );
|
||||
|
||||
if ( 0 < divisor ) {
|
||||
int[] dims = new int[2];
|
||||
Rect rect = new Rect();
|
||||
XwJNI.board_getActiveRect( m_jniGamePtr, rect, dims );
|
||||
|
||||
Bitmap tmpb =
|
||||
Bitmap.createBitmap( s_bitmap, rect.left, rect.top,
|
||||
1 + rect.width(), 1 + rect.height() );
|
||||
|
||||
result = Bitmap.createScaledBitmap( tmpb,
|
||||
rect.width() / divisor,
|
||||
rect.height() / divisor,
|
||||
false );
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
private int getSpacing( MotionEvent event )
|
||||
{
|
||||
int result;
|
||||
|
|
Loading…
Add table
Reference in a new issue