/ohos5.0/base/time/time_service/services/timer/src/ |
H A D | batch.cpp | 86 auto newEnd = std::chrono::steady_clock::time_point::max(); in Remove() local 97 if (alarm->maxWhenElapsed < newEnd) { in Remove() 98 newEnd = alarm->maxWhenElapsed; in Remove() 106 end_ = newEnd; in Remove()
|
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/ |
H A D | input_method_agent_stub.cpp | 69 int32_t newEnd = data.ReadInt32(); in OnRemoteRequest() local 70 OnSelectionChange(text, oldBegin, oldEnd, newBegin, newEnd); in OnRemoteRequest() 156 std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) in OnSelectionChange() argument 166 data->WriteInt32(newEnd); in OnSelectionChange()
|
H A D | input_method_agent_proxy.cpp | 52 std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) in OnSelectionChange() argument 54 …auto ret = SendRequest(ON_SELECTION_CHANGE, [&text, oldBegin, oldEnd, newBegin, newEnd](MessagePar… in OnSelectionChange() 55 return ITypesUtil::Marshal(data, text, oldBegin, oldEnd, newBegin, newEnd); in OnSelectionChange()
|
H A D | input_method_ability.cpp | 409 int32_t newEnd = data->ReadInt32(); in OnSelectionChange() local 416 kdListener_->OnSelectionChange(oldBegin, oldEnd, newBegin, newEnd); in OnSelectionChange() 576 && textConfig.textSelection.newEnd == textConfig.textSelection.oldEnd)) { in InvokeStartInputCallback() 580 textConfig.textSelection.newBegin, textConfig.textSelection.newEnd); in InvokeStartInputCallback()
|
/ohos5.0/base/inputmethod/imf/frameworks/js/napi/inputmethodability/ |
H A D | js_keyboard_delegate_setting.h | 47 …void OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) overrid… 73 int32_t newEnd = 0; member
|
H A D | js_keyboard_delegate_setting.cpp | 507 …egateSetting::OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) in OnSelectionChange() argument 509 SelectionPara para{ oldBegin, oldEnd, newBegin, newEnd }; in OnSelectionChange() 515 entry.selPara.newEnd = para.newEnd; in OnSelectionChange() 526 "%{public}d.", oldBegin, oldEnd, newBegin, newEnd); in OnSelectionChange() 539 napi_create_int32(env, entry->selPara.newEnd, &args[3]); in OnSelectionChange()
|
/ohos5.0/base/inputmethod/imf/interfaces/inner_api/inputmethod_ability/include/ |
H A D | keyboard_listener.h | 32 …ual void OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) = 0;
|
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_ability/include/ |
H A D | i_input_method_agent.h | 50 … std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) = 0;
|
H A D | input_method_agent_proxy.h | 43 … std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) override;
|
H A D | input_method_agent_stub.h | 36 … std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) override;
|
/ohos5.0/base/inputmethod/imf/test/common/include/ |
H A D | keyboard_listener_test_impl.h | 38 …void OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) overrid…
|
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/ |
H A D | input_method_utils.h | 166 int32_t newEnd = INVALID_VALUE; member 193 …newRange: " + std::to_string(textSelection.newBegin) + "/" + std::to_string(textSelection.newEnd)); in ToString()
|
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/src/ |
H A D | input_method_attach_test.cpp | 237 EXPECT_EQ(textConfig.textSelection.newEnd, config.range.end); 345 EXPECT_EQ(totalConfig.textSelection.newEnd, selectionRange.end); 424 EXPECT_EQ(totalConfig.textSelection.newEnd, end); 573 EXPECT_EQ(totalConfig.textSelection.newEnd, config.range.end);
|
H A D | input_method_editor_test.cpp | 66 …void OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) overrid… 100 …ListenerImpl::OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) in OnSelectionChange() argument
|
H A D | input_method_controller_test.cpp | 208 …void OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) override in OnSelectionChange() argument 211 newEnd); in OnSelectionChange() 215 newEnd_ = newEnd; in OnSelectionChange()
|
/ohos5.0/base/inputmethod/imf/test/common/src/ |
H A D | keyboard_listener_test_impl.cpp | 54 …enerTestImpl::OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) in OnSelectionChange() argument
|
/ohos5.0/base/inputmethod/imf/test/fuzztest/inputmethodability_fuzzer/ |
H A D | inputmethodability_fuzzer.cpp | 41 void OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) in OnSelectionChange() argument
|
/ohos5.0/base/inputmethod/imf/common/src/ |
H A D | itypes_util.cpp | 193 input.textSelection.newEnd)) { in Marshalling() 228 output.textSelection.newEnd)) { in Unmarshalling()
|
/ohos5.0/base/inputmethod/imf/services/src/ |
H A D | ime_info_inquirer.cpp | 324 auto newEnd = std::remove_if(props.begin(), props.end(), [&enableVec](const auto &prop) { in ListEnabledInputMethod() local 327 props.erase(newEnd, props.end()); in ListEnabledInputMethod() 355 auto newEnd = std::remove_if(props.begin(), props.end(), [&enableVec](const auto &prop) { in ListDisabledInputMethod() local 358 props.erase(newEnd, props.end()); in ListDisabledInputMethod()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/ |
H A D | mutable_span_string.cpp | 249 auto newEnd = (op != SpanStringOperation::REMOVE) ? std::max(end, spanEnd) : start; in ProcessSpanBaseList() local 251 (*it)->UpdateEndIndex(newEnd); in ProcessSpanBaseList()
|
H A D | span_string.cpp | 743 int32_t newEnd = intersection->second; in GetSpan() local 744 if (newStart == newEnd) { in GetSpan() 747 return spanBase->GetSubSpan(newStart, newEnd); in GetSpan()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ime-kit/ |
H A D | js-apis-inputmethodengine.md | 1154 on(type: 'selectionChange', callback: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: … 1165 …: number, newEnd: number) => void | 是 | 回调函数,返回文本选择信息。<br/>- oldBegin为变化前被选中文本的起始下标,oldEnd为变化前被选… 1172 .on('selectionChange', (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => { 1176 console.log('inputMethodEngine beforeEach selectionChange newEnd:' + newEnd); 1185 off(type: 'selectionChange', callback?: (oldBegin: number, oldEnd: number, newBegin: number, newEnd… 1196 | callback | (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => void | 否 | 取… 1203 … .off('selectionChange', (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => {
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-misc.md | 161 …Change', callback?: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => void):… 162 …nChange', callback: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => void):…
|
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-misc.md | 161 …Change', callback?: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => void):… 162 …nChange', callback: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => void):…
|
/ohos5.0/docs/en/application-dev/reference/apis-ime-kit/ |
H A D | js-apis-inputmethodengine.md | 1154 on(type: 'selectionChange', callback: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: … 1165 …newEnd: number) => void | Yes | Callback used to return the text selection information.<br>- **o… 1172 .on('selectionChange', (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => { 1176 console.log('inputMethodEngine beforeEach selectionChange newEnd:' + newEnd); 1185 off(type: 'selectionChange', callback?: (oldBegin: number, oldEnd: number, newBegin: number, newEnd… 1196 | callback | (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => void | No | C… 1203 … .off('selectionChange', (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => {
|