summaryrefslogtreecommitdiff
path: root/java/src/com/android/inputmethod/keyboard/KeyboardView.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-02-24 17:24:49 +0900
committerTadashi G. Takaoka <takaoka@google.com>2014-02-24 19:45:50 +0900
commitd227b00a72a68c59b8d2b2243a68c0f59d919b25 (patch)
tree3c944b7995327337b108f50edb357192347f7ed2 /java/src/com/android/inputmethod/keyboard/KeyboardView.java
parentb08a9e021c2e5be7375295858b28bf8c4b9767b9 (diff)
Remove hack from EmojiPalettesView.startEmojiPalettes
Bug: 12115967 Change-Id: I91c567a9577012ec28c08430c55e56e9c2e25b5f
Diffstat (limited to 'java/src/com/android/inputmethod/keyboard/KeyboardView.java')
-rw-r--r--java/src/com/android/inputmethod/keyboard/KeyboardView.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/KeyboardView.java b/java/src/com/android/inputmethod/keyboard/KeyboardView.java
index dd3ab9cce..18e51d392 100644
--- a/java/src/com/android/inputmethod/keyboard/KeyboardView.java
+++ b/java/src/com/android/inputmethod/keyboard/KeyboardView.java
@@ -146,6 +146,10 @@ public class KeyboardView extends View {
mPaint.setAntiAlias(true);
}
+ public KeyVisualAttributes getKeyVisualAttribute() {
+ return mKeyVisualAttributes;
+ }
+
private static void blendAlpha(final Paint paint, final int alpha) {
final int color = paint.getColor();
paint.setARGB((paint.getAlpha() * alpha) / Constants.Color.ALPHA_OPAQUE,