/ohos5.0/commonlibrary/c_utils/base/include/ |
H A D | pubdef.h | 31 #define M_TO_B(m) ((m) * 1024 * 1024) argument 35 #define K_TO_B(m) ((m) * 1024) argument 51 #define MAX(x, y) (((x) > (y)) ? (x) : (y)) argument 53 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) argument
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_camera.cpp | 34 void SkiaCamera::Translate(scalar x, scalar y, scalar z) in Translate() 54 void SkiaCamera::SetCameraPos(scalar x, scalar y, scalar z) in SetCameraPos() 90 void SkiaCamera::ApplyToMatrix(Matrix& m) in ApplyToMatrix()
|
H A D | skia_canvas_autocache.cpp | 66 void SkiaCanvasAutoCache::Init(const SkMatrix& m) in Init() 487 void SkiaCanvasAutoCache::onDrawPicture(const SkPicture* picture, const SkMatrix* m, in onDrawPicture() 524 void SkiaCanvasAutoCache::onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, in onDrawTextBlob()
|
H A D | skia_canvas.cpp | 615 auto m = matrix.GetImpl<SkiaMatrix>(); in OpCalculateBefore() local 833 void SkiaCanvas::DrawTextBlob(const TextBlob* blob, const scalar x, const scalar y, const Paint& pa… in DrawTextBlob() 985 auto m = matrix.GetImpl<SkiaMatrix>(); in SetMatrix() local 1006 auto m = matrix.GetImpl<SkiaMatrix>(); in ConcatMatrix() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/utils/ |
H A D | camera3d.cpp | 36 void Camera3D::Translate(scalar x, scalar y, scalar z) in Translate() 56 void Camera3D::SetCameraPos(scalar x, scalar y, scalar z) in SetCameraPos() 76 void Camera3D::ApplyToMatrix(Matrix& m) in ApplyToMatrix()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | circular_arcs.cpp | 56 int y = 0; in OnTestFunction() local 62 for (const auto m : matrices) { in OnTestFunction() local 89 for (auto m : matrices) { in OnTestFunction() local
|
H A D | dashing.cpp | 147 OH_Drawing_Matrix *m = OH_Drawing_MatrixCreate(); in make_path_star() local 188 for (int y = 0; y < gIntervals[0]; ++y) { in OnTestFunction() local
|
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/graphics/ |
H A D | XMat4.js | 35 copy(m) { argument 70 initScaleMat(x, y, z) { argument 76 move(x, y, z = 0) { argument 82 rotate(x, y, z) { argument 98 scale(x, y, z = 1) { argument 148 orthoMat(x, y, w, h) { argument
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/test/fuzztest/ffrtutils_fuzzer/ |
H A D | ffrtutils_fuzzer.cpp | 41 int y = TypeCast<int32_t>(rawData + pos); in FuzzFfrtUtilsSubmitQueueTasks() local 67 int y = TypeCast<int32_t>(rawData); in FuzzFfrtUtilsSubmitDelayTask() local 103 int m = TypeCast<int32_t>(rawData, nullptr); in FuzzUtilsSubmitTimeoutTask() local 122 int m = TypeCast<int32_t>(rawData, &pos); in FuzzFfRTTimerSingleSetAndCancel() local
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | post_proc_slr.cpp | 92 bool SLRCheck(const SLRMat &src, const SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) in SLRCheck() 116 int y; member 120 const SLRWeightMat &y) in SLRBoxCheck() 161 …nst SLRSliceKey &key, const SLRMat &src, SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) in SLRBox() 201 void SLRProc::Serial(const SLRMat &src, SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) in Serial() 208 int m = dst.size_.height, n = dst.size_.width; in Serial() local 218 const SLRWeightMat &x, const SLRWeightMat &y) in SLRSubtask() 231 void SLRProc::Parallel(const SLRMat &src, SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) in Parallel() 239 int m = dst.size_.height, n = dst.size_.width; in Parallel() local
|
H A D | basic_transformer.cpp | 77 Matrix m; in SetScaleParam() local 84 Matrix m; in SetTranslateParam() local 91 Matrix m; in SetRotateParam() local 239 for (int32_t y = 0; y < size.height; ++y) { in DrawPixelmap() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/utils/ |
H A D | Matrix.js | 32 set(m) { argument 40 setTranslate(x, y, z) { argument 47 setScale(x, y, z) { argument 111 setRotate(angle, x, y, z) { argument 336 translate(x, y, z) { argument 345 scale(x, y, z) { argument 361 rotate(angle, x, y, z) { argument
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/transform/ |
H A D | transform_component.cpp | 33 void TransformComponent::Translate(const Dimension& x, const Dimension& y, const AnimationOption& a… in Translate() 39 …const Dimension& x, const Dimension& y, const Dimension& z, const AnimationOption& animationOption) in Translate() 52 void TransformComponent::TranslateY(const Dimension& y, const AnimationOption& animationOption) in TranslateY() 68 void TransformComponent::Scale(float x, float y, const AnimationOption& animationOption) in Scale() 73 void TransformComponent::Scale(float x, float y, float z, const AnimationOption& animationOption) in Scale() 86 void TransformComponent::ScaleY(float y, const AnimationOption& animationOption) in ScaleY() 163 void TransformComponent::Matrix3d(Matrix4 m, const AnimationOption& animationOption) in Matrix3d() 171 void TransformComponent::SetRotateTransition(TransitionType type, double x, double y, double z, dou… in SetRotateTransition() 194 TransitionType type, const Dimension& x, const Dimension& y, const Dimension& z) in SetTranslateTransition() 216 void TransformComponent::SetScaleTransition(TransitionType type, float x, float y, float z) in SetScaleTransition()
|
H A D | render_transform.cpp | 25 void RenderTransform::Translate(const Dimension& x, const Dimension& y) in Translate() 30 void RenderTransform::Translate(const Dimension& x, const Dimension& y, const Dimension& z) in Translate() 53 void RenderTransform::Scale(float x, float y) in Scale() 58 void RenderTransform::Scale(float x, float y, float z) in Scale() 73 void RenderTransform::Skew(float x, float y) in Skew() 86 void RenderTransform::Rotate(float angle, float x, float y, float z) in Rotate() 124 void RenderTransform::Matrix3D(Matrix4 m) in Matrix3D()
|
/ohos5.0/base/msdp/device_status/tools/vdev/src/ |
H A D | virtual_touchscreen_builder.cpp | 289 int32_t y = std::atoi(argv[optind + 1]); in ReadDownAction() local 347 int32_t y = std::atoi(argv[optind + 1]); in ReadMoveToAction() local 405 for (const auto &m : model) { in ReadModel() local 450 int32_t y = VirtualTouchScreenBuilder::GetModelValue(model, "y", DEFAULT_VALUE_MINUS_ONE); in HandleDown() local 482 int32_t y = VirtualTouchScreenBuilder::GetModelValue(model, "y", DEFAULT_VALUE_MINUS_ONE); in HandleMoveTo() local 524 for (const auto &m : model) { in ReadRawModel() local
|
H A D | virtual_mouse_builder.cpp | 296 int32_t y = std::atoi(argv[optind]); in ReadMoveToAction() local 314 int32_t y = std::atoi(argv[optind]); in ReadDragToAction() local 381 for (const auto &m : model) { in ReadModel() local 502 for (const auto &m : model) { in ReadRawModel() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/interface/ |
H A D | path_test.cpp | 74 float y; in OnTestPerformance() local 92 float y; in OnTestPerformance() local 110 float y; in OnTestPerformance() local 131 float y; in OnTestPerformance() local 166 float y = rand.nextUScalar1() * 300; // 300 用于生成随机坐标 in OnTestPerformance() local 219 float y = rand.nextUScalar1() * 300; // 300 用于生成随机坐标 in OnTestPerformance() local 233 float y = rand.nextUScalar1() * 300; // 300 用于生成随机坐标 in OnTestPerformance() local 261 OH_Drawing_Matrix* m = OH_Drawing_MatrixCreate(); in OnTestPerformance() local 270 float y = rand.nextUScalar1() * 30; // 30 用于生成随机坐标 in OnTestPerformance() local 534 OH_Drawing_Matrix* m = OH_Drawing_MatrixCreateScale(3, 3, 0, 0); // 3, 3, 0, 0 这些数字用于创建一个变换矩阵 in OnTestPerformance() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/ |
H A D | rs_obj_abs_geometry.cpp | 142 void ApplyPerspToMatrix(const RSTransform& trans, Drawing::Matrix& m, bool preConcat) in ApplyPerspToMatrix() 220 float y = trans_->quaternion_[1]; in UpdateAbsMatrix3D() local
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/ |
H A D | pixel_yuv.cpp | 111 const uint8_t *PixelYuv::GetPixel8(int32_t x, int32_t y) in GetPixel8() 117 const uint16_t *PixelYuv::GetPixel16(int32_t x, int32_t y) in GetPixel16() 123 const uint32_t *PixelYuv::GetPixel32(int32_t x, int32_t y) in GetPixel32() 129 bool PixelYuv::GetARGB32Color(int32_t x, int32_t y, uint32_t &color) in GetARGB32Color() 277 auto m = MemoryManager::CreateMemory(allocatorType_, memoryData); in CreateMemory() local 607 for (int32_t y = 0; y < static_cast<int32_t>(yuvDataInfo.yHeight); y++) { in WritePixels() local 616 for (int32_t y = 0; y < static_cast<int32_t>(yuvDataInfo.uvHeight); y++) { in WritePixels() local 692 for (int32_t y = 0; y<static_cast<int32_t>(yuvDataInfo.yHeight); y++) { in ReadPixels() local 701 for (int32_t y = 0; y<static_cast<int32_t>(yuvDataInfo.uvHeight); y++) { in ReadPixels() local 783 ColorYuv420 PixelYuv::GetYuv420Color(uint32_t x, uint32_t y) in GetYuv420Color()
|
H A D | pixel_map.cpp | 1152 const uint8_t *PixelMap::GetPixel8(int32_t x, int32_t y) in GetPixel8() 1166 const uint16_t *PixelMap::GetPixel16(int32_t x, int32_t y) in GetPixel16() 1181 const uint32_t *PixelMap::GetPixel32(int32_t x, int32_t y) in GetPixel32() 1196 const uint8_t *PixelMap::GetPixel(int32_t x, int32_t y) in GetPixel() 1209 bool PixelMap::GetARGB32Color(int32_t x, int32_t y, uint32_t &color) in GetARGB32Color() 3559 auto m = dstMemory.memory.get(); in DoTranslation() local 3701 auto m = MemoryManager::CreateMemory(allocatorType_, memoryData); in crop() local 3923 auto m = MemoryManager::CreateMemory(allocatorType_, memoryData); in ApplyColorSpace() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | transform_util.cpp | 48 float y = a[2] * b[0] - a[0] * b[2]; in Cross3() local 56 bool Normalize(Matrix4& m) in Normalize() 101 double y = decomp.quaternion.GetY(); in BuildRotationMatrix() local 597 double r, s, t, x, y, z, w; in DecomposeTransform() local
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/subheader/interfaces/ |
H A D | subheader.js | 2126 constructor(v, w, x, y = -1, z = undefined, a1) { argument 2156 onPlaceChildren(k, l, m) { argument
|
/ohos5.0/drivers/peripheral/display/interfaces/include/ |
H A D | display_vgu.h | 119 VGUScalar y; /* < Vertical coordinate of the point */ member 128 VGUScalar y; /* < Vertical coordinate of the start point of the rectangle */ member 223 float m[3][3]; /* < 3x3 transformation matrix */ member
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/interfaces/ |
H A D | segmentbutton.js | 30 var m, o; variable 1790 this.panGestureStartPoint = { x: 0, y: 0 }; property in SegmentButton.constructor.panGestureStartPoint
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/demo/hvigor/ |
H A D | hvigor-wrapper.js | 16 …ypto"),n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=… variable
|