Home
last modified time | relevance | path

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

12

/external/replicaisland/tools/
DExtractPoints.js221 var offsetX = Math.floor(x % tilesPerRow) * tileSizeX; variable
227 lineArray[y] = Array(offsetX + edge.startX, offsetY + edge.startY);
245 tileCenterArray[0] = new Array(offsetX + tile.centerX - 1,
247 tileCenterArray[1] = new Array(offsetX + tile.centerX - 1,
249 tileCenterArray[2] = new Array(offsetX + tile.centerX + 1,
251 tileCenterArray[3] = new Array(offsetX + tile.centerX + 1,
253 tileCenterArray[4] = new Array(offsetX + normalX - 1,
255 tileCenterArray[5] = new Array(offsetX + normalX + 1,
257 tileCenterArray[6] = new Array(offsetX + tile.centerX,
264 centerArray[0] = new Array(offsetX + edge.centerX - 1,
[all …]
/external/skqp/gm/
Dlcdoverlap.cpp77 SkScalar offsetX = kWidth / 4.0f; in onDraw() local
79 drawTestCase(canvas, offsetX, offsetY, SkBlendMode::kSrc, SkBlendMode::kSrc); in onDraw()
80 drawTestCase(canvas, 3 * offsetX, offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrcOver); in onDraw()
81 drawTestCase(canvas, offsetX, 3 * offsetY, SkBlendMode::kHardLight, in onDraw()
83 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.cpp21 SkScalar offsetX, offsetY; member
113 localMatrix.setTranslate(tiles[i].offsetX * kPictureSize, in onOnceBeforeDraw()
/external/skia/gm/
Dlcdoverlap.cpp77 SkScalar offsetX = kWidth / 4.0f; in onDraw() local
79 drawTestCase(canvas, offsetX, offsetY, SkBlendMode::kSrc, SkBlendMode::kSrc); in onDraw()
80 drawTestCase(canvas, 3 * offsetX, offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrcOver); in onDraw()
81 drawTestCase(canvas, offsetX, 3 * offsetY, SkBlendMode::kHardLight, in onDraw()
83 drawTestCase(canvas, 3 * offsetX, 3 * offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrc); in onDraw()
Dfontcache.cpp92 bool offsetX = true; in drawText() local
116 (offsetX ? subpixelX : subpixelY) += kSubPixelInc; in drawText()
117 offsetX = !offsetX; in drawText()
Dpictureshadertile.cpp21 SkScalar offsetX, offsetY; member
113 localMatrix.setTranslate(tiles[i].offsetX * kPictureSize, in onOnceBeforeDraw()
/external/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()
/external/skqp/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()
/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTDecompress.cpp227 static void unpackModulations(const PVRTCWord& word, int offsetX, int offsetY, PVRTint32 i32Modulat… in unpackModulations() argument
286 i32ModulationModes[x+offsetX][y+offsetY] = WordModMode; in unpackModulations()
291 i32ModulationValues[x+offsetX][y+offsetY] = ModulationBits & 3; in unpackModulations()
304 i32ModulationModes[x+offsetX][y+offsetY] = WordModMode; in unpackModulations()
311 i32ModulationValues[x+offsetX][y+offsetY] = 0x3; in unpackModulations()
315 i32ModulationValues[x+offsetX][y+offsetY] = 0x0; in unpackModulations()
332 i32ModulationValues[y+offsetY][x+offsetX] = ModulationBits & 3; in unpackModulations()
334 … if (i32ModulationValues[y+offsetY][x+offsetX]==1) { i32ModulationValues[y+offsetY][x+offsetX]=4;} in unpackModulations()
335 …else if (i32ModulationValues[y+offsetY][x+offsetX]==2) { i32ModulationValues[y+offsetY][x+offsetX]… in unpackModulations()
336 …else if (i32ModulationValues[y+offsetY][x+offsetX]==3) { i32ModulationValues[y+offsetY][x+offsetX]… in unpackModulations()
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DTilingFunctions.h654 uint32_t offsetX = 0, offsetY = 0, offsetZ = 0;
659 offsetX = x * pState->pitch;
660 return offsetX;
663 ComputeSurfaceOffset1D<UseCachedOffsets>(x, array, lod, pState, offsetX);
664 return TileSwizzle2D(offsetX, 0, pState);
667 … ComputeSurfaceOffset2D<UseCachedOffsets>(x, y, array, sampleNum, lod, pState, offsetX, offsetY);
668 return TileSwizzle2D(offsetX, offsetY, pState);
670 ComputeSurfaceOffset3D<UseCachedOffsets>(x, y, z, lod, pState, offsetX, offsetY, offsetZ);
671 return TileSwizzle3D(offsetX, offsetY, offsetZ, pState);
674 … ComputeSurfaceOffset2D<UseCachedOffsets>(x, y, array, sampleNum, lod, pState, offsetX, offsetY);
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DLaunchProjectileComponent.java134 float offsetX = mOffsetX; in launch() local
138 offsetX = parentObject.width - mOffsetX; in launch()
146 final float x = parentObject.getPosition().x + offsetX; in launch()
195 public final void setOffsetX(float offsetX) { in setOffsetX() argument
196 mOffsetX = offsetX; in setOffsetX()
DAABoxCollisionVolume.java31 public AABoxCollisionVolume(float offsetX, float offsetY, float width, float height) { in AABoxCollisionVolume() argument
33 mBottomLeft = new Vector2(offsetX, offsetY); in AABoxCollisionVolume()
37 public AABoxCollisionVolume(float offsetX, float offsetY, float width, float height, in AABoxCollisionVolume() argument
40 mBottomLeft = new Vector2(offsetX, offsetY); in AABoxCollisionVolume()
DTiledVertexGrid.java89 final float offsetX = tileX * tileWidth; in generateGrid() local
110 final float[] p0 = { offsetX, offsetY, 0.0f }; in generateGrid()
111 final float[] p1 = { offsetX + tileWidth, offsetY, 0.0f }; in generateGrid()
112 final float[] p2 = { offsetX, offsetY + tileHeight, 0.0f }; in generateGrid()
113 final float[] p3 = { offsetX + tileWidth, offsetY + tileHeight, 0.0f }; in generateGrid()
DMovementComponent.java44 float offsetX = sInterpolator.interpolate(timeDelta); in update() local
45 float newX = object.getPosition().x + offsetX; in update()
DLauncherComponent.java145 …public void setLaunchEffect(GameObjectFactory.GameObjectType effectType, float offsetX, float offs… in setLaunchEffect() argument
147 mLaunchEffectOffsetX = offsetX; in setLaunchEffect()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageSparseResidency.cpp627 for (deUint32 offsetX = offset.width; offsetX < offset.width + extent.width; ++offsetX) in iterate() local
629 … const tcu::UVec4 referenceValue = tcu::UVec4(offsetX % 127u, offsetY % 127u, offsetZ % 127u, 1u); in iterate()
630 const tcu::UVec4 outputValue = pixelBuffer.getPixelUint(offsetX, offsetY, offsetZ); in iterate()
640 for (deUint32 offsetX = offset.width; offsetX < offset.width + extent.width; ++offsetX) in iterate() local
643 const tcu::UVec4 outputValue = pixelBuffer.getPixelUint(offsetX, offsetY, offsetZ); in iterate()
658 for (deUint32 offsetX = 0u; offsetX < mipExtent.width; ++offsetX) in iterate() local
660 … const tcu::UVec4 referenceValue = tcu::UVec4(offsetX % 127u, offsetY % 127u, offsetZ % 127u, 1u); in iterate()
661 const tcu::UVec4 outputValue = pixelBuffer.getPixelUint(offsetX, offsetY, offsetZ); in iterate()
DvktSparseResourcesImageMemoryAliasing.cpp642 for (deUint32 offsetX = 0u; offsetX < gridSize.x(); ++offsetX) in iterate() local
644 const deUint32 index = offsetX + (offsetY + offsetZ * gridSize.y()) * gridSize.x(); in iterate()
646 const tcu::UVec4 outputValue = pixelBuffer.getPixelUint(offsetX, offsetY, offsetZ); in iterate()
/external/libxcam/cl_kernel/
Dkernel_yuv_pipe.cl178 int offsetX = get_global_size(0);
186 uint offsetE = 2 * y * offsetX + x;
187 uint offsetO = (2 * y + 1) * offsetX + x;
188 uint offsetUV = (y + vertical_offset) * offsetX + x;
189 uint offsetG = offsetX * plannar_offset;
190 uint offsetB = offsetX * plannar_offset * 2;
212 … cl_tnr_yuv (&out[0], inputFramePre, x, y, yuv_gain, thr_y, thr_uv, vertical_offset, offsetX);
214 … cl_tnr_yuv (&out[0], inputFramePre, inputFramePreUV, x, y, yuv_gain, thr_y, thr_uv, offsetX);
/external/pdfium/xfa/fxfa/parser/
Dcxfa_rectangle.cpp457 float offsetX = 0.0f; in GetPath() local
521 offsetX = halfAfter; in GetPath()
559 offsetX = -halfAfter; in GetPath()
590 CFX_RectF rtRadius(cp1.x + offsetX * 2, cp1.y + offsetY * 2, in GetPath()
591 fRadius1 * 2 * vx - offsetX * 2, in GetPath()
607 path.LineTo(CFX_PointF(cp1.x + fRadius1 * sx + offsetX, in GetPath()
/external/skqp/samplecode/
DSamplePathText.cpp422 float offsetY[4], offsetX[4]; in apply() local
424 (dx + SkNx_shuffle<2,3,0,1>(dx)).store(offsetX); in apply()
426 return {devicePt[0] + offsetY[0] + offsetY[1], devicePt[1] - offsetX[0] - offsetX[1]}; in apply()
/external/skia/samplecode/
DSamplePathText.cpp422 float offsetY[4], offsetX[4]; in apply() local
424 (dx + SkNx_shuffle<2,3,0,1>(dx)).store(offsetX); in apply()
426 return {devicePt[0] + offsetY[0] + offsetY[1], devicePt[1] - offsetX[0] - offsetX[1]}; in apply()
/external/skia/site/user/modules/
Dcanvaskit.md224 X = e.offsetX;
291 path.lineTo(e.offsetX, e.offsetY);
298 path.moveTo(e.offsetX, e.offsetY);
359 X = e.offsetX;
/external/deqp/external/openglcts/modules/gles31/
Des31cDrawIndirectTests.cpp606 float offsetX = -1.0f + rasterSizeX * static_cast<float>(j) + rasterSizeX / 2; in PointsGen() local
607 output.push_back(tcu::Vec4(offsetX, offsetY, 0.0f, 1.0f)); in PointsGen()
689 float offsetX = -1.0f + drawStepX * static_cast<float>(j); in TrianglesGen() local
691 output.push_back(tcu::Vec4(offsetX, offsetY, 0.0f, 1.0f)); in TrianglesGen()
692 output.push_back(tcu::Vec4(offsetX + drawStepX, offsetY, 0.0f, 1.0f)); in TrianglesGen()
693 output.push_back(tcu::Vec4(offsetX, offsetY + drawStepY, 0.0f, 1.0f)); in TrianglesGen()
695 output.push_back(tcu::Vec4(offsetX + drawStepX, offsetY, 0.0f, 1.0f)); in TrianglesGen()
696 output.push_back(tcu::Vec4(offsetX + drawStepX, offsetY + drawStepY, 0.0f, 1.0f)); in TrianglesGen()
697 output.push_back(tcu::Vec4(offsetX, offsetY + drawStepY, 0.0f, 1.0f)); in TrianglesGen()
715 float offsetX = -0.5f + sizeX * static_cast<float>(j); in TrianglesAdjacencyGen() local
[all …]
/external/skqp/site/user/modules/
Dcanvaskit.md212 X = e.offsetX;
278 path.lineTo(e.offsetX, e.offsetY);
285 path.moveTo(e.offsetX, e.offsetY);

12