Home
last modified time | relevance | path

Searched refs:mDecInfo (Results 1 – 4 of 4) sorted by relevance

/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DCandidateView.java81 private DecodingInfo mDecInfo; field in CandidateView
282 mDecInfo = decInfo; in setDecodingInfo()
285 if (mDecInfo.candidatesFromApp()) { in setDecodingInfo()
308 return mDecInfo.mPageStart.get(mPageNo) + mActiveCandInPage; in getActiveCandiatePosGlobal()
321 if (null == mDecInfo) return; in showPage()
345 if (!mDecInfo.pageReady(mPageNo)) return false; in activeCursorForward()
346 int pageSize = mDecInfo.mPageStart.get(mPageNo + 1) in activeCursorForward()
347 - mDecInfo.mPageStart.get(mPageNo); in activeCursorForward()
381 if (null == mDecInfo) { in onSizeChanged()
389 setDecodingInfo(mDecInfo); in onSizeChanged()
[all …]
DComposingView.java107 PinyinIME.DecodingInfo mDecInfo; field in ComposingView
143 mDecInfo = decInfo; in setDecodingInfo()
147 mDecInfo.moveCursorToEdge(false); in setDecodingInfo()
155 mDecInfo.moveCursor(0); in setDecodingInfo()
172 mDecInfo.moveCursor(offset); in moveCursor()
197 if (null == mDecInfo) { in onMeasure()
204 str = mDecInfo.getOrigianlSplStr().toString(); in onMeasure()
206 str = mDecInfo.getComposingStrForDisplay(); in onMeasure()
230 String splStr = mDecInfo.getOrigianlSplStr().toString(); in onDraw()
247 int cursorPos = mDecInfo.getCursorPosInCmpsDisplay(); in drawForPinyin()
[all …]
DPinyinIME.java161 private DecodingInfo mDecInfo = new DecodingInfo(); field in PinyinIME
334 && !mDecInfo.isCandidatesListEmpty()) { in processFunctionKeys()
403 mDecInfo.addSplChar((char) keyChar, true); in processStateIdle()
463 commitResultText(mDecInfo in processStateInput()
477 && !mDecInfo.charBeforeCursorIsSeparator() in processStateInput()
483 inputCommaPeriod(mDecInfo.getCurrentFullSent(mCandidatesContainer in processStateInput()
515 if (activePos < mDecInfo.getCurrentPageSize(currentPage)) { in processStateInput()
517 + mDecInfo.getCurrentPageStart(currentPage); in processStateInput()
526 commitResultText(mDecInfo.getOrigianlSplStr().toString()); in processStateInput()
529 commitResultText(mDecInfo in processStateInput()
[all …]
DCandidatesContainer.java86 private DecodingInfo mDecInfo; field in CandidatesContainer
195 mDecInfo = decInfo; in showCandidates()
208 cv.setDecodingInfo(mDecInfo); in showCandidates()
247 if (mFlipper.isFlipping() || null == mDecInfo) { in activeCurseBackward()
262 if (mFlipper.isFlipping() || null == mDecInfo) { in activeCurseForward()
278 if (null == mDecInfo) return false; in pageBackward()
290 activeCandInPage = mDecInfo.mPageStart.elementAt(mCurrentPage + 1) in pageBackward()
291 - mDecInfo.mPageStart.elementAt(mCurrentPage) - 1; in pageBackward()
303 if (null == mDecInfo) return false; in pageForward()
305 if (mFlipper.isFlipping() || !mDecInfo.preparePage(mCurrentPage + 1)) { in pageForward()
[all …]