/ohos5.0/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()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_circle_ffi.cpp | 38 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 D | cj_ellipse_ffi.cpp | 38 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 D | cj_path_ffi.cpp | 58 OHOS::Ace::Dimension dWidth(width, static_cast<OHOS::Ace::DimensionUnit>(widthUnit)); in FfiOHOSAceFrameworkPathInsCreateWithSize() local 64 nativePath->SetWidth(dWidth); in FfiOHOSAceFrameworkPathInsCreateWithSize()
|
H A D | cj_shape_ffi.cpp | 231 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 D | cj_rect_ffi.cpp | 42 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 D | cj_canvas_ffi.cpp | 765 .dWidth = PipelineBase::Vp2PxWithCurrentDensity(imageInfo.dWidth), in FfiOHOSAceFrameworkRenderingContextDrawImage() 805 .dWidth = PipelineBase::Vp2PxWithCurrentDensity(imageInfo.dWidth), in FfiOHOSAceFrameworkRenderingContextDrawImageWithPixelMap()
|
H A D | cj_canvas_ffi.h | 38 double dWidth; member
|
/ohos5.0/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()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imageplugin_fuzzer/src/ |
H A D | image_plugin_fuzz.cpp | 53 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 D | ext_decoder_test.cpp | 97 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 D | KeyboardController.ts | 78 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 D | ext_decoder.h | 94 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 D | inputmethod-application-guide.md | 115 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 D | canvas_paint_method.cpp | 153 …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 D | custom_paint_paint_method.cpp | 473 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 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.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 D | rosen_render_custom_paint.cpp | 2421 …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 D | inputmethod-application-guide.md | 115 let dWidth = dis.width; 127 await this.panel.resize(dWidth, keyHeight);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | paint_state.h | 104 double dWidth = 0.0; member
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/ |
H A D | ext_decoder.cpp | 410 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 D | js_canvas_renderer.cpp | 546 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 D | js-apidiff-arkui.md | 175 |新增|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 D | js-components-canvas-canvasrenderingcontext2d.md | 1555 …er, sy: number, sWidth: number, sHeight: number, dx: number, dy: number, dWidth: number, dHeight: … 1570 | dWidth | number | 绘制区域的宽度。 |
|