Merge "Add visual debug mode"

main
Tadashi G. Takaoka 2011-06-28 04:45:19 -07:00 committed by Android (Google) Code Review
commit 98d2e4c840
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 {
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 ENABLE_CAPSLOCK_BY_LONGPRESS = true;

View File

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