/foundation/barrierfree/accessibility/common/interface/src/parcel/ |
H A D | accessibility_element_info_parcel.cpp | 285 for (auto &span : spanList_) { in MarshallingThirdPart() 286 SpanInfoParcel spanList(span); in MarshallingThirdPart()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | view_abstract_model_impl.cpp | 595 void ViewAbstractModelImpl::SetGrid(std::optional<uint32_t> span, std::optional<int32_t> offset, GridSizeType type) in SetGrid() argument 601 if (span.has_value()) { in SetGrid() 603 builder->SetColumns(span.value()); in SetGrid() 605 builder->SetSizeColumn(type, span.value()); in SetGrid()
|
H A D | view_abstract_model_impl.h | 106 void SetGrid(std::optional<uint32_t> span, std::optional<int32_t> offset,
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | rich_editor_pattern.h | 336 for (auto& span : spans_) { in UpdateSpanPosition() 337 span->rangeStart = static_cast<int32_t>(spanTextLength); in UpdateSpanPosition() 338 spanTextLength += StringUtils::ToWstring(span->content).length(); in UpdateSpanPosition() 339 span->position = static_cast<int32_t>(spanTextLength); in UpdateSpanPosition()
|
/foundation/barrierfree/accessibility/interfaces/innerkits/common/include/ |
H A D | accessibility_element_info.h | 257 * @return The column span. 265 * @return The row span. 468 * class define the span info 479 * @param spanId The span Id. 480 * @param spanText The text of span. 481 * @param accessibilityText The accessibility text of span. 482 * @param accessibilityDescription The accessibility description of span. 483 * @param accessibilityLevel The accessibility level of span. 489 * @brief Sets the span Id of spanInfo. 490 * @param spanId The span I [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_api_impl_bridge.cpp | 1597 auto span = panda::ObjectRef::New(vm); in GetArkUINativeModule() local 1598 span->Set(vm, panda::StringRef::NewFromUtf8(vm, "setSpanSrc"), in GetArkUINativeModule() 1600 span->Set(vm, panda::StringRef::NewFromUtf8(vm, "setTextCase"), in GetArkUINativeModule() 1602 span->Set(vm, panda::StringRef::NewFromUtf8(vm, "resetTextCase"), in GetArkUINativeModule() 1604 span->Set(vm, panda::StringRef::NewFromUtf8(vm, "setFontWeight"), in GetArkUINativeModule() 1606 span->Set(vm, panda::StringRef::NewFromUtf8(vm, "resetFontWeight"), in GetArkUINativeModule() 1608 span->Set(vm, panda::StringRef::NewFromUtf8(vm, "setLineHeight"), in GetArkUINativeModule() 1610 span->Set(vm, panda::StringRef::NewFromUtf8(vm, "resetLineHeight"), in GetArkUINativeModule() 1612 span->Set(vm, panda::StringRef::NewFromUtf8(vm, "setFontStyle"), in GetArkUINativeModule() 1614 span in GetArkUINativeModule() [all...] |
/foundation/barrierfree/accessibility/interfaces/kits/napi/accessibility_extension_module_loader/src/ |
H A D | napi_accessibility_element.cpp | 43 "row", "column", "listItemIndex", "sideBarContainerStates", "span", "isActive", "accessibilityVisible", 104 {"span", &NAccessibilityElement::GetElementInfoSpan}, 1070 for (auto& span : spanInfo) { in GetElementInfoSpan() 1077 ConvertSpanToJS(callbackInfo->env_, result, span); in GetElementInfoSpan() 1078 HILOG_DEBUG("ConvertSpanToJS spanInfo spanid: [%{public}d]", span.GetSpanId()); in GetElementInfoSpan() 1361 napi_value span = nullptr; in GetElementInfoAllAttribute5() local 1362 GetElementInfoSpan(callbackInfo, span); in GetElementInfoAllAttribute5() 1363 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, value, "span", span)); in GetElementInfoAllAttribute5()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | view_abstract.h | 239 static void SetGrid(std::optional<int32_t> span, std::optional<int32_t> offset, 576 static void SetGrid(FrameNode* frameNode, std::optional<int32_t> span, std::optional<int32_t> offset,
|
H A D | view_abstract_model.h | 175 std::optional<uint32_t> span, std::optional<int32_t> offset, GridSizeType type = GridSizeType::UNDEFINED) = 0;
|
H A D | view_abstract_model_ng.h | 584 void SetGrid(std::optional<uint32_t> span, std::optional<int32_t> offset, 587 ViewAbstract::SetGrid(span, offset, type);
|
H A D | view_abstract.cpp | 2177 void ViewAbstract::SetGrid(std::optional<int32_t> span, std::optional<int32_t> offset, GridSizeType type) in SetGrid() argument 2184 layoutProperty->UpdateGridProperty(span, offset, type); in SetGrid() 3482 FrameNode* frameNode, std::optional<int32_t> span, std::optional<int32_t> offset, GridSizeType type) in SetGrid() 3488 layoutProperty->UpdateGridProperty(span, offset, type); in SetGrid() 3481 SetGrid( FrameNode* frameNode, std::optional<int32_t> span, std::optional<int32_t> offset, GridSizeType type) SetGrid() argument
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_pattern_testone_ng.cpp | 164 * @tc.steps: step1. get richeditor pattern and add add text span in HWTEST_F() 239 * @tc.steps: step2. add span and select text in HWTEST_F() 270 * @tc.steps: step2. add span and select text in HWTEST_F() 323 * @tc.steps: step1. get richeditor pattern and add add text span in HWTEST_F() 405 * @tc.steps: step2. initalize span properties in HWTEST_F() 411 * @tc.steps: step3. test add span in HWTEST_F() 437 * @tc.steps: step2. initalize span properties in HWTEST_F() 443 * @tc.steps: step3. test add span in HWTEST_F() 576 RefPtr<DecorationSpan> span = richEditorPattern->CreateDecorationSpanByTextStyle(updateSpanStyle, style, 0); in HWTEST_F() local 577 ASSERT_NE(span, nullpt in HWTEST_F() [all...] |
H A D | rich_editor_base_testone_ng.cpp | 60 * @tc.desc: test use span & imagespan & symbolspan together 75 * @tc.steps: step2. initalize span properties in HWTEST_F() 85 * @tc.steps: step3. test add span in HWTEST_F() 95 * @tc.steps: step4. test get span in HWTEST_F() 103 * @tc.steps: step5. test update span in HWTEST_F() 118 * @tc.steps: step6. test delete span in HWTEST_F() 151 * @tc.steps: step2. initalize span properties in HWTEST_F() 161 * @tc.steps: step3. test add span in HWTEST_F() 311 * @tc.desc: test update span style 326 * @tc.steps: step2. test add span in HWTEST_F() 1120 auto span = layoutAlgorithm->GetParagraphStyleSpanItem(spanGroup); HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | txt_paragraph.cpp | 148 int32_t TxtParagraph::AddPlaceholder(const PlaceholderRun& span) in AddPlaceholder() argument 160 Constants::ConvertPlaceholderRun(span, txtSpan); in AddPlaceholder()
|
H A D | skia_decoration_painter.cpp | 191 const float span = std::min(std::max(lastOffset - firstOffset, 0.0f), std::numeric_limits<float>::max()); in AdjustColorStops() local 192 if (NearZero(span)) { in AdjustColorStops() 197 const auto adjustOffset = relativeOffset / span; in AdjustColorStops()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/layout/ |
H A D | layout_property.cpp | 448 void LayoutProperty::UpdateGridProperty(std::optional<int32_t> span, std::optional<int32_t> offset, GridSizeType type) in UpdateGridProperty() argument 454 bool isSpanUpdated = (span.has_value() && gridProperty_->UpdateSpan(span.value(), type)); in UpdateGridProperty()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/ |
H A D | drawing_decoration_painter.cpp | 163 const float span = std::min(std::max(lastOffset - firstOffset, 0.0f), std::numeric_limits<float>::max()); in AdjustColorStops() local 164 if (NearZero(span)) { in AdjustColorStops() 169 const auto adjustOffset = relativeOffset / span; in AdjustColorStops()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/hal_device_manage/ |
H A D | hal_device_manage.cpp | 1254 int span = numOfCombos;
in ExpandIfaceCombos() local 1257 span /= limit.types.size();
in ExpandIfaceCombos() 1259 int ifaceType = limit.types.at((k / span) % limit.types.size());
in ExpandIfaceCombos()
|
/foundation/resourceschedule/ffrt/tools/ffrt_trace_process/ |
H A D | ffrt_trace_process.py | 685 indexs.append(m.span()[0])
|
/foundation/arkui/ace_engine/frameworks/core/components/grid_layout/ |
H A D | render_grid_layout.cpp | 737 int32_t span = -1; 742 return span; 749 span = isRow ? gridLayoutItem->GetRowSpan() : gridLayoutItem->GetColumnSpan(); 751 return span < 1 ? 1 : span;
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkComponent.js | 6418 span(value) { 6432 modifierWithKey(this._modifiersWithKeys, GridColSpanModifier.identity, GridColSpanModifier, value[0].span); 9660 getUINativeModule().span.resetFontSize(node); 9663 getUINativeModule().span.setFontSize(node, this.value); 9677 getUINativeModule().span.resetFontFamily(node); 9680 getUINativeModule().span.setFontFamily(node, this.value); 9694 getUINativeModule().span.resetLineHeight(node); 9697 getUINativeModule().span.setLineHeight(node, this.value); 9711 getUINativeModule().span.resetFontStyle(node); 9714 getUINativeModule().span [all...] |
/foundation/bundlemanager/bundle_tool/frameworks/src/ |
H A D | bundle_command.cpp | 191 std::chrono::milliseconds span(MAX_WAITING_TIME); in GetResultCode() 192 if (future.wait_for(span) == std::future_status::timeout) { in GetResultCode()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_render_service_connection.cpp | 300 std::chrono::nanoseconds span(task->GetTimeout()); in ExecuteSynchronousTask() 306 }).wait_for(span); in ExecuteSynchronousTask()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_text_typography.cpp | 567 void OH_Drawing_TypographyHandlerAddPlaceholder(OH_Drawing_TypographyCreate* handler, OH_Drawing_PlaceholderSpan* span) in OH_Drawing_TypographyHandlerAddPlaceholder() argument 569 if (!handler || !span) { in OH_Drawing_TypographyHandlerAddPlaceholder() 572 auto originalPlaceholderSpan = ConvertToOriginalText<PlaceholderSpan>(span); in OH_Drawing_TypographyHandlerAddPlaceholder()
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | js_accessibility_manager.cpp | 2128 for (const auto& span : spansInfosList) { in UpdateSpanList() 2132 spans.append("\n\t span id: "); in UpdateSpanList() 2133 spans.append(std::to_string(span.GetSpanId())); in UpdateSpanList() 2134 spans.append(", span text: "); in UpdateSpanList() 2135 spans.append(span.GetSpanText()); in UpdateSpanList() 2137 spans.append(span.GetAccessibilityText()); in UpdateSpanList() 2139 spans.append(span.GetAccessibilityDescription()); in UpdateSpanList() 2141 spans.append(span.GetAccessibilityLevel()); in UpdateSpanList() 2151 DumpLog::GetInstance().AddDesc("span list count: ", static_cast<int32_t>(spanCount)); in DumpSpanListNG() 2152 DumpLog::GetInstance().AddDesc("span lis in DumpSpanListNG() [all...] |