Home
last modified time | relevance | path

Searched refs:top (Results 551 - 575 of 763) sorted by relevance

1...<<2122232425262728293031

/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Dui_ability.cpp809 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 Dcalendar_picker_model_ng.cpp187 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 Dcalendar_dialog_view.cpp113 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 Deditabletitlebar.js445 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 Dview_abstract_test_ng_for_property_config.cpp1105 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 Dnode_image_modifier.cpp781 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 Dwater_flow_modifier.cpp459 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 Dsearch_layout_algorithm.cpp381 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 Drs_symbol_animation.cpp525 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 Drs_composer_adapter.cpp295 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 Doverlay_test_ng.cpp306 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 Dcjui_api.h174 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 Dnavigation_toolbar_util.cpp321 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 Drosen_render_swiper.cpp189 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 Dgrid_irregular_layout_algorithm.cpp397 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 Drender_dialog_tween.cpp480 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 Darkts_native_checkbox_bridge.cpp235 Local<JSValueRef> top = runtimeCallInfo->GetCallArgRef(1); // 1: top data in SetCheckboxPadding() local
243 ArkTSUtils::ParseJsDimensionVp(vm, top, topDim); in SetCheckboxPadding()
H A Darkts_native_swiper_bridge.cpp650 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 Dselect_pattern_test_controlsize_ng.cpp477 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 Dnative_type.h663 * @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 Dtab_content_model_ng.cpp188 paddingRtl.top = padding.top; in AddTabBarItem()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/sliding_window/
H A Dwater_flow_layout_info_sw.cpp59 // 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 Dinput_tdd_test.cpp376 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 Ddrawing_canvas.cpp376 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 Djs_canvas_renderer.cpp94 { "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()

Completed in 54 milliseconds

1...<<2122232425262728293031