Home
last modified time | relevance | path

Searched refs:startX (Results 1 – 25 of 46) sorted by relevance

12

/external/skia/src/codec/
DSkMaskSwizzler.cpp14 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_n32_opaque() argument
17 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_n32_opaque()
31 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_n32_unpremul() argument
34 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_n32_unpremul()
49 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_n32_premul() argument
52 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_n32_premul()
69 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_565() argument
72 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_565()
86 uint32_t startX, uint32_t sampleX) { in swizzle_mask24_to_n32_opaque() argument
89 srcRow += 3 * startX; in swizzle_mask24_to_n32_opaque()
[all …]
DSkJpegCodec.cpp431 uint32_t startX = options.fSubset->x(); in onStartScanlineDecode() local
439 jpeg_crop_scanline(fDecoderMgr->dinfo(), &startX, &width); in onStartScanlineDecode()
441 SkASSERT(startX <= (uint32_t) options.fSubset->x()); in onStartScanlineDecode()
443 SkASSERT(startX + width >= (uint32_t) options.fSubset->right()); in onStartScanlineDecode()
456 fSwizzlerSubset.setXYWH(options.fSubset->x() - startX, 0, in onStartScanlineDecode()
461 if (startX != (uint32_t) options.fSubset->x() || in onStartScanlineDecode()
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/
DImageProcessor.java275 int startX = getSplitPoint(raster, name, 1, 0, true, true); in getSplits() local
276 int endX = getSplitPoint(raster, name, startX, 0, false, true); in getSplits()
285 if (startX == 0 && endX == 0 && startY == 0 && endY == 0) return null; in getSplits()
288 if (startX != 0) { in getSplits()
289 startX--; in getSplits()
304 startX = (int)Math.round(startX * scale); in getSplits()
310 return new int[] {startX, endX, startY, endY}; in getSplits()
321 int startX = getSplitPoint(raster, name, 1, bottom, true, true); in getPads() local
327 if (startX != 0) endX = getSplitPoint(raster, name, startX + 1, bottom, false, true); in getPads()
335 if (startX == 0 && endX == 0 && startY == 0 && endY == 0) { in getPads()
[all …]
DTextureUnpacker.java172 int startX = region.splits[0] + NINEPATCH_PADDING; in extractNinePatch() local
176 if (endX >= startX) g2.drawLine(startX, 0, endX, 0); in extractNinePatch()
/external/libgdx/gdx/src/com/badlogic/gdx/math/
DBresenham2.java51 public Array<GridPoint2> line (int startX, int startY, int endX, int endY) { in line() argument
54 return line(startX, startY, endX, endY, pool, points); in line()
65 …public Array<GridPoint2> line (int startX, int startY, int endX, int endY, Pool<GridPoint2> pool, … in line() argument
67 int w = endX - startX; in line()
93 point.set(startX, startY); in line()
98 startX += dx1; in line()
101 startX += dx2; in line()
DIntersector.java213 …public static float distanceLinePoint (float startX, float startY, float endX, float endY, float p… in distanceLinePoint() argument
214 …float normalLength = (float)Math.sqrt((endX - startX) * (endX - startX) + (endY - startY) * (endY … in distanceLinePoint()
215 …return Math.abs((pointX - startX) * (endY - startY) - (pointY - startY) * (endX - startX)) / norma… in distanceLinePoint()
219 …public static float distanceSegmentPoint (float startX, float startY, float endX, float endY, floa… in distanceSegmentPoint() argument
220 return nearestSegmentPoint(startX, startY, endX, endY, pointX, pointY, v2tmp).dst(pointX, pointY); in distanceSegmentPoint()
239 …public static Vector2 nearestSegmentPoint (float startX, float startY, float endX, float endY, flo… in nearestSegmentPoint() argument
241 final float xDiff = endX - startX; in nearestSegmentPoint()
244 if (length2 == 0) return nearest.set(startX, startY); in nearestSegmentPoint()
245 float t = ((pointX - startX) * (endX - startX) + (pointY - startY) * (endY - startY)) / length2; in nearestSegmentPoint()
246 if (t < 0) return nearest.set(startX, startY); in nearestSegmentPoint()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_aatritemp.h190 GLint ix, startX = (GLint) (x - xAdj); variable
199 while (startX < SWRAST_MAX_WIDTH) {
200 coverage = compute_coveragef(pMin, pMid, pMax, startX, iy);
203 startX++;
207 ix = startX;
238 if (ix > startX) {
239 span.x = startX;
241 span.end = (GLuint) ix - (GLuint) startX;
259 GLint ix, left, startX = (GLint) (x + xAdj); variable
268 if (startX >= ctx->DrawBuffer->_Xmax) {
[all …]
/external/droiddriver/src/io/appium/droiddriver/actions/
DSwipeAction.java155 int startX; in perform() local
162 startX = elementRect.centerX(); in perform()
168 startX = elementRect.centerX(); in perform()
174 startX = adjustedLeft; in perform()
180 startX = adjustedRight; in perform()
189 double xStep = ((double) (endX - startX)) / steps; in perform()
193 long downTime = Events.touchDown(injector, startX, startY); in perform()
199 Events.touchMove(injector, downTime, startX + (int) (xStep * i), startY + (int) (yStep * i)); in perform()
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/actions/
DScaleToAction.java22 private float startX, startY; field in ScaleToAction
26 startX = target.getScaleX(); in begin()
31 target.setScale(startX + (endX - startX) * percent, startY + (endY - startY) * percent); in update()
DMoveToAction.java24 private float startX, startY; field in MoveToAction
29 startX = target.getX(alignment); in begin()
34 …target.setPosition(startX + (endX - startX) * percent, startY + (endY - startY) * percent, alignme… in update()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/
DbtHeightfieldTerrainShape.cpp304 int startX=0; in processAllTriangles() local
313 if (quantizedAabbMin[1]>startX) in processAllTriangles()
314 startX = quantizedAabbMin[1]; in processAllTriangles()
325 if (quantizedAabbMin[0]>startX) in processAllTriangles()
326 startX = quantizedAabbMin[0]; in processAllTriangles()
337 if (quantizedAabbMin[0]>startX) in processAllTriangles()
338 startX = quantizedAabbMin[0]; in processAllTriangles()
359 for(int x=startX; x<endX; x++) in processAllTriangles()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/superkoalio/
DSuperKoalio.java201 int startX, startY, endX, endY; in updateKoala() local
203 startX = endX = (int)(koala.position.x + Koala.WIDTH + koala.velocity.x); in updateKoala()
205 startX = endX = (int)(koala.position.x + koala.velocity.x); in updateKoala()
209 getTiles(startX, startY, endX, endY, tiles); in updateKoala()
226 startX = (int)(koala.position.x); in updateKoala()
228 getTiles(startX, startY, endX, endY, tiles); in updateKoala()
261 private boolean isTouched (float startX, float endX) { in isTouched() argument
266 if (Gdx.input.isTouched(i) && (x >= startX && x <= endX)) { in isTouched()
273 private void getTiles (int startX, int startY, int endX, int endY, Array<Rectangle> tiles) { in getTiles() argument
278 for (int x = startX; x <= endX; x++) { in getTiles()
/external/pdfium/xfa/src/fxbarcode/qrcode/
DBC_QRAlignmentPatternFinder.cpp30 int32_t startX, in CBC_QRAlignmentPatternFinder() argument
36 m_startX(startX), in CBC_QRAlignmentPatternFinder()
52 int32_t startX = m_startX; in Find() local
54 int32_t maxJ = startX + m_width; in Find()
64 int32_t j = startX; in Find()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/table/
DPropertyTableTooltipHelper.java139 private void showTooltip(PropertyTooltipProvider provider, int startX, int endX) { in showTooltip() argument
150 Control control = provider.createTooltipControl(m_property, m_tooltip, endX - startX, this); in showTooltip()
160 tooltipLocation = m_table.toDisplay(new Point(startX, m_y)); in showTooltip()
162 tooltipLocation = m_table.toDisplay(new Point(startX, m_y + m_rowHeight)); in showTooltip()
/external/replicaisland/tools/
DExtractPoints.js77 edge.startX = firstPoint.anchor[0];
84 var normalY = edge.endX - edge.startX;
105 var width = edge.endX - edge.startX;
146 edge.startX -= tile.xOffset;
176 outputString += x + ":" + Math.floor(edge.startX) + "," +
227 lineArray[y] = Array(offsetX + edge.startX, offsetY + edge.startY);
/external/replicaisland/src/com/replica/replicaisland/
DAnimationPlayerActivity.java88 float startX = 0.0f; in onCreate() local
93 startX = 200 * metrics.density; in onCreate()
97 startX = -200 * metrics.density; in onCreate()
106 Animation gameOverAnim = new TranslateAnimation(startX, 0, 0, 0); in onCreate()
DTiledVertexGrid.java192 final int startX = leftTile; in draw() local
194 final int endX = startX + horizontalSlop + horzTileCount; in draw()
207 final int startOffset = (startX * indexesPerTile); in draw()
208 final int count = (endX - startX) * indexesPerTile; in draw()
/external/pdfium/xfa/src/fxbarcode/pdf417/
DBC_PDF417Codeword.cpp26 CBC_Codeword::CBC_Codeword(int32_t startX, in CBC_Codeword() argument
30 m_startX = startX; in CBC_Codeword()
DBC_PDF417Codeword.h11 CBC_Codeword(int32_t startX, int32_t endX, int32_t bucket, int32_t value);
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/
DCameraInputController.java73 private float startX, startY; field in CameraInputController
162 startX = screenX; in touchDown()
198 final float deltaX = (screenX - startX) / Gdx.graphics.getWidth(); in touchDragged()
200 startX = screenX; in touchDragged()
/external/skia/src/core/
DSkMaskFilter.cpp172 int startX = r.left() - outerR.left(); in draw_nine_clipped() local
173 int stopX = startX + r.width(); in draw_nine_clipped()
175 for (int x = startX; x < stopX; ++x) { in draw_nine_clipped()
183 int startX = outerR.right() - r.right(); in draw_nine_clipped() local
184 int stopX = startX + r.width(); in draw_nine_clipped()
186 for (int x = startX; x < stopX; ++x) { in draw_nine_clipped()
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/
DTiledDrawable.java49 float startX = x, startY = y; in draw() local
81 x = startX; in draw()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/
DHarmonicCoefficientsGuesser.java207 final double startX = currentX; in guessAOmega() local
224 final double x = currentX - startX; in guessAOmega()
/external/skia/gm/
Dconvexpolyclip.cpp158 SkScalar startX = 0; in onDraw() local
165 SkScalar x = startX; in onDraw()
214 startX += 2 * fBmp.width() + SkScalarCeilToInt(2 * textW) + 6 * kMargin; in onDraw()
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
DWindow.java91 float startX, startY, lastX, lastY; in Window()
111 startX = x; in Window()
134 float amountX = x - startX, amountY = y - startY; in Window()
139 float amountX = x - startX; in Window()

12