Make ModifierKeySatate and ShiftKeyState non-public class

Bug: 5708602
Change-Id: I149c2dab26774686e5c578bbf780081e9fb30e7c
main
Tadashi G. Takaoka 2011-12-05 15:40:24 +09:00
parent b88c9acd88
commit 4a292acc6f
3 changed files with 4 additions and 4 deletions

View File

@ -107,7 +107,7 @@ public class KeyboardState {
@Override @Override
public String toString() { public String toString() {
return "shiftKeyState=" + mShiftKeyState return "[shift=" + mShiftKeyState
+ " symbolKeyState=" + mSymbolKeyState; + " symbol=" + mSymbolKeyState + "]";
} }
} }

View File

@ -20,7 +20,7 @@ import android.util.Log;
import com.android.inputmethod.keyboard.KeyboardSwitcher; import com.android.inputmethod.keyboard.KeyboardSwitcher;
public class ModifierKeyState { class ModifierKeyState {
protected static final String TAG = "ModifierKeyState"; protected static final String TAG = "ModifierKeyState";
protected static final boolean DEBUG = KeyboardSwitcher.DEBUG_STATE; protected static final boolean DEBUG = KeyboardSwitcher.DEBUG_STATE;

View File

@ -18,7 +18,7 @@ package com.android.inputmethod.keyboard.internal;
import android.util.Log; import android.util.Log;
public class ShiftKeyState extends ModifierKeyState { class ShiftKeyState extends ModifierKeyState {
private static final int PRESSING_ON_SHIFTED = 3; // both temporary shifted & shift locked private static final int PRESSING_ON_SHIFTED = 3; // both temporary shifted & shift locked
private static final int IGNORING = 4; private static final int IGNORING = 4;