/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/ |
H A D | js_offscreen_canvas.cpp | 144 double fWidth = 0.0; in Constructor() local 155 if (napi_get_value_double(env, argv[0], &fWidth) == napi_ok) { in Constructor() 156 fWidth *= density; in Constructor() 157 workCanvas->SetWidth(fWidth); in Constructor() 164 static_cast<int32_t>(fWidth), static_cast<int32_t>(fHeight)); in Constructor() 237 double fWidth = GetWidth(); in OnGetWidth() local 239 fWidth /= density; in OnGetWidth() 241 napi_create_double(env, fWidth, &width); in OnGetWidth()
|
H A D | js_canvas_renderer.cpp | 616 double fWidth = 0.0; in JsCreateImageData() local 621 info.GetDoubleArg(0, fWidth); in JsCreateImageData() 623 fWidth *= density; in JsCreateImageData() 629 JSViewAbstract::ParseJsDouble(widthValue, fWidth); in JsCreateImageData() 632 uint32_t finalWidth = static_cast<uint32_t>(std::abs(fWidth + DIFF)); in JsCreateImageData()
|
/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/custom/ |
H A D | lume_custom_render.cpp | 204 auto fWidth = static_cast<float>(width); in OnSizeChange() local 206 if ((buffer[0] == fWidth) && (buffer[1] == fHeight)) { in OnSizeChange() 210 WIDGET_LOGD("update custom shader resolution %f X %f", fWidth, fHeight); in OnSizeChange() 211 resolutionBuffer_.Update(fWidth, 0U); in OnSizeChange()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | points_mask_filter.cpp | 50 float fWidth = 10.0f; in OnTestFunction() local 65 OH_Drawing_PenSetWidth(pen, fWidth); in OnTestFunction()
|
H A D | stroke_rect_shader.cpp | 33 float fWidth = 10.f; in drawRect() local 39 OH_Drawing_PenSetWidth(pen, fWidth); in drawRect()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/node/ |
H A D | render_motion_blur.cpp | 223 const float fWidth = static_cast<float>(renderPass.renderPassDesc.renderArea.extentWidth); in Execute() local 225 …const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, … in Execute() 261 const float fWidth = static_cast<float>(renderPass.renderPassDesc.renderArea.extentWidth); in ExecuteTileVelocity() local 263 …const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, … in ExecuteTileVelocity()
|
H A D | render_copy.cpp | 146 … const float fWidth = static_cast<float>(renderPass.renderPassDesc.renderArea.extentWidth); in Execute() local 148 … const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, in Execute()
|
H A D | render_node_back_buffer.cpp | 52 const float fWidth = static_cast<float>(dstImageDesc.width); in FillPushConstant() local 55 pushData.texSizeInvTexSize[0u] = fWidth; in FillPushConstant() 57 pushData.texSizeInvTexSize[2u] = 1.0f / fWidth; in FillPushConstant()
|
H A D | render_node_single_post_process.cpp | 349 … const float fWidth = static_cast<float>(renderPass.renderPassDesc.renderArea.extentWidth); in ExecuteSinglePostProcess() local 351 … const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, in ExecuteSinglePostProcess() 366 const float fWidth = static_cast<float>(targetSize.x); in ExecuteSinglePostProcess() local 368 … const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, in ExecuteSinglePostProcess()
|
H A D | render_node_mip_chain_post_process.cpp | 357 const float fWidth = static_cast<float>(width); in RenderGraphics() local 395 cmdList.SetDynamicStateViewport(ViewportDesc { 0.0f, 0.0f, fWidth, fHeight, 0.0f, 0.0f }); in RenderGraphics() 410 … const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, in RenderGraphics()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/adapter/ |
H A D | skia_image_data.cpp | 101 imageSize.SetSizeT(SizeF(codec->dimensions().fHeight, codec->dimensions().fWidth)); in Parse() 104 imageSize.SetSizeT(SizeF(codec->dimensions().fWidth, codec->dimensions().fHeight)); in Parse()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/ |
H A D | render_node_default_shadows_blur.cpp | 182 const float fWidth = static_cast<float>(tempImage.width); in ProcessSingleShadow() local 184 const Math::Vec4 texSizeInvTexSize = { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }; in ProcessSingleShadow() 186 const ViewportDesc viewport { 0.0f, 0.0f, fWidth, fHeight, 0.0f, 1.0f }; in ProcessSingleShadow()
|
H A D | render_node_camera_single_post_process.cpp | 358 … const float fWidth = static_cast<float>(renderPass.renderPassDesc.renderArea.extentWidth); in ExecuteSinglePostProcess() local 360 … const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, in ExecuteSinglePostProcess() 375 const float fWidth = static_cast<float>(targetSize.x); in ExecuteSinglePostProcess() local 377 … const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, in ExecuteSinglePostProcess()
|
H A D | render_node_camera_cubemap.cpp | 295 const float fWidth = static_cast<float>(currSize.x); in ExecuteSinglePostProcess() local 297 … const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, in ExecuteSinglePostProcess()
|
H A D | render_node_default_material_deferred_shading.cpp | 212 const float fWidth = static_cast<float>(renderPass_.renderPassDesc.renderArea.extentWidth); in RenderData() local 214 … const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, in RenderData()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | render_node_post_process_util.cpp | 558 const float fWidth = static_cast<float>(renderPass.renderPassDesc.renderArea.extentWidth); in ExecuteCombine() local 560 …const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, … in ExecuteCombine() 668 const float fWidth = static_cast<float>(renderPass.renderPassDesc.renderArea.extentWidth); in ExecuteTAA() local 670 … const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, in ExecuteTAA() 747 const float fWidth = static_cast<float>(rp.renderPassDesc.renderArea.extentWidth); in ExecuteDofBlur() local 749 …const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, … in ExecuteDofBlur() 810 const float fWidth = static_cast<float>(renderPass.renderPassDesc.renderArea.extentWidth); in ExecuteDof() local 812 …const LocalPostProcessPushConstantStruct pc { { fWidth, fHeight, 1.0f / fWidth, 1.0f / fHeight }, … in ExecuteDof()
|
/ohos5.0/foundation/multimedia/media_foundation/video_processing_engine/framework/algorithm/detail_enhancer/skia/ |
H A D | skia_impl.cpp | 163 imageSize.fWidth = buffer->GetWidth(); in CreateYUVPixmap() 164 if (imageSize.fWidth <= 0) { in CreateYUVPixmap()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/ |
H A D | typography.cpp | 267 return lines[lineNumber].fWidth; in GetLineWidth() 331 lineMetrics->width = sklineMetrics.fWidth; in GetLineInfo() 369 line.width = skLineMetrics.fWidth; in GetLineMetrics()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/ |
H A D | image_object.cpp | 125 imageSize.SetSize(Size(codec->dimensions().fHeight, codec->dimensions().fWidth)); in BuildImageObject() 128 imageSize.SetSize(Size(codec->dimensions().fWidth, codec->dimensions().fHeight)); in BuildImageObject()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/ |
H A D | render_node_scene_util.cpp | 88 const float fWidth = static_cast<float>(renderArea.extentWidth); in UpdateRenderArea() local 91 const float offsetX = (fWidth * scissor.x); in UpdateRenderArea() 93 const float extentWidth = (fWidth * scissor.z); in UpdateRenderArea()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/ |
H A D | canvas_renderer.h | 102 … std::unique_ptr<ImageData> GetImageData(double fLeft, double fTop, double fWidth, double fHeight);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsproperty_fuzzer/ |
H A D | rsproperty_fuzzer.cpp | 308 float fWidth = GetData<float>(); in RSPropertiesPainterFuzzTest() local 310 RectF rect(fLeft, fTop, fWidth, fHeight); in RSPropertiesPainterFuzzTest()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/adapter/rosen/ |
H A D | drawing_image_data.cpp | 139 imageSize.SetSizeT(SizeF(codec->dimensions().fWidth, codec->dimensions().fHeight)); in Parse()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_canvas_ffi.h | 177 int64_t contextId, double fLeft, double fTop, double fWidth, double fHeight);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/impl/ |
H A D | paragraph_builder_impl.cpp | 136 placeholderStyle.fWidth = run.width; in AddPlaceholder()
|