Home
last modified time | relevance | path

Searched refs:dWidth (Results 1 - 22 of 22) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_ellipse_ffi.cpp36 OHOS::Ace::Dimension dWidth(width, static_cast<OHOS::Ace::DimensionUnit>(widthUnit)); in FfiOHOSAceFrameworkEllipseInsCreate()
38 auto ret_ = OHOS::FFI::FFIData::Create<OHOS::Ace::Framework::NativeEllipse>(dWidth, dHeight); in FfiOHOSAceFrameworkEllipseInsCreate()
H A Dcj_circle_ffi.cpp36 OHOS::Ace::Dimension dWidth(width, static_cast<OHOS::Ace::DimensionUnit>(widthUnit)); in FfiOHOSAceFrameworkCircleInsCreate()
38 auto ret_ = OHOS::FFI::FFIData::Create<OHOS::Ace::Framework::NativeCircle>(dWidth, dHeight); in FfiOHOSAceFrameworkCircleInsCreate()
H A Dcj_path_ffi.cpp57 OHOS::Ace::Dimension dWidth(width, static_cast<OHOS::Ace::DimensionUnit>(widthUnit)); in FfiOHOSAceFrameworkPathInsCreateWithSize()
63 nativePath->SetWidth(dWidth); in FfiOHOSAceFrameworkPathInsCreateWithSize()
H A Dcj_shape_ffi.cpp230 Dimension dWidth(width, static_cast<DimensionUnit>(widthUnit)); in FfiOHOSAceFrameworkShapeSetInsSize()
232 if (LessNotEqual(dWidth.Value(), 0.0)) { in FfiOHOSAceFrameworkShapeSetInsSize()
233 dWidth.SetValue(0.0); in FfiOHOSAceFrameworkShapeSetInsSize()
238 context->SetSize(dWidth, dHeight); in FfiOHOSAceFrameworkShapeSetInsSize()
H A Dcj_rect_ffi.cpp39 OHOS::Ace::Dimension dWidth(width, static_cast<OHOS::Ace::DimensionUnit>(widthUnit)); in FfiOHOSAceFrameworkRectInsCreate()
41 auto ret_ = OHOS::FFI::FFIData::Create<OHOS::Ace::Framework::NativeRect>(dWidth, dHeight); in FfiOHOSAceFrameworkRectInsCreate()
H A Dcj_canvas_ffi.cpp760 .dWidth = PipelineBase::Vp2PxWithCurrentDensity(imageInfo.dWidth), in FfiOHOSAceFrameworkRenderingContextDrawImage()
800 .dWidth = PipelineBase::Vp2PxWithCurrentDensity(imageInfo.dWidth), in FfiOHOSAceFrameworkRenderingContextDrawImageWithPixelMap()
H A Dcj_canvas_ffi.h38 double dWidth; member
/foundation/window/window_manager/test/systemtest/dms/
H A Ddisplay_test_utils.cpp47 int32_t dWidth = display->GetWidth(); in SizeEqualToDisplay() local
50 bool res = ((cur.width == dWidth) && (cur.height == dHeight)); in SizeEqualToDisplay()
52 WLOGFE("DisplaySize: %d %d, CurrentSize: %d %d", dWidth, dHeight, cur.width, cur.height); in SizeEqualToDisplay()
H A Ddisplay_change_test.cpp156 uint32_t dWidth = static_cast<uint32_t>(display->GetWidth()); in DisplaySizeEqual() local
159 dWidth, dHeight, curInfo->width_, curInfo->height_); in DisplaySizeEqual()
160 return ((curInfo->width_ == dWidth) && (curInfo->height_ == dHeight)); in DisplaySizeEqual()
/foundation/window/window_manager/dm/test/unittest/
H A Ddisplay_change_unit_test.cpp81 uint32_t dWidth = static_cast<uint32_t>(display->GetWidth()); in DisplaySizeEqual() local
84 dWidth, dHeight, curInfo->width_, curInfo->height_); in DisplaySizeEqual()
85 return ((curInfo->width_ == dWidth) && (curInfo->height_ == dHeight)); in DisplaySizeEqual()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/plugin_test/
H A Dext_decoder_test.cpp97 int dWidth = 0; in HWTEST_F() local
101 bool ret = extDecoder->GetScaledSize(dWidth, dHeight, scale); in HWTEST_F()
116 int dWidth = 0; in HWTEST_F() local
120 bool ret = extDecoder->GetHardwareScaledSize(dWidth, dHeight, scale); in HWTEST_F()
853 int dWidth = 2; in HWTEST_F() local
855 bool ret = extDecoder->GetHardwareScaledSize(dWidth, dHeight, scale); in HWTEST_F()
857 dWidth = 4; in HWTEST_F()
859 ret = extDecoder->GetHardwareScaledSize(dWidth, dHeight, scale); in HWTEST_F()
861 dWidth = 6; in HWTEST_F()
863 ret = extDecoder->GetHardwareScaledSize(dWidth, dHeigh in HWTEST_F()
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imageplugin_fuzzer/src/
H A Dimage_plugin_fuzz.cpp62 int dWidth; in ExtDecoderFuncTest001() local
65 extDecoder->GetScaledSize(dWidth, dHeight, scale); in ExtDecoderFuncTest001()
66 extDecoder->GetHardwareScaledSize(dWidth, dHeight, scale); in ExtDecoderFuncTest001()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/
H A Dext_decoder.h92 bool GetScaledSize(int &dWidth, int &dHeight, float &scale);
93 bool GetHardwareScaledSize(int &dWidth, int &dHeight, float &scale);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Dcanvas_paint_method.cpp143 canvasImage.dx, canvasImage.dy, canvasImage.dx + canvasImage.dWidth, canvasImage.dy + canvasImage.dHeight); in DrawPixelMap()
172 dstRect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dx + canvasImage.dWidth, in DrawPixelMapInternal()
179 dstRect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dx + canvasImage.dWidth, in DrawPixelMapInternal()
H A Dcustom_paint_paint_method.cpp471 dstRect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx, in DrawSvgImage()
478 dstRect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx, in DrawSvgImage()
516 canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx, canvasImage.dHeight + canvasImage.dy); in DrawImageInternal()
528 RSRect rect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx, in DrawImageInternal()
534 RSRect dstRect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx, in DrawImageInternal()
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/
H A Drosen_render_offscreen_canvas.cpp616 dstRect = SkRect::MakeXYWH(canvasImage.dx, canvasImage.dy, canvasImage.dWidth, canvasImage.dHeight); in DrawSvgImage()
621 dstRect = SkRect::MakeXYWH(canvasImage.dx, canvasImage.dy, canvasImage.dWidth, canvasImage.dHeight); in DrawSvgImage()
653 dstRect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx, in DrawSvgImage()
660 dstRect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx, in DrawSvgImage()
708 SkRect skRect = SkRect::MakeXYWH(canvasImage.dx, canvasImage.dy, canvasImage.dWidth, canvasImage.dHeight); in DrawImage()
719 SkRect rect = SkRect::MakeXYWH(canvasImage.dx, canvasImage.dy, canvasImage.dWidth, canvasImage.dHeight); in DrawImage()
725 SkRect dstRect = SkRect::MakeXYWH(canvasImage.dx, canvasImage.dy, canvasImage.dWidth, canvasImage.dHeight); in DrawImage()
751 canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx, canvasImage.dHeight + canvasImage.dy); in DrawImage()
762 RSRect rect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx, in DrawImage()
770 RSRect dstRect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dWidth in DrawImage()
[all...]
H A Drosen_render_custom_paint.cpp2422 dstRect = SkRect::MakeXYWH(canvasImage.dx, canvasImage.dy, canvasImage.dWidth, canvasImage.dHeight);
2427 dstRect = SkRect::MakeXYWH(canvasImage.dx, canvasImage.dy, canvasImage.dWidth, canvasImage.dHeight);
2459 dstRect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx,
2466 dstRect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx,
2512 SkRect rect = SkRect::MakeXYWH(canvasImage.dx, canvasImage.dy, canvasImage.dWidth, canvasImage.dHeight);
2518 SkRect dstRect = SkRect::MakeXYWH(canvasImage.dx, canvasImage.dy, canvasImage.dWidth, canvasImage.dHeight);
2536 RSRect rect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx,
2544 RSRect dstRect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx,
2586 SkRect rect = SkRect::MakeXYWH(canvasImage.dx, canvasImage.dy, canvasImage.dWidth, canvasImage.dHeight);
2592 SkRect dstRect = SkRect::MakeXYWH(canvasImage.dx, canvasImage.dy, canvasImage.dWidth, canvasImag
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dpaint_state.h104 double dWidth = 0.0; member
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_decoder.cpp391 bool ExtDecoder::GetScaledSize(int &dWidth, int &dHeight, float &scale) in HeapMemAlloc() argument
403 finalScale = Max(static_cast<float>(dWidth) / info_.width(), in HeapMemAlloc()
407 dWidth = scaledDimension.width(); in HeapMemAlloc()
411 IMAGE_LOGD("IsSupportScaleOnDecode [%{public}d x %{public}d]", dWidth, dHeight); in HeapMemAlloc()
417 bool ExtDecoder::GetHardwareScaledSize(int &dWidth, int &dHeight, float &scale) { in HeapMemAlloc() argument
430 finalScale = Max(static_cast<float>(dWidth) / oriWidth, in HeapMemAlloc()
443 dWidth = (oriWidth + sampleSize_ - NUM_ONE) / sampleSize_; in HeapMemAlloc()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/
H A Djs_canvas_renderer.cpp543 // 5 parameters: drawImage(image, dx, dy, dWidth, dHeight) in ExtractInfoToImage()
548 info.GetDoubleArg(3, image.dWidth); in ExtractInfoToImage()
552 image.dWidth *= density; in ExtractInfoToImage()
555 // 9 parameters: drawImage(image, sx, sy, sWidth, sHeight, dx, dy, dWidth, dHeight) in ExtractInfoToImage()
564 info.GetDoubleArg(7, image.dWidth); in ExtractInfoToImage()
576 image.dWidth *= density; in ExtractInfoToImage()
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_canvas_bridge.cpp1138 image.dWidth = GetJsDoubleVal(runtime, argv[3]); in JsDrawImage()
1149 image.dWidth = GetJsDoubleVal(runtime, argv[7]); in JsDrawImage()
H A Djsi_offscreen_canvas_bridge.cpp943 image.dWidth = GetJsDoubleVal(runtime, argv[3]); in JsDrawImage()
954 image.dWidth = GetJsDoubleVal(runtime, argv[7]); in JsDrawImage()

Completed in 38 milliseconds