Home
last modified time | relevance | path

Searched refs:newSelStart (Results 1 – 3 of 3) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputConnection.java232 public boolean resetCachesUponCursorMoveAndReturnSuccess(final int newSelStart, in resetCachesUponCursorMoveAndReturnSuccess() argument
234 mExpectedSelStart = newSelStart; in resetCachesUponCursorMoveAndReturnSuccess()
872 public boolean isBelatedExpectedUpdate(final int oldSelStart, final int newSelStart, in isBelatedExpectedUpdate() argument
876 if (mExpectedSelStart == newSelStart && mExpectedSelEnd == newSelEnd) return true; in isBelatedExpectedUpdate()
882 && (oldSelStart != newSelStart || oldSelEnd != newSelEnd)) return false; in isBelatedExpectedUpdate()
887 return (newSelStart == newSelEnd) in isBelatedExpectedUpdate()
888 && (newSelStart - oldSelStart) * (mExpectedSelStart - newSelStart) >= 0 in isBelatedExpectedUpdate()
DLatinIME.java1106 final int newSelStart, final int newSelEnd, in onUpdateSelection() argument
1108 super.onUpdateSelection(oldSelStart, oldSelEnd, newSelStart, newSelEnd, in onUpdateSelection()
1112 + ", nss=" + newSelStart + ", nse=" + newSelEnd in onUpdateSelection()
1122 && mInputLogic.onUpdateSelection(oldSelStart, oldSelEnd, newSelStart, newSelEnd, in onUpdateSelection()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
DInputLogic.java354 final int newSelStart, final int newSelEnd, final SettingsValues settingsValues) { in onUpdateSelection() argument
355 if (mConnection.isBelatedExpectedUpdate(oldSelStart, newSelStart, oldSelEnd, newSelEnd)) { in onUpdateSelection()
367 oldSelStart != newSelStart || oldSelEnd != newSelEnd // selection changed in onUpdateSelection()
369 final boolean hasOrHadSelection = (oldSelStart != oldSelEnd || newSelStart != newSelEnd); in onUpdateSelection()
370 final int moveAmount = newSelStart - oldSelStart; in onUpdateSelection()
396 resetEntireInputState(newSelStart, newSelEnd, false /* clearSuggestionStrip */); in onUpdateSelection()
411 newSelStart, newSelEnd, false /* shouldFinishComposition */); in onUpdateSelection()
1881 private void resetEntireInputState(final int newSelStart, final int newSelEnd, in resetEntireInputState() argument
1888 mConnection.resetCachesUponCursorMoveAndReturnSuccess(newSelStart, newSelEnd, in resetEntireInputState()