Home
last modified time | relevance | path

Searched refs:ty (Results 1 – 25 of 102) sorted by relevance

12345

/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dmatrix_test.cpp41 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 Dfill_interpolator.h100 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 Dmatrix.cpp35 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 Drosen_render_shape_container.cpp59 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 Dvirtual_mouse.cpp188 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 Dmatrix.h108 …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 Dframe.rs36 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 Ddecoder.rs128 ($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 Dmod.rs23 ($t: ty, $iter: ty, $f: ident, impl $($args: tt)*) => {
/ohos5.0/foundation/multimodalinput/input/intention/cooperate/plugin/include/
H A Dcooperate_events.h237 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 Dcooperate_events.h238 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 Drs_xform_fuzzer.cpp39 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 Dsurface_utils.cpp167 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 Drs_xform.h29 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 Drosen_render_svg.cpp44 … 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 Dskia_svg_dom.cpp51 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 Djs_matrix2d.cpp264 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 Dshape_container_pattern.cpp50 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 Dgeometry_bezier_arc.cpp44 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 Dmatrix2d.cpp70 void Matrix2D::Translate(TransformParam& param, double tx, double ty) in Translate() argument
74 skMatrix = skMatrix.postTranslate(tx, ty); in Translate()
H A Dmatrix2d.h28 static void Translate(TransformParam& param, double tx, double ty);
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_ffrt/src/
H A Dsys_event.rs28 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 Dmatrix_fuzzer.cpp98 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 Dforeign.rs57 type CStruct = $ctype:ty;
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/rosen/
H A Dmock_canvas.h38 MOCK_METHOD2(Translate, void(float tx, float ty));

12345