Loading java/src/com/android/inputmethod/keyboard/Keyboard.java +2 −2 Original line number Diff line number Diff line Loading @@ -216,8 +216,8 @@ public class Keyboard { // TODO: Remove this method. public CharSequence adjustLabelCase(CharSequence label) { if (isShiftedOrShiftLocked() && !TextUtils.isEmpty(label) && label.length() < 3 && Character.isLowerCase(label.charAt(0))) { if (mId.isAlphabetKeyboard() && isShiftedOrShiftLocked() && !TextUtils.isEmpty(label) && label.length() < 3 && Character.isLowerCase(label.charAt(0))) { return label.toString().toUpperCase(mId.mLocale); } return label; Loading java/src/com/android/inputmethod/keyboard/LatinKeyboard.java +0 −10 Original line number Diff line number Diff line Loading @@ -28,7 +28,6 @@ import android.graphics.PorterDuff; import android.graphics.Rect; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.text.TextUtils; import com.android.inputmethod.keyboard.internal.KeyboardBuilder; import com.android.inputmethod.keyboard.internal.KeyboardParams; Loading Loading @@ -138,15 +137,6 @@ public class LatinKeyboard extends Keyboard { return mSpaceKey; } @Override public CharSequence adjustLabelCase(CharSequence label) { if (mId.isAlphabetKeyboard() && isShiftedOrShiftLocked() && !TextUtils.isEmpty(label) && label.length() < 3 && Character.isLowerCase(label.charAt(0))) { return label.toString().toUpperCase(mId.mLocale); } return label; } private void updateSpacebarIcon() { if (mSpaceKey == null) return; if (mNeedsToDisplayLanguage) { Loading Loading
java/src/com/android/inputmethod/keyboard/Keyboard.java +2 −2 Original line number Diff line number Diff line Loading @@ -216,8 +216,8 @@ public class Keyboard { // TODO: Remove this method. public CharSequence adjustLabelCase(CharSequence label) { if (isShiftedOrShiftLocked() && !TextUtils.isEmpty(label) && label.length() < 3 && Character.isLowerCase(label.charAt(0))) { if (mId.isAlphabetKeyboard() && isShiftedOrShiftLocked() && !TextUtils.isEmpty(label) && label.length() < 3 && Character.isLowerCase(label.charAt(0))) { return label.toString().toUpperCase(mId.mLocale); } return label; Loading
java/src/com/android/inputmethod/keyboard/LatinKeyboard.java +0 −10 Original line number Diff line number Diff line Loading @@ -28,7 +28,6 @@ import android.graphics.PorterDuff; import android.graphics.Rect; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.text.TextUtils; import com.android.inputmethod.keyboard.internal.KeyboardBuilder; import com.android.inputmethod.keyboard.internal.KeyboardParams; Loading Loading @@ -138,15 +137,6 @@ public class LatinKeyboard extends Keyboard { return mSpaceKey; } @Override public CharSequence adjustLabelCase(CharSequence label) { if (mId.isAlphabetKeyboard() && isShiftedOrShiftLocked() && !TextUtils.isEmpty(label) && label.length() < 3 && Character.isLowerCase(label.charAt(0))) { return label.toString().toUpperCase(mId.mLocale); } return label; } private void updateSpacebarIcon() { if (mSpaceKey == null) return; if (mNeedsToDisplayLanguage) { Loading