Home
last modified time | relevance | path

Searched refs:newKey (Results 1 – 9 of 9) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboardView.java211 final Key newKey = mKeyDetector.detectHitKey(x, y); in detectKey() local
212 if (newKey == oldKey) { in detectKey()
213 return newKey; in detectKey()
220 if (newKey != null) { in detectKey()
221 updatePressKeyGraphics(newKey); in detectKey()
222 invalidateKey(newKey); in detectKey()
224 return newKey; in detectKey()
DPointerTracker.java494 private Key onMoveToNewKey(final Key newKey, final int x, final int y) { in onMoveToNewKey() argument
495 mCurrentKey = newKey; in onMoveToNewKey()
498 return newKey; in onMoveToNewKey()
775 private void processDraggingFingerInToNewKey(final Key newKey, final int x, final int y, in processDraggingFingerInToNewKey() argument
780 Key key = newKey; in processDraggingFingerInToNewKey()
895 final Key newKey = onMoveKey(x, y); in onMoveEventInternal() local
899 onGestureMoveEvent(x, y, eventTime, true /* isMajorEvent */, newKey); in onMoveEventInternal()
907 if (newKey != null) { in onMoveEventInternal()
908 if (oldKey != null && isMajorEnoughMoveToBeOnNewKey(x, y, eventTime, newKey)) { in onMoveEventInternal()
909 dragFingerFromOldKeyToNewKey(newKey, x, y, eventTime, oldKey, lastX, lastY); in onMoveEventInternal()
[all …]
/packages/apps/Camera2/src/com/android/camera/util/
DConcurrentSharedRingBuffer.java229 public boolean swapLeast(long newKey, SwapTask<E> swapper) { in swapLeast() argument
237 existingElement = mElements.get(newKey); in swapLeast()
256 mElements.put(newKey, p); in swapLeast()
257 mUnpinnedElements.put(newKey, p); in swapLeast()
278 if (swapKey == newKey) { in swapLeast()
315 mElements.put(newKey, toSwap); in swapLeast()
316 mUnpinnedElements.put(newKey, toSwap); in swapLeast()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/autofill/
DAutofillPickerFragment.java146 final String newKey = newPref.getKey(); in onPreferenceTreeClick() local
147 final boolean clickOnCurrent = currentKey.equals(newKey); in onPreferenceTreeClick()
149 if (!clickOnCurrent && !KEY_FOR_NONE.equals(newKey)) { in onPreferenceTreeClick()
157 RadioPreference pref = (RadioPreference) findPreference(newKey); in onPreferenceTreeClick()
161 setAutofillService(newKey); in onPreferenceTreeClick()
168 setAutofillService(newKey); in onPreferenceTreeClick()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSlicesIndexerTest.java77 String newKey = "newKey"; in testAlreadyIndexed_doesNotIndexAgain() local
80 insertSpecialCase(newKey, newTitle); in testAlreadyIndexed_doesNotIndexAgain()
89 assertThat(cursor.getString(cursor.getColumnIndex(IndexColumns.KEY))).isEqualTo(newKey); in testAlreadyIndexed_doesNotIndexAgain()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DNonDistinctMultitouchHelper.java85 final Key newKey = mainTracker.getKeyOn(x, y); in processMotionEvent() local
86 if (mOldKey != newKey) { in processMotionEvent()
DKeyboardParams.java119 public void onAddKey(@Nonnull final Key newKey) { in onAddKey() argument
120 final Key key = mUniqueKeysCache.getUniqueKey(newKey); in onAddKey()
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java1000 Key newKey = keys[mCurrentKeyIndex]; in showPreview() local
1001 newKey.onPressed(); in showPreview()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java1554 String newKey = sExtrasMap.get(key); in updateExtras() local
1555 mOriginalConnectionExtras.putString(newKey, extras.getString(key)); in updateExtras()