Home
last modified time | relevance | path

Searched refs:mCurrentKey (Results 1 – 6 of 6) 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.java122 private Key mCurrentKey = null; field in PointerTracker
373 return mCurrentKey; in getKey()
378 return mCurrentKey != null && mCurrentKey.isModifier(); in isModifier()
495 mCurrentKey = newKey; in onMoveToNewKey()
894 final Key oldKey = mCurrentKey; in onMoveEventInternal()
901 mCurrentKey = null; in onMoveEventInternal()
932 if (mCurrentKey != null && mCurrentKey.isModifier()) { in onUpEvent()
962 final Key currentKey = mCurrentKey; in onUpEventInternal()
963 mCurrentKey = null; in onUpEventInternal()
1058 setReleasedKeyGraphics(mCurrentKey, true /* withAnimation */); in cancelKeyTracking()
[all …]
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/imaging/
DImageBinder.java79 private ImageKey mCurrentKey; field in ImageBinder
123 if (Objects.equals(mCurrentKey, key)) { in setImage()
134 mCurrentKey = null; in setImage()
137 mCurrentKey = new ImageKey(mCurrentRef.getImageURI(), mMaxImageSize); in setImage()
138 getImageFetcher(context).getImage(context, mCurrentKey, mFetchReceiver); in setImage()
158 if (mCurrentKey != null) { in prepareForNewBinding()
159 getImageFetcher(context).cancelRequest(mCurrentKey, mFetchReceiver); in prepareForNewBinding()
166 mCurrentKey = null; in onRequestFinished()
/packages/apps/Car/libs/encryption-runner/src/android/car/encryptionrunner/
DUkey2EncryptionRunner.java61 private Key mCurrentKey; field in Ukey2EncryptionRunner
215 mCurrentKey = new UKey2Key(mUkey2client.toConnectionContext()); in verifyPin()
221 .setKey(mCurrentKey) in verifyPin()
243 if (mCurrentKey == null) { in authenticateReconnection()
252 mCurrentUniqueSesion = mCurrentKey.getUniqueSession(); in authenticateReconnection()
266 .setKey(mCurrentKey) in authenticateReconnection()
278 .setKey(mCurrentKey) in authenticateReconnection()
299 if (mCurrentKey == null) { in initReconnectAuthentication()
304 mCurrentUniqueSesion = mCurrentKey.getUniqueSession(); in initReconnectAuthentication()
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java222 private int mCurrentKey = NOT_A_KEY; field in KeyboardView
1142 if (mPopupKeyboardView == null || mCurrentKey < 0 || mCurrentKey >= mKeys.length) { in openPopupIfRequired()
1146 Key popupKey = mKeys[mCurrentKey]; in openPopupIfRequired()
1298 mCurrentKey = keyIndex; in onModifiedTouchEvent()
1306 if (mCurrentKey >= 0 && mKeys[mCurrentKey].repeatable) { in onModifiedTouchEvent()
1307 mRepeatKeyIndex = mCurrentKey; in onModifiedTouchEvent()
1317 if (mCurrentKey != NOT_A_KEY) { in onModifiedTouchEvent()
1327 if (mCurrentKey == NOT_A_KEY) { in onModifiedTouchEvent()
1328 mCurrentKey = keyIndex; in onModifiedTouchEvent()
1331 if (keyIndex == mCurrentKey) { in onModifiedTouchEvent()
[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
159 final Key currentKey = mCurrentKey; in releaseCurrentKey()
164 mCurrentKey = null; in releaseCurrentKey()
171 mCurrentKey = key; in onDown()
195 final Key currentKey = mCurrentKey; in onSingleTapUp()