diff options
| author | Mathew Inwood <mathewi@google.com> | 2018-08-06 10:14:20 +0100 |
|---|---|---|
| committer | Mathew Inwood <mathewi@google.com> | 2018-08-06 10:14:20 +0100 |
| commit | a1c24bf8af7c069c4a93c082716ab4422fe19a11 (patch) | |
| tree | d2f55db1a84d68249330177d603ca997311ef8ad /core/java/android/inputmethodservice/KeyboardView.java | |
| parent | 2ea36ff2ef0885166159a0ca9cdabab4364727ae (diff) | |
| parent | d609a403426118498ea17ec4ca3bc4ab9d4d057b (diff) | |
resolve merge conflicts of d609a403426118498ea17ec4ca3bc4ab9d4d057b to stage-aosp-master
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I0049d94802b5e6801789e733847be4cfdabb0040
Diffstat (limited to 'core/java/android/inputmethodservice/KeyboardView.java')
| -rw-r--r-- | core/java/android/inputmethodservice/KeyboardView.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/inputmethodservice/KeyboardView.java b/core/java/android/inputmethodservice/KeyboardView.java index 16c1f6d59ca3..9ca804975b7a 100644 --- a/core/java/android/inputmethodservice/KeyboardView.java +++ b/core/java/android/inputmethodservice/KeyboardView.java @@ -16,6 +16,7 @@ package android.inputmethodservice; +import android.annotation.UnsupportedAppUsage; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; @@ -133,6 +134,7 @@ public class KeyboardView extends View implements View.OnClickListener { private Keyboard mKeyboard; private int mCurrentKeyIndex = NOT_A_KEY; + @UnsupportedAppUsage private int mLabelTextSize; private int mKeyTextSize; private int mKeyTextColor; @@ -140,6 +142,7 @@ public class KeyboardView extends View implements View.OnClickListener { private int mShadowColor; private float mBackgroundDimAmount; + @UnsupportedAppUsage private TextView mPreviewText; private PopupWindow mPreviewPopup; private int mPreviewTextSizeLarge; @@ -217,6 +220,7 @@ public class KeyboardView extends View implements View.OnClickListener { private float mOldPointerX; private float mOldPointerY; + @UnsupportedAppUsage private Drawable mKeyBackground; private static final int REPEAT_INTERVAL = 50; // ~20 keys per second @@ -910,6 +914,7 @@ public class KeyboardView extends View implements View.OnClickListener { } } + @UnsupportedAppUsage private void showKey(final int keyIndex) { final PopupWindow previewPopup = mPreviewPopup; final Key[] keys = mKeys; @@ -1052,6 +1057,7 @@ public class KeyboardView extends View implements View.OnClickListener { key.x + key.width + mPaddingLeft, key.y + key.height + mPaddingTop); } + @UnsupportedAppUsage private boolean openPopupIfRequired(MotionEvent me) { // Check if we have a popup layout specified first. if (mPopupLayout == 0) { @@ -1357,6 +1363,7 @@ public class KeyboardView extends View implements View.OnClickListener { return true; } + @UnsupportedAppUsage private boolean repeatKey() { Key key = mKeys[mRepeatKeyIndex]; detectAndSendKey(mCurrentKey, key.x, key.y, mLastTapTime); |
