/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/pipeline/ |
H A D | rs_render_thread_util.cpp | 39 newWidth = boundsWidth * newHeight / boundsHeight; in SrcRectScaleDown() 57 uint32_t dh = currentHeight - newHeight; in SrcRectScaleDown() 71 float newHeight = 0.0f; in SrcRectScaleFit() local 81 newHeight = srcHeight * newWidth / srcWidth; in SrcRectScaleFit() 83 newHeight = boundsHeight; in SrcRectScaleFit() 84 newWidth = newHeight * srcWidth / srcHeight; in SrcRectScaleFit() 87 newHeight = boundsHeight; in SrcRectScaleFit() 89 newHeight = newHeight * srcHeight / boundsHeight; in SrcRectScaleFit() 95 } else if (newHeight < srcHeight) { in SrcRectScaleFit() 96 float halfdh = (srcHeight - newHeight) / 2; in SrcRectScaleFit() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scene_viewer/ |
H A D | rosen_render_scene_viewer.cpp | 62 auto newHeight = static_cast<uint32_t>(GetLayoutSize().Height()); in PaintTextureLayer() local 63 if (width_ != newWidth || height_ != newHeight) { in PaintTextureLayer() 65 height_ = newHeight; in PaintTextureLayer()
|
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/nnrt/ |
H A D | _resize_v10.md | 39 | long [newHeight](#newheight) | resize之后4维tensor的height值。 | 124 ### newHeight subsection 127 long Resize::newHeight
|
H A D | _resize_v20.md | 33 | long [newHeight](#newheight) | resize之后4维tensor的height值。 | 106 ### newHeight subsection 109 long Resize::newHeight
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_uni_render_util.cpp | 300 uint32_t newHeight = 0; in SrcRectScaleFit() local 312 newHeight = boundsHeight; in SrcRectScaleFit() 316 newHeight = boundsHeight; in SrcRectScaleFit() 318 newHeight = newHeight * srcHeight / boundsHeight; in SrcRectScaleFit() 326 } else if (newHeight < srcHeight) { in SrcRectScaleFit() 374 uint32_t dh = currentHeight - newHeight; in SrcRectScaleDown() 1706 newHeight = newHeight * dstWidth / newWidth; in LayerScaleFit() 1710 newHeight = dstHeight; in LayerScaleFit() 1712 newHeight = dstHeight; in LayerScaleFit() 1720 } else if (newHeight < dstHeight) { in LayerScaleFit() [all …]
|
H A D | rs_uni_render_composer_adapter.cpp | 912 newWidth = dstWidth * newHeight / dstHeight; in LayerScaleDown() 915 newHeight = dstHeight * newWidth / dstWidth; in LayerScaleDown() 930 uint32_t dh = currentHeight - newHeight; in LayerScaleDown() 933 srcRect.h = static_cast<int32_t>(newHeight); in LayerScaleDown() 995 uint32_t dh = currentHeight - newHeight; in LayerScaleDown() 1036 newHeight = newHeight * dstWidth / newWidth; in LayerScaleFit() 1040 newHeight = dstHeight; in LayerScaleFit() 1042 newHeight = dstHeight; in LayerScaleFit() 1050 } else if (newHeight < dstHeight) { in LayerScaleFit() 1051 uint32_t dh = dstHeight - newHeight; in LayerScaleFit() [all …]
|
H A D | rs_composer_adapter.cpp | 721 int32_t newHeight = srcRect.h; in LayerScaleDown() local 729 if (newWidth * dstRect.h > newHeight * dstRect.w) { in LayerScaleDown() 730 newWidth = dstRect.w * newHeight / dstRect.h; in LayerScaleDown() 731 } else if (newWidth * dstRect.h < newHeight * dstRect.w) { in LayerScaleDown() 732 newHeight = dstRect.h * newWidth / dstRect.w; in LayerScaleDown() 748 int32_t dh = currentHeight - newHeight; in LayerScaleDown() 751 srcRect.h = newHeight; in LayerScaleDown()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/ |
H A D | shape_container_layout_algorithm.cpp | 59 auto newHeight = (selfWidth / portWidth) * portHeight; in MeasureContent() local 60 newSize = contentConstraint.Constrain(SizeF(selfWidth, newHeight)); in MeasureContent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/triangle/ |
H A D | render_triangle.cpp | 64 double newHeight = (width / 2.0 + topDiff) * rate; in Calculate() local 65 double bottomDiff = newHeight - height; in Calculate()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/dialog_modal/ |
H A D | render_dialog_modal.cpp | 248 double newHeight = clip->GetGlobalOffset().GetY() + clip->GetPaintRect().Height() - delta; in MovePage() local 249 context->MovePage(Offset(clip->GetPaintRect().Width(), newHeight), delta); in MovePage()
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_view.cpp | 918 int16_t newHeight = height + style_->paddingTop_ + style_->paddingBottom_ + in SetHeight() local 920 rect_.SetHeight(newHeight); in SetHeight() 930 int16_t newHeight = static_cast<int16_t>(GetParent()->GetHeight() * heightPercent); in SetHeightPercent() local 931 SetHeight(newHeight); in SetHeightPercent() 954 int16_t newHeight = static_cast<int16_t>(GetParent()->GetHeight() * heightPercent); in ResizePercent() local 955 Resize(newWidth, newHeight); in ResizePercent() 1039 int16_t newHeight = static_cast<int16_t>(GetParent()->GetHeight() * heightPercent); in SetPositionPercent() local 1040 SetPosition(newX, newY, newWidth, newHeight); in SetPositionPercent()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/ |
H A D | rs_render_service_client_test.cpp | 509 uint32_t newHeight = 1080; variable 510 rsClient->SetVirtualScreenResolution(virtualScreenId, newWidth, newHeight); 513 EXPECT_NE(curVirtualScreenResolution.GetVirtualScreenHeight(), newHeight);
|
/ohos5.0/foundation/window/window_manager/wm/src/ |
H A D | picture_in_picture_controller.cpp | 450 float newHeight = 0; in UpdateContentSize() local 452 mainWindowXComponentController_->GetSize(newWidth, newHeight); in UpdateContentSize() 453 bool isSizeChange = IsContentSizeChanged(newWidth, newHeight, posX, posY); in UpdateContentSize() 456 static_cast<uint32_t>(newWidth), static_cast<uint32_t>(newHeight)}; in UpdateContentSize()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/ |
H A D | calendar_dialog_pattern.h | 124 …void HandleSurfaceChanged(int32_t newWidth, int32_t newHeight, int32_t prevWidth, int32_t prevHeig…
|
H A D | calendar_dialog_pattern.cpp | 1324 …[weak = WeakClaim(this)](int32_t newWidth, int32_t newHeight, int32_t prevWidth, int32_t prevHeigh… in InitSurfaceChangedCallback() 1328 pattern->HandleSurfaceChanged(newWidth, newHeight, prevWidth, prevHeight); in InitSurfaceChangedCallback() 1336 int32_t newWidth, int32_t newHeight, int32_t prevWidth, int32_t prevHeight) in HandleSurfaceChanged() argument 1338 if (newWidth == prevWidth && newHeight == prevHeight) { in HandleSurfaceChanged()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/ |
H A D | rs_interfaces_test.cpp | 151 uint32_t newHeight = 1080; variable 162 rsInterfaces->SetVirtualScreenResolution(virtualScreenId, newWidth, newHeight); 166 EXPECT_EQ(curVirtualScreenResolution.GetVirtualScreenHeight(), newHeight); 1385 uint32_t newHeight = 1080; variable 1392 int32_t ret = rsInterfaces->ResizeVirtualScreen(virtualScreenId, newWidth, newHeight);
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_canvas.h | 34 int16_t newHeight; member
|
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/ |
H A D | hencoder.h | 113 void DealWithResolutionChange(uint32_t newWidth, uint32_t newHeight);
|
H A D | hencoder.cpp | 985 void HEncoder::DealWithResolutionChange(uint32_t newWidth, uint32_t newHeight) in DealWithResolutionChange() argument 987 if (width_ != newWidth || height_ != newHeight) { in DealWithResolutionChange() 988 HLOGI("resolution changed, %ux%u -> %ux%u", width_, height_, newWidth, newHeight); in DealWithResolutionChange() 990 height_ = newHeight; in DealWithResolutionChange()
|
/ohos5.0/drivers/interface/nnrt/v1_0/ |
H A D | NodeAttrTypes.idl | 218 long newHeight;
|
/ohos5.0/drivers/interface/nnrt/v2_0/ |
H A D | NodeAttrTypes.idl | 219 long newHeight;
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/nnrt_v1_0/foo/nnrt/v1_0/ |
H A D | NodeAttrTypes.idl | 218 long newHeight;
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/nnrt_v2_0/foo/nnrt/v2_0/ |
H A D | NodeAttrTypes.idl | 219 long newHeight;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/semi_modal/ |
H A D | render_semi_modal.cpp | 769 double newHeight = render->GetGlobalOffset().GetY() + render->GetPaintRect().Height() - delta; in MovePage() local 770 context->MovePage(Offset(render->GetPaintRect().Width(), newHeight), delta); in MovePage()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | render_system.cpp | 992 const uint32_t newHeight = in UpdatePlaneReflectionTargetResolution() local 1005 …(newWidth > reflComp.renderTargetResolution[0]) || (newHeight > reflComp.renderTargetResolution[1]… in UpdatePlaneReflectionTargetResolution() 1007 … uint32_t newWidth, uint32_t newHeight, uint baseMipCount, bool depthImage) { in UpdatePlaneReflectionTargetResolution() argument 1013 desc.height = newHeight; in UpdatePlaneReflectionTargetResolution() 1025 … static_cast<uint32_t>(std::log2f(static_cast<float>(std::max(newWidth, newHeight)))) + 1u); in UpdatePlaneReflectionTargetResolution() 1027 …reCreateGpuImage(gpuResourceMgr, entity.id, colorRenderTarget, newWidth, newHeight, rptu.mipCount,… in UpdatePlaneReflectionTargetResolution() 1034 … reCreateGpuImage(gpuResourceMgr, entity.id, depthRenderTarget, newWidth, newHeight, 1u, true); in UpdatePlaneReflectionTargetResolution() 1037 reflComp.renderTargetResolution[1] = newHeight; in UpdatePlaneReflectionTargetResolution()
|