Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/ai/
H A Dai_write_adapter.h36 int32_t selectStart = 0; member
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/
H A Dslider_paint_method.cpp42 sliderContentModifier_->SetSelectSize(parameters_.selectStart, parameters_.selectEnd); in UpdateContentModifier()
H A Dslider_content_modifier.h46 PointF selectStart; member
H A Dslider_content_modifier.cpp40 … selectStart_ = AceType::MakeRefPtr<AnimatablePropertyOffsetF>(parameters.selectStart - PointF()); in SliderContentModifier()
H A Dslider_pattern.cpp1526 parameters.selectStart = start; in GetSelectPosition()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_select_overlay.cpp221 auto selectStart = std::min(textSelector.baseOffset, textSelector.destinationOffset); in OnHandleMoveDone() local
223 pattern->FireOnSelect(selectStart, selectEnd); in OnHandleMoveDone()
H A Drich_editor_pattern.cpp3527 initSelector_ = { selectStart, selectEnd }; in HandleSelect()
3531 FireOnSelect(selectStart, selectEnd); in HandleSelect()
3566 auto selectStart = textSelector_.GetTextStart(); in HandleDoubleClickOrLongPress() local
3567 HandleSelect(info, selectStart, selectEnd); in HandleDoubleClickOrLongPress()
6694 selectStart, selectEnd, isEditing_); in OnBackPressed()
6695 FireOnSelect(selectStart, selectEnd); in OnBackPressed()
6699 FireOnSelectionChange(selectStart, selectEnd); in OnBackPressed()
6877 if (selectStart != selectEnd) { in OnBackPressed()
6878 FireOnSelect(selectStart, selectEnd); in OnBackPressed()
6974 FireOnSelect(selectStart, selectEnd); in OnBackPressed()
[all …]
H A Drich_editor_pattern.h1075 void FireOnSelect(int32_t selectStart, int32_t selectEnd);
1078 void FireOnSelectionChange(int32_t selectStart, int32_t selectEnd, bool isForced = false);
1274 void HandleSelect(GestureEvent& info, int32_t selectStart, int32_t selectEnd);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/slider/
H A Dslider_modifier_test_ng.cpp393 parameters.selectStart = SELECT_START;
1266 parameters.selectStart = SELECT_START;
1321 parameters.selectStart = SELECT_START;
1375 parameters.selectStart = SELECT_START;
1422 parameters.selectStart = SELECT_START;
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_field_pattern_testthree.cpp516 EXPECT_EQ(info.selectStart, 5);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_pattern.cpp1661 auto selectStart = textSelector_.GetTextStart(); in OnDragStart() local
1663 recoverStart_ = selectStart; in OnDragStart()
1665 auto textSelectInfo = GetSpansInfo(selectStart, selectEnd, GetSpansMethod::ONSELECT); in OnDragStart()
3581 auto selectStart = std::min(textSelector.baseOffset, textSelector.destinationOffset); in CopyBindSelectionMenuParams() local
3583 menuParams->onAppear(selectStart, selectEnd); in CopyBindSelectionMenuParams()
3627 void TextPattern::UpdateSelectionSpanType(int32_t selectStart, int32_t selectEnd) in UpdateSelectionSpanType() argument
3629 UpdateSelectionType(GetSpansInfo(selectStart, selectEnd, GetSpansMethod::ONSELECT)); in UpdateSelectionSpanType()
H A Dtext_pattern.h559 void UpdateSelectionSpanType(int32_t selectStart, int32_t selectEnd);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_pattern.cpp8831 info.selectStart = selectController_->GetStartIndex(); in OnBackPressed()
8833 auto selectContent = contentController_->GetSelectedValue(info.selectStart, info.selectEnd); in OnBackPressed()
8838 info.selectStart, info.selectEnd, spanString->GetString().c_str()); in OnBackPressed()
8845 for (int32_t i = info.selectStart; i >= 0; --i) { in OnBackPressed()
8857 info.start = info.selectStart - sentenceStart; in OnBackPressed()
8885 pattern->HandleAIWriteResult(info.selectStart, info.selectEnd, buffer); in OnBackPressed()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_edit_testone_ng.cpp643 EXPECT_EQ(info.selectStart, 0);