aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorSatoshi Kataoka <satok@google.com>2013-09-24 06:27:20 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-09-24 06:27:21 +0000
commit50704b7d1cf3d5dc602d0efbe1d7a581b9b9e980 (patch)
tree1d6b99350df2cce72fce8652a94db5fea0d7bed6 /java/src
parent9cea5e0c0fb035b54efaf3a5f7b6c16ebcfefa4d (diff)
parent0d8266b6eb78291e373467b9bce706ffc9fdb1d2 (diff)
downloadlatinime-50704b7d1cf3d5dc602d0efbe1d7a581b9b9e980.tar.gz
latinime-50704b7d1cf3d5dc602d0efbe1d7a581b9b9e980.tar.xz
latinime-50704b7d1cf3d5dc602d0efbe1d7a581b9b9e980.zip
Merge "Turn off alpha of key popup preview"
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/keyboard/MainKeyboardView.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/MainKeyboardView.java b/java/src/com/android/inputmethod/keyboard/MainKeyboardView.java
index f8ad43e74..13db47004 100644
--- a/java/src/com/android/inputmethod/keyboard/MainKeyboardView.java
+++ b/java/src/com/android/inputmethod/keyboard/MainKeyboardView.java
@@ -155,7 +155,6 @@ public final class MainKeyboardView extends KeyboardView implements PointerTrack
private final SlidingKeyInputPreview mSlidingKeyInputPreview;
// Key preview
- private static final int PREVIEW_ALPHA = 240;
private final int mKeyPreviewLayoutId;
private final int mKeyPreviewOffset;
private final int mKeyPreviewHeight;
@@ -816,7 +815,6 @@ public final class MainKeyboardView extends KeyboardView implements PointerTrack
if (background != null) {
final int hasMoreKeys = (key.getMoreKeys() != null) ? STATE_HAS_MOREKEYS : STATE_NORMAL;
background.setState(KEY_PREVIEW_BACKGROUND_STATE_TABLE[statePosition][hasMoreKeys]);
- background.setAlpha(PREVIEW_ALPHA);
}
ViewLayoutUtils.placeViewAt(
previewText, previewX, previewY, previewWidth, previewHeight);