/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_ellipse_ffi.cpp | 37 OHOS::Ace::Dimension dHeight(height, static_cast<OHOS::Ace::DimensionUnit>(heightUnit)); in FfiOHOSAceFrameworkEllipseInsCreate() 38 auto ret_ = OHOS::FFI::FFIData::Create<OHOS::Ace::Framework::NativeEllipse>(dWidth, dHeight); in FfiOHOSAceFrameworkEllipseInsCreate()
|
H A D | cj_circle_ffi.cpp | 37 OHOS::Ace::Dimension dHeight(height, static_cast<OHOS::Ace::DimensionUnit>(heightUnit)); in FfiOHOSAceFrameworkCircleInsCreate() 38 auto ret_ = OHOS::FFI::FFIData::Create<OHOS::Ace::Framework::NativeCircle>(dWidth, dHeight); in FfiOHOSAceFrameworkCircleInsCreate()
|
H A D | cj_path_ffi.cpp | 58 OHOS::Ace::Dimension dHeight(height, static_cast<OHOS::Ace::DimensionUnit>(heightUnit)); in FfiOHOSAceFrameworkPathInsCreateWithSize() 64 nativePath->SetHeight(dHeight); in FfiOHOSAceFrameworkPathInsCreateWithSize()
|
H A D | cj_shape_ffi.cpp | 231 Dimension dHeight(height, static_cast<DimensionUnit>(heightUnit)); in FfiOHOSAceFrameworkShapeSetInsSize() 235 if (LessNotEqual(dHeight.Value(), 0.0)) { in FfiOHOSAceFrameworkShapeSetInsSize() 236 dHeight.SetValue(0.0); in FfiOHOSAceFrameworkShapeSetInsSize() 238 context->SetSize(dWidth, dHeight); in FfiOHOSAceFrameworkShapeSetInsSize()
|
H A D | cj_rect_ffi.cpp | 40 OHOS::Ace::Dimension dHeight(height, static_cast<OHOS::Ace::DimensionUnit>(heightUnit)); in FfiOHOSAceFrameworkRectInsCreate() 41 auto ret_ = OHOS::FFI::FFIData::Create<OHOS::Ace::Framework::NativeRect>(dWidth, dHeight); in FfiOHOSAceFrameworkRectInsCreate()
|
H A D | cj_canvas_ffi.cpp | 761 .dHeight = PipelineBase::Vp2PxWithCurrentDensity(imageInfo.dHeight), in FfiOHOSAceFrameworkRenderingContextDrawImage() 801 .dHeight = PipelineBase::Vp2PxWithCurrentDensity(imageInfo.dHeight) }; in FfiOHOSAceFrameworkRenderingContextDrawImageWithPixelMap()
|
H A D | cj_canvas_ffi.h | 39 double dHeight; member
|
/foundation/window/window_manager/test/systemtest/dms/ |
H A D | display_test_utils.cpp | 48 int32_t dHeight = display->GetHeight(); 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 | 157 uint32_t dHeight = static_cast<uint32_t>(display->GetHeight()); 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 | 82 uint32_t dHeight = static_cast<uint32_t>(display->GetHeight()); 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 | 98 int dHeight = 0;
in HWTEST_F() local 101 bool ret = extDecoder->GetScaledSize(dWidth, dHeight, scale);
in HWTEST_F() 117 int dHeight = 0;
in HWTEST_F() local 120 bool ret = extDecoder->GetHardwareScaledSize(dWidth, dHeight, scale);
in HWTEST_F() 854 int dHeight = 1;
in HWTEST_F() local 855 bool ret = extDecoder->GetHardwareScaledSize(dWidth, dHeight, scale);
in HWTEST_F() 858 dHeight = 2;
in HWTEST_F() 859 ret = extDecoder->GetHardwareScaledSize(dWidth, dHeight, scale);
in HWTEST_F() 862 dHeight = 3;
in HWTEST_F() 863 ret = extDecoder->GetHardwareScaledSize(dWidth, dHeight, scal in HWTEST_F() [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imageplugin_fuzzer/src/ |
H A D | image_plugin_fuzz.cpp | 63 int dHeight; 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() 173 canvasImage.dy + canvasImage.dHeight); in DrawPixelMapInternal() 180 canvasImage.dy + canvasImage.dHeight); in DrawPixelMapInternal()
|
H A D | custom_paint_paint_method.cpp | 472 canvasImage.dHeight + canvasImage.dy); in DrawSvgImage() 479 canvasImage.dHeight + canvasImage.dy); in DrawSvgImage() 516 canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx, canvasImage.dHeight + canvasImage.dy); in DrawImageInternal() 529 canvasImage.dHeight + canvasImage.dy); in DrawImageInternal() 535 canvasImage.dHeight + canvasImage.dy); 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() 654 canvasImage.dHeight + canvasImage.dy); in DrawSvgImage() 661 canvasImage.dHeight + canvasImage.dy); 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() 763 canvasImage.dHeight + canvasImage.dy); in DrawImage() 771 canvasImage.dHeight 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); 2460 canvasImage.dHeight + canvasImage.dy); 2467 canvasImage.dHeight + canvasImage.dy); 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); 2537 canvasImage.dHeight + canvasImage.dy); 2545 canvasImage.dHeight + canvasImage.dy); 2586 SkRect rect = SkRect::MakeXYWH(canvasImage.dx, canvasImage.dy, canvasImage.dWidth, canvasImage.dHeight); 2592 SkRect dstRect = SkRect::MakeXYWH(canvasImage.dx, canvasImage.dy, canvasImage.dWidth, canvasImage.dHeight); [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | paint_state.h | 105 double dHeight = 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 404 static_cast<float>(dHeight) / info_.height());
in HeapMemAlloc() 408 dHeight = scaledDimension.height();
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 431 static_cast<float>(dHeight) / oriHeight);
in HeapMemAlloc() 444 dHeight = (oriHeight + 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() 549 info.GetDoubleArg(4, image.dHeight); in ExtractInfoToImage() 553 image.dHeight *= density; in ExtractInfoToImage() 555 // 9 parameters: drawImage(image, sx, sy, sWidth, sHeight, dx, dy, dWidth, dHeight) in ExtractInfoToImage() 565 info.GetDoubleArg(8, image.dHeight); in ExtractInfoToImage() 577 image.dHeight *= density; in ExtractInfoToImage()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_canvas_bridge.cpp | 1139 image.dHeight = GetJsDoubleVal(runtime, argv[4]); in JsDrawImage() 1150 image.dHeight = GetJsDoubleVal(runtime, argv[8]); in JsDrawImage()
|
H A D | jsi_offscreen_canvas_bridge.cpp | 944 image.dHeight = GetJsDoubleVal(runtime, argv[4]); in JsDrawImage() 955 image.dHeight = GetJsDoubleVal(runtime, argv[8]); in JsDrawImage()
|