/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | toggle_model_impl.cpp | 38 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 D | checkbox_model_impl.cpp | 59 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 D | checkboxgroup_model_impl.cpp | 56 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 D | radio_model_impl.cpp | 49 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 D | svg_utils.cpp | 25 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 D | measurable.h | 63 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 D | shape_abstract.cpp | 39 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 D | relative_container_guideline_test_ng.cpp | 135 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 D | indexer_item_component.cpp | 33 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 D | ui_test_scroll_bar.cpp | 128 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 D | water_flow_segment_common_test.cpp | 42 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 D | shape_abstract_model_ng.cpp | 105 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 D | scroll_bar_proxy.cpp | 243 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 D | sample_window.cpp | 139 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 D | stack_new_test_ng.cpp | 65 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 D | blank_model_ng.h | 27 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 D | js_stack.h | 32 static void SetHeight(const JSCallbackInfo& info); 34 static void SetHeight(const JSRef<JSVal>& jsValue);
|
H A D | js_stack.cpp | 135 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 D | dom_canvas.cpp | 47 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 D | list_nested_test_ng.cpp | 111 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 D | ui_test_image.cpp | 107 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 D | layout_constraint_test_ng.cpp | 230 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 D | plugin_model_ng.h | 30 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 D | progress_test_ng.cpp | 85 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 D | size.h | 42 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
|