/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | matrix4.cpp | 55 double y = dy / sqrt(sum); in CreateRotate() local 73 Matrix4 Matrix4::CreateSkew(double x, double y) in CreateSkew() 316 for (auto j = 0; j < columns; j++) { in operator *() local 330 double y = point.GetY(); in operator *() local 417 for (int j = 0; j < DIMENSION; j++) { in MapScalars() local 432 for (double j : i) { in ToString() local 462 for (auto j = 0; j < DIMENSION; j++) { in operator *() local 477 for (auto j = 0; j < columns_; j++) { in Transpose() local 492 for (int32_t j = 0; j < columns_; j++) { in MapScalars() local 508 for (int32_t j = 0; j < columns_; j++) { in MapScalars() local [all …]
|
H A D | transform_util.cpp | 48 float y = a[2] * b[0] - a[0] * b[2]; in Cross3() local 63 for (int j = 0; j < 4; j++) { in Normalize() local 101 double y = decomp.quaternion.GetY(); in BuildRotationMatrix() local 524 for (int32_t j = 0; j < 3; j++) { in DecomposeTransform() local 577 for (int j = 0; j < 3; ++j) in DecomposeTransform() local 597 double r, s, t, x, y, z, w; in DecomposeTransform() local
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | post_proc_slr.cpp | 79 for (int j = 0; j < 2 * a; j++) { // 2 max SLR box size in GetWeights() local 85 for (int j = 0; j < 2 * a; j++) { // 2 max SLR box size in GetWeights() local 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() 201 void SLRProc::Serial(const SLRMat &src, SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) in Serial() 210 for (int j = 0; j < n; j++) { in Serial() local 218 const SLRWeightMat &x, const SLRWeightMat &y) in SLRSubtask() 224 for (int j = 0; j < n; j++) { in SLRSubtask() local 231 void SLRProc::Parallel(const SLRMat &src, SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) in Parallel() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/pattern_lock/ |
H A D | render_pattern_lock.cpp | 80 for (int16_t j = 0; j < COL_COUNT && !isAdd; j++) { in HandleCellTouchDown() local 95 for (int16_t j = 0; j < COL_COUNT && !isAdd; j++) { in HandleCellTouchMove() local 199 bool RenderPatternLock::AddChoosePoint(Offset offset, int16_t x, int16_t y) in AddChoosePoint() 226 Offset RenderPatternLock::GetCircleCenterByXY(const Offset& offset, int16_t x, int16_t y) in GetCircleCenterByXY() 243 bool RenderPatternLock::CheckChoosePointIsLastIndex(int16_t x, int16_t y, int16_t index) const in CheckChoosePointIsLastIndex() 260 void RenderPatternLock::AddPassPoint(Offset offset, int16_t x, int16_t y) in AddPassPoint() 273 for (int16_t j = 1; j <= COL_COUNT; j++) { in AddPassPoint() local
|
H A D | rosen_render_pattern_lock.cpp | 37 for (int j = 0; j < COL_COUNT; j++) { in Paint() local 44 …senRenderPatternLock::PaintLockCircle(SkCanvas* canvas, const Offset& offset, int16_t x, int16_t y) in PaintLockCircle() 83 …senRenderPatternLock::PaintLockCircle(RSCanvas* canvas, const Offset& offset, int16_t x, int16_t y) in PaintLockCircle()
|
/ohos5.0/base/update/updater/services/ui/driver/ |
H A D | ui_rotation.cpp | 108 int x {}, y {}; in RotateBuffer() local 117 for (int j = 0; j < pixelBytes_; j++) { in RotateBuffer() local 124 std::pair<int, int> UiRotation::RotateXY(int x, int y) in RotateXY()
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/brightness/ |
H A D | cpu_brightness_algo.cpp | 82 for (uint32_t y = 0; y < height; ++y) { in OnApplyRGBA8888() local 131 for (uint32_t j = 0; j < width; j++) { in OnApplyYUVNV21() local 135 uint8_t y = srcNV21[y_index]; in OnApplyYUVNV21() local 190 for (uint32_t j = 0; j < width; j++) { in OnApplyYUVNV12() local 194 uint8_t y = srcNV12[y_index]; in OnApplyYUVNV12() local
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/ |
H A D | cpu_contrast_algo.cpp | 72 for (uint32_t y = 0; y < height; ++y) { in OnApplyRGBA8888() local 120 for (uint32_t j = 0; j < width; j++) { in OnApplyYUVNV21() local 124 uint8_t y = srcNV21[y_index]; in OnApplyYUVNV21() local 177 for (uint32_t j = 0; j < width; j++) { in OnApplyYUVNV12() local 181 uint8_t y = srcNV12[y_index]; in OnApplyYUVNV12() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/patternlock/ |
H A D | patternlock_pattern.cpp | 159 for (int32_t y = 0; y < PATTERN_LOCK_COL_COUNT; y++) { in InitVirtualNode() local 198 void PatternLockPattern::HandleTextOnAccessibilityFocusCallback(int32_t x, int32_t y) in HandleTextOnAccessibilityFocusCallback() 221 for (int32_t y = 0; y < PATTERN_LOCK_COL_COUNT; y++) { in ModifyAccessibilityVirtualNode() local 247 RefPtr<FrameNode> frameNode, float handleCircleRadius, int32_t x, int32_t y) in UpdateAccessibilityTextNode() 412 void PatternLockPattern::AddPassPoint(int32_t x, int32_t y) in AddPassPoint() 425 for (int32_t j = 1; j <= PATTERN_LOCK_COL_COUNT; j++) { in AddPassPoint() local 487 for (int32_t j = 0; j < PATTERN_LOCK_COL_COUNT && !isAdd; j++) { in OnTouchDown() local 513 for (int32_t j = 0; j < PATTERN_LOCK_COL_COUNT && !isAdd; j++) { in OnTouchMove() local 799 for (int32_t j = 0; j < PATTERN_LOCK_COL_COUNT; j++) { in HandleMouseEvent() local 813 void PatternLockPattern::StartModifierConnectedAnimate(int32_t x, int32_t y) in StartModifierConnectedAnimate() [all …]
|
H A D | patternlock_modifier.cpp | 161 for (int j = 0; j < PATTERN_LOCK_COL_COUNT; j++) { in onDraw() local 174 for (int j = 0; j < PATTERN_LOCK_COL_COUNT; j++) { in DrawForApiNine() local 236 …kModifier::PaintLockCircleForApiNine(RSCanvas& canvas, const OffsetF& offset, int32_t x, int32_t y) in PaintLockCircleForApiNine() 363 …PatternLockModifier::PaintLockCircle(RSCanvas& canvas, const OffsetF& offset, int32_t x, int32_t y) in PaintLockCircle() 448 bool PatternLockModifier::CheckChoosePointIsLastIndex(int32_t x, int32_t y, int32_t index) const in CheckChoosePointIsLastIndex() 459 OffsetF PatternLockModifier::GetCircleCenterByXY(const OffsetF& offset, int32_t x, int32_t y) in GetCircleCenterByXY() 803 void PatternLockModifier::SetConnectedLineTailPoint(int32_t x, int32_t y) in SetConnectedLineTailPoint() 849 void PatternLockModifier::StartConnectedCircleAnimate(int32_t x, int32_t y) in StartConnectedCircleAnimate() 860 void PatternLockModifier::StartConnectedLineAnimate(int32_t x, int32_t y) in StartConnectedLineAnimate() 908 float y = cellCenter.GetY(); in GetPointEndByCellCenter() local [all …]
|
/ohos5.0/base/sensors/sensor/vibration_convert/core/algorithm/conversion/src/ |
H A D | conversion_fft.cpp | 99 for (size_t j = 0; j < valuesSize; j++) { in Process() local 160 float y = 0.0F; in GetSpectralCentroid() local 298 for (int32_t j = lastAvgIdx; j < avgIdx; j++) { in Calculate() local
|
/ohos5.0/base/update/updater/services/diffpatch/diff/ |
H A D | blocks_diff.cpp | 29 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) argument 30 #define SET_BUFFER(y, buffer, index) \ argument 41 auto y = static_cast<uint64_t>((value < 0) ? -value : value); in WriteLE64() local 551 DataType j = 0; in SplitForLess() local 592 DataType j = 0; in Split() local 645 int64_t y = 0; in Search() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/matrix4/ |
H A D | cj_matrix4_ffi.cpp | 50 for (int32_t j = 0; j < Matrix4::DIMENSION; j++) { in FfiOHOSMatrix4Init() local 120 void FfiOHOSMatrix4Translate(int64_t id, float x, float y, float z) in FfiOHOSMatrix4Translate()
|
/ohos5.0/base/startup/hvb/libhvb/src/crypto/ |
H A D | hvb_hash_sha256.c | 39 #define maj(x, y, z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) argument 40 #define ch(x, y, z) (((x) & (y)) ^ ((~(x)) & (z))) argument 167 uint32_t j; in sha256_data_blk_update() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/shape/ |
H A D | rosen_render_shape_container.cpp | 312 SkScalar y = 0; in DrawBitmapMesh() local 318 for (int j = 0; j < column; j++) { in DrawBitmapMesh() local 331 for (int j = 0; j < column; j++) { in DrawBitmapMesh() local
|
/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/ |
H A D | transform.cpp | 70 uint8_t j = (i + 1) % vertexNum; // 1: the next vertex in GetClockWise() local 198 float y = rectY + cameraPosition_.y_; in GetOrigPoint() local 267 float y = rect_.GetY() + cameraPosition_.y_; in UpdateMap() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/canvas/ |
H A D | canvas_rendering_context_2d_model_impl.cpp | 238 void CanvasRenderingContext2DModelImpl::MoveTo(double x, double y) in MoveTo() 244 void CanvasRenderingContext2DModelImpl::LineTo(double x, double y) in LineTo() 361 void CanvasRenderingContext2DModelImpl::CanvasRendererScale(double x, double y) in CanvasRendererScale() 390 void CanvasRenderingContext2DModelImpl::Translate(double x, double y) in Translate() 469 for (uint32_t j = 0; j < finalWidth; j++) { in GetPixelMap() local
|
H A D | offscreen_canvas_rendering_context_2d_model_impl.cpp | 239 void OffscreenCanvasRenderingContext2DModelImpl::MoveTo(double x, double y) in MoveTo() 245 void OffscreenCanvasRenderingContext2DModelImpl::LineTo(double x, double y) in LineTo() 362 void OffscreenCanvasRenderingContext2DModelImpl::CanvasRendererScale(double x, double y) in CanvasRendererScale() 388 void OffscreenCanvasRenderingContext2DModelImpl::Translate(double x, double y) in Translate() 468 for (uint32_t j = 0; j < finalWidth; j++) { in GetPixelMap() local
|
/ohos5.0/foundation/multimedia/player_framework/services/engine/histreamer/avmetadatahelper/ |
H A D | av_thumbnail_generator.cpp | 401 for (int32_t j = 0; j < width; j++) { in ConvertP010ToNV12() local 419 for (int32_t j = 0; j < width && srcUV < maxSrcAddr && dstUV < maxDstAddr; j++) { in ConvertP010ToNV12() local 514 for (int32_t y = 0; y < height; y++) { in GetYuvDataAlignStride() local 566 for (int32_t y = 0; y < height; y++) { in CopySurfaceBufferPixels() local
|
/ohos5.0/base/sensors/sensor/frameworks/native/src/ |
H A D | sensor_algorithm.cpp | 64 int32_t y = (axisY & 0x3) - 1; in TransformCoordinateSystemImpl() local 72 for (int32_t j = 0; j < ROTATION_VECTOR_LENGTH; j++) { in TransformCoordinateSystemImpl() local
|
/ohos5.0/foundation/distributedhardware/distributed_screen/services/common/imageJpeg/src/ |
H A D | jpeg_image_processor.cpp | 281 for (unsigned int j = 0 ; j < cinfo.output_width ; j++) { in DecompressJpegToNV12() local 282 … int32_t y = ((YR_PARAM * buffer[0][j * RGB_CHROMA] + YG_PARAM * buffer[0][j * RGB_CHROMA + 1] + in DecompressJpegToNV12() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/ |
H A D | rosen_render_custom_paint.cpp | 1072 double y = 0.0; in GetBaselineOffset() local 1564 double y = args.para2 + offset.GetY(); in Path2DMoveTo() local 1575 double y = args.para2 + offset.GetY(); in Path2DLineTo() local 1586 double y = args.para2; in Path2DArc() local 1649 double y = args.para4 + offset.GetY(); in Path2DQuadraticCurveTo() local 1664 double y = args.para6 + offset.GetY(); in Path2DBezierCurveTo() local 1679 double y = args.para2; in Path2DEllipse() local 2262 void RosenRenderCustomPaint::Scale(double x, double y) 2960 SkScalar y = 0; local 2966 for (int j = 0; j < column; j++) { local [all …]
|
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/ |
H A D | graphic_math.h | 119 Vector2(T x, T y) in Vector2() 242 Vector3(T x, T y, T z) in Vector3() 298 Vector4(T x, T y, T z, T w) in Vector4() 525 T y = data_[1] * ((data_[3] * data_[8]) - (data_[5] * data_[6])); in Determinant() local 801 for (int16_t j = 0; j < ORDER_MATRIX_4; j++) { in ConomialMatrix() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_canvas_autocache.cpp | 181 for (uint32_t j = 0; j < drawAreaRects.size(); j++) { in MergeDrawAreaRects() local 192 for (uint32_t j = i + 1; j < drawAreaRects.size(); j++) { in MergeDrawAreaRects() local 225 int j = 0; in ShowDrawResult() local 524 void SkiaCanvasAutoCache::onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, in onDrawTextBlob()
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/src/ |
H A D | gif_encoder.cpp | 293 for (int j = 0; j < COLOR_MAP_SIZE; j++) { in processFrame() local 352 for (int y = 0; y < height; y++) { in separateRGB() local 389 for (int j = 0; j < NUM_OF_RGB; j++) { in InitColorSubdivMap() local 498 for (int j = 0; j < NUM_OF_RGB; j++) { in PrepareSort() local 624 for (int j = 0; j < height; j++) { in LZWEncodeFrame() local
|