/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_image.cpp | 23 void DrawImage::DrawCommon(BufferInfo& gfxDstBuffer, const Rect& coords, const Rect& mask, in DrawCommon() argument 31 DrawUtils::GetInstance()->DrawImage(gfxDstBuffer, coords, mask, img->data, opa, pxBitSize, in DrawCommon() 35 void DrawImage::DrawCommon(BufferInfo& gfxDstBuffer, const Rect& coords, const Rect& mask, in DrawCommon() argument 50 DrawUtils::GetInstance()->DrawImage(gfxDstBuffer, coords, mask, entry.GetImgData(), opa, pxBitSize, in DrawCommon() 53 Rect valid = coords; in DrawCommon() 70 start.x = valid.GetLeft() - coords.GetLeft(); in DrawCommon() 71 start.y = valid.GetTop() - coords.GetTop(); in DrawCommon()
|
H A D | draw_image.h | 33 static void DrawCommon(BufferInfo& gfxDstBuffer, const Rect& coords, const Rect& mask, 36 static void DrawCommon(BufferInfo& gfxDstBuffer, const Rect& coords, const Rect& mask,
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_checkbox.cpp | 228 Rect coords = GetContentRect(); in OnDraw() local 229 coords.SetWidth(imgWidth); in OnDraw() 230 coords.SetHeight(imgHeight); in OnDraw() 234 coords.SetX(coords.GetX() + offsetLeft); in OnDraw() 235 coords.SetY(coords.GetY() + offsetTop); in OnDraw() 236 if (trunc.Intersect(trunc, coords)) { in OnDraw() 237 image_[state_].DrawImage(gfxDstBuffer, coords, trunc, *style_, opaScale_); in OnDraw()
|
H A D | ui_box_progress.cpp | 247 Rect coords(startPoint.x, startPoint.y, startPoint.x + progressWidth - 1, startPoint.y + progressHeight - 1); in DrawBackground() 249 DrawValidRect(gfxDstBuffer, backgroundImage_, coords, invalidatedArea, *backgroundStyle_, radius); in DrawBackground() 252 void UIBoxProgress::DrawForeground(BufferInfo& gfxDstBuffer, const Rect& invalidatedArea, Rect& coords) in DrawForeground() argument 264 coords.SetRect(startPoint.x, startPoint.y, startPoint.x + length, startPoint.y + progressHeight - 1); in DrawForeground() 269 coords.SetRect(startPoint.x + progressWidth - 1 - length, in DrawForeground() 275 coords.SetRect(startPoint.x, startPoint.y, startPoint.x + progressWidth - 1, startPoint.y + length); in DrawForeground() 280 coords.SetRect(startPoint.x, startPoint.y + progressHeight - 1 - length, in DrawForeground() 290 DrawValidRect(gfxDstBuffer, foregroundImage_, coords, invalidatedArea, *foregroundStyle_, radius); in DrawForeground() 301 Rect coords; in OnDraw() local 302 DrawForeground(gfxDstBuffer, invalidatedArea, coords); in OnDraw() [all...] |
H A D | ui_button.cpp | 77 Rect coords; in DrawImg() local 79 coords.SetLeft(viewRect.GetLeft() + GetImageX()); in DrawImg() 80 coords.SetTop(viewRect.GetTop() + GetImageY()); in DrawImg() 81 coords.SetWidth(header.width); in DrawImg() 82 coords.SetHeight(header.height); in DrawImg() 86 image->DrawImage(gfxDstBuffer, coords, trunc, *buttonStyles_[state_], opaScale); in DrawImg()
|
H A D | ui_slider.cpp | 185 void UISlider::DrawForeground(BufferInfo& gfxDstBuffer, const Rect& invalidatedArea, Rect& coords) in DrawForeground() argument 208 coords.SetRect(left, startPoint.y, right, startPoint.y + progressHeight_ - 1); in DrawForeground() 218 coords.SetRect(left, startPoint.y, right, startPoint.y + progressHeight_ - 1); in DrawForeground() 228 coords.SetRect(startPoint.x, top, startPoint.x + progressWidth_ - 1, bottom); in DrawForeground() 238 coords.SetRect(startPoint.x, top, startPoint.x + progressWidth_ - 1, bottom); in DrawForeground() 246 if (coords.Intersect(coords, invalidatedArea)) { in DrawForeground() 247 DrawValidRect(gfxDstBuffer, foregroundImage_, foregroundRect, coords, *foregroundStyle_, radius); in DrawForeground()
|
H A D | ui_canvas.cpp | 872 Rect coords = GetOrigRect(); in OnDraw() local 874 if (!trunc.Intersect(trunc, coords)) { in OnDraw() 1113 Rect coords; in DoDrawRect() local 1116 coords.SetPosition(x, y); in DoDrawRect() 1117 coords.SetHeight(rectParam->height + lineWidth); in DoDrawRect() 1118 coords.SetWidth(rectParam->width + lineWidth); in DoDrawRect() 1119 baseGfxEngine->DrawRect(gfxDstBuffer, coords, invalidatedArea, drawStyle, OPA_OPAQUE); in DoDrawRect() 1123 coords.SetPosition(x, y); in DoDrawRect() 1124 coords.SetHeight(lineWidth); in DoDrawRect() 1125 coords in DoDrawRect() 1163 Rect coords; DoFillRect() local [all...] |
/foundation/arkui/ui_lite/interfaces/kits/common/ |
H A D | image.h | 147 const Rect& coords,
|
H A D | text.h | 588 const Rect& coords, 635 Point GetPos(int16_t& lineHeight, const Style& style, uint16_t& lineCount, const Rect& coords);
|
/foundation/arkui/ui_lite/frameworks/common/ |
H A D | text.cpp | 265 const Rect& coords, in Draw() 272 int16_t lineMaxWidth = expandWidth_ ? textSize_.x : coords.GetWidth(); in Draw() 283 Point pos = GetPos(lineHeight, style, lineCount, coords); in Draw() 315 pos.x = LineStartPos(coords, textLine_[i].linePixelWidth); in Draw() 353 Point Text::GetPos(int16_t& lineHeight, const Style& style, uint16_t& lineCount, const Rect& coords) in GetPos() argument 357 pos.y = TextPositionY(coords, (lineCount * lineHeight)); in GetPos() 359 pos.y = TextPositionY(coords, (lineCount * lineHeight - style.lineSpace_)); in GetPos() 263 Draw(BufferInfo& gfxDstBuffer, const Rect& mask, const Rect& coords, const Style& style, int16_t offsetX, uint16_t ellipsisIndex, OpacityType opaScale) Draw() argument
|
H A D | image.cpp | 273 const Rect& coords, in DrawImage() 279 DrawImage::DrawCommon(gfxDstBuffer, coords, mask, imageInfo_, style, opaScale); in DrawImage() 281 DrawImage::DrawCommon(gfxDstBuffer, coords, mask, path_, style, opaScale); in DrawImage() 272 DrawImage(BufferInfo& gfxDstBuffer, const Rect& coords, const Rect& mask, const Style& style, uint8_t opaScale) const DrawImage() argument
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_box_progress.h | 227 void DrawForeground(BufferInfo& gfxDstBuffer, const Rect& invalidatedArea, Rect& coords);
|
H A D | ui_slider.h | 346 void DrawForeground(BufferInfo& gfxDstBuffer, const Rect& invalidatedArea, Rect& coords);
|
/foundation/multimodalinput/input/test/facility/libinput_interface/include/ |
H A D | libinput_interface.h | 90 struct device_coords coords[N_GESTURE_DEVICE_COORDS]; member
|
/foundation/arkui/ace_engine/frameworks/core/pipeline/base/ |
H A D | render_node.cpp | 1490 RRect RenderNode::GetGlobalWindowBlurRRect(std::vector<RRect>& coords) const in GetGlobalWindowBlurRRect() 1499 coords.push_back(windowBlurRRect); in GetGlobalWindowBlurRRect() 1507 coords.push_back(parentBlurRRect); in GetGlobalWindowBlurRRect() 1514 coords.clear(); in GetGlobalWindowBlurRRect() 1517 for (auto& coord : coords) { in GetGlobalWindowBlurRRect() 1564 std::vector<RRect> coords; in UpdateWindowBlurRRect() local 1565 auto blurRect = GetGlobalWindowBlurRRect(coords); in UpdateWindowBlurRRect() 1567 GetNodeId(), blurRect, GetWindowBlurProgress(), GetWindowBlurStyle(), coords); in UpdateWindowBlurRRect() local
|
H A D | render_node.h | 800 RRect GetGlobalWindowBlurRRect(std::vector<RRect>& coords) const;
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | mesh_util.cpp | 218 const Math::Vec2& coords = unitCoords[idx]; in GenerateConeCap() local 220 vertices.emplace_back(coords.x * radius, coords.y * radius, length); in GenerateConeCap() 223 float uvx = (coords.x + 1.0f) * 0.5f; in GenerateConeCap() 224 float uvy = 1.0f - (coords.y + 1.0f) * 0.5f; in GenerateConeCap()
|
/foundation/multimodalinput/input/util/common/include/ |
H A D | struct_multimodal.h | 411 SlotedCoords coords[MAX_SOLTED_COORDS_NUMS]; member
|
/foundation/arkui/ace_engine/frameworks/core/pipeline/ |
H A D | pipeline_context.h | 519 int32_t id, RRect rRect, float progress, WindowBlurStyle style, const std::vector<RRect>& coords);
|
H A D | pipeline_context.cpp | 2887 int32_t id, RRect rRect, float progress, WindowBlurStyle style, const std::vector<RRect>& coords) in UpdateWindowBlurRegion() 2897 windowBlurRegions_[id] = { .progress_ = progress, .style_ = style, .innerRect_ = rRect, .coords_ = coords }; in UpdateWindowBlurRegion() 2886 UpdateWindowBlurRegion( int32_t id, RRect rRect, float progress, WindowBlurStyle style, const std::vector<RRect>& coords) UpdateWindowBlurRegion() argument
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/cjui/ |
H A D | cjui_api.h | 3109 ArkUICanvasHandle canvas, ArkUI_Int32 mode, ArkUI_Float32* coords, ArkUI_Int32 count, ArkUIPaintHandle paint);
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/ |
H A D | arkoala_api.h | 4921 ArkUICanvasHandle canvas, ArkUI_Int32 mode, ArkUI_Float32* coords, ArkUI_Int32 count, ArkUIPaintHandle paint);
|