Searched refs:oldSelStart (Results 1 – 3 of 3) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | RichInputConnection.java | 872 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()
|
D | LatinIME.java | 1105 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/ |
D | InputLogic.java | 353 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()
|