Home
last modified time | relevance | path

Searched refs:weights (Results 1 – 25 of 50) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_gauge_ffi.cpp140 std::vector<float> weights; in FfiOHOSAceFrameworkGaugeSetColorsV2() local
157 GaugeModel::GetInstance()->SetGradientColors(colors, weights, type); in FfiOHOSAceFrameworkGaugeSetColorsV2()
164 GaugeModel::GetInstance()->SetGradientColors(colors, weights, type); in FfiOHOSAceFrameworkGaugeSetColorsV2()
171 std::vector<float> weights; in FfiOHOSAceFrameworkGaugeSetLinearGradientColors() local
187 weights.emplace_back(vecWeight[i]); in FfiOHOSAceFrameworkGaugeSetLinearGradientColors()
200 GaugeModel::GetInstance()->SetGradientColors(colors, weights, type); in FfiOHOSAceFrameworkGaugeSetLinearGradientColors()
212 GaugeModel::GetInstance()->SetGradientColors(colors, weights, type); in FfiOHOSAceFrameworkGaugeSetLinearGradientColors()
H A Dcj_gauge_ffi.h44 CJ_EXPORT void FfiOHOSAceFrameworkGaugeSetColors(VectorUInt32Ptr colors, VectorFloat32Ptr weights);
45 CJ_EXPORT void FfiOHOSAceFrameworkGaugeSetColorsV2(VectorUInt32Ptr colors, VectorFloat32Ptr weights
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_gauge.cpp153 std::vector<float> weights; in SetColors() local
170 weights.push_back(weight); in SetColors()
172 weights.push_back(0.0f); in SetColors()
175 GaugeModel::GetInstance()->SetColors(colors, weights); in SetColors()
187 std::vector<float> weights; in SetGradientColors() local
209 weights.push_back(weight); in SetGradientColors()
216 GaugeModel::GetInstance()->SetGradientColors(colors, weights, type); in SetGradientColors()
221 GaugeModel::GetInstance()->SetGradientColors(colors, weights, type); in SetGradientColors()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Dmorphing_system.cpp211 const auto& weights = mc.morphWeights; in Morph() local
212 activeTargets.reserve(weights.size()); in Morph()
213 for (size_t ti = 0; ti < weights.size(); ti++) { in Morph()
214 if (weights[ti] > 0.0f) { in Morph()
215 activeTargets.push_back({ static_cast<uint32_t>(ti), weights[ti] }); in Morph()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_gauge_bridge.cpp96 std::vector<float>& weights, NG::GaugeType& type, ArkUINodeHandle nativeNode) in SetGradientColorsObject() argument
118 std::vector<float>& weights, NG::GaugeType& type, ArkUINodeHandle nativeNode) in SetGradientColorsArray() argument
140 gradient.weight = &(*weights.begin()); in SetGradientColorsArray()
143 …GetArkUINodeModifiers()->getGaugeModifier()->setGradientColors(nativeNode, &gradient, weights.size… in SetGradientColorsArray()
154 std::vector<float> weights; in SetGradientColors() local
156 SetGradientColorsObject(vm, info, colors, weights, type, nativeNode); in SetGradientColors()
180 weights.push_back(weight); in SetGradientColors()
187 SetGradientColorsArray(vm, info, colors, weights, type, nativeNode); in SetGradientColors()
210 auto weights = std::make_unique<float[]>(length); in SetColors() local
230 weights[i] = weight; in SetColors()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dgauge_modifier.cpp169 std::vector<ArkUI_Float32> weights(length); in SetColors() local
172 weights.at(i) = weight[i]; in SetColors()
174 GaugeModelNG::SetColors(frameNode, inputColor, weights); in SetColors()
182 std::vector<ArkUI_Float32> weights; in ResetColors() local
183 GaugeModelNG::SetColors(frameNode, inputColor, weights); in ResetColors()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/
H A Dgauge_modifier.cpp238 std::vector<float> weights; in PaintDraw() local
240 weights = paintProperty->GetValuesValue(); in PaintDraw()
242 weights.push_back(1); in PaintDraw()
255 for (auto& weight : weights) { in PaintDraw()
268 currentStart += weights[index]; in PaintDraw()
574 std::vector<float> weights; in PaintMultiSegmentGradientCircular() local
576 weights = paintProperty->GetValuesValue(); in PaintMultiSegmentGradientCircular()
578 weights.push_back(1); in PaintMultiSegmentGradientCircular()
594 for (auto& weight : weights) { in PaintMultiSegmentGradientCircular()
621 std::vector<float>& weights) in PaintMultiSegmentGradientCircularShadow() argument
[all …]
H A Dgauge_modifier.h120 std::vector<float>& weights);
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/
H A Dpost_proc_slr.cpp60 SLRWeightMat weights = std::make_shared<SLRWeightVec>(n, std::vector<float>(2 * a, 0)); in GetWeights() local
74 (*weights)[i][k - eta + a - 1] = factor; in GetWeights()
80 rowSum[i] += (*weights)[i][j]; in GetWeights()
86 (*weights)[i][j] /= rowSum[i]; in GetWeights()
89 return weights; in GetWeights()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/progress/
H A Dprogress_component.h170 void SetSectionsStyle(const std::vector<Color>& colors, const std::vector<double>& weights) in SetSectionsStyle() argument
172 track_->SetSectionsStyle(colors, weights); in SetSectionsStyle()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-mindspore-lite-kit/
H A Djs-apis-mindSporeLite.md923 const weights = mindSporeLiteModel.getWeights();
924 for (let i = 0; i < weights.length; i++) {
925 let printStr = weights[i].name + ", ";
926 printStr += weights[i].shape + ", ";
927 printStr += weights[i].dtype + ", ";
928 printStr += weights[i].dataSize + ", ";
929 printStr += weights[i].getData();
930 console.info("MS_LITE weights: ", printStr);
938 updateWeights(weights: MSTensor[]): boolean
948 | weights | [MSTensor](#mstensor)[] | 是 | 权重张量列表。 |
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dgauge_composed_element.cpp122 auto weights = renderProgress->GetProgressComponent()->GetTrack()->GetSectionsWeights(); in GetColors() local
126 jsonObject->Put("1", weights[i]); in GetColors()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/js-service-widget-ui/
H A Djs-service-widget-basic-chart.md142 | weights | Array | - | 否 | 量规组件刻度条每一个区段的权重,仅量规图支持。<br/>如…
355 weights: 4, 2, 1;
/ohos5.0/docs/en/application-dev/reference/apis-mindspore-lite-kit/
H A Djs-apis-mindSporeLite.md923 const weights = mindSporeLiteModel.getWeights();
924 for (let i = 0; i < weights.length; i++) {
925 let printStr = weights[i].name + ", ";
926 printStr += weights[i].shape + ", ";
927 printStr += weights[i].dtype + ", ";
928 printStr += weights[i].dataSize + ", ";
929 printStr += weights[i].getData();
930 console.info("MS_LITE weights: ", printStr);
938 updateWeights(weights: MSTensor[]): boolean
966 const weights = mindSporeLiteModel.getWeights();
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/track/
H A Dtrack_component.h280 void SetSectionsStyle(const std::vector<Color>& colors, const std::vector<double>& weights) in SetSectionsStyle() argument
283 weights_ = weights; in SetSectionsStyle()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-common-atomic-layout.md24weights of all child components. If this style is set for only some child components in the contai…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-basic-chart.md147 | weights | Array | - | 否 | 量规组件刻度条每一个区段的权重。<…
350 weights: 4, 2, 1;
/ohos5.0/docs/zh-cn/application-dev/internationalization/
H A DReadme-CN.md14 - [数字与度量衡国际化](i18n-numbers-weights-measures.md)
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_importer.cpp589 weights = move(loadDataResult); in LoadPrimitiveAttributeData()
2087 vector<float> weights; in CreateMorphComponents() local
2088 weights.reserve(weightCount); in CreateMorphComponents()
2089 if (!node->weights.empty()) { in CreateMorphComponents()
2091 weights.insert(weights.end(), node->weights.begin(), in CreateMorphComponents()
2092 … node->weights.begin() + static_cast<decltype(node->weights)::difference_type>(weightCount)); in CreateMorphComponents()
2093 } else if (!node->mesh->weights.empty()) { in CreateMorphComponents()
2095 weights.insert(weights.end(), node->mesh->weights.begin(), in CreateMorphComponents()
2096 node->mesh->weights.begin() + in CreateMorphComponents()
2100 weights.insert(weights.end(), weightCount, 0.f); in CreateMorphComponents()
[all …]
H A Dgltf2_data_structures.h631 BASE_NS::vector<float> weights; in CORE3D_BEGIN_NAMESPACE() member
712 BASE_NS::vector<float> weights; in CORE3D_BEGIN_NAMESPACE() member
H A Dgltf2_loader.cpp1604 vector<float> weights; in PrimitiveAttributes() local
1605 … const auto parseWeights = [&weights](LoadResult& loadResult, const json::value& weight) -> bool { in PrimitiveAttributes()
1607 weights.push_back(weight.as_number<float>()); in PrimitiveAttributes()
1636 mesh->weights = move(weights); in PrimitiveAttributes()
2036 const auto parseCompressed = [&data, &weights = node.weights]( in PrimitiveAttributes()
2039 … return ParseOptionalNumberArray(loadResult, weights, compressedJson, "weights", vector<float>()); in PrimitiveAttributes()
2125 … if (!ParseOptionalNumberArray(loadResult, node->weights, jsonData, "weights", vector<float>())) { in PrimitiveAttributes()
2129 if (!node->mesh && node->weights.size() > 0) { in PrimitiveAttributes()
/ohos5.0/docs/en/application-dev/reference/native-lib/
H A Dicu4c.md10 - Number formatting and weights and measures formatting (unumberformatter.h and unum.h)
/ohos5.0/base/global/system_resources/
H A DREADME.md13 The font family currently provides six font weights: Thin, Light, Regular, Medium, Bold and Black. …
/ohos5.0/docs/en/application-dev/internationalization/
H A DReadme-EN.md14 - [Number and Unit of Measurement Formatting](i18n-numbers-weights-measures.md)
/ohos5.0/docs/en/application-dev/reference/apis-arkui/js-service-widget-ui/
H A Djs-service-widget-common-atomic-layout.md26 …ize = Container main axis size x flex-weight / Sum of all component size weights. This style takes…

12