/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | matrix_test.cpp | 41 float ty = 1; variable 58 float ty = 1; variable 75 float ty = 0; variable 92 float ty = 1; variable 109 float ty = 1; variable 126 float ty = 0; variable 143 float ty = 1; variable 160 float ty = 1; variable 178 float ty = 1; variable 231 float ty = 0; variable [all …]
|
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/spancolorfill/ |
H A D | fill_interpolator.h | 100 float ty; in Begin() local 103 ty = y; in Begin() 105 transType_->Transform(&tx, &ty); in Begin() 107 int32_t y1 = MATH_ROUND32(ty * SUBPIXEL_SCALE); in Begin() 110 ty = y; in Begin() 111 transType_->Transform(&tx, &ty); in Begin() 113 int32_t y2 = MATH_ROUND32(ty * SUBPIXEL_SCALE); in Begin()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | matrix.cpp | 35 Matrix &Matrix::SetTranslate(const float tx, const float ty) in SetTranslate() argument 37 *this = Matrix(1, 0, tx, 0, 1, ty, 0, 1, 1, (tx == 0 || ty == 0) ? IDENTITY : TRANSLATE); in SetTranslate() 119 void Matrix::SetTranslateAndScale(const float tx, const float ty, const float sx, const float sy) in SetTranslateAndScale() argument 127 fMat_[IMAGE_TRANSY] = ty; in SetTranslateAndScale() 135 if (tx != 0 || ty != 0) { in SetTranslateAndScale() 219 void Matrix::TransXY(const Matrix &m, const float tx, const float ty, Point &pt) in TransXY() argument 223 pt.y = ty + m.fMat_[IMAGE_TRANSY]; in TransXY()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/shape/ |
H A D | rosen_render_shape_container.cpp | 59 double ty = GetLayoutSize().Height() * 0.5 - (viewBoxHeight * 0.5 + viewBoxTop) * scale; in PerformLayout() local 67 rsNode->SetTranslate({ tx, ty }); in PerformLayout() 94 double ty = GetLayoutSize().Height() * 0.5 - (viewBoxHeight * 0.5 + viewBoxTop) * scale; in Paint() local 96 skOffCanvas_->translate(tx, ty); in Paint() 128 double ty = GetLayoutSize().Height() * 0.5 - (viewBoxHeight * 0.5 + viewBoxTop) * scale; in Paint() local 130 tmpCanvas->Translate(tx, ty); in Paint() 220 double ty = GetLayoutSize().Height() * 0.5 - (viewBoxHeight * 0.5 + viewBoxTop) * scale; in BitmapMesh() local 223 skOffCanvas_->translate(tx, ty); in BitmapMesh() 226 offCanvas_->Translate(tx, ty); in BitmapMesh()
|
/ohos5.0/base/msdp/device_status/tools/vdev/src/ |
H A D | virtual_mouse.cpp | 188 double ty = round(step * static_cast<double>(dy) / delta); in Move() local 193 if ((std::abs(ty) >= STEP_UNIT) && (std::abs(ty) <= MAXIMUM_STEP_LENGTH)) { in Move() 194 SendEvent(EV_REL, REL_Y, static_cast<int32_t>(ty)); in Move() 197 ((std::abs(ty) >= STEP_UNIT) && (std::abs(ty) <= MAXIMUM_STEP_LENGTH))) { in Move()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/include/ |
H A D | matrix.h | 108 …constexpr Matrix(float sx, float kx, float tx, float ky, float sy, float ty, float p0, float p1, f… in Matrix() argument 110 : fMat_ { sx, kx, tx, ky, sy, ty, p0, p1, p2 }, operType_(operType) {} in Matrix() 121 Matrix &SetTranslate(const float tx, const float ty); 135 void SetTranslateAndScale(const float tx, const float ty, const float sx, const float sy);
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h3/ |
H A D | frame.rs | 36 ty: u64, field 108 pub fn new(ty: u64, len: u64, payload: Payload) -> Self { in new() 109 Frame { ty, len, payload } in new() 113 &self.ty in frame_type()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/format/ |
H A D | decoder.rs | 128 ($name: ident, $decoded: ty, $($state: ident),* $(,)?) => { 427 ($struct_name:ident, $prefix_type:ty, $inner_type:ty,$trailing_bytes:ty) => { 478 ($struct_name:ident, $prefix_type:ty, $inner_type:ty) => { 602 …($struct_name:ident, $prefix_type:ty, $inner_type:ty, $output_type:ty, $state_type:ty,$value_strin…
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/iter/parallel/collections/ |
H A D | mod.rs | 23 ($t: ty, $iter: ty, $f: ident, impl $($args: tt)*) => {
|
/ohos5.0/foundation/multimodalinput/input/intention/cooperate/plugin/include/ |
H A D | cooperate_events.h | 237 explicit CooperateEvent(CooperateEventType ty) : type(ty) {} in CooperateEvent() 240 CooperateEvent(CooperateEventType ty, Event ev) : type(ty), event(ev) {} in CooperateEvent()
|
/ohos5.0/base/msdp/device_status/intention/cooperate/plugin/include/ |
H A D | cooperate_events.h | 238 explicit CooperateEvent(CooperateEventType ty) : type(ty) {} in CooperateEvent() 241 CooperateEvent(CooperateEventType ty, Event ev) : type(ty), event(ev) {} in CooperateEvent()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/rsxform_fuzzer/ |
H A D | rs_xform_fuzzer.cpp | 39 scalar ty = GetObject<scalar>(); in RsXformFuzzTest() local 40 RSXform::Make(cos, sin, tx, ty); in RsXformFuzzTest()
|
/ohos5.0/foundation/graphic/graphic_surface/surface/src/ |
H A D | surface_utils.cpp | 167 float ty = 0.f; in ComputeTransformMatrix() local 182 ty = (float(bufferHeight - crop.y) / bufferHeight); in ComputeTransformMatrix() 187 …:array<float, MATRIX_ARRAY_SIZE> cropMatrix = {sx, 0, 0, 0, 0, sy, 0, 0, 0, 0, 1, 0, tx, ty, 0, 1}; in ComputeTransformMatrix() 255 float ty = 0.f; in ComputeTransformMatrixV2() local 280 ty = (float(bufferHeight - crop.y) / bufferHeight); in ComputeTransformMatrixV2() 285 …:array<float, MATRIX_ARRAY_SIZE> cropMatrix = {sx, 0, 0, 0, 0, sy, 0, 0, 0, 0, 1, 0, tx, ty, 0, 1}; in ComputeTransformMatrixV2()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/text/ |
H A D | rs_xform.h | 29 static RSXform Make(scalar cos, scalar sin, scalar tx, scalar ty) in Make() 31 RSXform xform = { cos, sin, tx, ty }; in Make()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/ |
H A D | rosen_render_svg.cpp | 44 … double ty = GetLayoutSize().Height() * 0.5 - (viewBox_.Height() * 0.5 + viewBox_.Top()) * scale; in UpdateTransformByGlobalOffset() local 46 rsNode->SetTranslate({ tx, ty }); in UpdateTransformByGlobalOffset()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/adapter/ |
H A D | skia_svg_dom.cpp | 51 float ty = 0.0; in FitImage() local 78 ty = (layout_.Height() - svgSize_.Height() * scaleY) * HALF; in FitImage() 81 canvas->translate(tx, ty); in FitImage()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/ |
H A D | js_matrix2d.cpp | 264 double ty = 0; in JsTranslate() local 269 JSViewAbstract::ParseJsDouble(info[JS_MATRIX2D_PARAMETER_COUNTS_1], ty); in JsTranslate() 273 ty *= density; in JsTranslate() 274 NG::Matrix2D::Translate(transform_, tx, ty); in JsTranslate()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/ |
H A D | shape_container_pattern.cpp | 50 double ty = contentSize.Height() * 0.5 - (portHeight * 0.5 + portTop) * scale; in ViewPortTransform() local 57 context->OnTransformTranslateUpdate({ tx, ty, 0 }); in ViewPortTransform()
|
/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/diagram/vertexprimitive/ |
H A D | geometry_bezier_arc.cpp | 44 float ty = y0 - tx * x0 / y0; in ArcToBezier() local 50 py[1] = -ty; in ArcToBezier() 52 py[2] = ty; in ArcToBezier()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | matrix2d.cpp | 70 void Matrix2D::Translate(TransformParam& param, double tx, double ty) in Translate() argument 74 skMatrix = skMatrix.postTranslate(tx, ty); in Translate()
|
H A D | matrix2d.h | 28 static void Translate(TransformParam& param, double tx, double ty);
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_ffrt/src/ |
H A D | sys_event.rs | 28 fn ffrt_sys_event_create(ty: c_int, fd: usize, filter: usize) -> FfrtSysEventHandleT; in ffrt_sys_event_create()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/matrix_fuzzer/ |
H A D | matrix_fuzzer.cpp | 98 scalar ty = GetObject<scalar>(); in MatrixFuzzTest001() local 112 matrix.SetMatrix(tx, ty, tz, sx, sy, sz, dx, dy, dz); in MatrixFuzzTest001()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ |
H A D | foreign.rs | 57 type CStruct = $ctype:ty;
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | mock_canvas.h | 38 MOCK_METHOD2(Translate, void(float tx, float ty));
|