Home
last modified time | relevance | path

Searched refs:dWidth (Results 1 – 25 of 29) sorted by relevance

12

/ohos5.0/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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_circle_ffi.cpp38 OHOS::Ace::Dimension dWidth(width, static_cast<OHOS::Ace::DimensionUnit>(widthUnit)); in FfiOHOSAceFrameworkCircleInsCreate() local
40 auto ret_ = OHOS::FFI::FFIData::Create<OHOS::Ace::Framework::NativeCircle>(dWidth, dHeight); in FfiOHOSAceFrameworkCircleInsCreate()
H A Dcj_ellipse_ffi.cpp38 OHOS::Ace::Dimension dWidth(width, static_cast<OHOS::Ace::DimensionUnit>(widthUnit)); in FfiOHOSAceFrameworkEllipseInsCreate() local
40 auto ret_ = OHOS::FFI::FFIData::Create<OHOS::Ace::Framework::NativeEllipse>(dWidth, dHeight); in FfiOHOSAceFrameworkEllipseInsCreate()
H A Dcj_path_ffi.cpp58 OHOS::Ace::Dimension dWidth(width, static_cast<OHOS::Ace::DimensionUnit>(widthUnit)); in FfiOHOSAceFrameworkPathInsCreateWithSize() local
64 nativePath->SetWidth(dWidth); in FfiOHOSAceFrameworkPathInsCreateWithSize()
H A Dcj_shape_ffi.cpp231 Dimension dWidth(width, static_cast<DimensionUnit>(widthUnit)); in FfiOHOSAceFrameworkShapeSetInsSize() local
233 if (LessNotEqual(dWidth.Value(), 0.0)) { in FfiOHOSAceFrameworkShapeSetInsSize()
234 dWidth.SetValue(0.0); in FfiOHOSAceFrameworkShapeSetInsSize()
239 context->SetSize(dWidth, dHeight); in FfiOHOSAceFrameworkShapeSetInsSize()
H A Dcj_rect_ffi.cpp42 OHOS::Ace::Dimension dWidth(width, static_cast<OHOS::Ace::DimensionUnit>(widthUnit)); in FfiOHOSAceFrameworkRectInsCreate() local
44 auto ret_ = OHOS::FFI::FFIData::Create<OHOS::Ace::Framework::NativeRect>(dWidth, dHeight); in FfiOHOSAceFrameworkRectInsCreate()
H A Dcj_canvas_ffi.cpp765 .dWidth = PipelineBase::Vp2PxWithCurrentDensity(imageInfo.dWidth), in FfiOHOSAceFrameworkRenderingContextDrawImage()
805 .dWidth = PipelineBase::Vp2PxWithCurrentDensity(imageInfo.dWidth), in FfiOHOSAceFrameworkRenderingContextDrawImageWithPixelMap()
H A Dcj_canvas_ffi.h38 double dWidth; member
/ohos5.0/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()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imageplugin_fuzzer/src/
H A Dimage_plugin_fuzz.cpp53 int dWidth; in ExtDecoderFuncTest001() local
56 extDecoder->GetScaledSize(dWidth, dHeight, scale); in ExtDecoderFuncTest001()
57 extDecoder->GetHardwareScaledSize(dWidth, dHeight, scale); in ExtDecoderFuncTest001()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/plugin_test/
H A Dext_decoder_test.cpp97 int dWidth = 0; variable
101 bool ret = extDecoder->GetScaledSize(dWidth, dHeight, scale);
116 int dWidth = 0; variable
120 bool ret = extDecoder->GetHardwareScaledSize(dWidth, dHeight, scale);
853 int dWidth = 2; variable
857 dWidth = 4;
859 ret = extDecoder->GetHardwareScaledSize(dWidth, dHeight, scale);
861 dWidth = 6;
863 ret = extDecoder->GetHardwareScaledSize(dWidth, dHeight, scale);
865 dWidth = 20;
[all …]
/ohos5.0/base/inputmethod/imf/test/unittest/resource/bundle_dependencies/extImfBundle/entry/src/main/ets/InputMethodExtAbility/model/
H A DKeyboardController.ts78 let dWidth = dis.width;
90 await this.panel.resize(dWidth, keyHeight);
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/
H A Dext_decoder.h94 bool GetScaledSize(int &dWidth, int &dHeight, float &scale);
95 bool GetHardwareScaledSize(int &dWidth, int &dHeight, float &scale);
/ohos5.0/docs/zh-cn/application-dev/inputmethod/
H A Dinputmethod-application-guide.md115 let dWidth = dis.width;
127 await this.panel.resize(dWidth, keyHeight);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Dcanvas_paint_method.cpp153 …canvasImage.dx, canvasImage.dy, canvasImage.dx + canvasImage.dWidth, canvasImage.dy + canvasImage.… in DrawPixelMap()
182 dstRect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dx + canvasImage.dWidth, in DrawPixelMapInternal()
189 dstRect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dx + canvasImage.dWidth, in DrawPixelMapInternal()
H A Dcustom_paint_paint_method.cpp473 dstRect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx, in DrawSvgImage()
480 dstRect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx, in DrawSvgImage()
518 …canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx, canvasImage.dHeight + canvasI… in DrawImageInternal()
530 … RSRect rect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx, in DrawImageInternal()
536 … RSRect dstRect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx, in DrawImageInternal()
/ohos5.0/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.d… in DrawImage()
719 …SkRect rect = SkRect::MakeXYWH(canvasImage.dx, canvasImage.dy, canvasImage.dWidth, canvasImage.dHe… 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 + canvasImage.dx, in DrawImage()
821 …SkRect rect = SkRect::MakeXYWH(canvasImage.dx, canvasImage.dy, canvasImage.dWidth, canvasImage.dHe… in DrawPixelMap()
863 … RSRect rect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx, in DrawPixelMap()
[all …]
H A Drosen_render_custom_paint.cpp2421 …dstRect = SkRect::MakeXYWH(canvasImage.dx, canvasImage.dy, canvasImage.dWidth, canvasImage.dHeight…
2426 …dstRect = SkRect::MakeXYWH(canvasImage.dx, canvasImage.dy, canvasImage.dWidth, canvasImage.dHeight…
2458 … dstRect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx,
2465 … dstRect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx,
2511 …SkRect rect = SkRect::MakeXYWH(canvasImage.dx, canvasImage.dy, canvasImage.dWidth, canvasImage.dHe…
2517 …SkRect dstRect = SkRect::MakeXYWH(canvasImage.dx, canvasImage.dy, canvasImage.dWidth, canvasImage.…
2535 … RSRect rect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx,
2543 … RSRect dstRect = RSRect(canvasImage.dx, canvasImage.dy, canvasImage.dWidth + canvasImage.dx,
2585 …SkRect rect = SkRect::MakeXYWH(canvasImage.dx, canvasImage.dy, canvasImage.dWidth, canvasImage.dHe…
2591 …SkRect dstRect = SkRect::MakeXYWH(canvasImage.dx, canvasImage.dy, canvasImage.dWidth, canvasImage.…
/ohos5.0/docs/en/application-dev/inputmethod/
H A Dinputmethod-application-guide.md115 let dWidth = dis.width;
127 await this.panel.resize(dWidth, keyHeight);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dpaint_state.h104 double dWidth = 0.0; member
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_decoder.cpp410 bool ExtDecoder::GetScaledSize(int &dWidth, int &dHeight, float &scale) in HeapMemAlloc() argument
422 finalScale = Max(static_cast<float>(dWidth) / info_.width(), in HeapMemAlloc()
430 dWidth = scaledDimension.width(); in HeapMemAlloc()
434 IMAGE_LOGD("IsSupportScaleOnDecode [%{public}d x %{public}d]", dWidth, dHeight); in HeapMemAlloc()
440 bool ExtDecoder::GetHardwareScaledSize(int &dWidth, int &dHeight, float &scale) { in HeapMemAlloc() argument
453 finalScale = Max(static_cast<float>(dWidth) / oriWidth, in HeapMemAlloc()
466 dWidth = (oriWidth + sampleSize_ - NUM_ONE) / sampleSize_; in HeapMemAlloc()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/
H A Djs_canvas_renderer.cpp546 info.GetDoubleArg(3, image.dWidth); in ExtractInfoToImage()
550 image.dWidth *= density; in ExtractInfoToImage()
562 info.GetDoubleArg(7, image.dWidth); in ExtractInfoToImage()
572 image.dWidth *= density; in ExtractInfoToImage()
/ohos5.0/docs/zh-cn/release-notes/api-diff/monthly-202210/
H A Djs-apidiff-arkui.md175 |新增|NA|方法名 or 属性名:drawImage<br>函数:drawImage(image: image.PixelMap, dx: number, dy: number, dWidth: …
176 …er,<br> sHeight: number,<br> dx: number,<br> dy: number,<br> dWidth: number,<br> dH…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-canvas-canvasrenderingcontext2d.md1555 …er, sy: number, sWidth: number, sHeight: number, dx: number, dy: number, dWidth: number, dHeight: …
1570 | dWidth | number | 绘制区域的宽度。 |

12