/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | dashing.cpp | 116 OH_Drawing_PathLineTo(path, rect.right, rect.bottom); in make_path_line() 121 OH_Drawing_PathAddRect(path, rect.left, rect.top, rect.right, rect.bottom, in make_path_rect() 127 OH_Drawing_PathAddOvalWithInitialPoint(path, OH_Drawing_RectCreate(rect.left, rect.top, rect.right, rect.bottom), in make_path_oval()
|
/foundation/graphic/graphic_2d/rosen/modules/effect/color_picker/src/ |
H A D | color_extract.cpp | 76 uint32_t bottom = static_cast<uint32_t>(pixmap->GetHeight() * coordinates[3]); // 3 is index of bottom in ColorExtract() local 77 colorValLen_ = (right - left) * (bottom -top); in ColorExtract() 83 for (uint32_t i = top; i < bottom; i++) { in ColorExtract()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/layout/ |
H A D | layout_wrapper.cpp | 67 auto bottom = offset.GetY() + geometryNode->GetMarginFrameSize().Height(); in OffsetNodeToSafeArea() local 68 if (bottom > bottomBound) { in OffsetNodeToSafeArea() 332 // and parent already has cache toward left, top, bottom, then this is a cache hit in AccumulateExpandCacheHit() 404 if (!NearZero(parentSafeAreaPadding.bottom.value_or(0.0f))) { in ParseSafeAreaPaddingSides() 406 // bottom side safeArea padding range is in ParseSafeAreaPaddingSides() 407 // [parentHeight - (bottom border + padding) - bottom safeAreaPadding, in ParseSafeAreaPaddingSides() 408 // parentHeight - (bottom border + padding)] in ParseSafeAreaPaddingSides() 409 auto innerSpaceBottomLength = parentInnerSpace.bottom.value_or(0.0f); in ParseSafeAreaPaddingSides() 411 parentHeight - innerSpaceBottomLength - parentSafeAreaPadding.bottom in ParseSafeAreaPaddingSides() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/manager/ |
H A D | safe_area_manager_test_ng.cpp | 77 float bottom; member 128 EXPECT_EQ(s1.bottom, s2.bottom); in CommonExpectEQ() 405 auto funExpect = [this](bool withoutProcess, float left, float right, float top, float bottom) { in HWTEST_F() 408 ret.bottom.value_or(0.0f) }, in HWTEST_F() 409 Rect { left, right, top, bottom }); in HWTEST_F() 433 Rect { ret.left.value_or(0.0f), ret.right.value_or(0.0f), ret.top.value_or(0.0f), ret.bottom.value_or(0.0f) }, in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/pipeline/base/ |
H A D | render_node.h | 403 return positionParam_.bottom.first; in GetBottom() 433 return positionParam_.bottom.second; in HasBottom() 460 virtual void SetBottom(const Dimension& bottom) // add for animation in SetBottom() argument 462 if (positionParam_.bottom.first != bottom) { in SetBottom() 463 positionParam_.bottom = std::make_pair(bottom, true); in SetBottom()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | nav_bar_layout_algorithm.cpp | 160 float bottomMargin = margin.bottom.value_or(0.0f); in CheckBottomEdgeOverlap() 162 float bottomPadding = padding.bottom.value_or(0.0f); in CheckBottomEdgeOverlap() 214 safeArea.bottom = static_cast<float>(inset.bottom_.Length()); in CheckIgnoreLayoutSafeArea() 239 constraint.selfIdealSize.SetHeight(currentHeight + safeArea.top + safeArea.bottom); in MeasureContentChild()
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | clip_path.cpp | 45 void Inset::SetLength(const Dimension& top, const Dimension& right, const Dimension& bottom, const Dimension& left) in SetLength() argument 49 SetBottom(bottom); in SetLength() 75 void Inset::SetRadius(const Dimension& top, const Dimension& right, const Dimension& bottom, const Dimension& left, in SetRadius() argument 80 SetBottomRightRadius(bottom, isX); in SetRadius()
|
/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | shape.h | 163 // inset(<top> <right> <bottom> <left> round <top-radius> <right-radius> <bottom-radius> <left-radius>) 223 void SetBottom(const Dimension& bottom) in SetBottom() argument 225 bottom_ = bottom; in SetBottom() 278 void SetLength(const Dimension& top, const Dimension& right, const Dimension& bottom, const Dimension& left); 280 const Dimension& top, const Dimension& right, const Dimension& bottom, const Dimension& left, bool isX);
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/frontend/ |
H A D | cj_frontend_abstract.cpp | 220 const std::string& message, int32_t duration, const std::string& bottom, const NG::ToastShowMode& showMode) in ShowToast() 224 auto task = [durationTime, message, bottom, isRightToLeft, showMode, containerId = Container::CurrentId()]( in ShowToast() 230 .bottom = bottom, in ShowToast() 219 ShowToast( const std::string& message, int32_t duration, const std::string& bottom, const NG::ToastShowMode& showMode) ShowToast() argument
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/stack/old_cases/ |
H A D | stack_test_ng.cpp | 65 PaddingProperty CreatePadding(float left, float top, float right, float bottom); 68 PaddingProperty StackTestNg::CreatePadding(float left, float top, float right, float bottom) in CreatePadding() argument 74 padding.bottom = CalcLength(bottom); in CreatePadding()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/button/ |
H A D | button_extend_test_ng.cpp | 112 PaddingProperty CreatePadding(float left, float top, float right, float bottom); 144 PaddingProperty ButtonExtendTestNg::CreatePadding(float left, float top, float right, float bottom) in CreatePadding() argument 150 padding.bottom = CalcLength(bottom); in CreatePadding()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stepper/ |
H A D | stepper_layout_algorithm.cpp | 175 textPadding.bottom = CalcLength(PADDING.ConvertToPx(), DimensionUnit::PX); in MeasureRightButton() 293 buttonOffset -= OffsetF(stepperPadding.right.value_or(0.0), stepperPadding.bottom.value_or(0.0)); in SuitAgeLayoutButton() 295 buttonOffset += OffsetF(stepperPadding.left.value_or(0.0), -stepperPadding.bottom.value_or(0.0)); in SuitAgeLayoutButton() 364 buttonOffset += OffsetF(stepperPadding.left.value_or(0.0), -stepperPadding.bottom.value_or(0.0)); in LayoutLeftButton() 402 buttonOffset -= OffsetF(stepperPadding.right.value_or(0.0), stepperPadding.bottom.value_or(0.0)); in LayoutRightButton()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/prompt/ |
H A D | cj_prompt_ffi.cpp | 78 void FfiPromptShowToast(const char* message, int32_t duration, const char* bottom, int32_t mode) in FfiPromptShowToast() argument 85 frontend->ShowToast(message, duration, bottom, NG::ToastShowMode(mode)); in FfiPromptShowToast()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_richeditor_controller_ffi.h | 54 double bottom; member 65 double bottom; member
|
H A D | cj_button_ffi.cpp | 150 void FfiOHOSAceFrameworkButtonSetPadding(double top, int32_t topUnit, double right, int32_t rightUnit, double bottom, in FfiOHOSAceFrameworkButtonSetPadding() argument 155 Dimension bottomValue(bottom, static_cast<DimensionUnit>(bottomUnit)); in FfiOHOSAceFrameworkButtonSetPadding()
|
H A D | cj_swiper_ffi.h | 46 double bottom; member
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | layout_constraint.h | 90 const std::optional<T>& bottom); 93 const std::optional<T>& top, const std::optional<T>& bottom);
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | chart_component.h | 49 PointOptions *bottom; member 56 SeriesOptions() : width(1), margin(1), head(nullptr), top(nullptr), bottom(nullptr), smooth(false), in SeriesOptions()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/ndk/ndkpen_fuzzer/ |
H A D | pen_fuzzer.cpp | 135 float bottom = GetObject<float>(); in PenFuzzTest002() local 156 OH_Drawing_Rect* cRect = OH_Drawing_RectCreate(left, top, right, bottom); in PenFuzzTest002()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/drawsurface_fuzzer/ |
H A D | drawsurface_fuzzer.cpp | 109 int32_t bottom = GetObject<int32_t>(); in SurfaceFuzzTest002() local 110 RectI bounds { left, top, right, bottom }; in SurfaceFuzzTest002()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_calendar_picker.h | 42 const std::optional<CalcDimension>& bottom, const std::optional<CalcDimension>& left,
|
H A D | js_button.h | 70 const std::optional<CalcDimension>& bottom, const std::optional<CalcDimension>& left,
|
/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | animatable_properties.h | 74 void SetPositionBottom(const Dimension& bottom);
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/search/ |
H A D | search_base.h | 98 PaddingProperty CreatePadding(float left, float top, float right, float bottom);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/qrcode/ |
H A D | qrcode_layout_algorithm.cpp | 43 bottomPadding = padding->bottom.value_or(CalcLength(0.0_vp)).GetDimension().ConvertToPx(); in MeasureContent()
|