Home
last modified time | relevance | path

Searched refs:offsetX (Results 1 – 25 of 71) sorted by relevance

123

/third_party/skia/third_party/externals/angle2/src/libANGLE/
DOverlay_autogen.cpp40 const int32_t offsetX = 10; in initOverlayWidgets() local
47 widget->coords[0] = offsetX; in initOverlayWidgets()
49 widget->coords[2] = offsetX + width; in initOverlayWidgets()
63 const int32_t offsetX = 10; in initOverlayWidgets() local
70 widget->coords[0] = offsetX; in initOverlayWidgets()
72 widget->coords[2] = offsetX + width; in initOverlayWidgets()
86 const int32_t offsetX = 10; in initOverlayWidgets() local
94 widget->coords[0] = offsetX; in initOverlayWidgets()
96 widget->coords[2] = offsetX + width; in initOverlayWidgets()
110 const int32_t offsetX = 10; in initOverlayWidgets() local
[all …]
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/
Dshadow.dart159 offsetX: 0.0,
167 offsetX: 0.0,
175 offsetX: 0.0,
183 offsetX: 0.0,
191 offsetX: 0.0,
199 offsetX: 0.0,
207 offsetX: 0.0,
215 offsetX: 0.0,
223 offsetX: 0.0,
231 offsetX: 0.0,
[all …]
Dpath_to_svg.dart10 {double offsetX = 0, double offsetY = 0}) {
16 sb.write('M ${moveTo.x + offsetX} ${moveTo.y + offsetY}');
20 sb.write('L ${lineTo.x + offsetX} ${lineTo.y + offsetY}');
24 sb.write('C ${curve.x1 + offsetX} ${curve.y1 + offsetY} '
25 … '${curve.x2 + offsetX} ${curve.y2 + offsetY} ${curve.x3 + offsetX} ${curve.y3 + offsetY}');
30 'Q ${quadraticCurveTo.x1 + offsetX} ${quadraticCurveTo.y1 + offsetY} '
31 '${quadraticCurveTo.x2 + offsetX} ${quadraticCurveTo.y2 + offsetY}');
43 ellipse.x + offsetX,
54 ellipse.x + offsetX,
65 ellipse.x + offsetX,
[all …]
/third_party/flutter/skia/modules/skparagraph/src/
DTextLine.cpp104 [this, textCanvas](TextRange textRange, const TextStyle& style, SkScalar offsetX) { in paint() argument
105 return this->paintBackground(textCanvas, textRange, style, offsetX); in paint()
112 [textCanvas, this](TextRange textRange, const TextStyle& style, SkScalar offsetX) { in paint() argument
113 return this->paintShadow(textCanvas, textRange, style, offsetX); in paint()
119 [textCanvas, this](TextRange textRange, const TextStyle& style, SkScalar offsetX) { in paint() argument
120 return this->paintText(textCanvas, textRange, style, offsetX); in paint()
126 [textCanvas, this](TextRange textRange, const TextStyle& style, SkScalar offsetX) { in paint() argument
127 return this->paintDecorations(textCanvas, textRange, style, offsetX); in paint()
168 style, [this, visitor](TextRange textRange, const TextStyle& style, SkScalar offsetX) { in scanStyles() argument
169 visitor(textRange, style, offsetX); in scanStyles()
[all …]
DTextLine.h56 SkScalar offsetX)>;
64 SkScalar offsetX,
94 …r paintText(SkCanvas* canvas, TextRange textRange, const TextStyle& style, SkScalar offsetX) const;
96 SkScalar offsetX) const;
98 SkScalar offsetX) const;
100 SkScalar offsetX) const;
/third_party/skia/gm/
Dlcdoverlap.cpp81 SkScalar offsetX = kWidth / 4.0f; in onDraw() local
83 drawTestCase(canvas, offsetX, offsetY, SkBlendMode::kSrc, SkBlendMode::kSrc); in onDraw()
84 drawTestCase(canvas, 3 * offsetX, offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrcOver); in onDraw()
85 drawTestCase(canvas, offsetX, 3 * offsetY, SkBlendMode::kHardLight, in onDraw()
87 drawTestCase(canvas, 3 * offsetX, 3 * offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrc); in onDraw()
Dfontcache.cpp97 bool offsetX = true; in drawText() local
121 (offsetX ? subpixelX : subpixelY) += kSubPixelInc; in drawText()
122 offsetX = !offsetX; in drawText()
Dpictureshadertile.cpp31 SkScalar offsetX, offsetY; member
123 localMatrix.setTranslate(tiles[i].offsetX * kPictureSize, in onOnceBeforeDraw()
/third_party/flutter/skia/gm/
Dlcdoverlap.cpp82 SkScalar offsetX = kWidth / 4.0f; in onDraw() local
84 drawTestCase(canvas, offsetX, offsetY, SkBlendMode::kSrc, SkBlendMode::kSrc); in onDraw()
85 drawTestCase(canvas, 3 * offsetX, offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrcOver); in onDraw()
86 drawTestCase(canvas, offsetX, 3 * offsetY, SkBlendMode::kHardLight, in onDraw()
88 drawTestCase(canvas, 3 * offsetX, 3 * offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrc); in onDraw()
Dfontcache.cpp99 bool offsetX = true; in drawText() local
123 (offsetX ? subpixelX : subpixelY) += kSubPixelInc; in drawText()
124 offsetX = !offsetX; in drawText()
Dpictureshadertile.cpp31 SkScalar offsetX, offsetY; member
123 localMatrix.setTranslate(tiles[i].offsetX * kPictureSize, in onOnceBeforeDraw()
/third_party/skia/src/core/
DSkAntiRun.h54 U8CPU maxValue, int offsetX) { in add() argument
58 SkASSERT(fRuns[offsetX] >= 0); in add()
60 int16_t* runs = fRuns + offsetX; in add()
61 uint8_t* alpha = fAlpha + offsetX; in add()
63 x -= offsetX; in add()
DSkCompressedDataUtils.cpp127 int offsetX = 4 * x, offsetY = 4 * y; in decompress_etc1() local
130 if (offsetX + j >= dst->width() || offsetY + i >= dst->height()) { in decompress_etc1()
144 *dst->getAddr32(offsetX + j, offsetY + i) = in decompress_etc1()
209 int offsetX = 4 * x, offsetY = 4 * y; in decompress_bc1() local
212 if (offsetX + j >= dst->width() || offsetY + i >= dst->height()) { in decompress_bc1()
219 *dst->getAddr32(offsetX + j, offsetY + i) = colors[index]; in decompress_bc1()
/third_party/flutter/skia/src/core/
DSkAntiRun.h54 U8CPU maxValue, int offsetX) { in add() argument
58 SkASSERT(fRuns[offsetX] >= 0); in add()
60 int16_t* runs = fRuns + offsetX; in add()
61 uint8_t* alpha = fAlpha + offsetX; in add()
63 x -= offsetX; in add()
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DTilingFunctions.h653 uint32_t offsetX = 0, offsetY = 0, offsetZ = 0;
658 offsetX = x * pState->pitch;
659 return offsetX;
662 ComputeSurfaceOffset1D<UseCachedOffsets>(x, array, lod, pState, offsetX);
663 return TileSwizzle2D(offsetX, 0, pState);
666 … ComputeSurfaceOffset2D<UseCachedOffsets>(x, y, array, sampleNum, lod, pState, offsetX, offsetY);
667 return TileSwizzle2D(offsetX, offsetY, pState);
669 ComputeSurfaceOffset3D<UseCachedOffsets>(x, y, z, lod, pState, offsetX, offsetY, offsetZ);
670 return TileSwizzle3D(offsetX, offsetY, offsetZ, pState);
673 … ComputeSurfaceOffset2D<UseCachedOffsets>(x, y, array, sampleNum, lod, pState, offsetX, offsetY);
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageSparseResidency.cpp828 for (deUint32 offsetX = offset.width; offsetX < offset.width + extent.width; ++offsetX) in iterate() local
836 iReferenceValue = offsetX % 127u; in iterate()
861 …const tcu::UVec4 outputValue = pixelBuffer.getPixelUint(offsetX * pixelDivider.x(), offsetY * pixe… in iterate()
873 …const tcu::Vec4 outputValue = pixelBuffer.getPixel(offsetX * pixelDivider.x(), offsetY * pixelDivi… in iterate()
882 …const tcu::Vec4 outputValue = pixelBuffer.getPixel(offsetX * pixelDivider.x(), offsetY * pixelDivi… in iterate()
897 for (deUint32 offsetX = offset.width; offsetX < offset.width + extent.width; ++offsetX) in iterate() local
906 …const tcu::UVec4 outputValue = pixelBuffer.getPixelUint(offsetX * pixelDivider.x(), offsetY * pixe… in iterate()
918 …const tcu::Vec4 outputValue = pixelBuffer.getPixel(offsetX * pixelDivider.x(), offsetY * pixelDivi… in iterate()
927 …const tcu::Vec4 outputValue = pixelBuffer.getPixel(offsetX * pixelDivider.x(), offsetY * pixelDivi… in iterate()
945 for (deUint32 offsetX = 0u; offsetX < planeExtent.width; ++offsetX) in iterate() local
[all …]
/third_party/libwebsockets/test-apps/
Dtest.js374 if (ev.offsetX) {
375 x = ev.offsetX;
378 x = ev.layerX - offsetX;
474 offsetX = offsetY = 0;
478 offsetX += element.offsetLeft;
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-demos/mount-origin/
Dtest.js374 if (ev.offsetX) {
375 x = ev.offsetX;
378 x = ev.layerX - offsetX;
474 offsetX = offsetY = 0;
478 offsetX += element.offsetLeft;
/third_party/skia/third_party/externals/dawn/examples/
DAnimometer.cpp44 float offsetX; member
136 data.offsetX = RandomFloat(-0.9f, 0.9f); in init()
/third_party/flutter/skia/third_party/externals/dawn/examples/
DAnimometer.cpp42 float offsetX; member
129 data.offsetX = RandomFloat(-0.9f, 0.9f); in init()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrStorageImageWriteTests.cpp389 for (deUint32 offsetX = 0u; offsetX < planeExtent.width; ++offsetX) in testStorageImageWrite() local
396 iReferenceValue = offsetX % 127u; in testStorageImageWrite()
420 …tcu::UVec4 outputValue = pixelBuffer.getPixelUint(offsetX * pixelDivider.x(), offsetY * pixelDivid… in testStorageImageWrite()
432 …tcu::Vec4 outputValue = pixelBuffer.getPixel(offsetX * pixelDivider.x(), offsetY * pixelDivider.y(… in testStorageImageWrite()
441 …const tcu::Vec4 outputValue = pixelBuffer.getPixel(offsetX * pixelDivider.x(), offsetY * pixelDivi… in testStorageImageWrite()
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/semantics/
Dtext_field.dart110 final num offsetX = touchEvent.changedTouches.last.client.x;
120 if (offsetX * offsetX + offsetY * offsetY < kTouchSlop) {
/third_party/flutter/skia/samplecode/
DSamplePathText.cpp418 float offsetY[4], offsetX[4]; in apply() local
420 (dx + SkNx_shuffle<2,3,0,1>(dx)).store(offsetX); in apply()
422 return {devicePt[0] + offsetY[0] + offsetY[1], devicePt[1] - offsetX[0] - offsetX[1]}; in apply()
/third_party/flutter/flutter/packages/flutter_test/lib/src/
Dcontroller.dart483 final double offsetX = offset.dx;
490 final double offsetSlope = offsetY / offsetX;
491 final double inverseOffsetSlope = offsetX / offsetY;
499 assert(offsetX.abs() > touchSlopX);
501 // It is guaranteed that the |offsetX| > touchSlopX.
508 await gesture.moveBy(Offset(offsetX - signedSlopX, offsetY - diffY));
515 await gesture.moveBy(Offset(offsetX - diffX2 - signedSlopX, offsetY - signedSlopY));
525 if (offsetX.abs() <= touchSlopX) {
527 await gesture.moveBy(Offset(offsetX - diffX, offsetY - signedSlopY));
534 await gesture.moveBy(Offset(offsetX - signedSlopX, offsetY - diffY2 - signedSlopY));
[all …]
/third_party/skia/samplecode/
DSamplePathText.cpp421 float offsetY[4], offsetX[4]; in apply() local
423 (dx + SkNx_shuffle<2,3,0,1>(dx)).store(offsetX); in apply()
425 return {devicePt[0] + offsetY[0] + offsetY[1], devicePt[1] - offsetX[0] - offsetX[1]}; in apply()

123