Home
last modified time | relevance | path

Searched refs:mCurrentKey (Results 1 – 5 of 5) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboardView.java49 private Key mCurrentKey; field in MoreKeysKeyboardView
161 mCurrentKey = detectKey(x, y); in onDownEvent()
169 final boolean hasOldKey = (mCurrentKey != null); in onMoveEvent()
170 mCurrentKey = detectKey(x, y); in onMoveEvent()
171 if (hasOldKey && mCurrentKey == null) { in onMoveEvent()
184 mCurrentKey = detectKey(x, y); in onUpEvent()
185 if (mCurrentKey != null) { in onUpEvent()
186 updateReleaseKeyGraphics(mCurrentKey); in onUpEvent()
187 onKeyInput(mCurrentKey, x, y); in onUpEvent()
188 mCurrentKey = null; in onUpEvent()
[all …]
DPointerTracker.java170 private Key mCurrentKey = null; field in PointerTracker
420 return mCurrentKey; in getKey()
425 return mCurrentKey != null && mCurrentKey.isModifier(); in isModifier()
556 mCurrentKey = newKey; in onMoveToNewKey()
955 final Key oldKey = mCurrentKey; in onMoveEventInternal()
962 mCurrentKey = null; in onMoveEventInternal()
993 if (mCurrentKey != null && mCurrentKey.isModifier()) { in onUpEvent()
1023 final Key currentKey = mCurrentKey; in onUpEventInternal()
1024 mCurrentKey = null; in onUpEventInternal()
1066 setReleasedKeyGraphics(mCurrentKey); in onShowMoreKeysPanel()
[all …]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DKeyboardView.java200 private int mCurrentKey = NOT_A_KEY; field in KeyboardView
1041 if (mCurrentKey < 0 || mCurrentKey >= mKeys.length) { in openPopupIfRequired()
1045 Key popupKey = mKeys[mCurrentKey]; in openPopupIfRequired()
1218 mCurrentKey = keyIndex;
1225 if (mCurrentKey >= 0 && mKeys[mCurrentKey].repeatable) {
1226 mRepeatKeyIndex = mCurrentKey;
1235 if (mCurrentKey != NOT_A_KEY) {
1245 if (mCurrentKey == NOT_A_KEY) {
1246 mCurrentKey = keyIndex;
1249 if (keyIndex == mCurrentKey) {
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiPageKeyboardView.java123 if (key != null && key != mCurrentKey) { in onTouchEvent()
130 private Key mCurrentKey; field in EmojiPageKeyboardView
144 final Key currentKey = mCurrentKey; in releaseCurrentKey()
153 mCurrentKey = null; in releaseCurrentKey()
160 mCurrentKey = key; in onDown()
187 final Key currentKey = mCurrentKey; in onSingleTapUp()
/packages/apps/Settings/src/com/android/settings/voice/
DVoiceInputSettings.java65 private String mCurrentKey; field in VoiceInputSettings
103 mCurrentKey = mHelper.mCurrentVoiceInteraction.flattenToShortString(); in initSettings()
105 mCurrentKey = mHelper.mCurrentRecognizer.flattenToShortString(); in initSettings()
107 mCurrentKey = null; in initSettings()
132 return mCurrentKey; in getCurrentKey()
142 mCurrentKey = key; in setCurrentKey()