From 2fc127698aa11a5d8dab928dc701442e0d09efaa Mon Sep 17 00:00:00 2001 From: Ken Wakasa Date: Fri, 20 Jul 2012 12:17:31 +0900 Subject: [PATCH] Make ALPHA_OPAQUE public Change-Id: I904685be07e23292dd95296617a4b64c366f06f2 --- java/src/com/android/inputmethod/keyboard/KeyboardView.java | 2 +- .../src/com/android/inputmethod/keyboard/LatinKeyboardView.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/java/src/com/android/inputmethod/keyboard/KeyboardView.java b/java/src/com/android/inputmethod/keyboard/KeyboardView.java index fb98af3e6..b05cc70b7 100644 --- a/java/src/com/android/inputmethod/keyboard/KeyboardView.java +++ b/java/src/com/android/inputmethod/keyboard/KeyboardView.java @@ -94,7 +94,7 @@ public class KeyboardView extends View implements PointerTracker.DrawingProxy { // The maximum key label width in the proportion to the key width. private static final float MAX_LABEL_RATIO = 0.90f; - private final static int ALPHA_OPAQUE = 255; + public final static int ALPHA_OPAQUE = 255; // Main keyboard private Keyboard mKeyboard; diff --git a/java/src/com/android/inputmethod/keyboard/LatinKeyboardView.java b/java/src/com/android/inputmethod/keyboard/LatinKeyboardView.java index 1eae2c1d4..36d3664de 100644 --- a/java/src/com/android/inputmethod/keyboard/LatinKeyboardView.java +++ b/java/src/com/android/inputmethod/keyboard/LatinKeyboardView.java @@ -80,7 +80,6 @@ public class LatinKeyboardView extends KeyboardView implements PointerTracker.Ke // Stuff to draw language name on spacebar. private final int mLanguageOnSpacebarFinalAlpha; private ObjectAnimator mLanguageOnSpacebarFadeoutAnimator; - private static final int ALPHA_OPAQUE = 255; private boolean mNeedsToDisplayLanguage; private boolean mHasMultipleEnabledIMEsOrSubtypes; private int mLanguageOnSpacebarAnimAlpha = ALPHA_OPAQUE;