aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorSatoshi Kataoka <satok@google.com>2013-09-23 23:30:05 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-09-23 23:30:05 -0700
commitc6c72b22692d1f8e73d0fef071c3c7a898f2a25b (patch)
treef7baab501c8a8467df7ec743386ab17a93404761 /java/src
parent473f4426fbf1bc796efe9dffb6b436c8cc6eeb1c (diff)
parent50704b7d1cf3d5dc602d0efbe1d7a581b9b9e980 (diff)
downloadlatinime-c6c72b22692d1f8e73d0fef071c3c7a898f2a25b.tar.gz
latinime-c6c72b22692d1f8e73d0fef071c3c7a898f2a25b.tar.xz
latinime-c6c72b22692d1f8e73d0fef071c3c7a898f2a25b.zip
am 50704b7d: Merge "Turn off alpha of key popup preview"
* commit '50704b7d1cf3d5dc602d0efbe1d7a581b9b9e980': 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);