/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_ellipse_ffi.cpp | 36 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 D | cj_circle_ffi.cpp | 36 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 D | cj_path_ffi.cpp | 57 OHOS::Ace::Dimension dWidth(width, static_cast<OHOS::Ace::DimensionUnit>(widthUnit)); in FfiOHOSAceFrameworkPathInsCreateWithSize() 63 nativePath->SetWidth(dWidth); in FfiOHOSAceFrameworkPathInsCreateWithSize()
|
H A D | cj_shape_ffi.cpp | 230 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 D | cj_rect_ffi.cpp | 39 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 D | cj_canvas_ffi.cpp | 760 .dWidth = PipelineBase::Vp2PxWithCurrentDensity(imageInfo.dWidth), in FfiOHOSAceFrameworkRenderingContextDrawImage() 800 .dWidth = PipelineBase::Vp2PxWithCurrentDensity(imageInfo.dWidth), in FfiOHOSAceFrameworkRenderingContextDrawImageWithPixelMap()
|
H A D | cj_canvas_ffi.h | 38 double dWidth; member
|
/foundation/window/window_manager/test/systemtest/dms/ |
H A D | display_test_utils.cpp | 47 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 D | display_change_test.cpp | 156 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 D | display_change_unit_test.cpp | 81 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 D | ext_decoder_test.cpp | 97 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 D | image_plugin_fuzz.cpp | 62 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 D | ext_decoder.h | 92 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 D | canvas_paint_method.cpp | 143 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 D | custom_paint_paint_method.cpp | 471 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 D | rosen_render_offscreen_canvas.cpp | 616 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 D | rosen_render_custom_paint.cpp | 2422 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 D | paint_state.h | 104 double dWidth = 0.0; member
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/ |
H A D | ext_decoder.cpp | 391 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 D | js_canvas_renderer.cpp | 543 // 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 D | jsi_canvas_bridge.cpp | 1138 image.dWidth = GetJsDoubleVal(runtime, argv[3]); in JsDrawImage() 1149 image.dWidth = GetJsDoubleVal(runtime, argv[7]); in JsDrawImage()
|
H A D | jsi_offscreen_canvas_bridge.cpp | 943 image.dWidth = GetJsDoubleVal(runtime, argv[3]); in JsDrawImage() 954 image.dWidth = GetJsDoubleVal(runtime, argv[7]); in JsDrawImage()
|