Home
last modified time | relevance | path

Searched refs:offsetX (Results 1 – 25 of 47) 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.cpp79 SkScalar offsetX = kWidth / 4.0f; in onDraw() local
81 drawTestCase(canvas, offsetX, offsetY, SkBlendMode::kSrc, SkBlendMode::kSrc); in onDraw()
82 drawTestCase(canvas, 3 * offsetX, offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrcOver); in onDraw()
83 drawTestCase(canvas, offsetX, 3 * offsetY, SkBlendMode::kHardLight, in onDraw()
85 drawTestCase(canvas, 3 * offsetX, 3 * offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrc); in onDraw()
Dfontcache.cpp101 bool offsetX = true; in drawText() local
125 (offsetX ? subpixelX : subpixelY) += kSubPixelInc; in drawText()
126 offsetX = !offsetX; in drawText()
Dpictureshadertile.cpp21 SkScalar offsetX, offsetY; member
113 localMatrix.setTranslate(tiles[i].offsetX * kPictureSize, in onOnceBeforeDraw()
/external/skia/gm/
Dlcdoverlap.cpp79 SkScalar offsetX = kWidth / 4.0f; in onDraw() local
81 drawTestCase(canvas, offsetX, offsetY, SkBlendMode::kSrc, SkBlendMode::kSrc); in onDraw()
82 drawTestCase(canvas, 3 * offsetX, offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrcOver); in onDraw()
83 drawTestCase(canvas, offsetX, 3 * offsetY, SkBlendMode::kHardLight, in onDraw()
85 drawTestCase(canvas, 3 * offsetX, 3 * offsetY, SkBlendMode::kSrcOver, SkBlendMode::kSrc); in onDraw()
Dfontcache.cpp101 bool offsetX = true; in drawText() local
125 (offsetX ? subpixelX : subpixelY) += kSubPixelInc; in drawText()
126 offsetX = !offsetX; in drawText()
Dpictureshadertile.cpp21 SkScalar offsetX, offsetY; member
113 localMatrix.setTranslate(tiles[i].offsetX * kPictureSize, in onOnceBeforeDraw()
/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/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/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/skia/tests/
DDrawTextTest.cpp81 for (float offsetX = 0.0f; offsetX < 1.0f; offsetX += (1.0f / 16.0f)) { in DEF_TEST() local
82 SkPoint point = SkPoint::Make(25.0f + offsetX, in DEF_TEST()
/external/skqp/tests/
DDrawTextTest.cpp81 for (float offsetX = 0.0f; offsetX < 1.0f; offsetX += (1.0f / 16.0f)) { in DEF_TEST() local
82 SkPoint point = SkPoint::Make(25.0f + offsetX, in DEF_TEST()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageSparseResidency.cpp623 for (deUint32 offsetX = offset.width; offsetX < offset.width + extent.width; ++offsetX) in iterate() local
625 … const tcu::UVec4 referenceValue = tcu::UVec4(offsetX % 127u, offsetY % 127u, offsetZ % 127u, 1u); in iterate()
626 const tcu::UVec4 outputValue = pixelBuffer.getPixelUint(offsetX, offsetY, offsetZ); in iterate()
636 for (deUint32 offsetX = offset.width; offsetX < offset.width + extent.width; ++offsetX) in iterate() local
639 const tcu::UVec4 outputValue = pixelBuffer.getPixelUint(offsetX, offsetY, offsetZ); in iterate()
654 for (deUint32 offsetX = 0u; offsetX < mipExtent.width; ++offsetX) in iterate() local
656 … const tcu::UVec4 referenceValue = tcu::UVec4(offsetX % 127u, offsetY % 127u, offsetZ % 127u, 1u); in iterate()
657 const tcu::UVec4 outputValue = pixelBuffer.getPixelUint(offsetX, offsetY, offsetZ); in iterate()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/lib3/
DR.java16 public static final int[] SomeStyleable = new int[]{attr.offsetX, attr.offsetY};
22 public static int offsetX = 0x7f030001; field in R.attr
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/lib2/
DR.java16 public static final int[] SomeStyleable = new int[]{attr.offsetX, attr.offsetY};
22 public static int offsetX = 0x7f0b0001; field in R.attr
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/lib1/
DR.java16 public static final int[] SomeStyleable = new int[]{attr.offsetX, attr.offsetY};
22 public static int offsetX = 0x7f030001; field in R.attr
/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/skia/src/gpu/ccpr/
DGrCCPathParser.h80 PathInfo(ScissorMode scissorMode, int16_t offsetX, int16_t offsetY) in PathInfo()
81 : fScissorMode(scissorMode), fAtlasOffsetX(offsetX), fAtlasOffsetY(offsetY) {} in PathInfo()
/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()

12