/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | ui_ability.cpp | 809 void UIAbility::GetWindowRect(int32_t &left, int32_t &top, int32_t &width, int32_t &height) in GetWindowRect() argument 822 top = window->GetRect().posY_; in GetWindowRect() 825 TAG_LOGD(AAFwkTag::UIABILITY, "left: %{public}d, top: %{public}d, width: %{public}d, height: %{public}d", in GetWindowRect() 826 left, top, width, height); in GetWindowRect()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/ |
H A D | calendar_picker_model_ng.cpp | 187 padding.top = CalcLength(theme->GetEntryDateTopBottomMargin()); in CreateCalendarNodeChild() 435 padding.top = CalcLength(theme->GetEntryDateTopBottomMargin()); in ClearPadding() 529 padding.top = CalcLength(theme->GetEntryDateTopBottomMargin()); in ClearPadding()
|
H A D | calendar_dialog_view.cpp | 113 padding.top = CalcLength(theme->GetCalendarTitleRowTopPadding()); in CreateChildNode() 418 .top = CalcLength(theme->GetDistanceBetweenTitleAndDate()), in InitCalendarProperty() 808 margin.top = CalcLength(theme->GetCalendarActionRowTopPadding() - CALENDAR_DISTANCE_ADJUST_FOCUSED_EVENT); in UpdateOptionLayoutProps() 810 margin.top = CalcLength(theme->GetCalendarActionRowTopPadding() + CALENDAR_DISTANCE_ADJUST_FOCUSED_EVENT); in UpdateOptionLayoutProps()
|
/foundation/arkui/ace_engine/advanced_ui_component/editabletitlebar/interfaces/ |
H A D | editabletitlebar.js | 445 top: { 'id': -1, 'type': 10002, params: ['sys.float.padding_level1'], 'bundleName': '__harDefaultBundleName__', 'moduleName': '__harDefaultModuleName__' }, 1271 top: { 'id': -1, 'type': 10002, params: ['sys.float.padding_level24'], 'bundleName': '__harDefaultBundleName__', 'moduleName': '__harDefaultModuleName__' }, 1286 top: { 'id': -1, 'type': 10002, params: ['sys.float.padding_level24'], 'bundleName': '__harDefaultBundleName__', 'moduleName': '__harDefaultModuleName__' },
|
/foundation/arkui/ace_engine/test/unittest/core/base/ |
H A D | view_abstract_test_ng_for_property_config.cpp | 1105 CalcDimension top(30, DimensionUnit::VP); in HWTEST_F() 1107 edges.SetTop(top); in HWTEST_F() 1113 ->GetOffsetEdgesValue(EdgesParam {}).top.value_or(Dimension {}).ConvertToVp(), 30.0f); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_image_modifier.cpp | 781 void SetImageResizable(ArkUINodeHandle node, ArkUI_Float32 left, ArkUI_Float32 top, in SetImageResizable() argument 789 Dimension topDimension(top, DimensionUnit::VP); in SetImageResizable() 807 arrayValue[NUM_1] = resizable.top.Value(); in GetImageResizable()
|
H A D | water_flow_modifier.cpp | 459 paddings.top = std::optional<CalcLength>(sectionData.margin[0]); in SetWaterFlowSectionOptions() 501 newSection[i].margin->top.has_value() ? newSection[i].margin->top->GetDimension().Value() : 0.0f; in GetWaterFlowSectionOptions()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/search/ |
H A D | search_layout_algorithm.cpp | 381 auto verticalPadding = padding.top.value_or(0.0f) + padding.bottom.value_or(0.0f); in CalcSearchAdaptHeight() 471 auto verticalPadding = padding.top.value_or(0.0f) + padding.bottom.value_or(0.0f); in CalcSearchHeight() 641 float topPadding = padding.top.value_or(0.0f); in LayoutSearchIcon()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_symbol_animation.cpp | 525 float top = rect.GetTop(); in CalculateOffset() local 528 Vector2f nodeTranslation = { offsetX + left, offsetY + top }; in CalculateOffset() 529 Vector2f newOffset = { -left, -top }; in CalculateOffset()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_composer_adapter.cpp | 295 int top = std::clamp<int>(localRect.GetTop(), 0, frameHeight); in DealWithNodeGravity() local 297 int height = std::clamp<int>(localRect.GetHeight(), 0, frameHeight - top); in DealWithNodeGravity() 298 GraphicIRect newSrcRect = {left, top, width, height}; in DealWithNodeGravity()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/overlay/ |
H A D | overlay_test_ng.cpp | 306 auto topModalNode = overlayManager->modalStack_.top().Upgrade(); in HWTEST_F() 355 auto topModalNode = overlayManager->modalStack_.top().Upgrade(); in HWTEST_F() 369 topModalNode = overlayManager->modalStack_.top().Upgrade(); in HWTEST_F() 383 topModalNode = overlayManager->modalStack_.top().Upgrade(); in HWTEST_F() 486 auto topModalNode = overlayManager->modalStack_.top().Upgrade(); in HWTEST_F() 500 topModalNode = overlayManager->modalStack_.top().Upgrade(); in HWTEST_F() 547 auto topModalNode = overlayManager->modalStack_.top().Upgrade(); in HWTEST_F() 562 topModalNode = overlayManager->modalStack_.top().Upgrade(); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/cjui/ |
H A D | cjui_api.h | 174 void (*setPadding)(ArkUINodeHandle node, const struct ArkUISizeType* top, const struct ArkUISizeType* right,
177 void (*setMargin)(ArkUINodeHandle node, const struct ArkUISizeType* top, const struct ArkUISizeType* right,
376 void (*setOutlineWidthFloat)(ArkUINodeHandle node, ArkUI_Float32 left, ArkUI_Float32 top,
780 void (*setImageResizable)(ArkUINodeHandle node, ArkUI_Float32 left, ArkUI_Float32 top,
1565 void (*setTextAreaPadding)(ArkUINodeHandle node, const struct ArkUISizeType* top, const struct ArkUISizeType* right,
1609 void (*setTextAreaMargin)(ArkUINodeHandle node, const struct ArkUISizeType* top, const struct ArkUISizeType* right,
1718 void (*setTextInputPadding)(ArkUINodeHandle node, const struct ArkUISizeType* top,
1809 void (*setTextInputMargin)(ArkUINodeHandle node, const struct ArkUISizeType* top, const struct ArkUISizeType* right,
2277 void (*setCalendarPickerPadding)(ArkUINodeHandle node, const struct ArkUISizeType* top,
2747 void (*setRadioPadding)(ArkUINodeHandle node, const struct ArkUISizeType* top, cons [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | navigation_toolbar_util.cpp | 321 padding.top = CalcLength(theme->GetToolbarItemTopPadding()); in CreateToolbarItemInContainer() 383 padding.top = CalcLength(theme->GetToolbarItemTopPadding()); in CreateToolbarMoreMenuNode()
|
/foundation/arkui/ace_engine/frameworks/core/components/swiper/ |
H A D | rosen_render_swiper.cpp | 189 int32_t top = GetValidEdgeLength(swiperHeight_, indicatorHeight, indicator_->GetTop()); in UpdateIndicator() local 190 position.SetY(top); in UpdateIndicator()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/irregular/ |
H A D | grid_irregular_layout_algorithm.cpp | 397 mainOffset += info.axis_ == Axis::HORIZONTAL ? 0.0f : padding.top.value_or(0.0f); in LayoutChildren() 416 // not top-left tile in LayoutChildren() 449 res[0] = info_.axis_ == Axis::HORIZONTAL ? padding.top.value_or(0.0f) : 0.0f; in CalculateCrossPositions()
|
/foundation/arkui/ace_engine/frameworks/core/components/dialog_tween/ |
H A D | render_dialog_tween.cpp | 480 double top = margin_.Top().Unit() == DimensionUnit::PERCENT ? margin_.Top().Value() * maxSize.Height() in UpdateTouchRegion() local 482 Offset touchTopLeft = topLeftPoint + (isSetMargin_ ? Offset(left, top) : Offset(0.0, 0.0)); in UpdateTouchRegion()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_checkbox_bridge.cpp | 235 Local<JSValueRef> top = runtimeCallInfo->GetCallArgRef(1); // 1: top data
in SetCheckboxPadding() local 243 ArkTSUtils::ParseJsDimensionVp(vm, top, topDim);
in SetCheckboxPadding()
|
H A D | arkts_native_swiper_bridge.cpp | 650 std::string top = GetStringByValueRef(vm, topArg); in GetSwiperDotIndicator() local 657 "|" + top + "|" + right + "|" + bottom + "|" + maxDisplayCount; in GetSwiperDotIndicator() 690 std::string top = GetStringByValueRef(vm, topArg); in GetSwiperDigitIndicator() local 694 "|" + selectedDigitFontSize + "|" + selectedDigitFontWeight + "|" + left + "|" + top + "|" + right + in GetSwiperDigitIndicator()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/select/ |
H A D | select_pattern_test_controlsize_ng.cpp | 477 CalcDimension top = -20.0_vp; in HWTEST_F() local 491 selectModelInstance.SetPaddings(top, bottom, left, right); in HWTEST_F()
|
/foundation/arkui/ace_engine/interfaces/native/ |
H A D | native_type.h | 663 * @brief Enumerates the modes for pinning the header to the top or the footer to the bottom. 668 /** In the list item group, the header is not pinned to the top, and the footer is not pinned to the bottom. */ 670 /** In the list item group, the header is pinned to the top, and the footer is not pinned to the bottom. */ 672 /** In the list item group, the footer is pinned to the bottom, and the header is not pinned to the top. */ 674 /** In the list item group, the footer is pinned to the bottom, and the header is pinned to the top. */ 1144 /** The image is top aligned with the text. */ 1172 /** Not resized, the image is aligned with the start edge of the top of the container. */ 1174 /** Not resized, the image is horizontally centered at the top of the container. */ 1176 /** Not resized, the image is aligned with the end edge at the top of the container. */ 1215 /** The top imag 1644 float top; global() member [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/ |
H A D | tab_content_model_ng.cpp | 188 paddingRtl.top = padding.top; in AddTabBarItem()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/sliding_window/ |
H A D | water_flow_layout_info_sw.cpp | 59 // can calibrate totalOffset when at top in CalibrateOffset() 266 float pos = 0.0f; // main-axis position of the item's top edge relative to viewport top. Positive if below viewport 526 pos += axis_ == Axis::VERTICAL ? margins_[i - 1].bottom.value_or(0.0f) + margins_[i].top.value_or(0.0f) 538 pos -= axis_ == Axis::VERTICAL ? margins_[i + 1].top.value_or(0.0f) + margins_[i].bottom.value_or(0.0f)
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/ |
H A D | input_tdd_test.cpp | 376 int16_t top = button->GetStyle(STYLE_MARGIN_TOP); in ComponentInputStyleTest07() local 378 EXPECT_TRUE(left == marginValue && right == marginValue && top == marginValue && bottom == marginValue); in ComponentInputStyleTest07()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_canvas.cpp | 376 void OH_Drawing_CanvasDrawBitmap(OH_Drawing_Canvas* cCanvas, const OH_Drawing_Bitmap* cBitmap, float left, float top) in OH_Drawing_CanvasDrawBitmap() argument 387 canvas->DrawBitmap(CastToBitmap(*cBitmap), left, top); in OH_Drawing_CanvasDrawBitmap()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/ |
H A D | js_canvas_renderer.cpp | 94 { "top", TextBaseline::TOP }, 770 info.GetDoubleArg(1, imageSize.top); in JsGetImageData() 774 imageSize.top *= density; in JsGetImageData() 807 info.GetDoubleArg(1, imageSize.top); in JsGetPixelMap() 811 imageSize.top *= density; in JsGetPixelMap()
|