Home
last modified time | relevance | path

Searched refs:props (Results 1 - 25 of 220) sorted by relevance

123456789

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_item_layout_algorithm.cpp24 auto props = AceType::DynamicCast<GridItemLayoutProperty>(layoutWrapper->GetLayoutProperty()); in Measure() local
25 CHECK_NULL_VOID(props); in Measure()
36 auto props = AceType::DynamicCast<GridItemLayoutProperty>(layoutWrapper->GetLayoutProperty()); in CreateChildConstraint() local
37 auto layoutConstraint = props->CreateChildConstraint(); in CreateChildConstraint()
39 if (!props->GetNeedStretch()) { in CreateChildConstraint()
40 if (props->GetStretchChild()) { in CreateChildConstraint()
41 props->SetStretchChild(false); in CreateChildConstraint()
58 if (props->GetStretchChild() || (!childConstraint->selfIdealSize.MainSize(props->GetAxis()).has_value() && in CreateChildConstraint()
59 layoutConstraint.parentIdealSize.MainSize(props in CreateChildConstraint()
[all...]
H A Dgrid_utils.cpp47 inline float GetRowGap(const RefPtr<GridLayoutProperty>& props, float frameHeight) in GetRowGap() argument
49 auto scale = props->GetLayoutConstraint()->scaleProperty; in GetRowGap()
50 return ConvertToPx(props->GetRowsGap().value_or(0.0_vp), scale, frameHeight).value_or(0); in GetRowGap()
53 inline float GetColumnGap(const RefPtr<GridLayoutProperty>& props, float frameWidth) in GetColumnGap() argument
55 auto scale = props->GetLayoutConstraint()->scaleProperty; in GetColumnGap()
56 return ConvertToPx(props->GetColumnsGap().value_or(0.0_vp), scale, frameWidth).value_or(0); in GetColumnGap()
60 float GridUtils::GetMainGap(const RefPtr<GridLayoutProperty>& props, const SizeF& frameSize, Axis axis) in GetMainGap() argument
62 return axis == Axis::HORIZONTAL ? GetColumnGap(props, frameSize.Width()) : GetRowGap(props, frameSize.Height()); in GetMainGap()
65 float GridUtils::GetCrossGap(const RefPtr<GridLayoutProperty>& props, cons argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/
H A Ddialog_layout_property.h37 auto props = MakeRefPtr<DialogLayoutProperty>(); variable
38 props->LayoutProperty::UpdateLayoutProperty(DynamicCast<LayoutProperty>(this));
39 props->propDialogAlignment_ = CloneDialogAlignment();
40 props->propDialogOffset_ = CloneDialogOffset();
41 props->propGridCount_ = CloneGridCount();
42 props->propUseCustomStyle_ = CloneUseCustomStyle();
43 props->propAutoCancel_ = CloneAutoCancel();
44 props->propShowInSubWindow_ = CloneShowInSubWindow();
45 props->propIsModal_ = CloneIsModal();
46 props
[all...]
H A Ddialog_pattern.cpp209 auto props = host->GetLayoutProperty<DialogLayoutProperty>(); in HandleClick() local
210 CHECK_NULL_VOID(props); in HandleClick()
212 auto autoCancel = props->GetAutoCancel().value_or(true); in HandleClick()
301 void DialogPattern::UpdateContentRenderContext(const RefPtr<FrameNode>& contentNode, const DialogProperties& props) in UpdateContentRenderContext() argument
307 contentRenderContext->IsUniRenderEnabled() && props.isSysBlurStyle) { in UpdateContentRenderContext()
310 props.backgroundBlurStyle.value_or(static_cast<int>(BlurStyle::COMPONENT_ULTRA_THICK))); in UpdateContentRenderContext()
312 contentRenderContext->UpdateBackgroundColor(props.backgroundColor.value_or(Color::TRANSPARENT)); in UpdateContentRenderContext()
314 contentRenderContext->UpdateBackgroundColor(props.backgroundColor.value_or(dialogTheme_->GetBackgroundColor())); in UpdateContentRenderContext()
316 bool isCustomBorder = props.borderRadius.has_value() || props in UpdateContentRenderContext()
398 auto props = scroll->GetLayoutProperty<ScrollLayoutProperty>(); CreateDialogScroll() local
410 BuildChild(const DialogProperties& props) BuildChild() argument
497 BuildCustomChild(const DialogProperties& props, const RefPtr<UINode>& customNode) BuildCustomChild() argument
622 BuildContent(const DialogProperties& props) BuildContent() argument
992 auto props = titleNode->GetLayoutProperty<TextLayoutProperty>(); BuildSheetInfoTitle() local
1051 auto props = list->GetLayoutProperty<ListLayoutProperty>(); BuildSheet() local
1073 auto props = DynamicCast<FrameNode>(button)->GetLayoutProperty(); BuildMenu() local
1188 auto props = host->GetLayoutProperty<DialogLayoutProperty>(); UpdateAlignmentAndOffset() local
1365 auto props = host->GetLayoutProperty<DialogLayoutProperty>(); NeedsButtonDirectionChange() local
1417 auto props = host->GetLayoutProperty<DialogLayoutProperty>(); CheckScrollHeightIsNegative() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item_group/
H A Dmenu_item_group_paint_method.cpp28 auto props = DynamicCast<MenuItemGroupPaintProperty>(paintWrapper->GetPaintProperty()); in GetOverlayDrawFunction() local
29 CHECK_NULL_VOID(props); in GetOverlayDrawFunction()
30 bool needHeaderPadding = props->GetNeedHeaderPadding().value_or(false); in GetOverlayDrawFunction()
33 GroupDividerInfo info = group->PreparePaintData(pipeline, props, paintWrapper); in GetOverlayDrawFunction()
34 bool needHeaderDivider = props->GetNeedHeaderDivider().value_or(true); in GetOverlayDrawFunction()
35 bool needFooterDivider = props->GetNeedFooterDivider().value_or(true); in GetOverlayDrawFunction()
39 bool needFooterPadding = props->GetNeedFooterPadding().value_or(false); in GetOverlayDrawFunction()
50 RefPtr<PipelineBase>& pipeline, RefPtr<MenuItemGroupPaintProperty>& props, PaintWrapper* paintWrapper) in PreparePaintData()
66 if (props->GetStrokeWidth()->Unit() != DimensionUnit::INVALID) { in PreparePaintData()
67 info.strokeWidth = props in PreparePaintData()
49 PreparePaintData( RefPtr<PipelineBase>& pipeline, RefPtr<MenuItemGroupPaintProperty>& props, PaintWrapper* paintWrapper) PreparePaintData() argument
[all...]
/foundation/arkui/ace_engine/test/unittest/core/property/
H A Daccessibility_property_test_ng.cpp66 AccessibilityProperty props; in HWTEST_F() local
67 auto actions = props.GetSupportAction(); in HWTEST_F()
74 props.supportActions_ = static_cast<uint32_t>(AceAction::ACTION_SCROLL_FORWARD); in HWTEST_F()
75 actions = props.GetSupportAction(); in HWTEST_F()
82 props.supportActions_ = static_cast<uint32_t>(AceAction::ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY); in HWTEST_F()
83 actions = props.GetSupportAction(); in HWTEST_F()
90 props.supportActions_ = static_cast<uint32_t>(AceAction::ACTION_SET_TEXT); in HWTEST_F()
91 actions = props.GetSupportAction(); in HWTEST_F()
98 props.supportActions_ = static_cast<uint32_t>(AceAction::ACTION_COPY); in HWTEST_F()
99 actions = props in HWTEST_F()
154 AccessibilityProperty props; HWTEST_F() local
203 AccessibilityProperty props; HWTEST_F() local
395 AccessibilityProperty props; HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/option/
H A Doption_pattern.cpp268 auto props = GetPaintProperty<OptionPaintProperty>(); in OnPress() local
269 CHECK_NULL_VOID(props); in OnPress()
281 props->UpdatePress(true); in OnPress()
294 props->UpdatePress(false); in OnPress()
310 auto props = GetPaintProperty<OptionPaintProperty>(); in OnHover() local
311 CHECK_NULL_VOID(props); in OnHover()
319 props->UpdateHover(true); in OnHover()
325 props->UpdateHover(false); in OnHover()
352 auto props = DynamicCast<FrameNode>(nextNode)->GetPaintProperty<OptionPaintProperty>(); in UpdateNextNodeDivider() local
353 CHECK_NULL_VOID(props); in UpdateNextNodeDivider()
370 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); SetFontSize() local
380 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); SetItalicFontStyle() local
389 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); SetFontWeight() local
398 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); SetFontFamily() local
407 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); SetFontColor() local
421 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); InspectorGetFont() local
440 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); GetFontSize() local
450 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); GetItalicFontStyle() local
459 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); GetFontWeight() local
468 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); GetFontFamily() local
477 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); GetFontColor() local
494 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); UpdateText() local
526 auto props = icon_->GetLayoutProperty<ImageLayoutProperty>(); UpdateIcon() local
[all...]
H A Doption_paint_method.cpp39 auto props = AceType::DynamicCast<OptionPaintProperty>(paintWrapper->GetPaintProperty()); in PaintCustomDivider() local
40 CHECK_NULL_VOID(props); in PaintCustomDivider()
41 auto dividerWidth = static_cast<float>(props->GetDividerValue().strokeWidth.ConvertToPx()); in PaintCustomDivider()
42 auto startMargin = static_cast<float>(props->GetDividerValue().startMargin.ConvertToPx()); in PaintCustomDivider()
43 auto endMargin = static_cast<float>(props->GetDividerValue().endMargin.ConvertToPx()); in PaintCustomDivider()
61 auto dividerRtl = static_cast<float>(props->GetDividerValue().isRtl); in PaintCustomDivider()
74 auto props = DynamicCast<OptionPaintProperty>(paintWrapper->GetPaintProperty()); in PaintDivider() local
75 CHECK_NULL_VOID(props); in PaintDivider()
77 bool needDivider = props->GetNeedDivider().value_or(true); in PaintDivider()
78 bool press = props in PaintDivider()
[all...]
H A Doption_view.cpp49 auto props = node->GetPaintProperty<OptionPaintProperty>(); in Create() local
50 CHECK_NULL_RETURN(props, nullptr); in Create()
51 props->UpdateHover(false); in Create()
52 props->UpdatePress(false); in Create()
93 auto props = iconNode->GetLayoutProperty<ImageLayoutProperty>(); in CreateIcon() local
100 props->UpdateImageSourceInfo(info); in CreateIcon()
102 props->UpdateUserDefinedIdealSize( in CreateIcon()
104 props->UpdateAlignment(Alignment::CENTER_LEFT); in CreateIcon()
122 auto props = iconNode->GetLayoutProperty<TextLayoutProperty>(); in CreateSymbol() local
123 CHECK_NULL_RETURN(props, nullpt in CreateSymbol()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/particle/
H A Dparticle_pattern.cpp67 auto props = GetEmitterProperty(); in ToJsonValue() local
68 if (props.size() > 0) { in ToJsonValue()
70 for (size_t i = 0; i < props.size(); i++) { in ToJsonValue()
72 object->Put("index", std::to_string(props[i].index).c_str()); in ToJsonValue()
73 if (props[i].emitRate.has_value()) { in ToJsonValue()
74 object->Put("emitRate", std::to_string(*props[i].emitRate).c_str()); in ToJsonValue()
76 if (props[i].position.has_value()) { in ToJsonValue()
78 positionObj->Put("x", std::to_string(props[i].position->x).c_str()); in ToJsonValue()
79 positionObj->Put("y", std::to_string(props[i].position->y).c_str()); in ToJsonValue()
82 if (props[ in ToJsonValue()
145 updateEmitterPosition(std::vector<EmitterProperty>& props) updateEmitterPosition() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item/
H A Dmenu_item_paint_method.cpp28 auto props = DynamicCast<MenuItemPaintProperty>(paintWrapper->GetPaintProperty()); in GetOverlayDrawFunction() local
29 CHECK_NULL_VOID(props); in GetOverlayDrawFunction()
30 if (!props->GetDividerColor().has_value()) { in GetOverlayDrawFunction()
33 bool needDivider = props->GetNeedDivider().value_or(true); in GetOverlayDrawFunction()
34 bool press = props->GetPress().value_or(false); in GetOverlayDrawFunction()
35 bool hover = props->GetHover().value_or(false); in GetOverlayDrawFunction()
55 info.strokeWidth = props->GetStrokeWidth().value_or(strokeWidth).ConvertToPxWithSize(itemSize.Height()); in GetOverlayDrawFunction()
56 info.startMargin = props->GetStartMargin().value_or(horInterval).ConvertToPxWithSize(itemSize.Width()); in GetOverlayDrawFunction()
57 info.endMargin = props->GetEndMargin().value_or(horInterval).ConvertToPxWithSize(itemSize.Width()); in GetOverlayDrawFunction()
58 info.color = props in GetOverlayDrawFunction()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/waterflow/
H A Dwater_flow_misc_test.cpp41 auto props = frameNode_->GetPaintProperty<ScrollablePaintProperty>(); in HWTEST_F() local
47 props->UpdateContentClip({ ContentClipMode::CUSTOM, rect }); in HWTEST_F()
51 props->UpdateContentClip({ ContentClipMode::SAFE_AREA, nullptr }); in HWTEST_F()
55 props->UpdateContentClip({ ContentClipMode::BOUNDARY, nullptr }); in HWTEST_F()
81 auto props = frameNode_->GetPaintProperty<ScrollablePaintProperty>(); in HWTEST_F() local
87 props->UpdateContentClip({ ContentClipMode::CUSTOM, rect }); in HWTEST_F()
94 props->UpdateContentClip({ ContentClipMode::CONTENT_ONLY, nullptr }); in HWTEST_F()
100 props->UpdateContentClip({ ContentClipMode::BOUNDARY, nullptr }); in HWTEST_F()
126 auto props = frameNode_->GetPaintProperty<ScrollablePaintProperty>(); in HWTEST_F() local
129 props in HWTEST_F()
161 auto props = frameNode_->GetPaintProperty<ScrollablePaintProperty>(); HWTEST_F() local
193 auto props = frameNode_->GetPaintProperty<ScrollablePaintProperty>(); HWTEST_F() local
[all...]
/foundation/communication/netmanager_base/frameworks/cj/connection/src/
H A Dnet_connection_callback.cpp116 void SetConnectionProp(CConnectionProperties &props, const sptr<NetLinkInfo> &info) in SetConnectionProp() argument
118 if (props.linkAddressSize > 0) { in SetConnectionProp()
119 props.linkAddresses = static_cast<CLinkAddress *>(malloc(sizeof(CLinkAddress) * props.linkAddressSize)); in SetConnectionProp()
120 if (props.linkAddresses == nullptr) { in SetConnectionProp()
121 props.linkAddressSize = 0; in SetConnectionProp()
127 props.linkAddresses[i] = CLinkAddress{.address = netAddr, .prefixLength = it->prefixlen_}; in SetConnectionProp()
131 if (props.dnsSize > 0) { in SetConnectionProp()
132 props.dnses = static_cast<CNetAddress *>(malloc(sizeof(CNetAddress) * props in SetConnectionProp()
186 CConnectionProperties props = {.interfaceName = MallocCString(info->ifaceName_), NetConnectionPropertiesChange() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/
H A Dmenu_paint_method.cpp27 auto props = DynamicCast<MenuPaintProperty>(paintWrapper->GetPaintProperty()); in GetContentDrawFunction()
28 CHECK_NULL_VOID(props); in GetContentDrawFunction()
29 if (!props->GetEnableArrow().has_value() || !props->GetEnableArrow().value()) { in GetContentDrawFunction()
32 auto clipPath = props->GetClipPath().value_or(""); in GetContentDrawFunction()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/
H A Dwater_flow_layout_utils.cpp66 const ConstraintParams& params, const RefPtr<WaterFlowLayoutProperty>& props, const RefPtr<LayoutWrapper>& child) in CreateChildConstraint()
68 auto itemConstraint = props->CreateChildConstraint(); in CreateChildConstraint()
77 CHECK_NULL_RETURN(props->HasItemLayoutConstraint() && !params.haveUserDefSize, itemConstraint); in CreateChildConstraint()
82 auto itemMinSize = props->GetItemMinSize(); in CreateChildConstraint()
85 ConvertToOptionalSize(itemMinSize.value(), props->GetLayoutConstraint()->scaleProperty, itemIdealSize); in CreateChildConstraint()
87 auto itemMaxSize = props->GetItemMaxSize(); in CreateChildConstraint()
90 ConvertToOptionalSize(itemMaxSize.value(), props->GetLayoutConstraint()->scaleProperty, itemIdealSize); in CreateChildConstraint()
128 const auto& props = wrapper->GetLayoutProperty(); in PreMeasureSelf() local
129 auto size = CreateIdealSize(props->GetLayoutConstraint().value(), axis, props in PreMeasureSelf()
65 CreateChildConstraint( const ConstraintParams& params, const RefPtr<WaterFlowLayoutProperty>& props, const RefPtr<LayoutWrapper>& child) CreateChildConstraint() argument
167 auto props = item->GetLayoutProperty(); UpdateItemIdealSize() local
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/dialog/
H A Ddialog_test_ng.cpp532 * @tc.steps: step2. call CreateDialogNode function with different props. in HWTEST_F()
536 DialogProperties props; in HWTEST_F() local
537 props.type = types[i]; in HWTEST_F()
539 props.title = "dialog test"; in HWTEST_F()
540 props.content = "dialog content test"; in HWTEST_F()
541 props.customStyle = true; in HWTEST_F()
542 props.sheetsInfo = sheetItems; in HWTEST_F()
543 props.isMenu = true; in HWTEST_F()
544 props.buttons = btnItems; in HWTEST_F()
546 props in HWTEST_F()
889 DialogProperties props; HWTEST_F() local
934 DialogProperties props; HWTEST_F() local
961 DialogProperties props; HWTEST_F() local
1009 DialogProperties props; HWTEST_F() local
1052 DialogProperties props; HWTEST_F() local
1100 DialogProperties props; HWTEST_F() local
1166 DialogProperties props; HWTEST_F() local
1232 DialogProperties props; HWTEST_F() local
1271 DialogProperties props; HWTEST_F() local
1347 DialogProperties props; HWTEST_F() local
1891 DialogProperties props; HWTEST_F() local
1953 DialogProperties props; HWTEST_F() local
2006 DialogProperties props; HWTEST_F() local
2363 DialogProperties props; HWTEST_F() local
[all...]
H A Ddialog_model_test_ng.cpp203 DialogProperties props; in HWTEST_F() local
211 alertDialogModelNg.SetOnCancel(std::move(cancelEvent), props); in HWTEST_F() local
212 ASSERT_NE(props.onCancel, nullptr); in HWTEST_F()
226 DialogProperties props; in HWTEST_F() local
234 actionSheetModelNg.SetCancel(std::move(cancelEvent), props); in HWTEST_F() local
235 ASSERT_NE(props.onCancel, nullptr); in HWTEST_F()
249 DialogProperties props; in HWTEST_F() local
250 props.isModal = true; in HWTEST_F()
254 props.isShowInSubWindow = true; in HWTEST_F()
255 alertDialogModelNg.SetShowDialog(props); in HWTEST_F()
351 actionSheetModelNg.SetConfirm(std::move(tapEventFunc), cancelEvent, info, props); HWTEST_F() local
714 DialogProperties props; HWTEST_F() local
1030 DialogProperties props; HWTEST_F() local
1056 DialogProperties props; HWTEST_F() local
1183 DialogProperties props; HWTEST_F() local
1215 DialogProperties props; HWTEST_F() local
1284 DialogProperties props; HWTEST_F() local
1397 DialogProperties props; HWTEST_F() local
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsbasescreenmanager_fuzzer/
H A Drsbasescreenmanager_fuzzer.cpp67 std::vector<RSScreenProps> props = {prop}; in RSScreenCapabilityFuzzTest() local
75 screenCapability.SetProps(props); in RSScreenCapabilityFuzzTest()
124 RSScreenProps props; in RSScreenPropsFuzzTest() local
126 props.SetPropertyName(propName); in RSScreenPropsFuzzTest()
127 props.SetPropId(GetData<uint32_t>()); in RSScreenPropsFuzzTest()
128 props.SetValue(GetData<uint64_t>()); in RSScreenPropsFuzzTest()
129 (void)props.GetPropertyName(); in RSScreenPropsFuzzTest()
130 (void)props.GetPropId(); in RSScreenPropsFuzzTest()
131 (void)props.GetValue(); in RSScreenPropsFuzzTest()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/screen_manager/
H A Drs_screen_capability.cpp23 bool supportWriteBack, const std::vector<RSScreenProps>& props) in RSScreenCapability()
26 virtualDispCount_(virtualDispCount), supportWriteBack_(supportWriteBack), props_(props) in RSScreenCapability()
65 void RSScreenCapability::SetProps(const std::vector<RSScreenProps>& props) in SetProps() argument
67 props_ = props; in SetProps()
110 bool RSScreenCapability::WriteVector(const std::vector<RSScreenProps> &props, Parcel &parcel) const in WriteVector() argument
112 for (uint32_t propIndex = 0; propIndex < props.size(); propIndex++) { in WriteVector()
113 if (!parcel.WriteParcelable(&props[propIndex])) { in WriteVector()
175 std::vector<RSScreenProps> props; in Unmarshalling() local
200 if (!ReadVector(props, propCount, parcel)) { in Unmarshalling()
204 phyWidth, phyHeight, supportLayers, virtualDispCount, supportWriteBack, props); in Unmarshalling()
21 RSScreenCapability(std::string name, ScreenInterfaceType type, uint32_t phyWidth, uint32_t phyHeight, uint32_t supportLayers, uint32_t virtualDispCount, bool supportWriteBack, const std::vector<RSScreenProps>& props) RSScreenCapability() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toast/
H A Dtoast_layout_property.h55 auto props = MakeRefPtr<ToastLayoutProperty>(); variable
56 props->LayoutProperty::UpdateLayoutProperty(DynamicCast<LayoutProperty>(this));
57 props->propBottom_ = CloneBottom();
58 props->propShowMode_ = CloneShowMode();
59 props->propEnableHoverMode_ = CloneEnableHoverMode();
60 props->propHoverModeArea_ = CloneHoverModeArea();
61 return props;
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/modifier/
H A Drs_render_property_test.cpp169 std::vector<std::shared_ptr<RSRenderPropertyBase>> props; in HWTEST_F() local
170 props.push_back(std::make_shared<MockRSRenderAnimatableProperty<float>>( in HWTEST_F()
172 props.push_back(std::make_shared<MockRSRenderAnimatableProperty<Color>>( in HWTEST_F()
174 props.push_back(std::make_shared<MockRSRenderAnimatableProperty<Matrix3f>>( in HWTEST_F()
176 props.push_back(std::make_shared<MockRSRenderAnimatableProperty<Quaternion>>( in HWTEST_F()
178 props.push_back(std::make_shared<MockRSRenderAnimatableProperty<std::shared_ptr<RSFilter>>>( in HWTEST_F()
180 props.push_back(std::make_shared<MockRSRenderAnimatableProperty<Vector2f>>( in HWTEST_F()
182 props.push_back(std::make_shared<MockRSRenderAnimatableProperty<Vector4f>>( in HWTEST_F()
184 props.push_back(std::make_shared<MockRSRenderAnimatableProperty<Vector4<Color>>>( in HWTEST_F()
187 for (auto& prop : props) { in HWTEST_F()
212 std::vector<std::shared_ptr<RSRenderPropertyBase>> props; HWTEST_F() local
330 std::vector<std::shared_ptr<RSRenderPropertyBase>> props; HWTEST_F() local
349 std::vector<std::shared_ptr<RSRenderPropertyBase>> props; HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/irregular/
H A Dgrid_irregular_layout_algorithm.cpp32 auto props = DynamicCast<GridLayoutProperty>(wrapper_->GetLayoutProperty()); in Measure() local
34 float mainSize = MeasureSelf(props); in Measure()
35 Init(props); in Measure()
48 if (props->GetAlignItems().value_or(GridItemAlignment::DEFAULT) == GridItemAlignment::STRETCH) { in Measure()
53 const int32_t cacheCnt = props->GetCachedCountValue(1) * info_.crossCount_; in Measure()
54 if (props->GetShowCachedItemsValue(false)) { in Measure()
68 auto props = DynamicCast<GridLayoutProperty>(wrapper_->GetLayoutProperty()); in Layout() local
69 CHECK_NULL_VOID(props); in Layout()
71 LayoutChildren(info.currentOffset_, props->GetCachedCountValue(1)); in Layout()
73 const int32_t cacheCnt = props in Layout()
79 MeasureSelf(const RefPtr<GridLayoutProperty>& props) MeasureSelf() argument
96 Init(const RefPtr<GridLayoutProperty>& props) Init() argument
370 GetAlignment(Axis axis, const RefPtr<GridLayoutProperty>& props) GetAlignment() argument
393 const auto& props = DynamicCast<GridLayoutProperty>(wrapper_->GetLayoutProperty()); LayoutChildren() local
591 auto props = DynamicCast<GridLayoutProperty>(wrapper_->GetLayoutProperty()); IsIrregularLine() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/
H A Doverlay_container_pattern.cpp42 auto props = host->GetLayoutProperty(); in BeforeCreateLayoutWrapper() local
43 if (inset.IsValid() || props->GetSafeAreaInsets()) { in BeforeCreateLayoutWrapper()
44 props->UpdateSafeAreaInsets(inset); in BeforeCreateLayoutWrapper()
/foundation/graphic/graphic_3d/kits/js/src/
H A DImageJS.cpp27 BASE_NS::vector<napi_property_descriptor> props; in Init()
28 SceneResourceImpl::GetPropertyDescs(props); in Init()
29 props.emplace_back(GetProperty<uint32_t, ImageJS, &ImageJS::GetWidth>("width")); in Init()
30 props.emplace_back(GetProperty<uint32_t, ImageJS, &ImageJS::GetHeight>("height")); in Init()
36 env, "Image", NAPI_AUTO_LENGTH, BaseObject::ctor<ImageJS>(), nullptr, props.size(), props.data(), &func); in Init()
H A DSceneResourceImpl.cpp53 void SceneResourceImpl::GetPropertyDescs(BASE_NS::vector<napi_property_descriptor>& props) in GetPropertyDescs() argument
55 props.push_back( in GetPropertyDescs()
58 props.push_back(TROGetProperty<NapiApi::Object, SceneResourceImpl, &SceneResourceImpl::GetUri>("uri")); in GetPropertyDescs()
59 props.push_back( in GetPropertyDescs()
61 props.push_back( in GetPropertyDescs()

Completed in 14 milliseconds

123456789