Home
last modified time | relevance | path

Searched refs:rect (Results 1651 - 1675 of 2377) sorted by relevance

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

/foundation/window/window_manager/wmserver/test/unittest/
H A Dwindow_inner_manager_test.cpp226 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 Dpdf.cxx220 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 Dresource.cpp197 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 DvktPipelineEarlyDestroyTests.cpp286 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 DGrMtlGpu.h253 SkIRect rect,
262 SkIRect rect,
/third_party/skia/src/gpu/d3d/
H A DGrD3DGpu.h278 SkIRect rect,
284 SkIRect rect,
/third_party/skia/src/core/
H A DSkBlitter.h67 // 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 DSampleXfer.cpp40 void init(const char label[], const SkRect& rect) { in init()
42 fRect = rect; in init()
/third_party/skia/tests/
H A DRectangleTextureTest.cpp66 SkIRect rect = SkIRect::MakeWH(w, h/2); in test_clear() local
67 sfc->clear(rect, SkPMColor4f::FromBytes_RGBA(color1)); in test_clear()
H A DSurfaceSemaphoreTest.cpp99 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 Dxfermodeimagefilter.cpp206 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 DvktPipelineEarlyDestroyTests.cpp272 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 Des2fColorClearTest.cpp90 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 Des3fColorClearTest.cpp90 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 Dlvp_execute.c1588 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 Dui_content_impl.cpp76 #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 Drs_properties_test.cpp79 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 Dimage_pixel_map_test.cpp779 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 Dscene_session_manager_proxy.cpp1833 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 Dscene_session_manager_test.cpp892 * @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 Dmove_drag_controller_test.cpp868 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 Dweb_pattern.cpp37 #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 Dview_abstract.h294 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 Dpixelmap_native.cpp612 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 Dwindow_adapter.cpp867 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()

Completed in 53 milliseconds

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