/foundation/arkui/ace_engine/test/unittest/core/pattern/panel/ |
H A D | close_icon_pattern_test_ng.cpp | 57 PaddingProperty CreatePadding(float left, float top, float right, float bottom) in CreatePadding() argument 63 padding.bottom = CalcLength(bottom); in CreatePadding()
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_chart.h | 171 * If <b>smooth</b> is set to <b>true</b>, the filling color, top point, and bottom point of a line chart have 249 * @brief Obtains the index of the bottom point in a data set. 251 * @return Returns the index of the bottom point. If there are multiple bottom points, the first one is returned. 275 * @brief Obtains the Y value of the bottom point in a data set. 365 * The top and bottom points may appear in the hidden region. If this method is enabled, 366 * you are not advised to enable the display of the top and bottom points. 402 * @brief Defines the style for the top, bottom, and frontmost points in a line chart. 440 * @brief Sets the style of the bottom point of a polyline. 476 * @brief Obtains the style of the bottom poin 867 SetGradientBottom(uint16_t bottom) SetGradientBottom() argument [all...] |
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_scroll_view.cpp | 286 int16_t bottom = rect.GetBottom(); in CalculateReboundDistance() local 293 } else if (bottom < scrollHeight - 1) { in CalculateReboundDistance() 294 dragDistanceY = scrollHeight - scrollBlankSize_ - bottom - 1; in CalculateReboundDistance()
|
H A D | ui_chart.cpp | 866 int16_t bottom, in CalcVerticalInfo() 872 if ((top < start) && (bottom > start)) { in CalcVerticalInfo() 875 } else if ((bottom <= start) && (top >= end)) { in CalcVerticalInfo() 876 y = bottom; in CalcVerticalInfo() 878 } else if ((top < end) && (bottom > end)) { in CalcVerticalInfo() 879 y = bottom; in CalcVerticalInfo() 889 int16_t bottom = invalidatedArea.GetBottom(); in GradientColor() local 900 if ((bottom < endY) || (top > startY)) { in GradientColor() 906 CalcVerticalInfo(top, bottom, startY, endY, y, yHeight); in GradientColor() 865 CalcVerticalInfo(int16_t top, int16_t bottom, int16_t start, int16_t end, int16_t& y, int16_t& yHeight) CalcVerticalInfo() argument
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/waterflow/ |
H A D | water_flow_item_maps.h | 135 .bottom = CalcLength(5.0_vp), 176 .bottom = CalcLength(3.0_vp), 230 .bottom = CalcLength(5.0_vp),
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/ndk/ndkmatrix_fuzzer/ |
H A D | matrix_fuzzer.cpp | 55 float bottom = GetObject<float>(); in NativeMatrixTest001() local 63 OH_Drawing_Rect* rectOne = OH_Drawing_RectCreate(left, top, right, bottom); in NativeMatrixTest001() 64 OH_Drawing_Rect* rectTwo = OH_Drawing_RectCreate(left, top, right, bottom); in NativeMatrixTest001()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_color_extract.cpp | 53 uint32_t bottom = static_cast<uint32_t>(pixmap->GetHeight() * coordinates[3]); // 3 is index of bottom
in RSColorExtract() local 54 colorValLen_ = (right - left) * (bottom -top);
in RSColorExtract() 63 for (uint32_t i = top; i < bottom; i++) {
in RSColorExtract()
|
/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()
|
/third_party/ffmpeg/libavfilter/ |
H A D | blend_modes.c | 84 #define B bottom[j] 98 const PIXEL *bottom = (PIXEL *)_bottom; \ 112 bottom += bottom_linesize; \
|
/third_party/node/test/fixtures/wpt/resources/ |
H A D | testdriver.js | 10 var bottom = Math.min(window.innerHeight, rect.bottom); 13 var y = 0.5 * (top + bottom);
|
/third_party/skia/modules/sksg/tests/ |
H A D | SGTest.cpp | 37 ic.bounds().left(), ic.bounds().top(), ic.bounds().right(), ic.bounds().bottom()); in check_inval() 51 r1.left(), r1.top(), r1.right(), r1.bottom(), in check_inval() 52 r2.left(), r2.top(), r2.right(), r2.bottom()); in check_inval()
|
/third_party/backends/backend/ |
H A D | p5.c | 879 dev->bottom = dev->bytes_per_line * 2 * dev->lds; in sane_start() 881 dev->size = dev->pixels * 3 * 66 + dev->bottom; in sane_start() 897 DBG (DBG_io, "sane_start: bottom=%lu\n", (unsigned long)dev->bottom); in sane_start() 1169 if (dev->top <= dev->bottom) in sane_read() 1202 * on first read, position will be 0, while it will be 'bottom' in sane_read() 1239 if (dev->position > dev->bottom) in sane_read() 1241 dev->position = dev->bottom; in sane_read() 1244 DBG (DBG_io, "sane_read: bottom =%lu\n", (unsigned long)dev->bottom); in sane_read() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | jsXNode.js | 1074 bottom: new LengthMetrics(borderWidth[4], borderWidth[5]), 1083 bottom: new LengthMetrics(borderWidth[4], borderWidth[5]), 1092 bottom: new LengthMetrics(margin[4], margin[5]), 2179 this.borderStyleValue = { left: BorderStyle.NONE, top: BorderStyle.NONE, right: BorderStyle.NONE, bottom: BorderStyle.NONE }; 2184 getUINativeModule().renderNode.setBorderStyle(this.nodePtr, this.borderStyleValue.left, this.borderStyleValue.top, this.borderStyleValue.right, this.borderStyleValue.bottom); 2191 this.borderWidthValue = { left: 0, top: 0, right: 0, bottom: 0 }; 2196 getUINativeModule().renderNode.setBorderWidth(this.nodePtr, this.borderWidthValue.left, this.borderWidthValue.top, this.borderWidthValue.right, this.borderWidthValue.bottom, this.lengthMetricsUnitValue); 2203 this.borderColorValue = { left: 0XFF000000, top: 0XFF000000, right: 0XFF000000, bottom: 0XFF000000 }; 2208 getUINativeModule().renderNode.setBorderColor(this.nodePtr, this.borderColorValue.left, this.borderColorValue.top, this.borderColorValue.right, this.borderColorValue.bottom); 2234 getUINativeModule().renderNode.setRectMask(this.nodePtr, rectMask.left, rectMask.top, rectMask.right, rectMask.bottom, thi [all...] |
H A D | arkComponent.js | 226 getUINativeModule().common.setBorderWidth(node, this.value.top, this.value.end, this.value.bottom, this.value.start); 228 getUINativeModule().common.setBorderWidth(node, this.value.top, this.value.right, this.value.bottom, this.value.left); 243 this.stageValue.bottom === this.value.bottom); 248 this.stageValue.bottom === this.value.bottom); 353 } else if (('top' in this.value) || ('bottom' in this.value) || ('left' in this.value) || ('start' in this.value) || ('right' in this.value) || ('end' in this.value)) { 360 getUINativeModule().common.setPosition(node, true, this.value.top, this.value.left, this.value.bottom, this.value.right); 371 !isBaseOrResourceEqual(this.stageValue.bottom, this.value.bottom) || [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_view_abstract.cpp | 145 const std::vector<std::string> SLICE_KEYS = { "left", "right", "top", "bottom" }; 152 const char* BOTTOM_PROPERTY = "bottom"; 411 CalcDimension bottom; in ParseLocationPropsEdges() local 425 if (JSViewAbstract::ParseJsDimensionNG(bottomVal, bottom, DimensionUnit::VP)) { in ParseLocationPropsEdges() 426 edges.SetBottom(bottom); in ParseLocationPropsEdges() 485 CalcDimension bottom; in ParseLocalizedEdges() local 511 ParseJsLengthMetrics(bottomObj, bottom); in ParseLocalizedEdges() 512 edges.SetBottom(bottom); in ParseLocalizedEdges() 1285 Color bottom; in ParseEdgeColors() local 1286 if (JSViewAbstract::ParseJsColor(object->GetProperty(static_cast<int32_t>(ArkUIIndex::BOTTOM)), bottom)) { in ParseEdgeColors() 1305 Color bottom; ParseLocalizedEdgeColors() local 1344 CalcDimension bottom; ParseEdgeWidths() local 1375 CalcDimension bottom; ParseEdgeWidthsProps() local 3072 CalcDimension bottom; JsPixelStretchEffect() local 3092 InitPixStretchEffect( CalcDimension& left, CalcDimension& right, CalcDimension& top, CalcDimension bottom) InitPixStretchEffect() argument 3762 GetLocalizedPadding(const std::optional<CalcDimension>& top, const std::optional<CalcDimension>& bottom, const std::optional<CalcDimension>& start, const std::optional<CalcDimension>& end) GetLocalizedPadding() argument 3802 ParseMarginOrPaddingCorner(JSRef<JSObject> obj, std::optional<CalcDimension>& top, std::optional<CalcDimension>& bottom, std::optional<CalcDimension>& left, std::optional<CalcDimension>& right) ParseMarginOrPaddingCorner() argument 4129 CalcDimension bottom; ParseOuterBorderWidth() local [all...] |
/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()
|
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-regs.c | 235 s32 left, top, right, bottom; in mdp_try_crop() local 245 bottom = s->r.top + s->r.height; in mdp_try_crop() 263 ret = mdp_clamp_start(&top, 0, bottom, halign, s->flags); in mdp_try_crop() 269 ret = mdp_clamp_end(&bottom, top, frameh, halign, s->flags); in mdp_try_crop() 276 r->height = bottom - top; in mdp_try_crop()
|
/third_party/skia/third_party/externals/angle2/util/windows/win32/ |
H A D | Win32Window.cpp | 293 botRight.y = winRect.bottom; in WndProc() 562 sizeRect.right - sizeRect.left, sizeRect.bottom - sizeRect.top, in initializeImpl() 769 windowRect.bottom - windowRect.top, TRUE)) in setPosition() 797 LONG diffY = (windowRect.bottom - windowRect.top) - clientRect.bottom; in resize()
|
/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()
|