Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/
Ddic_node_state_output.h50 void init(const DicNodeStateOutput *const stateOutput) { in init() argument
51 mOutputtedCodePointCount = stateOutput->mOutputtedCodePointCount + 1; in init()
52 memmove(mOutputCodePoints, stateOutput->mOutputCodePoints, in init()
53 stateOutput->mOutputtedCodePointCount * sizeof(mOutputCodePoints[0])); in init()
54 mOutputCodePoints[stateOutput->mOutputtedCodePointCount] = KEYCODE_SPACE; in init()
55 mCurrentWordStart = stateOutput->mOutputtedCodePointCount + 1; in init()
56 mPrevWordCount = std::min(static_cast<int16_t>(stateOutput->mPrevWordCount + 1), in init()
58 mPrevWordsLength = stateOutput->mOutputtedCodePointCount + 1; in init()
59 mPrevWordStart = stateOutput->mCurrentWordStart; in init()
60 mSecondWordFirstInputIndex = stateOutput->mSecondWordFirstInputIndex; in init()
[all …]