Home
last modified time | relevance | path

Searched refs:rect (Results 1626 - 1650 of 2377) sorted by relevance

1...<<61626364656667686970>>...96

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_pattern.cpp196 auto rect = host->GetGeometryNode()->GetFrameRect();
200 caretCaretMetric = CaretMetricsF(OffsetF(0.0f, rect.Height()), 0.0f);
386 for (auto&& rect : selectedRects) { in ShowShadow()
387 if (!rect.IsInRegion(textOffset)) { in ShowShadow()
440 auto longPressFunc = [](RefPtr<SpanItem> item, GestureEvent& info, const RectF& rect, in HandleSpanLongPressEvent()
442 if (rect.IsInRegion(textOffset)) { in HandleSpanLongPressEvent()
460 for (auto&& rect : selectedRects) { in HandleSpanLongPressEvent()
461 CHECK_NULL_VOID(!longPressFunc(item, info, rect, textOffset)); in HandleSpanLongPressEvent()
955 for (auto&& rect : selectedRects) { in CalculateClickedSpanPosition()
956 if (!rect in CalculateClickedSpanPosition()
3506 ProcessBoundRectByTextShadow(RectF& rect) ProcessBoundRectByTextShadow() argument
3539 ProcessBoundRectByTextMarquee(RectF& rect) ProcessBoundRectByTextMarquee() argument
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/
H A Drs_uni_render_visitor_test.cpp887 Occlusion::Rect rect{0, 80, 2560, 1600}; in HWTEST_F()
888 Occlusion::Region region{rect}; in HWTEST_F()
956 Occlusion::Rect rect{0, 80, 2560, 1600}; in HWTEST_F()
957 Occlusion::Region region{rect}; in HWTEST_F()
2205 * @tc.desc: Test UpdateDstRect with empty rect
2483 * @tc.desc: Test RSUniRenderVisitorTest.UpdateHwcNodeEnableByFilterRect with intersect rect
2501 RectI rect{left, top, width, height}; in HWTEST_F()
2502 surfaceNode2->SetDstRect(rect); in HWTEST_F()
2507 rsUniRenderVisitor->UpdateHwcNodeEnableByFilterRect(surfaceNode1, rect); in HWTEST_F()
2513 * @tc.desc: Test RSUniRenderVisitorTest.UpdateHwcNodeEnableByFilterRect with empty rect
[all...]
/third_party/skia/src/gpu/gl/
H A DGrGLGpu.cpp825 SkIRect rect, in onWritePixels()
861 rect, in onWritePixels()
868 SkIRect rect, in onTransferPixelsTo()
892 SkASSERT(SkIRect::MakeSize(texture->dimensions()).contains(rect)); in onTransferPixelsTo()
895 const size_t trimRowBytes = rect.width() * bpp; in onTransferPixelsTo()
919 rect.left(), in onTransferPixelsTo()
920 rect.top(), in onTransferPixelsTo()
921 rect.width(), in onTransferPixelsTo()
922 rect.height(), in onTransferPixelsTo()
935 SkIRect rect, in onTransferPixelsFrom()
824 onWritePixels(GrSurface* surface, SkIRect rect, GrColorType surfaceColorType, GrColorType srcColorType, const GrMipLevel texels[], int mipLevelCount, bool prepForTexSampling) onWritePixels() argument
867 onTransferPixelsTo(GrTexture* texture, SkIRect rect, GrColorType textureColorType, GrColorType bufferColorType, sk_sp<GrGpuBuffer> transferBuffer, size_t offset, size_t rowBytes) onTransferPixelsTo() argument
934 onTransferPixelsFrom(GrSurface* surface, SkIRect rect, GrColorType surfaceColorType, GrColorType dstColorType, sk_sp<GrGpuBuffer> transferBuffer, size_t offset) onTransferPixelsFrom() argument
2143 readOrTransferPixelsFrom(GrSurface* surface, SkIRect rect, GrColorType surfaceColorType, GrColorType dstColorType, void* offsetOrPtr, int rowWidthInPixels) readOrTransferPixelsFrom() argument
2206 onReadPixels(GrSurface* surface, SkIRect rect, GrColorType surfaceColorType, GrColorType dstColorType, void* buffer, size_t rowBytes) onReadPixels() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Doffscreen_canvas_paint_method.cpp165 auto rect = RSRect(scaledLeft, scaledTop, dirtyWidth + scaledLeft, dirtyHeight + scaledTop); in GetImageData() local
166 bool ret = bitmap_.ExtractSubset(subBitmap, rect); in GetImageData()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Dscrollable_model_ng.cpp259 void ScrollableModelNG::SetContentClip(FrameNode* frameNode, ContentClipMode mode, const RefPtr<ShapeRect>& rect) in SetContentClip() argument
261 ACE_UPDATE_NODE_PAINT_PROPERTY(ScrollablePaintProperty, ContentClip, std::make_pair(mode, rect), frameNode); in SetContentClip()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/screen/
H A Dscreen_pattern.cpp227 Rosen::Rect rect = { screenBounds.rect_.left_, screenBounds.rect_.top_, in OnDirtyLayoutWrapperSwap() local
233 rootScene->UpdateViewportConfig(rect, Rosen::WindowSizeChangeReason::UNDEFINED); in OnDirtyLayoutWrapperSwap()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll_bar/
H A Dscroll_bar_pattern.h159 void SetChildRect(const RectF& rect) in SetChildRect() argument
161 childRect_ = rect; in SetChildRect()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_overlay_modifier.cpp159 RSRect rect(previewTextRect.Left(), previewTextRect.Bottom() - previewTextUnderlineWidth, in PaintPreviewTextDecoration()
161 drawingContext.canvas.DrawRoundRect(RSRoundRect(rect, roundRectRadius, roundRectRadius)); in PaintPreviewTextDecoration()
/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dparagraph_manager_test_ng.cpp73 RectF rect = RectF(10, 10, 40, 20); in ConstructParagraphs() local
74 selectedRects.emplace_back(rect); in ConstructParagraphs()
285 * @tc.expected: the position of the rect is in the first paragraph. in HWTEST_F()
297 * @tc.expected: the position of the rect is spans two paragraphs. in HWTEST_F()
308 * @tc.expected: the position of the rect is in the last paragraph. in HWTEST_F()
/foundation/graphic/graphic_surface/surface/test/fuzztest/bufferqueue_fuzzer/
H A Dbufferqueue_fuzzer.cpp111 OHOS::Rect rect = GetData<OHOS::Rect>(); in BufferQueueFuzzTest1() local
113 BufferFlushConfigWithDamages flushConfig = {.damages = { rect }, .timestamp = timestamp}; in BufferQueueFuzzTest1()
/foundation/graphic/graphic_surface/surface/test/fuzztest/nativewindow_fuzzer/
H A Dnativewindow_fuzzer.cpp133 Region::Rect rect = GetData<Region::Rect>(); in NativeWindowFuzzTest() local
134 Region region = {.rects = &rect, .rectNumber = 1}; in NativeWindowFuzzTest()
/foundation/graphic/graphic_surface/surface/test/fuzztest/bufferqueueproducer_fuzzer/
H A Dbufferqueueproducer_fuzzer.cpp159 OHOS::Rect rect = GetData<OHOS::Rect>(); in DoSomethingInterestingWithMyAPI() local
161 BufferFlushConfigWithDamages flushConfig = {.damages = { rect }, .timestamp = timestamp}; in DoSomethingInterestingWithMyAPI()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/overdraw/
H A Drs_gpu_overdraw_canvas_listener.cpp95 void RSGPUOverdrawCanvasListener::DrawRect(const Drawing::Rect& rect) in DrawRect() argument
101 overdrawCanvas_->DrawRect(rect); in DrawRect()
179 // need know canvas rect region in DrawBackground()
186 // need know shadow rect region in DrawShadow()
193 // need know shadow rect region in DrawShadowStyle()
243 // need know picture rect region in DrawPicture()
248 // need know canvas rect region in Clear()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/drawable/
H A Drs_drawable_test.cpp153 RectF rect = {1.0, 2.0, 3.0, 4.0}; in HWTEST_F() local
154 properties.clipRRect_ = std::make_optional<RRect>(rect, 1.0, 2.0); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_static_factory.cpp151 bool SkiaStaticFactory::GetFillPath(const Pen& pen, const Path& src, Path& dst, const Rect* rect, const Matrix& matrix) in GetFillPath() argument
153 return SkiaPaint::GetFillPath(pen, src, dst, rect, matrix); in GetFillPath()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/effect/
H A Dimage_filter_test.cpp298 Rect rect {0, 0, 100.0f, 100.0f}; in HWTEST_F()
299 auto imageFilter = ImageFilter::CreateShaderImageFilter(effect, rect); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render/render_base/unittest/draw/
H A Drs_draw_test.cpp153 RectF rect = {1.0, 2.0, 3.0, 4.0}; in HWTEST_F() local
154 properties.clipRRect_ = std::make_optional<RRect>(rect, 1.0, 2.0); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_uni_render_util.h86 static void DrawRectForDfx(RSPaintFilterCanvas& canvas, const RectI& rect, Drawing::Color color,
125 static SecRectInfo GenerateSecRectInfoFromNode(RSRenderNode& node, RectI rect);
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/render_context/
H A Drender_context_test.cpp412 RectI rect{0, 0, 1, 1}; in HWTEST_F()
413 auto rects = {rect}; in HWTEST_F()
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/mode/
H A Dslow_motion_session_napi.cpp258 Rect rect = (Rect) {topLeftX, topLeftY, width, height}; in SetSlowMotionDetectionArea() local
262 slowMotionSessionNapi->slowMotionSession_->SetSlowMotionDetectionArea(rect); in SetSlowMotionDetectionArea()
/foundation/window/window_manager/interfaces/innerkits/dm/
H A Ddisplay_manager.h229 * @param rect user select area.
233 std::shared_ptr<Media::PixelMap> GetSnapshotByPicker(Media::Rect &rect, DmErrorCode* errorCode = nullptr);
239 * @param rect Rect of screenshot.
245 std::shared_ptr<Media::PixelMap> GetScreenshot(DisplayId displayId, const Media::Rect &rect,
/foundation/window/window_manager/test/fuzztest/window_scene/sessioninterface_fuzzer/
H A Dsessioninterface_fuzzer.cpp201 WSRect rect = source.GetObject<WSRect>(); in ProxyInterfaceFuzzTestPart1() local
203 proxy->UpdateSessionRect(rect, reason); in ProxyInterfaceFuzzTestPart1()
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/
H A Djs_scene_utils.h174 napi_value CreateJsSessionRect(napi_env env, const T& rect);
186 bool ConvertRectInfoFromJs(napi_env env, napi_value jsObject, WSRect& rect);
/foundation/window/window_manager/window_scene/test/unittest/
H A Dscb_system_session_test.cpp144 WSRect rect = {0, 0, 0, 0}; in HWTEST_F() local
145 scbSystemSession_->UpdatePointerArea(rect); in HWTEST_F()
/foundation/window/window_manager_lite/test/
H A Dsample_window.cpp49 config.rect = rootView->GetRect(); in CreateDefaultWindow()
50 config.rect.SetPosition(x, y); in CreateDefaultWindow()

Completed in 29 milliseconds

1...<<61626364656667686970>>...96