/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_surface_render_node.cpp | 2008 float scale = std::min(matrix.Get(Drawing::Matrix::SCALE_X), matrix.Get(Drawing::Matrix::SCALE_Y)); in GetAbsContainerConfig() local 2009 config.inR = static_cast<int>(std::round(containerConfig_.inR * scale)); in GetAbsContainerConfig() 2010 config.outR = static_cast<int>(std::round(containerConfig_.inR * scale)); in GetAbsContainerConfig()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/ |
H A D | rs_marshalling_helper.cpp | 1201 RenderParticleParaType<float> scale; in Unmarshalling() local 1210 success = success && Unmarshalling(parcel, scale); in Unmarshalling() 1214 std::make_shared<ParticleRenderParams>(emitterConfig, velocity, acceleration, color, opacity, scale, spin); in Unmarshalling()
|
/third_party/skia/src/gpu/geometry/ |
H A D | GrTriangulator.cpp | 145 double scale = 1.0 / denom; in intersect() local 146 point->fX = double_to_clamped_scalar((fB * other.fC - other.fB * fC) * scale); in intersect() 147 point->fY = double_to_clamped_scalar((other.fA * fC - fA * other.fC) * scale); in intersect()
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
H A D | Renderer.cpp | 1805 float scale = lineWidth * 0.5f / sqrt(dx*dx + dy*dy); in setupLine() local 1807 dx *= scale; in setupLine() 1808 dy *= scale; in setupLine()
|
/third_party/skia/src/ports/ |
H A D | SkFontHost_win.cpp | 585 /** fGsA is the non-rotational part of total matrix without the text height scale. 598 /** The total matrix which also removes EM scale. */ 651 // When GDI hinting, remove the entire Y scale from sA and GsA. (Prevents 'linear' metrics.) in SkScalerContext_GDI() 652 // When not hinting, remove only the integer Y scale from sA and GsA. (Applied by GDI.) in SkScalerContext_GDI() 657 SkVector scale; in SkScalerContext_GDI() local 661 fRec.computeMatrices(scaleConstraints, &scale, &sA, &GsA, &fG_inv, &A); in SkScalerContext_GDI() 668 // When not hinting, scale was computed with kVerticalInteger, so is already an integer. in SkScalerContext_GDI() 671 // When hinting, scale was computed with kVertical, stating that our port can handle in SkScalerContext_GDI() 673 // scale in them, preventing 'linear' metrics. However, GDI cannot actually handle non-integer in SkScalerContext_GDI() 674 // scales so we need to round in this case. This is fine, since all of the scale ha in SkScalerContext_GDI() [all...] |
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 2763 double scale = 2; in HWTEST_F() local 2765 OH_NN_ReturnCode ret = OH_NNQuantParam_SetScales(quantParams, &scale, quantNum); in HWTEST_F() 2778 double scale = 2; in HWTEST_F() local 2780 OH_NN_ReturnCode ret = OH_NNQuantParam_SetScales(quantParams, &scale, quantNum); in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/overlay/ |
H A D | overlay_test_ng.cpp | 1848 NG::ScaleOptions scale(1.0f, 1.0f, 1.0f, 0.5_pct, 0.5_pct); in HWTEST_F() 1849 auto scaleTransition = AceType::MakeRefPtr<NG::ChainedScaleEffect>(scale); in HWTEST_F() 1886 NG::ScaleOptions scale(1.0f, 1.0f, 1.0f, 0.5_pct, 0.5_pct); in HWTEST_F() 1887 auto disappearScaleTransition = AceType::MakeRefPtr<NG::ChainedScaleEffect>(scale); in HWTEST_F()
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | scene_holder.cpp | 2964 BASE_NS::Math::Vec3 scale; in SetTransformation() local 2968 if (BASE_NS::Math::Decompose(transform, scale, rotation, position, skew, persp)) { in SetTransformation() 2969 handle->scale = scale; in SetTransformation()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | picking.cpp | 193 const Math::Mat4X4 localMatrix = Math::Trs(tc.position, tc.rotation, tc.scale); in UpdateRecursiveAABB()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/ |
H A D | rs_properties.h | 141 void SetScale(Vector2f scale);
|
/third_party/glfw/src/ |
H A D | internal.h | 575 GLFWwindowcontentscalefun scale; member
|
H A D | wl_platform.h | 594 int32_t scale; member
|
/third_party/ffmpeg/tests/fate/ |
H A D | mov.mak | 139 fate-mov-cover-image: CMD = transcode mov $(TARGET_SAMPLES)/cover_art/Owner-iTunes_9.0.3.15.m4a mp4 "-map 0 -map 0:v -c:a copy -c:v:0 copy -filter:v:1 scale -c:v:1 png" "-map 0 -t 0.1 -c copy" "-show_entries stream_disposition=attached_pic:stream=index,codec_name"
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | RuleBasedNumberFormat.java | 1272 if (number.scale() == 0) { in format()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | RuleBasedNumberFormat.java | 1244 if (number.scale() == 0) { in format()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | numbertest_decimalquantity.cpp | 664 compactLong.scale(Scale::powerOfTen(3));
|
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/ |
H A D | tr_dump_state.c | 209 trace_dump_member_array(float, state, scale); in trace_dump_viewport_state()
|
/third_party/skia/src/core/ |
H A D | SkPicturePlayback.cpp | 678 canvas->scale(sx, sy); in handleOp()
|
H A D | SkPathBuilder.cpp | 486 // Check if the radii are big enough to draw the arc, scale radii if not. in arcTo() 509 delta.scale(scaleFactor); in arcTo()
|
/third_party/skia/third_party/externals/angle2/util/ |
H A D | Matrix.cpp | 103 Matrix4 Matrix4::scale(const Vector3 &s) in scale() function in Matrix4
|
/third_party/skia/gm/ |
H A D | strokefill.cpp | 412 canvas->scale(50000.0f, 50000.0f); in DEF_SIMPLE_GM()
|
/foundation/arkui/ace_engine/frameworks/core/components/web/resource/ |
H A D | web_delegate.cpp | 2977 void WebDelegate::UpdateInitialScale(float scale) in UpdateInitialScale() argument 2984 [weak = WeakClaim(this), scale]() { in UpdateInitialScale() 2988 delegate->nweb_->InitialScale(scale); in UpdateInitialScale() 4203 float scale = context->GetViewScale(); in CreateWindow() local 4206 int DEFAULT_HEIGHT_WITHOUT_SYSTEM_BAR = (int)(scale * context->GetRootHeight()); in CreateWindow() 4210 int DEFAULT_WIDTH = (int)(scale * context->GetRootWidth()); in CreateWindow() 6901 void WebDelegate::ScaleGestureChange(double scale, double centerX, double centerY) in ScaleGestureChange() argument 6906 nweb_->ScaleGestureChange(scale, centerX, centerY); in ScaleGestureChange()
|
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/ |
H A D | rosen_render_custom_paint.cpp | 232 skCanvas_->scale(viewScale, viewScale); in Paint() 238 skCanvas_->scale(1.0 / viewScale, 1.0 / viewScale); in Paint() 242 canvas->scale(1.0 / viewScale, 1.0 / viewScale); in Paint() 2266 skCanvas_->scale(x, y); 2441 skCanvas->scale(scaleX, scaleY);
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | SamplerCore.cpp | 2589 const sw::float4 scale = state.textureFormat.getScale(); in getComponentScale() local 2594 return sw::float4(static_cast<uint16_t>(scale.x) << shift.x, in getComponentScale() 2595 static_cast<uint16_t>(scale.y) << shift.y, in getComponentScale() 2596 static_cast<uint16_t>(scale.z) << shift.z, in getComponentScale() 2597 static_cast<uint16_t>(scale.w) << shift.w); in getComponentScale() 2611 // Normalize all components using the gather component scale. in getGatherComponent()
|
/third_party/skia/third_party/externals/freetype/src/truetype/ |
H A D | ttinterp.c | 3186 exc->cvt[I] = FT_MulFix( args[1], exc->tt_metrics.scale ); in Ins_WCVTF() 4664 exc->tt_metrics.scale ); in Ins_SSW() 6957 FT_Fixed scale = 0; in _iup_worker_interpolate() local 6978 scale = FT_DivFix( SUB_LONG( cur2, cur1 ), in _iup_worker_interpolate() 6984 scale ) ); in _iup_worker_interpolate()
|