/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/ |
H A D | radio_switch_tdd_test.cpp | 238 if (toggleButton->GetHeight() != height) { in HeightRadioValueTest005() 243 EXPECT_TRUE(toggleButton->GetHeight() == height); in HeightRadioValueTest005() 255 if (toggleButton->GetHeight() != defaultLen) { in HeightRadioValueTest005() 260 EXPECT_TRUE(toggleButton->GetHeight() == defaultLen); in HeightRadioValueTest005() 271 if (toggleButton->GetHeight() != CHECK_LEN) { in HeightRadioValueTest005() 276 EXPECT_TRUE(toggleButton->GetHeight() == CHECK_LEN); in HeightRadioValueTest005() 336 if (button->GetHeight() != height) { in HeightSwitchValueTest007() 341 EXPECT_TRUE(button->GetHeight() == height); in HeightSwitchValueTest007() 353 if (button->GetHeight() != defaultLen) { in HeightSwitchValueTest007() 358 EXPECT_TRUE(button->GetHeight() in HeightSwitchValueTest007() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_motion_blur_filter.cpp | 48 if (!image || image->GetWidth() == 0 || image->GetHeight() == 0) { in DrawImageRect() 66 Drawing::Rect rect = Drawing::Rect(0.f, 0.f, image->GetWidth(), image->GetHeight()); in DrawImageRect() 105 std::ceil(image->GetHeight() * FLOAT_IMAGE_SCALE), originImageInfo.GetColorType(), in DrawMotionBlur() 181 (curRect_.GetHeight() - lastRect_.GetHeight()) * motionBlurPara_->scaleAnchor[1]; in CaculateRect() 183 scaleSize[1] = curRect_.GetHeight() / lastRect_.GetHeight(); in CaculateRect() 185 if (curRect_.GetWidth() < lastRect_.GetWidth() && curRect_.GetHeight() < lastRect_.GetHeight()) { in CaculateRect() 202 motionBlurPara_->scaleAnchor[1] * curRect_.GetHeight() * FLOAT_IMAGE_SCAL in CaculateRect() [all...] |
H A D | rs_kawase_blur.cpp | 225 float scaleH = dst.GetHeight() / image->GetHeight();
in OutputOriginalImage() 281 int height = std::max(static_cast<int>(std::ceil(param.dst.GetHeight())), input->GetHeight());
in ApplyKawaseBlur() 300 float scaleH = static_cast<float>(scaledInfo.GetHeight()) / input->GetHeight();
in ExecutePingPongBlur() 317 scaledInfo.GetWidth(), scaledInfo.GetHeight()};
in ExecutePingPongBlur() 338 scaledInfo.GetWidth(), scaledInfo.GetHeight()};
in ExecutePingPongBlur() 362 dst.GetHeight() / blurImage->GetHeight());
in ApplyBlur() [all...] |
/foundation/arkui/ui_lite/frameworks/layout/ |
H A D | flex_layout.cpp | 95 GetStartPos(GetHeight(), pos, interval, count, columnsHeight, columnsChildNum); in GetColumnStartPos() 117 totalValidLength += (child->GetRelativeRect().GetHeight() + top + bottom); in CalValidLength() 177 height = MATH_MAX(height, child->GetRelativeRect().GetHeight() + top + bottom); in GetRowMaxHeight() 242 posY = GetHeight() - child->GetRelativeRect().GetHeight() - bottom - offset; in GetCrossAxisPosY() 251 posY = (GetHeight() - child->GetRelativeRect().GetHeight() - top - bottom) / 2 + top + offset; // 2: half in GetCrossAxisPosY() 329 if ((pos + child->GetRelativeRect().GetHeight() + bottom) > GetHeight()) { in CalColumnCount() 333 pos += child->GetRelativeRect().GetHeight() in CalColumnCount() [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_path_test.cpp | 77 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path1)->GetBounds().GetHeight(), 1.5)); in HWTEST_F() 95 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path2)->GetBounds().GetHeight(), 40.0)); in HWTEST_F() 113 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path3)->GetBounds().GetHeight(), 0.0)); in HWTEST_F() 131 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path4)->GetBounds().GetHeight(), 0.0)); in HWTEST_F() 149 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path5)->GetBounds().GetHeight(), 50.5)); in HWTEST_F() 167 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path6)->GetBounds().GetHeight(), 70.6)); in HWTEST_F() 185 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path)->GetBounds().GetHeight(), 40.0)); in HWTEST_F() 205 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(pathCopy)->GetBounds().GetHeight(), 40.0)); in HWTEST_F() 228 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path)->GetBounds().GetHeight(), 200.0)); in HWTEST_F() 255 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path)->GetBounds().GetHeight(), 200. in HWTEST_F() [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/ |
H A D | image_source_ai_sr_hdr_test.cpp | 117 jpegHeight = pixelMap->GetHeight(); in HWTEST_F() 130 ASSERT_EQ(desiredHeight, pixelMap->GetHeight()); in HWTEST_F() 157 jpegHeight = pixelMap->GetHeight(); in HWTEST_F() 170 ASSERT_EQ(desiredHeight, pixelMap->GetHeight()); in HWTEST_F() 197 jpegHeight = pixelMap->GetHeight(); in HWTEST_F() 209 ASSERT_EQ(desiredHeight, pixelMap->GetHeight()); in HWTEST_F() 235 jpegHeight = pixelMap->GetHeight(); in HWTEST_F() 247 ASSERT_EQ(desiredHeight, pixelMap->GetHeight()); in HWTEST_F() 273 jpegHeight = pixelMap->GetHeight(); in HWTEST_F() 285 ASSERT_EQ(desiredHeight, pixelMap->GetHeight()); in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/drawing_engine/ |
H A D | software_render_backend.cpp | 27 if ((buffer == nullptr) || (buffer->GetWidth() <= 0) || (buffer->GetHeight() <= 0)) { in AcquireSkCanvas() 38 SkImageInfo::Make(buffer->GetWidth(), buffer->GetHeight(), kRGBA_8888_SkColorType, kPremul_SkAlphaType); in AcquireSkCanvas() 39 auto uniqueCanvasPtr = SkCanvas::MakeRasterDirect(info, addr, buffer->GetSize() / buffer->GetHeight()); in AcquireSkCanvas()
|
/foundation/distributedhardware/distributed_camera/services/data_process/src/pipeline_node/scale_conversion/ |
H A D | scale_convert_process_common.cpp | 42 processedConfig_.SetWidthAndHeight(targetConfig.GetWidth(), targetConfig.GetHeight()); in InitNode() 49 sourceConfig.GetVideoformat(), sourceConfig.GetWidth(), sourceConfig.GetHeight(), in InitNode() 50 targetConfig.GetVideoformat(), targetConfig.GetWidth(), targetConfig.GetHeight()); in InitNode() 55 int32_t ret = av_image_alloc(srcData_, srcLineSize_, sourceConfig_.GetWidth(), sourceConfig_.GetHeight(), in InitNode() 62 dstBuffSize_ = av_image_alloc(dstData_, dstLineSize_, processedConfig_.GetWidth(), processedConfig_.GetHeight(), in InitNode() 69 swsContext_ = sws_getContext(sourceConfig_.GetWidth(), sourceConfig_.GetHeight(), in InitNode() 70 GetAVPixelFormat(sourceConfig_.GetVideoformat()), processedConfig_.GetWidth(), processedConfig_.GetHeight(), in InitNode() 84 (sourceConfig_.GetHeight() != targetConfig.GetHeight()) || in IsConvertible() 129 processedConfig_.GetWidth(), processedConfig_.GetHeight(), processedConfig in ProcessData() [all...] |
H A D | scale_convert_process.cpp | 41 processedConfig_.SetWidthAndHeight(targetConfig.GetWidth(), targetConfig.GetHeight()); in InitNode() 48 sourceConfig.GetVideoformat(), sourceConfig.GetWidth(), sourceConfig.GetHeight(), in InitNode() 49 targetConfig.GetVideoformat(), targetConfig.GetWidth(), targetConfig.GetHeight()); in InitNode() 59 (sourceConfig_.GetHeight() != targetConfig.GetHeight()) || in IsConvertible() 94 processedConfig_.GetWidth(), processedConfig_.GetHeight(), processedConfig_.GetVideoformat(), in ProcessData() 95 sourceConfig_.GetWidth(), sourceConfig_.GetHeight(), sourceConfig_.GetVideoformat()); in ProcessData() 109 processedConfig_.GetHeight(), processedConfig_.GetWidth(), processedConfig_.GetHeight(), in ProcessData() 110 processedConfig_.GetWidth() * processedConfig_.GetHeight(), dstBu in ProcessData() [all...] |
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/ |
H A D | path_test.cpp | 30 Point a(rect.GetLeft() + rect.GetWidth() / 2.0f, rect.GetTop() + rect.GetHeight() / 2.0f - len * std::cos(18.0f)); in TestDrawStar() 119 path.MoveTo(rect.GetLeft(), rect.GetTop() + rect.GetHeight() / 2.0f); in TestMoveTo() 120 path.LineTo(rect.GetRight(), rect.GetTop() + rect.GetHeight() / 2.0f); in TestMoveTo() 142 linePoints.emplace_back(Point(rect.GetLeft(), rect.GetTop() + rect.GetHeight() / 4.0f)); in TestLineTo() 143 linePoints.emplace_back(Point(rect.GetRight(), rect.GetTop() + rect.GetHeight() / 4.0f)); in TestLineTo() 144 linePoints.emplace_back(Point(rect.GetLeft(), rect.GetBottom() - rect.GetHeight() / 4.0f)); in TestLineTo() 145 linePoints.emplace_back(Point(rect.GetRight(), rect.GetBottom() - rect.GetHeight() / 4.0f)); in TestLineTo() 168 path.MoveTo(rect.GetLeft(), rect.GetTop() + rect.GetHeight() / 2.0f); in TestArcTo() 248 Rect rect2(rect.GetLeft() + rect.GetWidth() / 4.0f, rect.GetTop() + rect.GetHeight() / 4.0f, in TestAddRect() 249 rect.GetRight() - rect.GetWidth() / 4.0f, rect.GetBottom() - rect.GetHeight() / 4. in TestAddRect() [all...] |
H A D | pen_test.cpp | 117 Point a(rect.GetLeft(), rect.GetTop() + rect.GetHeight() * 2.0f / MARGINE_SCALE_SIZE); in TestPenMiterLimit() 119 Point b(rect.GetLeft(), rect.GetTop() + rect.GetHeight() * 3.0f / MARGINE_SCALE_SIZE); in TestPenMiterLimit() 122 rect.GetTop() + rect.GetHeight() * 2.5f / MARGINE_SCALE_SIZE); in TestPenMiterLimit() 130 canvas.Translate(0, rect.GetHeight() * 3.0f / MARGINE_SCALE_SIZE); in TestPenMiterLimit() 136 canvas.Translate(0, rect.GetHeight() * 3.0f / MARGINE_SCALE_SIZE); in TestPenMiterLimit() 154 Point a(rect.GetLeft() + rect.GetWidth() / 4.0f, rect.GetTop() + rect.GetHeight() / 4.0f); in TestPenCapStyle() 156 Point b(rect.GetRight() - rect.GetWidth() / 4.0f, rect.GetTop() + rect.GetHeight() / 4.0f); in TestPenCapStyle() 161 Point c(rect.GetLeft() + rect.GetWidth() / 4.0f, rect.GetTop() + rect.GetHeight() / 2.0f); in TestPenCapStyle() 163 Point d(rect.GetRight() - rect.GetWidth() / 4.0f, rect.GetTop() + rect.GetHeight() / 2.0f); in TestPenCapStyle() 168 Point e(rect.GetLeft() + rect.GetWidth() / 4.0f, rect.GetBottom() - rect.GetHeight() / 4. in TestPenCapStyle() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | paragraph_manager.cpp | 19 float ParagraphManager::GetHeight() const in GetHeight() function in OHOS::Ace::NG::ParagraphManager 25 res += paragraph->GetHeight(); in GetHeight() 125 if (LessOrEqual(offset.GetY(), info.paragraph->GetHeight()) || in GetIndex() 130 offset.SetY(offset.GetY() - info.paragraph->GetHeight()); in GetIndex() 147 if (LessOrEqual(offset.GetY(), info.paragraph->GetHeight()) || in GetGlyphPositionAtCoordinate() 158 offset.SetY(offset.GetY() - info.paragraph->GetHeight()); in GetGlyphPositionAtCoordinate() 175 if (LessOrEqual(offset.GetY(), info.paragraph->GetHeight())) { in GetGlyphIndexByCoordinate() 179 offset.SetY(offset.GetY() - info.paragraph->GetHeight()); in GetGlyphIndexByCoordinate() 228 offsetY += info.paragraph->GetHeight(); in CalcCaretMetricsByPosition() 241 height += paragraphInfo.paragraph->GetHeight(); in GetLineMetricsByRectF() [all...] |
/foundation/graphic/surface_lite/test/unittest/ |
H A D | graphic_surface_test.cpp | 212 EXPECT_EQ(0, surface->GetHeight()); in HWTEST_F() 219 EXPECT_EQ(0, surface->GetHeight()); in HWTEST_F() 224 EXPECT_EQ(0, surface->GetHeight()); in HWTEST_F() 229 EXPECT_EQ(1080, surface->GetHeight()); in HWTEST_F() 234 EXPECT_EQ(1080, surface->GetHeight()); in HWTEST_F() 239 EXPECT_EQ(1080, surface->GetHeight()); in HWTEST_F() 244 EXPECT_EQ(1080, surface->GetHeight()); in HWTEST_F() 249 EXPECT_EQ(7680, surface->GetHeight()); in HWTEST_F() 254 EXPECT_EQ(720, surface->GetHeight()); in HWTEST_F() 287 EXPECT_EQ(0, surface->GetHeight()); in HWTEST_F() [all...] |
/foundation/graphic/graphic_3d/3d_widget_adapter/include/data_type/geometry/ |
H A D | cube.h | 38 float GetHeight() const in GetHeight() function in OHOS::Render3D::Cube 53 && GetHeight() == m.GetHeight()
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_swipe_view.cpp | 84 while (childrenTail_->GetY() + childrenTail_->GetHeight() <= GetHeight()) { in MoveHeadOrTailChild() 140 int16_t height = GetHeight(); in DragYInner() 143 } else if (height - (childrenTail_->GetY() + childrenTail_->GetHeight() + distance) > blankSize_) { in DragYInner() 144 distance = height - blankSize_ - childrenTail_->GetY() - childrenTail_->GetHeight(); in DragYInner() 286 yOffset = (GetHeight() >> 1) - (dstView->GetY() + (dstView->GetHeightWithMargin() >> 1)); in SwitchToPage() 495 if ((childRect.GetHeight() - childrenHead_->GetHeight() >= GetHeight()) && in IsNeedLoop() 496 (childRect.GetHeight() in IsNeedLoop() [all...] |
H A D | ui_view.cpp | 98 rect.SetHeight(rect.GetHeight() - r); in OnPreDraw() 209 int16_t height = GetHeight(); in SetStyle() 222 SetHeight(rect.GetHeight()); in UpdateRectInfo() 232 SetHeight(rect.GetHeight()); in UpdateRectInfo() 812 contentRect.SetHeight(GetHeight()); in GetContentRect() 822 contentRect.SetHeight(GetHeight()); in GetOrigContentRect() 836 return Rect(x, y, x + rect_.GetWidth() - 1, y + rect_.GetHeight() - 1); in GetOrigRect() 867 absoluteRect.SetHeight(visibleRect_->GetHeight()); in GetVisibleRect() 917 if (GetHeight() != height) { in SetHeight() 929 if ((GetParent() != nullptr) && (GetParent()->GetHeight() > in SetHeightPercent() 935 int16_t UIView::GetHeight() GetHeight() function in OHOS::UIView [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | canvas_modifier.cpp | 41 rsDrawCmdList->GetWidth(), rsDrawCmdList->GetHeight(), drawCmdList->GetWidth(), drawCmdList->GetHeight(), in onDraw() 45 drawCmdSize_.SetHeight(drawCmdList->GetHeight()); in onDraw() 47 rsDrawCmdList->SetHeight(drawCmdList->GetHeight()); in onDraw() 52 dumpInfo.height = drawCmdList->GetHeight(); in onDraw()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_draw_window_cache.cpp | 43 auto windowSurface = mainSurface->MakeSurface(bounds.GetWidth(), bounds.GetHeight()); in DrawAndCacheWindowContent() 99 if (ROSEN_EQ(image_->GetWidth(), 0) || ROSEN_EQ(image_->GetHeight(), 0)) { in DealWithCachedWindow() 113 float scaleY = boundSize.GetHeight() / static_cast<float>(image_->GetHeight()); in DealWithCachedWindow() 125 auto gravityTranslate = surfaceDrawable->GetGravityTranslate(image_->GetWidth(), image_->GetHeight()); in DealWithCachedWindow()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libwebpplugin/src/ |
H A D | webp_encoder.cpp | 273 webpPicture.height = pixelMap.GetHeight(); // dimensions (less or equal to WEBP_MAX_DIMENSION) in SetEncodeConfig() 411 const int32_t height = pixelMap.GetHeight(); in DoTransformMemcpy() 434 const ImageInfo srcInfo = MakeImageInfo(pixelMap.GetWidth(), pixelMap.GetHeight(), in DoTransformRGBX() 439 const ImageInfo dstInfo = MakeImageInfo(pixelMap.GetWidth(), pixelMap.GetHeight(), in DoTransformRGBX() 466 const ImageInfo srcInfo = MakeImageInfo(pixelMap.GetWidth(), pixelMap.GetHeight(), in DoTransformRgbA() 471 const ImageInfo dstInfo = MakeImageInfo(pixelMap.GetWidth(), pixelMap.GetHeight(), in DoTransformRgbA() 498 const ImageInfo srcInfo = MakeImageInfo(pixelMap.GetWidth(), pixelMap.GetHeight(), in DoTransformBGRX() 503 const ImageInfo dstInfo = MakeImageInfo(pixelMap.GetWidth(), pixelMap.GetHeight(), in DoTransformBGRX() 530 const ImageInfo srcInfo = MakeImageInfo(pixelMap.GetWidth(), pixelMap.GetHeight(), in DoTransformBGRA() 535 const ImageInfo dstInfo = MakeImageInfo(pixelMap.GetWidth(), pixelMap.GetHeight(), in DoTransformBGRA() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | svg_canvas_image.cpp | 31 svgDom_->DrawImage(canvas, GetPaintConfig().imageFit_, Size(srcRect.GetWidth(), srcRect.GetHeight())); in DrawToRSCanvas() 37 SizeF contentSize(dstRect.GetWidth(), dstRect.GetHeight()); in DrawRect() 38 auto clipRect = RSRect(0, 0, dstRect.GetWidth(), dstRect.GetHeight()); in DrawRect()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | toggle_model_impl.cpp | 38 checkboxComponent->SetHeight(checkBoxTheme->GetHeight() - verticalPadding * 2); in Create() 51 switchComponent->SetHeight(switchTheme->GetHeight() - verticalPadding * 2); in Create() 76 box->SetHeight(checkBoxTheme->GetHeight()); in Create() 83 box->SetHeight(switchTheme->GetHeight()); in Create() 89 box->SetHeight(toggleTheme->GetHeight().Value(), toggleTheme->GetHeight().Unit()); in Create() 188 auto height = checkableComponent->GetHeight(); in SetPadding()
|
/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_view_unit_test.cpp | 275 EXPECT_EQ(view_->GetVisibleRect().GetHeight(), DEFAULE_HEIGHT); in HWTEST_F() 309 EXPECT_EQ(view_->GetHeight(), 0); in HWTEST_F() 311 EXPECT_EQ(view_->GetHeight(), DEFAULE_HEIGHT); in HWTEST_F() 327 EXPECT_EQ(view_->GetHeight(), 0); in HWTEST_F() 330 EXPECT_EQ(view_->GetHeight(), DEFAULE_HEIGHT); in HWTEST_F() 403 EXPECT_EQ(view_->GetHeight(), 0); in HWTEST_F() 408 EXPECT_EQ(view_->GetHeight(), DEFAULE_HEIGHT); in HWTEST_F() 427 EXPECT_EQ(view_->GetHeight(), DEFAULE_HEIGHT); in HWTEST_F() 470 EXPECT_EQ(view_->GetHeight(), DEFAULE_HEIGHT); in HWTEST_F() 477 EXPECT_EQ(view_->GetHeight(), DEFAULE_HEIGH in HWTEST_F() [all...] |
/foundation/arkui/ui_lite/test/unittest/dfx/ |
H A D | event_injector_unit_test.cpp | 137 config.rect.SetRect(0, 0, Screen::GetInstance().GetWidth() - 1, Screen::GetInstance().GetHeight() - 1); in TestApp() 153 rootView_->SetPosition(0, 0, Screen::GetInstance().GetWidth(), Screen::GetInstance().GetHeight()); in TestApp() 155 layout_->SetPosition(0, 0, Screen::GetInstance().GetWidth(), Screen::GetInstance().GetHeight()); in TestApp() 243 static_cast<int16_t>(clickView_->GetRect().GetY() + clickView_->GetHeight() / 2)}; in HWTEST_F() 269 static_cast<int16_t>(dragView_->GetRect().GetY() + dragView_->GetHeight() / 2)}; in HWTEST_F() 272 static_cast<int16_t>(dragView_->GetRect().GetY() + dragView_->GetHeight() / 2)}; in HWTEST_F() 297 static_cast<int16_t>(dragView_->GetRect().GetY() + dragView_->GetHeight() / 2)}; in HWTEST_F() 300 static_cast<int16_t>(dragView_->GetRect().GetY() + dragView_->GetHeight() / 2)}; in HWTEST_F() 319 static_cast<int16_t>(dragView_->GetRect().GetY() + dragView_->GetHeight() / 2)}; in HWTEST_F() 322 static_cast<int16_t>(dragView_->GetRect().GetY() + dragView_->GetHeight() / in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/ |
H A D | rs_filter_cache_manager.cpp | 124 canvas.GetHeight() == dstRect.GetHeight() && dstRect.GetLeft() == 0 && dstRect.GetTop() == 0); in CanDiscardCanvas() 144 cachedSnapshot_->cachedImage_->GetHeight()); in DrawFilterWithoutSnapshot() 231 if (RSSystemProperties::GetImageGpuResourceCacheEnable(snapshot->GetWidth(), snapshot->GetHeight())) { in TakeSnapshot() 233 snapshot->GetHeight()); in TakeSnapshot() 239 snapshotRegion_ = RectI(srcRect.GetLeft(), srcRect.GetTop(), srcRect.GetWidth(), srcRect.GetHeight()); in TakeSnapshot() 257 auto offscreenSurface = surface->MakeSurface(offscreenRect.GetWidth(), offscreenRect.GetHeight()); in GenerateFilteredSnapshot() 265 auto src = Drawing::Rect(0, 0, cachedSnapshot_->cachedRect_.GetWidth(), cachedSnapshot_->cachedRect_.GetHeight()); in GenerateFilteredSnapshot() 266 auto dst = Drawing::Rect(0, 0, offscreenRect.GetWidth(), offscreenRect.GetHeight()); in GenerateFilteredSnapshot() 275 filteredSnapshot->GetWidth(), filteredSnapshot->GetHeight())) { in GenerateFilteredSnapshot() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/declaration/piece/ |
H A D | piece_declaration.cpp | 44 sizeStyle.height = theme->GetHeight(); in InitializeStyle() 57 borderStyle.border.SetBorderRadius(Radius(theme->GetHeight() / 2.0)); in InitializeStyle() 76 sizeStyle.height = theme->GetHeight(); in InitializeStyle() 89 borderStyle.border.SetBorderRadius(Radius(theme->GetHeight() / 2.0)); in InitializeStyle()
|