/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/ |
H A D | drawing_decoration_painter.cpp | 774 double top = DrawingDimensionToPx(inset->GetTop(), size, LengthMode::VERTICAL) + position.GetY(); in DrawingCreateInset() local 779 RSRect rect(left, top, right, bottom); in DrawingCreateInset() 882 double top = DrawingDimensionToPx(rect->GetOffset().GetY(), size, LengthMode::VERTICAL) + position.GetY(); in DrawingCreateRect() local 885 RSRect rsRect = RSRect(left, top, left + width, top + height); in DrawingCreateRect()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/toggle/ |
H A D | toggle_test_ng.cpp | 87 padding.top = length.ConvertToPx(); in CreatePadding() 388 margin.top = CalcLength(PADDING.ConvertToPx()); in HWTEST_F() 396 EXPECT_EQ(layoutProperty->GetMarginProperty()->top.value(), CalcLength(PADDING.ConvertToPx())); in HWTEST_F() 677 layoutProperty->GetMarginProperty()->top.value(), CalcLength(switchTheme->GetHotZoneVerticalPadding().Value())); in HWTEST_F() 690 layoutProperty->GetMarginProperty()->top.value(), CalcLength(switchTheme->GetHotZoneVerticalPadding().Value())); in HWTEST_F()
|
/kernel/linux/linux-5.10/drivers/media/platform/omap/ |
H A D | omap_vout.c | 226 crop->top + crop->left * ps; in omap_vout_calculate_offset() 385 posx = win->w.top; in omapvid_init() 390 posy = (timing->y_res - win->w.height) - win->w.top; in omapvid_init() 396 posx = (timing->x_res - win->w.height) - win->w.top; in omapvid_init() 401 posy = win->w.top; in omapvid_init()
|
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/ |
H A D | mtk_vcodec_dec.c | 775 s->r.top = 0; in vidioc_vdec_g_selection() 781 s->r.top = 0; in vidioc_vdec_g_selection() 789 s->r.top = 0; in vidioc_vdec_g_selection() 801 s->r.top = 0; in vidioc_vdec_g_selection() 821 s->r.top = 0; in vidioc_vdec_s_selection()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/tehuti/ |
H A D | tehuti.c | 940 db->top = nelem; in bdx_rxdb_create() 951 BDX_ASSERT(db->top <= 0); in bdx_rxdb_alloc_elem() 952 return db->stack[--(db->top)]; in bdx_rxdb_alloc_elem() 963 return db->top; in bdx_rxdb_available() 969 db->stack[(db->top)++] = n; in bdx_rxdb_free_elem()
|
/kernel/linux/linux-5.10/fs/ |
H A D | binfmt_elf_fdpic.c | 928 unsigned long load_addr, base = ULONG_MAX, top = 0, maddr = 0, mflags; in elf_fdpic_map_file_constdisp_on_uclinux() local 943 if (top < phdr->p_vaddr + phdr->p_memsz) in elf_fdpic_map_file_constdisp_on_uclinux() 944 top = phdr->p_vaddr + phdr->p_memsz; in elf_fdpic_map_file_constdisp_on_uclinux() 952 maddr = vm_mmap(NULL, load_addr, top - base, in elf_fdpic_map_file_constdisp_on_uclinux() 958 load_addr += PAGE_ALIGN(top - base); in elf_fdpic_map_file_constdisp_on_uclinux()
|
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap/ |
H A D | omap_vout.c | 226 crop->top + crop->left * ps; in omap_vout_calculate_offset() 385 posx = win->w.top; in omapvid_init() 390 posy = (timing->y_res - win->w.height) - win->w.top; in omapvid_init() 396 posx = (timing->x_res - win->w.height) - win->w.top; in omapvid_init() 401 posy = win->w.top; in omapvid_init()
|
/kernel/linux/linux-6.6/fs/ |
H A D | binfmt_elf_fdpic.c | 927 unsigned long load_addr, base = ULONG_MAX, top = 0, maddr = 0; in elf_fdpic_map_file_constdisp_on_uclinux() local 942 if (top < phdr->p_vaddr + phdr->p_memsz) in elf_fdpic_map_file_constdisp_on_uclinux() 943 top = phdr->p_vaddr + phdr->p_memsz; in elf_fdpic_map_file_constdisp_on_uclinux() 947 maddr = vm_mmap(NULL, load_addr, top - base, in elf_fdpic_map_file_constdisp_on_uclinux() 953 load_addr += PAGE_ALIGN(top - base); in elf_fdpic_map_file_constdisp_on_uclinux()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/tehuti/ |
H A D | tehuti.c | 934 db->top = nelem; in bdx_rxdb_create() 945 BDX_ASSERT(db->top <= 0); in bdx_rxdb_alloc_elem() 946 return db->stack[--(db->top)]; in bdx_rxdb_alloc_elem() 957 return db->top; in bdx_rxdb_available() 963 db->stack[(db->top)++] = n; in bdx_rxdb_free_elem()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/app_startup/ |
H A D | startup_manager.cpp | 208 auto taskName = taskStack.top(); in AddStartupTask()
|
/foundation/ability/ability_runtime/interfaces/kits/native/ability/ability_runtime/ |
H A D | ability_context.h | 390 * @param the top position of window rectangle. 394 virtual void GetWindowRect(int32_t &left, int32_t &top, int32_t &width, int32_t &height) = 0;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/ |
H A D | multi_menu_layout_algorithm.cpp | 126 translate.AddY(padding.top.value_or(outPadding)); in Layout()
|
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/ |
H A D | rosen_render_custom_paint.h | 100 std::unique_ptr<ImageData> GetImageData(double left, double top, double width, double height) override;
|
H A D | rosen_render_offscreen_canvas.h | 56 std::unique_ptr<ImageData> GetImageData(double left, double top, double width, double height) override;
|
/foundation/arkui/ace_engine/frameworks/core/components/form/resource/ |
H A D | form_manager_delegate.h | 117 void OnGetRectRelativeToWindow(int32_t &top, int32_t &left);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | canvas_pattern.h | 120 std::unique_ptr<Ace::ImageData> GetImageData(double left, double top, double width, double height);
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | border.h | 28 // Border of a box, contains four borderEdges: left, top, right, bottom. 42 Border(const BorderEdge& left, const BorderEdge& top, const BorderEdge& right, const BorderEdge& bottom);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/safe_area/ |
H A D | safe_area_manager.cpp | 251 result.top = combinedSafeArea.top_.Length(); in SafeAreaToPadding()
|
/foundation/arkui/ace_engine/frameworks/core/components/image/ |
H A D | image_animator_element.cpp | 281 image->SetTop(imageProperties.top); in UpdateImageSize()
|
/foundation/arkui/ace_engine/frameworks/core/components/svg/ |
H A D | rosen_render_svg_polygon.cpp | 206 return Rect(bounds.left(), bounds.top(), bounds.width(), bounds.height()); in GetPaintBounds()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_paint_method.cpp | 49 frameSize.MinusPadding(*padding->left, *padding->right, *padding->top, *padding->bottom);
in UpdateContentModifier()
|
/foundation/arkui/ace_engine/advanced_ui_component/exceptionprompt/interfaces/ |
H A D | exceptionprompt.js | 119 top: {
|
/foundation/arkui/ace_engine/advanced_ui_component/interstitialdialogaction/interfaces/ |
H A D | interstitialdialogaction.js | 186 Text.margin(f1.options.titlePosition ? { top: TITLE_LINE_DISTANCE } : { bottom: TITLE_LINE_DISTANCE });
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_image_animator.cpp | 272 ParseJsDimensionVp(jsObjImage->GetProperty("top"), imageProperties.top); in ParseImages()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select/ |
H A D | select_model_ng.h | 64 void SetPaddings(const std::optional<CalcDimension>& top, const std::optional<CalcDimension>& bottom,
|