Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputConnection.java872 public boolean isBelatedExpectedUpdate(final int oldSelStart, final int newSelStart, in isBelatedExpectedUpdate() argument
881 if (mExpectedSelStart == oldSelStart && mExpectedSelEnd == oldSelEnd in isBelatedExpectedUpdate()
882 && (oldSelStart != newSelStart || oldSelEnd != newSelEnd)) return false; in isBelatedExpectedUpdate()
888 && (newSelStart - oldSelStart) * (mExpectedSelStart - newSelStart) >= 0 in isBelatedExpectedUpdate()
DLatinIME.java1105 public void onUpdateSelection(final int oldSelStart, final int oldSelEnd, in onUpdateSelection() argument
1108 super.onUpdateSelection(oldSelStart, oldSelEnd, newSelStart, newSelEnd, in onUpdateSelection()
1111 Log.i(TAG, "onUpdateSelection: oss=" + oldSelStart + ", ose=" + oldSelEnd in onUpdateSelection()
1122 && mInputLogic.onUpdateSelection(oldSelStart, oldSelEnd, newSelStart, newSelEnd, in onUpdateSelection()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
DInputLogic.java353 public boolean onUpdateSelection(final int oldSelStart, final int oldSelEnd, 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()