Home
last modified time | relevance | path

Searched refs:newSelEnd (Results 1 – 5 of 5) 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.java1007 final int newSelStart, final int newSelEnd, in onUpdateSelection() argument
1009 super.onUpdateSelection(oldSelStart, oldSelEnd, newSelStart, newSelEnd, in onUpdateSelection()
1013 + ", nss=" + newSelStart + ", nse=" + newSelEnd in onUpdateSelection()
1023 && 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()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnnJAJP.java608 … onUpdateSelection(int oldSelStart, int oldSelEnd, int newSelStart, int newSelEnd, int candidatesS… in onUpdateSelection() argument
610 mComposingStartCursor = (candidatesStart < 0) ? newSelEnd : candidatesStart; in onUpdateSelection()
613 if (newSelStart != newSelEnd) { in onUpdateSelection()
641 if ((((newSelEnd < oldSelEnd) || (commitEnd < newSelEnd)) && clearCommitInfo()) in onUpdateSelection()
DOpenWnnEN.java363 int newSelStart, int newSelEnd, int candidatesStart, in onUpdateSelection() argument