remove dead variable and code

This commit is contained in:
eehouse 2010-04-21 12:36:25 +00:00
parent f47b61594b
commit 7003a5cd93
3 changed files with 0 additions and 10 deletions

View file

@ -311,7 +311,6 @@ public class BoardActivity extends Activity implements UtilCtxt {
if ( hasFocus ) {
if ( m_firingPrefs ) {
m_firingPrefs = false;
m_view.prefsChanged();
m_volKeysZoom = CommonPrefs.getVolKeysZoom();
if ( null != m_jniThread ) {
m_jniThread.handle( JNIThread.JNICmd.CMD_PREFS_CHANGE );

View file

@ -70,7 +70,6 @@ public class BoardView extends View implements DrawCtx, BoardHandler,
private String m_remText;
private int m_dictPtr = 0;
private int m_lastSecsLeft;
private HashMap<String,BitmapDrawable> m_bitmapsCache;
private Handler m_viewHandler;
// FontDims: exists to translate space available to the largest
@ -330,13 +329,6 @@ public class BoardView extends View implements DrawCtx, BoardHandler,
}
}
public void prefsChanged()
{
synchronized( this ) {
m_bitmapsCache = null;
}
}
public void zoomChanged( final boolean[] canZoom )
{
m_viewHandler.post( new Runnable() {

View file

@ -25,6 +25,5 @@ import android.graphics.Rect;
public interface SyncedDraw {
void doJNIDraw();
void doIconDraw( int resID, final Rect rect );
void prefsChanged();
void zoomChanged( boolean[] canZoom );
}