Home
last modified time | relevance | path

Searched refs:SetHeight (Results 1 - 25 of 768) sorted by relevance

12345678910>>...31

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dtoggle_model_impl.cpp38 checkboxComponent->SetHeight(checkBoxTheme->GetHeight() - verticalPadding * 2); in Create()
51 switchComponent->SetHeight(switchTheme->GetHeight() - verticalPadding * 2); in Create()
76 box->SetHeight(checkBoxTheme->GetHeight()); in Create()
83 box->SetHeight(switchTheme->GetHeight()); in Create()
89 box->SetHeight(toggleTheme->GetHeight().Value(), toggleTheme->GetHeight().Unit()); in Create()
153 void ToggleModelImpl::SetHeight(const Dimension& height) in SetHeight() function in OHOS::Ace::Framework::ToggleModelImpl
161 checkableComponent->SetHeight(height); in SetHeight()
162 box->SetHeight(height + padding * 2); in SetHeight()
167 toggleComponent->SetHeight(height); in SetHeight()
168 box->SetHeight(heigh in SetHeight()
[all...]
H A Dcheckbox_model_impl.cpp59 checkboxComponent->SetHeight(checkBoxTheme->GetHeight() - verticalPadding * 2); in Create()
61 box->SetHeight(checkBoxTheme->GetHeight()); in Create()
99 void CheckBoxModelImpl::SetHeight(const Dimension& height) in SetHeight() function in OHOS::Ace::Framework::CheckBoxModelImpl
107 checkboxComponent->SetHeight(height); in SetHeight()
108 box->SetHeight(height + padding * 2); in SetHeight()
124 checkboxComponent->SetHeight(height); in SetPadding()
126 box->SetHeight(height + Dimension(args.top.value(), DimensionUnit::VP) * 2); in SetPadding()
H A Dcheckboxgroup_model_impl.cpp56 checkboxComponent->SetHeight(checkBoxTheme->GetHeight() - verticalPadding * 2); in Create()
58 box->SetHeight(checkBoxTheme->GetHeight()); in Create()
97 void CheckBoxGroupModelImpl::SetHeight(const Dimension& height) in SetHeight() function in OHOS::Ace::Framework::CheckBoxGroupModelImpl
105 checkboxComponent->SetHeight(height); in SetHeight()
106 box->SetHeight(height + padding * 2); in SetHeight()
122 checkboxComponent->SetHeight(height); in SetPadding()
124 box->SetHeight(height + Dimension(args.top.value(), DimensionUnit::VP) * 2); in SetPadding()
H A Dradio_model_impl.cpp49 radioComponent->SetHeight(radioTheme->GetHeight() - verticalPadding * 2); in Create()
52 box->SetHeight(radioTheme->GetHeight()); in Create()
84 void RadioModelImpl::SetHeight(const Dimension& height) in SetHeight() function in OHOS::Ace::Framework::RadioModelImpl
91 radioComponent->SetHeight(height); in SetHeight()
92 box->SetHeight(height + padding * 2); in SetHeight()
105 radioComponent->SetHeight(height); in SetPadding()
107 box->SetHeight(height + Dimension(args.top.value(), DimensionUnit::VP) * 2); in SetPadding()
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/
H A Dsvg_utils.cpp25 svgContentSize.SetHeight(LessNotEqual(svgSize.Height(), 0.0) ? svgContainerSize.Height() : svgSize.Height()); in CalculateSvgConentSize()
30 svgContentSize.SetHeight(svgContainerSize.Height()); in CalculateSvgConentSize()
35 svgContentSize.SetHeight(svgSize.Height()); in CalculateSvgConentSize()
40 svgContentSize.SetHeight(viewBox.Height() / viewBox.Width() * svgSize.Width()); in CalculateSvgConentSize()
44 svgContentSize.SetHeight(svgSize.Height()); in CalculateSvgConentSize()
/foundation/arkui/ace_engine/frameworks/core/pipeline/base/
H A Dmeasurable.h63 virtual void SetHeight(const Dimension& dimension, const AnimationOption& option = AnimationOption()) in SetHeight() function in OHOS::Ace::Measurable
68 virtual void SetHeight(const CalcDimension& dimension, const AnimationOption& option = AnimationOption()) in SetHeight() function in OHOS::Ace::Measurable
73 virtual void SetHeight(double height, DimensionUnit unit = DimensionUnit::PX) in SetHeight() function in OHOS::Ace::Measurable
78 virtual void SetHeight(std::string height, DimensionUnit unit = DimensionUnit::CALC) in SetHeight() function in OHOS::Ace::Measurable
83 virtual void SetHeight(const AnimatableDimension& dimension) in SetHeight() function in OHOS::Ace::Measurable
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/
H A Dshape_abstract.cpp39 void NativeShapeAbstract::SetHeight(const Dimension& value) in SetHeight() function in OHOS::Ace::Framework::NativeShapeAbstract
42 basicShape_->SetHeight(value); in SetHeight()
51 SetHeight(height); in SetSize()
76 circle->SetHeight(height); in NativeCircle()
90 ellipse->SetHeight(height); in NativeEllipse()
104 rect->SetHeight(height); in NativeRect()
/foundation/arkui/ace_engine/test/unittest/core/pattern/relative_container/old_cases/
H A Drelative_container_guideline_test_ng.cpp135 ViewAbstract::SetHeight(CalcLength(CONTAINER_HEIGHT)); in HWTEST_F()
140 ViewAbstract::SetHeight(CalcLength(50.0f)); in HWTEST_F()
183 ViewAbstract::SetHeight(CalcLength(CONTAINER_HEIGHT)); in HWTEST_F()
188 ViewAbstract::SetHeight(CalcLength(50.0f)); in HWTEST_F()
224 ViewAbstract::SetHeight(CalcLength(CONTAINER_HEIGHT)); in HWTEST_F()
229 ViewAbstract::SetHeight(CalcLength(50.0f)); in HWTEST_F()
262 ViewAbstract::SetHeight(CalcLength(CONTAINER_HEIGHT)); in HWTEST_F()
267 ViewAbstract::SetHeight(CalcLength(50.0f)); in HWTEST_F()
302 ViewAbstract::SetHeight(CalcLength(CONTAINER_HEIGHT)); in HWTEST_F()
307 ViewAbstract::SetHeight(CalcLengt in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_v2/indexer/
H A Dindexer_item_component.cpp33 image_->SetHeight(itemSize_); in BuildItem()
46 box_->SetHeight(itemSize_.Value(), itemSize_.Unit()); in BuildItem()
80 image_->SetHeight(itemSize_); in UpdateSize()
84 box_->SetHeight(itemSize_.Value(), itemSize_.Unit()); in UpdateSize()
/foundation/arkui/ui_lite/test/uitest/test_scroll_bar/
H A Dui_test_scroll_bar.cpp128 label1->SetHeight(LABEL_HEIGHT); in UIKitScrollBarTESTScrollview001()
137 label2->SetHeight(LABEL_HEIGHT); in UIKitScrollBarTESTScrollview001()
146 label3->SetHeight(LABEL_HEIGHT); in UIKitScrollBarTESTScrollview001()
155 label4->SetHeight(LABEL_HEIGHT); in UIKitScrollBarTESTScrollview001()
164 label5->SetHeight(LABEL_HEIGHT); in UIKitScrollBarTESTScrollview001()
177 adapter_->SetHeight(LABEL_HEIGHT); in UIKitScrollBarTESTList001()
/foundation/arkui/ace_engine/test/unittest/core/pattern/waterflow/
H A Dwater_flow_segment_common_test.cpp42 ViewAbstract::SetHeight(CalcLength(600.f)); in HWTEST_F()
63 ViewAbstract::SetHeight(CalcLength(600.f)); in HWTEST_F()
88 ViewAbstract::SetHeight(CalcLength(600.f)); in HWTEST_F()
142 ViewAbstract::SetHeight(CalcLength(600.f)); in HWTEST_F()
200 ViewAbstract::SetHeight(CalcLength(600.f)); in HWTEST_F()
244 ViewAbstract::SetHeight(CalcLength(600.f)); in HWTEST_F()
279 ViewAbstract::SetHeight(CalcLength(600.f)); in HWTEST_F()
318 ViewAbstract::SetHeight(CalcLength(600.f)); in HWTEST_F()
359 ViewAbstract::SetHeight(CalcLength(600.f)); in HWTEST_F()
388 ViewAbstract::SetHeight(CalcLengt in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/
H A Dshape_abstract_model_ng.cpp105 void ShapeAbstractModelNG::SetHeight(Dimension& height) in SetHeight() function in OHOS::Ace::NG::ShapeAbstractModelNG
110 ViewAbstract::SetHeight(CalcLength(height)); in SetHeight()
121 void ShapeAbstractModelNG::SetHeight(FrameNode* frameNode, Dimension& height) in SetHeight() function in OHOS::Ace::NG::ShapeAbstractModelNG
126 ViewAbstract::SetHeight(frameNode, CalcLength(height)); in SetHeight()
/foundation/arkui/ace_engine/frameworks/core/components/scroll_bar/
H A Dscroll_bar_proxy.cpp243 scrollBarAxis == Axis::VERTICAL ? result.SetHeight(renderScroll->GetEstimatedHeight()) in GetScrollableChildSize()
249 scrollBarAxis == Axis::VERTICAL ? result.SetHeight(renderGridScroll->GetEstimatedHeight()) in GetScrollableChildSize()
255 scrollBarAxis == Axis::VERTICAL ? result.SetHeight(renderList->GetEstimatedHeight()) in GetScrollableChildSize()
261 scrollBarAxis == Axis::VERTICAL ? result.SetHeight(renderWaterFlow->GetEstimatedHeight()) in GetScrollableChildSize()
273 scrollBarAxis == Axis::VERTICAL ? scrollableChildSize.SetHeight(renderScroll->GetEstimatedHeight()) in AdjustParam()
282 scrollBarAxis == Axis::VERTICAL ? scrollableChildSize.SetHeight(renderGridScroll->GetEstimatedHeight()) in AdjustParam()
291 scrollBarAxis == Axis::VERTICAL ? scrollableChildSize.SetHeight(renderList->GetEstimatedHeight()) in AdjustParam()
299 scrollBarAxis == Axis::VERTICAL ? scrollableChildSize.SetHeight(renderWaterFlow->GetEstimatedHeight()) in AdjustParam()
/foundation/window/window_manager_lite/test/
H A Dsample_window.cpp139 button->SetHeight(40); // 40: height in AddButton()
145 button1->SetHeight(60); // 60: height in AddButton()
158 block->SetHeight(60); // 60: height in AddBlock()
165 block2->SetHeight(60); // 60: height in AddBlock()
172 block3->SetHeight(60); // 60: height in AddBlock()
179 block4->SetHeight(10); // 10: height in AddBlock()
192 g_rootView1->SetHeight(300); // 300: height in TestWindow()
250 rootView->SetHeight(10); // 10: height in TestWindowNumLimit()
/foundation/arkui/ace_engine/test/unittest/core/pattern/stack/
H A Dstack_new_test_ng.cpp65 ViewAbstract::SetHeight(CalcLength(300.0f)); in HWTEST_F()
70 ViewAbstract::SetHeight(CalcLength(Dimension(100 / 100.0, DimensionUnit::PERCENT))); in HWTEST_F()
75 ViewAbstract::SetHeight(CalcLength(Dimension(60 / 100.0, DimensionUnit::PERCENT))); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/blank/
H A Dblank_model_ng.h27 void SetHeight(const Dimension& height) override;
31 static void SetHeight(FrameNode* frameNode, const Dimension& height);
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_stack.h32 static void SetHeight(const JSCallbackInfo& info);
34 static void SetHeight(const JSRef<JSVal>& jsValue);
H A Djs_stack.cpp135 void JSStack::SetHeight(const JSCallbackInfo& info) in SetHeight() function in OHOS::OHOS::Ace::Framework::JSStack
141 SetHeight(info[0]); in SetHeight()
144 void JSStack::SetHeight(const JSRef<JSVal>& jsValue) in SetHeight() function in OHOS::OHOS::Ace::Framework::JSStack
162 SetHeight(sizeObj->GetProperty("height")); in SetSize()
204 JSClass<JSStack>::StaticMethod("height", SetHeight); in JSBind()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_canvas.cpp47 SetHeight(DEFAULT_HEIGHT); in ResetInitializedStyle()
49 boxComponent_->SetHeight(DEFAULT_HEIGHT.Value(), DEFAULT_HEIGHT.Unit()); in ResetInitializedStyle()
/foundation/arkui/ace_engine/test/unittest/core/pattern/list/
H A Dlist_nested_test_ng.cpp111 ViewAbstract::SetHeight(CalcLength(SCROLLABLE_HEIGHT)); in CreatScrollNestedList()
116 ViewAbstract::SetHeight(CalcLength(SCROLL_HEAD_HEIGHT)); in CreatScrollNestedList()
124 ViewAbstract::SetHeight(CalcLength(SCROLLABLE_HEIGHT)); in CreatScrollNestedList()
127 ViewAbstract::SetHeight(CalcLength(LIST_ITEM_HEIGHT)); in CreatScrollNestedList()
150 ViewAbstract::SetHeight(CalcLength(SCROLLABLE_HEIGHT)); in HWTEST_F()
153 ViewAbstract::SetHeight(CalcLength(450)); in HWTEST_F()
223 ViewAbstract::SetHeight(CalcLength(SCROLLABLE_HEIGHT)); in HWTEST_F()
228 ViewAbstract::SetHeight(CalcLength(SCROLLABLE_HEIGHT)); in HWTEST_F()
231 ViewAbstract::SetHeight(CalcLength(450)); in HWTEST_F()
303 ViewAbstract::SetHeight(CalcLengt in HWTEST_F()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_image/
H A Dui_test_image.cpp107 imageView->SetHeight(50); // 50 : size in UIKitUIImageTestSetImage001()
138 imageView->SetHeight(50); // 50 : size in UIKitUIImageTestSetImage002()
159 imageView->SetHeight(50); // 50 : size in UIKitUIImageTestSetImage004()
182 imageView->SetHeight(50); // 50 : size in UIKitUIImageTestSetImage005()
189 imageView2->SetHeight(50); // 50 : size in UIKitUIImageTestSetImage005()
213 imageView->SetHeight(50); // 50 : size in UIKitUIImageTestSetImage006()
234 imageView->SetHeight(50); // 50 : size in UIKitUIImageTestSetImage007()
255 imageView->SetHeight(50); // 50 : size in UIKitUIImageTestSetImage008()
276 imageView->SetHeight(50); // 50 : size in UIKitUIImageTestSetImage009()
297 imageView->SetHeight(5 in UIKitUIImageTestSetImage010()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/property/
H A Dlayout_constraint_test_ng.cpp230 layoutConstraint.minSize.SetHeight(3); in HWTEST_F()
232 layoutConstraint.maxSize.SetHeight(4096); in HWTEST_F()
317 layoutConstraint.maxSize.SetHeight(4096); in HWTEST_F()
328 layoutConstraint.maxSize.SetHeight(2048); in HWTEST_F()
361 layoutConstraint.selfIdealSize.SetHeight(960); in HWTEST_F()
375 calcSize->SetHeight(height); in HWTEST_F()
419 layoutConstraint.parentIdealSize.SetHeight(1024); in HWTEST_F()
450 layoutConstraint.maxSize.SetHeight(4096); in HWTEST_F()
452 layoutConstraint.minSize.SetHeight(2); in HWTEST_F()
464 layoutConstraint.maxSize.SetHeight(204 in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/plugin/
H A Dplugin_model_ng.h30 void SetHeight(const Dimension& height) override;
34 static void SetHeight(FrameNode* frameNode, const Dimension& height);
/foundation/arkui/ace_engine/test/unittest/core/pattern/progress/
H A Dprogress_test_ng.cpp85 ViewAbstract::SetHeight(CalcLength(PROGRESS_COMPONENT_HEIGHT)); in CreateProgress()
139 contentConstraint.percentReference.SetHeight(PROGRESS_COMPONENT_MAXSIZE_HEIGHT); in HWTEST_F()
141 contentConstraint.selfIdealSize.SetHeight(PROGRESS_COMPONENT_HEIGHT); in HWTEST_F()
187 contentConstraint.percentReference.SetHeight(PROGRESS_COMPONENT_MAXSIZE_HEIGHT); in HWTEST_F()
217 contentConstraint.percentReference.SetHeight(PROGRESS_COMPONENT_MAXSIZE_HEIGHT); in HWTEST_F()
239 contentConstraint.selfIdealSize.SetHeight(PROGRESS_COMPONENT_HEIGHT); in HWTEST_F()
247 contentConstraint.selfIdealSize.SetHeight(LARG_PROGRESS_COMPONENT_HEIGHT); in HWTEST_F()
277 contentConstraint.percentReference.SetHeight(PROGRESS_COMPONENT_MAXSIZE_HEIGHT); in HWTEST_F()
299 contentConstraint.selfIdealSize.SetHeight(PROGRESS_COMPONENT_HEIGHT); in HWTEST_F()
341 contentConstraint.percentReference.SetHeight(PROGRESS_COMPONENT_MAXSIZE_HEIGH in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/
H A Dsize.h42 inline void SetHeight(scalar h);
85 inline void SizeF::SetHeight(scalar h) in SetHeight() function in OHOS::Rosen::Drawing::SizeF
114 inline void SetHeight(int h);
157 inline void SizeI::SetHeight(int h) in SetHeight() function in OHOS::Rosen::Drawing::SizeI

Completed in 11 milliseconds

12345678910>>...31