Home
last modified time | relevance | path

Searched refs:offsetY (Results 1 – 25 of 37) sorted by relevance

12

/external/replicaisland/tools/
DExtractPoints.js222 var offsetY = Math.floor(x / tilesPerRow) * tileSizeY; variable
227 lineArray[y] = Array(offsetX + edge.startX, offsetY + edge.startY);
246 offsetY + tile.centerY - 1);
248 offsetY + tile.centerY + 1);
250 offsetY + tile.centerY + 1);
252 offsetY + tile.centerY - 1);
254 offsetY + normalY - 1);
256 offsetY + normalY + 1);
258 offsetY + tile.centerY);
265 offsetY + edge.centerY - 1);
[all …]
/external/skqp/gm/
Dlcdoverlap.cpp78 SkScalar offsetY = kHeight / 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()
Dpictureshadertile.cpp21 SkScalar offsetX, offsetY; member
114 tiles[i].offsetY * kPictureSize); in onOnceBeforeDraw()
/external/skia/gm/
Dlcdoverlap.cpp78 SkScalar offsetY = kHeight / 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()
Dpictureshadertile.cpp21 SkScalar offsetX, offsetY; member
114 tiles[i].offsetY * kPictureSize); in onOnceBeforeDraw()
/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/replicaisland/src/com/replica/replicaisland/
DLaunchProjectileComponent.java135 float offsetY = mOffsetY; in launch() local
143 offsetY = parentObject.height - mOffsetY; in launch()
147 final float y = parentObject.getPosition().y + offsetY; in launch()
199 public final void setOffsetY(float offsetY) { in setOffsetY() argument
200 mOffsetY = offsetY; in setOffsetY()
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.java90 final float offsetY = tileY * tileHeight; 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.java50 float offsetY = sInterpolator.interpolate(timeDelta); in update() local
51 float newY = object.getPosition().y + offsetY; in update()
DLauncherComponent.java145 …c void setLaunchEffect(GameObjectFactory.GameObjectType effectType, float offsetX, float offsetY) { in setLaunchEffect() argument
148 mLaunchEffectOffsetY = offsetY; in setLaunchEffect()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageSparseResidency.cpp626 for (deUint32 offsetY = offset.height; offsetY < offset.height + extent.height; ++offsetY) 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()
639 for (deUint32 offsetY = offset.height; offsetY < offset.height + extent.height; ++offsetY) in iterate() local
643 const tcu::UVec4 outputValue = pixelBuffer.getPixelUint(offsetX, offsetY, offsetZ); in iterate()
657 for (deUint32 offsetY = 0u; offsetY < mipExtent.height; ++offsetY) 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.cpp641 for (deUint32 offsetY = 0u; offsetY < gridSize.y(); ++offsetY) 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/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DTilingFunctions.h654 uint32_t offsetX = 0, offsetY = 0, offsetZ = 0;
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);
675 return TileSwizzle2D(offsetX, offsetY, pState);
/external/pdfium/xfa/fxfa/parser/
Dcxfa_rectangle.cpp456 float offsetY = 0.0f; in GetPath() local
502 cpStart.y = cp1.y + fRadius1, offsetY = -halfAfter; in GetPath()
540 offsetY = halfAfter; in GetPath()
590 CFX_RectF rtRadius(cp1.x + offsetX * 2, cp1.y + offsetY * 2, in GetPath()
592 fRadius1 * 2 * vy - offsetY * 2); in GetPath()
608 cp1.y + fRadius1 * sy + offsetY)); in GetPath()
/external/deqp/external/openglcts/modules/gles31/
Des31cDrawIndirectTests.cpp603 float offsetY = -1.0f + rasterSizeY * static_cast<float>(i) + rasterSizeY / 2; in PointsGen() local
607 output.push_back(tcu::Vec4(offsetX, offsetY, 0.0f, 1.0f)); in PointsGen()
627 float offsetY = LinesOffsetY(i, rasterSize); in LinesGen() local
628 output.push_back(tcu::Vec4(-1.0f, offsetY, 0.0f, 1.0f)); in LinesGen()
629 output.push_back(tcu::Vec4(1.0f, offsetY, 0.0f, 1.0f)); in LinesGen()
638 float offsetY = LinesOffsetY(i, rasterSize); in LinesAdjacencyGen() local
639 output.push_back(tcu::Vec4(-1.5f, -1.0f + offsetY, 0.0f, 1.0f)); //adj in LinesAdjacencyGen()
640 output.push_back(tcu::Vec4(-1.0f, offsetY, 0.0f, 1.0f)); in LinesAdjacencyGen()
641 output.push_back(tcu::Vec4(1.0f, offsetY, 0.0f, 1.0f)); in LinesAdjacencyGen()
642 output.push_back(tcu::Vec4(1.5f, -1.0f + offsetY, 0.0f, 1.0f)); //adj in LinesAdjacencyGen()
[all …]
/external/skqp/samplecode/
DSamplePathText.cpp422 float offsetY[4], offsetX[4]; in apply() local
423 (dy + SkNx_shuffle<2,3,0,1>(dy)).store(offsetY); // accumulate. 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
423 (dy + SkNx_shuffle<2,3,0,1>(dy)).store(offsetY); // accumulate. in apply()
426 return {devicePt[0] + offsetY[0] + offsetY[1], devicePt[1] - offsetX[0] - offsetX[1]}; in apply()
/external/perfetto/ui/src/frontend/
Dtrack_panel.ts104 if (e.offsetY < e.target.scrollHeight / 3) {
106 } else if (e.offsetY > e.target.scrollHeight / 3 * 2) {
/external/skia/site/user/modules/
Dcanvaskit.md225 Y = e.offsetY;
291 path.lineTo(e.offsetX, e.offsetY);
298 path.moveTo(e.offsetX, e.offsetY);
360 Y = e.offsetY;
/external/skqp/site/user/modules/
Dcanvaskit.md213 Y = e.offsetY;
278 path.lineTo(e.offsetX, e.offsetY);
285 path.moveTo(e.offsetX, e.offsetY);
/external/deqp/modules/gles2/functional/
Des2fTextureCompletenessTests.cpp157 int offsetY = random.getInt(0, m_renderCtx.getRenderTarget().getHeight() - viewportHeight); in iterate() local
161 glViewport (offsetX, offsetY, viewportWidth, viewportHeight); in iterate()
168 glu::readPixels (m_renderCtx, offsetX, offsetY, renderedFrame.getAccess()); in iterate()
215 int offsetY = random.getInt(0, de::max(0,m_renderCtx.getRenderTarget().getHeight() - 64)); in iterate() local
225 glViewport (offsetX, offsetY, viewportWidth, viewportHeight); in iterate()
228 glu::readPixels (m_renderCtx, offsetX, offsetY, renderedFrame.getAccess()); in iterate()
/external/skia/modules/sksg/samples/
DSampleSVGPong.cpp72 offsetY = pos.y() - r.y(); in update_pos() local
73 rr->setRRect(rr->getRRect().makeOffset(offsetX, offsetY)); in update_pos()
/external/skqp/modules/sksg/samples/
DSampleSVGPong.cpp72 offsetY = pos.y() - r.y(); in update_pos() local
73 rr->setRRect(rr->getRRect().makeOffset(offsetX, offsetY)); in update_pos()
/external/pdfium/xfa/fwl/
Dcfwl_edit.cpp677 float offsetY = 0.0; in UpdateOffset() local
683 offsetY = rtCaret.top - edit_bounds.top; in UpdateOffset()
685 offsetY = rtCaret.bottom() - edit_bounds.bottom(); in UpdateOffset()
688 m_fScrollOffsetY += offsetY; in UpdateOffset()

12