Searched refs:resultHandler (Results 1 – 2 of 2) sorted by relevance
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/ |
D | input_data_channel_stub.cpp | 212 auto resultHandler = std::make_shared<BlockData<std::u16string>>(MAX_TIMEOUT, u""); in GetText() local 213 auto ret = SendMessage([&msgId, &data, &number, &resultHandler](MessageParcel &parcel) { in GetText() 215 new (std::nothrow)Message(msgId, &parcel, resultHandler) : nullptr; in GetText() 220 auto text = resultHandler->GetValue(); in GetText() 221 …ret = resultHandler->IsTimeOut() ? ErrorCode::ERROR_CONTROLLER_INVOKING_FAILED : ErrorCode::NO_ERR… in GetText() 232 auto resultHandler = std::make_shared<BlockData<int32_t>>(MAX_TIMEOUT, -1); in GetTextIndexAtCursor() local 233 auto ret = SendMessage([&msgId, &resultHandler](MessageParcel &parcel) { in GetTextIndexAtCursor() 234 return new (std::nothrow) Message(msgId, &parcel, resultHandler); in GetTextIndexAtCursor() 239 auto index = resultHandler->GetValue(); in GetTextIndexAtCursor() 240 …ret = resultHandler->IsTimeOut() ? ErrorCode::ERROR_CONTROLLER_INVOKING_FAILED : ErrorCode::NO_ERR… in GetTextIndexAtCursor()
|
D | input_method_controller.cpp | 806 auto resultHandler = msg->textResultHandler_; in GetText() local 810 resultHandler->SetValue(text); in GetText() 815 resultHandler->SetValue(text); in GetText() 824 resultHandler->SetValue(text); in GetText() 830 auto resultHandler = msg->indexResultHandler_; in GetTextIndexAtCursor() local 834 resultHandler->SetValue(index); in GetTextIndexAtCursor() 839 resultHandler->SetValue(index); in GetTextIndexAtCursor()
|