diff options
author | 2013-09-23 23:30:05 -0700 | |
---|---|---|
committer | 2013-09-23 23:30:05 -0700 | |
commit | c6c72b22692d1f8e73d0fef071c3c7a898f2a25b (patch) | |
tree | f7baab501c8a8467df7ec743386ab17a93404761 /java/src | |
parent | 473f4426fbf1bc796efe9dffb6b436c8cc6eeb1c (diff) | |
parent | 50704b7d1cf3d5dc602d0efbe1d7a581b9b9e980 (diff) | |
download | latinime-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.java | 2 |
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); |