Home
last modified time | relevance | path

Searched refs:newSelStart (Results 1 – 6 of 6) 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.java1040 final int newSelStart, final int newSelEnd, in onUpdateSelection() argument
1042 super.onUpdateSelection(oldSelStart, oldSelEnd, newSelStart, newSelEnd, in onUpdateSelection()
1046 + ", nss=" + newSelStart + ", nse=" + newSelEnd in onUpdateSelection()
1056 && 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()
/packages/services/Car/car-support-lib/src/android/support/car/input/
DCarEditableListener.java31 void onUpdateSelection(int oldSelStart, int oldSelEnd, int newSelStart, int newSelEnd); in onUpdateSelection() argument
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnnEN.java363 int newSelStart, int newSelEnd, int candidatesStart, in onUpdateSelection() argument
DOpenWnnJAJP.java608 …@Override public void onUpdateSelection(int oldSelStart, int oldSelEnd, int newSelStart, int newSe… in onUpdateSelection() argument
613 if (newSelStart != newSelEnd) { in onUpdateSelection()