Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputConnection.java233 final int newSelEnd, final boolean shouldFinishComposition) { in resetCachesUponCursorMoveAndReturnSuccess() argument
235 mExpectedSelEnd = newSelEnd; in resetCachesUponCursorMoveAndReturnSuccess()
873 final int oldSelEnd, final int newSelEnd) { 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()
889 && (newSelEnd - oldSelEnd) * (mExpectedSelEnd - newSelEnd) >= 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()
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()