/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | window_inner_manager_test.cpp | 226 Rect rect = {0.0, 0.0, 100.0, 100.0}; in HWTEST_F() local 229 wim_->CreateInnerWindow(name, displayId, rect, type, mode); in HWTEST_F()
|
/third_party/cups-filters/filter/ |
H A D | pdf.cxx | 220 float rect[4], in dict_lookup_rect() 242 // get values in a vector and assign it to rect in dict_lookup_rect() 249 rect[i] = array[i].getNumericValue(); in dict_lookup_rect() 218 dict_lookup_rect(QPDFObjectHandle object, std::string const& key, float rect[4], bool inheritable) dict_lookup_rect() argument
|
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
H A D | resource.cpp | 197 box rect { {{ 0, 0, 0 }}, {{ info.width0, info.height0, info.depth0 }} }; in root_resource() 205 rect, data_ptr, cpp * info.width0, in root_resource()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineEarlyDestroyTests.cpp | 286 const VkClearRect rect = in testEarlyDestroy() local 288 renderArea, // VkRect2D rect in testEarlyDestroy() 293 vk.cmdClearAttachments(*cmdBuffer, 1, &attachment, 1, &rect); in testEarlyDestroy()
|
/third_party/skia/src/gpu/mtl/ |
H A D | GrMtlGpu.h | 253 SkIRect rect, 262 SkIRect rect,
|
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DGpu.h | 278 SkIRect rect, 284 SkIRect rect,
|
/third_party/skia/src/core/ |
H A D | SkBlitter.h | 67 // Blit a rect in AA with size at least 3 x 3 (small rect has too many edge cases...) 68 void blitFatAntiRect(const SkRect& rect); 136 void blitRectRegion(const SkIRect& rect, const SkRegion& clip);
|
/third_party/skia/samplecode/ |
H A D | SampleXfer.cpp | 40 void init(const char label[], const SkRect& rect) { in init() 42 fRect = rect; in init()
|
/third_party/skia/tests/ |
H A D | RectangleTextureTest.cpp | 66 SkIRect rect = SkIRect::MakeWH(w, h/2); in test_clear() local 67 sfc->clear(rect, SkPMColor4f::FromBytes_RGBA(color1)); in test_clear()
|
H A D | SurfaceSemaphoreTest.cpp | 99 SkIRect rect = SkIRect::MakeLTRB(0, CHILD_H/2, CHILD_W, CHILD_H); in draw_child() local 100 childCanvas->drawIRect(rect, paint); in draw_child()
|
/third_party/skia/gm/ |
H A D | xfermodeimagefilter.cpp | 206 static void DrawClippedPaint(SkCanvas* canvas, const SkRect& rect, const SkPaint& paint, in DrawClippedPaint() argument 210 canvas->clipRect(rect); in DrawClippedPaint()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineEarlyDestroyTests.cpp | 272 const VkClearRect rect = in testEarlyDestroy() local 274 renderArea, // VkRect2D rect in testEarlyDestroy() 289 vk.cmdClearAttachments(*cmdBuffer, 1, &attachment, 1, &rect); in testEarlyDestroy()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fColorClearTest.cpp | 90 ClearInfo (const tcu::IVec4& rect, deUint8 colorMask, tcu::RGBA color) in ClearInfo() argument 91 : m_rect(rect), m_colorMask(colorMask), m_color(color) in ClearInfo()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fColorClearTest.cpp | 90 ClearInfo (const tcu::IVec4& rect, deUint8 colorMask, tcu::RGBA color) in ClearInfo() argument 91 : m_rect(rect), m_colorMask(colorMask), m_color(color) in ClearInfo()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
H A D | lvp_execute.c | 1588 const VkRect2D *rect, in clear_attachment_layers() 1607 rect->offset.x, rect->offset.y, in clear_attachment_layers() 1608 rect->extent.width, rect->extent.height, in clear_attachment_layers() 1613 rect->offset.x, rect->offset.y, in clear_attachment_layers() 1614 rect->extent.width, rect->extent.height, in clear_attachment_layers() 3169 VkClearRect *rect in handle_clear_attachments() local 1586 clear_attachment_layers(struct rendering_state *state, struct lvp_image_view *imgv, const VkRect2D *rect, unsigned base_layer, unsigned layer_count, unsigned ds_clear_flags, double dclear_val, uint32_t sclear_val, union pipe_color_union *col_val) clear_attachment_layers() argument [all...] |
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | ui_content_impl.cpp | 76 #include "base/geometry/rect.h" 154 Rosen::Rect ConvertToRSRect(NG::RectF& rect) in ConvertToRSRect() argument 157 rsRect.posX_ = floor(rect.GetX()); in ConvertToRSRect() 158 rsRect.posY_ = floor(rect.GetY()); in ConvertToRSRect() 159 rsRect.width_ = ceil(rect.Width()); in ConvertToRSRect() 160 rsRect.height_ = ceil(rect.Height()); in ConvertToRSRect() 387 auto rect = info->rect_; in OnSizeChange() local 390 Rect keyboardRect = Rect(rect.posX_, rect.posY_, rect in OnSizeChange() 2259 auto rect = renderContext->GetPaintRectWithoutTransform(); GetAppPaintSize() local 2276 NG::RectInt rect; GetWindowPaintSize() local 2462 auto rect = NG::RectF(config.Left(), config.Top(), config.Width(), config.Height()); UpdateViewportConfigWithAnimation() local [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/ |
H A D | rs_properties_test.cpp | 79 Vector4f rect{1.f, 1.f, 1.f, 1.f}; in HWTEST_F() 81 properties.SetBgImageInnerRect(rect); in HWTEST_F() 82 EXPECT_EQ(properties.GetBgImageInnerRect(), rect); in HWTEST_F() 830 RectI rect; in HWTEST_F() local 831 properties.lastRect_ = rect; in HWTEST_F() 1896 RectT<float> rect(1.f, 1.f, 1.f, 1.f); in HWTEST_F() 1897 RRect clipRRect(rect, 1.f, 1.f); in HWTEST_F() 1945 RectF rect(0, 0, properties.GetFrameWidth(), properties.GetFrameHeight()); in HWTEST_F() 2093 std::shared_ptr<RectF> rect = std::make_shared<RectF>(1.f, 1.f, 1.f, 1.f); in HWTEST_F() local 2094 properties.SetDrawRegion(rect); in HWTEST_F() 2123 std::shared_ptr<RectF> rect = std::make_shared<RectF>(1.f, 1.f, 1.f, 1.f); HWTEST_F() local [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/ |
H A D | image_pixel_map_test.cpp | 779 Rect rect; in HWTEST_F() local 780 rect.left = 0; in HWTEST_F() 781 rect.top = 0; in HWTEST_F() 782 rect.height = 1; in HWTEST_F() 783 rect.width = 1; in HWTEST_F() 784 pixelMap->crop(rect); in HWTEST_F() 974 Rect rect; in HWTEST_F() local 975 rect.left = 0; in HWTEST_F() 976 rect.top = 0; in HWTEST_F() 977 rect in HWTEST_F() [all...] |
/foundation/window/window_manager/window_scene/session_manager/src/zidl/ |
H A D | scene_session_manager_proxy.cpp | 1833 void SceneSessionManagerProxy::UpdateModalExtensionRect(const sptr<IRemoteObject>& token, Rect rect) in UpdateModalExtensionRect() argument 1846 if (!data.WriteInt32(rect.posX_)) { in UpdateModalExtensionRect() 1850 if (!data.WriteInt32(rect.posY_)) { in UpdateModalExtensionRect() 1854 if (!data.WriteInt32(rect.width_)) { in UpdateModalExtensionRect() 1858 if (!data.WriteInt32(rect.height_)) { in UpdateModalExtensionRect() 2048 WSError SceneSessionManagerProxy::GetHostWindowRect(int32_t hostWindowId, Rect& rect) in GetHostWindowRect() argument 2077 rect = {posX, posY, width, height}; in GetHostWindowRect() 2138 WMError SceneSessionManagerProxy::GetCallingWindowRect(int32_t persistentId, Rect& rect) in GetCallingWindowRect() argument 2163 rect.posX_ = reply.ReadInt32(); in GetCallingWindowRect() 2164 rect in GetCallingWindowRect() [all...] |
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | scene_session_manager_test.cpp | 892 * @tc.desc: SceneSesionManager update modal extension rect 902 Rect rect { 1, 2, 3, 4 }; in HWTEST_F() 903 ssm_->UpdateModalExtensionRect(nullptr, rect); in HWTEST_F() 1192 Rect rect = {100, 200, 100, 200}; in HWTEST_F() local 1194 hotAreas.push_back(rect); in HWTEST_F() 1211 ASSERT_EQ(rect.posX_, sceneSessionList.at(0)->GetTouchHotAreas().at(0).posX_); in HWTEST_F() 1212 ASSERT_EQ(rect.posY_, sceneSessionList.at(0)->GetTouchHotAreas().at(0).posY_); in HWTEST_F() 1213 ASSERT_EQ(rect.width_, sceneSessionList.at(0)->GetTouchHotAreas().at(0).width_); in HWTEST_F() 1214 ASSERT_EQ(rect.height_, sceneSessionList.at(0)->GetTouchHotAreas().at(0).height_); in HWTEST_F() 1216 ASSERT_EQ(accessibilityInfo.at(0)->touchHotAreas_.at(0).posX_, rect in HWTEST_F() [all...] |
H A D | move_drag_controller_test.cpp | 868 WSRect rect = moveDragController->GetFullScreenToFloatingRect(originalRect, windowRect); in HWTEST_F() local 869 ASSERT_EQ(originalRect.posX_, rect.posX_); in HWTEST_F() 871 rect = moveDragController->GetFullScreenToFloatingRect(originalRect, windowRect); in HWTEST_F() 872 ASSERT_EQ(windowRect.posX_, rect.posX_); in HWTEST_F() 874 rect = moveDragController->GetFullScreenToFloatingRect(originalRect, windowRect); in HWTEST_F() 876 ASSERT_EQ(targetRect.posX_, rect.posX_); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/ |
H A D | web_pattern.cpp | 37 #include "base/geometry/rect.h" 2223 auto rect = renderContext->GetPaintRectWithoutTransform(); in OnDirtyLayoutWrapperSwap() local 2224 drawSize = Size(rect.Width(), rect.Height()); in OnDirtyLayoutWrapperSwap() 2280 auto rect = renderContext->GetPaintRectWithoutTransform(); in BeforeSyncGeometryProperties() local 2281 auto heightBeforeUpdate = rect.Height(); in BeforeSyncGeometryProperties() 2283 rect.SetHeight(heightAfterAvoid_); in BeforeSyncGeometryProperties() 2284 renderContext->UpdatePaintRect(rect); in BeforeSyncGeometryProperties() 2285 rect.SetHeight(heightBeforeUpdate); in BeforeSyncGeometryProperties() 2291 auto drawSize = Size(rect in BeforeSyncGeometryProperties() 2359 auto rect = renderContext->GetPaintRectWithoutTransform(); OnAreaChangedInner() local 3293 auto rect = frameNode->GetGeometryNode()->GetFrameRect(); UpdateWebLayoutSize() local 4356 ParseViewDataNumber(const std::string& key, int32_t value, RefPtr<PageNodeInfoWrap> node, RectT<float>& rect, float viewScale) ParseViewDataNumber() argument 4426 RectT<float> rect; ParseNWebViewDataNode() local 4580 auto rect = nodeInfo->GetPageNodeRect(); RequestAutoFill() local 6356 RectT<int32_t> rect; UpdateFocusedAccessibilityId() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | view_abstract.h | 294 static void SetOnAreaChanged(std::function<void(const RectF &oldRect, const OffsetF &oldOrigin, const RectF &rect, 298 static void SetOnSizeChanged(std::function<void(const RectF &oldRect, const RectF &rect)> &&onSizeChanged); 620 const OffsetF &oldOrigin, const RectF &rect, const OffsetF &origin)> &&onAreaChanged); 639 FrameNode* frameNode, std::function<void(const RectF& oldRect, const RectF& rect)>&& onSizeChanged); 689 FrameNode* frameNode, std::function<void(const RectF& oldRect, const RectF& rect)>&& onSizeChanged); 760 static void SetLayoutRect(FrameNode* frameNode, const NG::RectF& rect);
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/pixelmap_ndk/ |
H A D | pixelmap_native.cpp | 612 OHOS::Media::Rect rect; in OH_PixelmapNative_Crop() local 613 rect.left = static_cast<int32_t>(region->x); in OH_PixelmapNative_Crop() 614 rect.top = static_cast<int32_t>(region->y); in OH_PixelmapNative_Crop() 615 rect.width = static_cast<int32_t>(region->width); in OH_PixelmapNative_Crop() 616 rect.height = static_cast<int32_t>(region->height); in OH_PixelmapNative_Crop() 617 pixelmap->GetInnerPixelmap()->crop(rect); in OH_PixelmapNative_Crop()
|
/foundation/window/window_manager/wm/src/ |
H A D | window_adapter.cpp | 867 void WindowAdapter::UpdateModalExtensionRect(const sptr<IRemoteObject>& token, Rect rect) in UpdateModalExtensionRect() argument 873 wmsProxy->UpdateModalExtensionRect(token, rect); in UpdateModalExtensionRect() 895 WMError WindowAdapter::GetHostWindowRect(int32_t hostWindowId, Rect& rect) in GetHostWindowRect() argument 901 return static_cast<WMError>(wmsProxy->GetHostWindowRect(hostWindowId, rect)); in GetHostWindowRect() 922 WMError WindowAdapter::GetCallingWindowRect(int32_t persistentId, Rect& rect) in GetCallingWindowRect() argument 928 return static_cast<WMError>(wmsProxy->GetCallingWindowRect(persistentId, rect)); in GetCallingWindowRect()
|