Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_ellipse_ffi.cpp37 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 Dcj_circle_ffi.cpp37 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 Dcj_path_ffi.cpp58 OHOS::Ace::Dimension dHeight(height, static_cast<OHOS::Ace::DimensionUnit>(heightUnit)); in FfiOHOSAceFrameworkPathInsCreateWithSize()
64 nativePath->SetHeight(dHeight); in FfiOHOSAceFrameworkPathInsCreateWithSize()
H A Dcj_shape_ffi.cpp231 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 Dcj_rect_ffi.cpp40 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 Dcj_canvas_ffi.cpp761 .dHeight = PipelineBase::Vp2PxWithCurrentDensity(imageInfo.dHeight), in FfiOHOSAceFrameworkRenderingContextDrawImage()
801 .dHeight = PipelineBase::Vp2PxWithCurrentDensity(imageInfo.dHeight) }; in FfiOHOSAceFrameworkRenderingContextDrawImageWithPixelMap()
H A Dcj_canvas_ffi.h39 double dHeight; member
/foundation/window/window_manager/test/systemtest/dms/
H A Ddisplay_test_utils.cpp48 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 Ddisplay_change_test.cpp157 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 Ddisplay_change_unit_test.cpp82 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 Dext_decoder_test.cpp98 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 Dimage_plugin_fuzz.cpp63 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 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()
173 canvasImage.dy + canvasImage.dHeight); in DrawPixelMapInternal()
180 canvasImage.dy + canvasImage.dHeight); in DrawPixelMapInternal()
H A Dcustom_paint_paint_method.cpp472 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 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()
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 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);
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 Dpaint_state.h105 double dHeight = 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
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 Djs_canvas_renderer.cpp543 // 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 Djsi_canvas_bridge.cpp1139 image.dHeight = GetJsDoubleVal(runtime, argv[4]); in JsDrawImage()
1150 image.dHeight = GetJsDoubleVal(runtime, argv[8]); in JsDrawImage()
H A Djsi_offscreen_canvas_bridge.cpp944 image.dHeight = GetJsDoubleVal(runtime, argv[4]); in JsDrawImage()
955 image.dHeight = GetJsDoubleVal(runtime, argv[8]); in JsDrawImage()

Completed in 35 milliseconds