Home
last modified time | relevance | path

Searched refs:newEnd (Results 1 – 25 of 31) sorted by relevance

12

/ohos5.0/base/time/time_service/services/timer/src/
H A Dbatch.cpp86 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 Dinput_method_agent_stub.cpp69 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 Dinput_method_agent_proxy.cpp52 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 Dinput_method_ability.cpp409 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 Djs_keyboard_delegate_setting.h47 …void OnSelectionChange(int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) overrid…
73 int32_t newEnd = 0; member
H A Djs_keyboard_delegate_setting.cpp507 …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 Dkeyboard_listener.h32 …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 Di_input_method_agent.h50 … std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) = 0;
H A Dinput_method_agent_proxy.h43 … std::u16string text, int32_t oldBegin, int32_t oldEnd, int32_t newBegin, int32_t newEnd) override;
H A Dinput_method_agent_stub.h36 … 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 Dkeyboard_listener_test_impl.h38 …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 Dinput_method_utils.h166 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 Dinput_method_attach_test.cpp237 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 Dinput_method_editor_test.cpp66 …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 Dinput_method_controller_test.cpp208 …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 Dkeyboard_listener_test_impl.cpp54 …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 Dinputmethodability_fuzzer.cpp41 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 Ditypes_util.cpp193 input.textSelection.newEnd)) { in Marshalling()
228 output.textSelection.newEnd)) { in Unmarshalling()
/ohos5.0/base/inputmethod/imf/services/src/
H A Dime_info_inquirer.cpp324 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 Dmutable_span_string.cpp249 auto newEnd = (op != SpanStringOperation::REMOVE) ? std::max(end, spanEnd) : start; in ProcessSpanBaseList() local
251 (*it)->UpdateEndIndex(newEnd); in ProcessSpanBaseList()
H A Dspan_string.cpp743 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 Djs-apis-inputmethodengine.md1154 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 Djs-apidiff-misc.md161 …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 Djs-apidiff-misc.md161 …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 Djs-apis-inputmethodengine.md1154 on(type: 'selectionChange', callback: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: …
1165newEnd: 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) => {

12