Add visual debug mode

Change-Id: Ife131a398c0753b5b0e6e8969fe7bbc2a3bdab96
This commit is contained in:
Tadashi G. Takaoka 2011-06-28 19:13:52 +09:00
parent 49c8567db2
commit 670e1c6b71
2 changed files with 2 additions and 1 deletions

View file

@ -89,7 +89,7 @@ import java.util.WeakHashMap;
*/ */
public class KeyboardView extends View implements PointerTracker.UIProxy { public class KeyboardView extends View implements PointerTracker.UIProxy {
private static final String TAG = KeyboardView.class.getSimpleName(); private static final String TAG = KeyboardView.class.getSimpleName();
private static final boolean DEBUG_SHOW_ALIGN = false; private static final boolean DEBUG_SHOW_ALIGN = LatinImeLogger.sVISUALDEBUG;
private static final boolean DEBUG_KEYBOARD_GRID = false; private static final boolean DEBUG_KEYBOARD_GRID = false;
private static final boolean ENABLE_CAPSLOCK_BY_LONGPRESS = true; private static final boolean ENABLE_CAPSLOCK_BY_LONGPRESS = true;

View file

@ -27,6 +27,7 @@ import java.util.List;
public class LatinImeLogger implements SharedPreferences.OnSharedPreferenceChangeListener { public class LatinImeLogger implements SharedPreferences.OnSharedPreferenceChangeListener {
public static boolean sDBG = false; public static boolean sDBG = false;
public static boolean sVISUALDEBUG = false;
@Override @Override
public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) {