Searched refs:cursorPos (Results 1 – 3 of 3) sorted by relevance
247 int cursorPos = mDecInfo.getCursorPosInCmpsDisplay(); in drawForPinyin() local248 int cmpsPos = cursorPos; in drawForPinyin()251 if (cursorPos > activeCmpsLen) cmpsPos = activeCmpsLen; in drawForPinyin()254 if (cursorPos <= activeCmpsLen) { in drawForPinyin()266 if (cursorPos > activeCmpsLen) { in drawForPinyin()267 if (cursorPos > cmpsStr.length()) cursorPos = cmpsStr.length(); in drawForPinyin()268 canvas.drawText(cmpsStr, oriPos, cursorPos, x, y, mPaint); in drawForPinyin()269 x += mPaint.measureText(cmpsStr, oriPos, cursorPos); in drawForPinyin()275 oriPos = cursorPos; in drawForPinyin()
2060 int cursorPos = mCursorPos; in getCursorPosInCmps() local2065 cursorPos -= mSplStart[hzPos + 2] - mSplStart[hzPos + 1]; in getCursorPosInCmps()2066 cursorPos += 1; in getCursorPosInCmps()2069 return cursorPos; in getCursorPosInCmps()2073 int cursorPos = getCursorPosInCmps(); in getCursorPosInCmpsDisplay() local2081 cursorPos++; in getCursorPosInCmpsDisplay()2084 return cursorPos; in getCursorPosInCmpsDisplay()
75 int cursorPos = editText.getSelectionStart(); in eatHorizontalMove() local76 return toLeft ? cursorPos == 0 : cursorPos >= editText.length(); in eatHorizontalMove()