Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DPointerTracker.java555 private Key onMoveToNewKey(final Key newKey, final int x, final int y) { in onMoveToNewKey() argument
556 mCurrentKey = newKey; in onMoveToNewKey()
559 return newKey; in onMoveToNewKey()
836 private void processDraggingFingerInToNewKey(final Key newKey, final int x, final int y, in processDraggingFingerInToNewKey() argument
841 Key key = newKey; in processDraggingFingerInToNewKey()
956 final Key newKey = onMoveKey(x, y); in onMoveEventInternal() local
960 onGestureMoveEvent(x, y, eventTime, true /* isMajorEvent */, newKey); in onMoveEventInternal()
968 if (newKey != null) { in onMoveEventInternal()
969 if (oldKey != null && isMajorEnoughMoveToBeOnNewKey(x, y, eventTime, newKey)) { in onMoveEventInternal()
970 dragFingerFromOldKeyToNewKey(newKey, x, y, eventTime, oldKey, lastX, lastY); in onMoveEventInternal()
[all …]
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()
/packages/apps/Camera2/src/com/android/camera/util/
DConcurrentSharedRingBuffer.java196 public boolean swapLeast(long newKey, SwapTask<E> swapper) { in swapLeast() argument
204 existingElement = mElements.get(newKey); in swapLeast()
223 mElements.put(newKey, p); in swapLeast()
224 mUnpinnedElements.put(newKey, p); in swapLeast()
266 mElements.put(newKey, toSwap); in swapLeast()
267 mUnpinnedElements.put(newKey, toSwap); in swapLeast()
/packages/apps/Exchange/src/com/android/exchange/adapter/
DAbstractSyncParser.java199 String newKey = getValue(); in parse() local
200 userLog("Parsed key for ", mMailbox.mDisplayName, ": ", newKey); in parse()
201 if (!newKey.equals(mMailbox.mSyncKey)) { in parse()
202 mMailbox.mSyncKey = newKey; in parse()
203 cv.put(MailboxColumns.SYNC_KEY, newKey); in parse()
DFolderSyncParser.java251 final String newKey = getValue(); in parse() local
252 if (newKey != null && !resetFolders) { in parse()
253 mSyncKeyChanged = !newKey.equals(mAccount.mSyncKey); in parse()
254 mAccount.mSyncKey = newKey; in parse()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardParams.java98 public void onAddKey(final Key newKey) { in onAddKey() argument
99 final Key key = (mKeysCache != null) ? mKeysCache.get(newKey) : newKey; in onAddKey()
DNonDistinctMultitouchHelper.java85 final Key newKey = mainTracker.getKeyOn(x, y); in processMotionEvent() local
86 if (mOldKey != newKey) { in processMotionEvent()
/packages/apps/Exchange/src/com/android/exchange/eas/
DEasSyncBase.java130 final String newKey = getSyncKey(); in performOperation() local
131 if (result == RESULT_MORE_AVAILABLE && key.equals(newKey)) { in performOperation()