Home
last modified time | relevance | path

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

12

/external/skqp/src/codec/
DSkMaskSwizzler.cpp14 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_rgba_opaque() argument
17 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_rgba_opaque()
31 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_bgra_opaque() argument
34 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_bgra_opaque()
48 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_rgba_unpremul() argument
51 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_rgba_unpremul()
66 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_bgra_unpremul() argument
69 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_bgra_unpremul()
84 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_rgba_premul() argument
87 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_rgba_premul()
[all …]
DSkJpegCodec.cpp710 uint32_t startX = options.fSubset->x(); in onStartScanlineDecode() local
718 jpeg_crop_scanline(fDecoderMgr->dinfo(), &startX, &width); in onStartScanlineDecode()
720 SkASSERT(startX <= (uint32_t) options.fSubset->x()); in onStartScanlineDecode()
722 SkASSERT(startX + width >= (uint32_t) options.fSubset->right()); in onStartScanlineDecode()
735 fSwizzlerSubset.setXYWH(options.fSubset->x() - startX, 0, in onStartScanlineDecode()
740 if (startX != (uint32_t) options.fSubset->x() || in onStartScanlineDecode()
DSkMaskSwizzler.h61 SkMasks* masks, uint32_t startX, uint32_t sampleX);
/external/skia/src/codec/
DSkMaskSwizzler.cpp14 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_rgba_opaque() argument
17 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_rgba_opaque()
31 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_bgra_opaque() argument
34 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_bgra_opaque()
48 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_rgba_unpremul() argument
51 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_rgba_unpremul()
66 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_bgra_unpremul() argument
69 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_bgra_unpremul()
84 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_rgba_premul() argument
87 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_rgba_premul()
[all …]
DSkJpegCodec.cpp727 uint32_t startX = options.fSubset->x(); in onStartScanlineDecode() local
735 jpeg_crop_scanline(fDecoderMgr->dinfo(), &startX, &width); in onStartScanlineDecode()
737 SkASSERT(startX <= (uint32_t) options.fSubset->x()); in onStartScanlineDecode()
739 SkASSERT(startX + width >= (uint32_t) options.fSubset->right()); in onStartScanlineDecode()
752 fSwizzlerSubset.setXYWH(options.fSubset->x() - startX, 0, in onStartScanlineDecode()
757 if (startX != (uint32_t) options.fSubset->x() || in onStartScanlineDecode()
DSkMaskSwizzler.h61 SkMasks* masks, uint32_t startX, uint32_t sampleX);
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowScroller.java9 private int startX; field in ShadowScroller
19 return startX; in getStartX()
30 return dt >= duration ? finalX : startX + (int) ((deltaX() * dt) / duration); in getCurrX()
55 public void startScroll(int startX, int startY, int dx, int dy, int duration) { in startScroll() argument
56 this.startX = startX; in startScroll()
58 finalX = startX + dx; in startScroll()
96 return (finalX - startX); in deltaX()
DShadowOverScroller.java12 private int startX; field in ShadowOverScroller
22 return startX; in getStartX()
33 return dt >= duration ? finalX : startX + (int) ((deltaX() * dt) / duration); in getCurrX()
58 public void startScroll(int startX, int startY, int dx, int dy, int duration) { in startScroll() argument
59 this.startX = startX; in startScroll()
61 finalX = startX + dx; in startScroll()
112 final int dx = finalX - startX; in isScrollingInDirection()
128 return (finalX - startX); in deltaX()
DShadowCanvas.java182 public void drawLine(float startX, float startY, float stopX, float stopY, Paint paint) { in drawLine() argument
183 linePaintEvents.add(new LinePaintHistoryEvent(startX, startY, stopX, stopY, paint)); in drawLine()
316 public float startX; field in ShadowCanvas.LinePaintHistoryEvent
322 float startX, float startY, float stopX, float stopY, Paint paint) { in LinePaintHistoryEvent() argument
326 this.startX = startX; in LinePaintHistoryEvent()
/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/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()
DCollisionSystem.java159 float startX = left; in testBox() local
168 startX = right; in testBox()
178 … final int startTileX = Utils.clamp((int)(startX / mTileWidth), 0, mWorld.getWidth() - 1); in testBox()
557 final float startX = Utils.byteArrayToFloat(mWorkspaceBytes); in loadCollisionTiles() local
572 newSegment.mStartPoint.set(startX, startY); in loadCollisionTiles()
/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()
Ddashing.cpp17 SkScalar startX = SkIntToScalar(0), SkScalar startY = SkIntToScalar(0)) { in drawline() argument
26 canvas->drawLine(startX, startY, finalX, finalY, p); in drawline()
/external/skqp/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()
Ddashing.cpp17 SkScalar startX = SkIntToScalar(0), SkScalar startY = SkIntToScalar(0)) { in drawline() argument
26 canvas->drawLine(startX, startY, finalX, finalY, p); in drawline()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DGlitchAndCallbackHeatMapView.java402 float startX = rect.left - rect.height(); //creates a 45 degree angle
405 for (; startX < rect.right; startX += STROKE_OFFSET, endX += STROKE_OFFSET) {
406 canvas.drawLine(startX, startY, endX, endY, strikePaint);
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/tracking/
DObjectTracker.java311 private void drawHistoryPoint(final Canvas canvas, final float startX, final float startY) { in drawHistoryPoint() argument
321 canvas.drawCircle(startX, startY, 3.0f, p); in drawHistoryPoint()
328 float lastX = startX; in drawHistoryPoint()
/external/icu/icu4c/source/common/
Drbbiscan.cpp964 int32_t startX = fNextIndex; in nextChar() local
966 if (fNextIndex == startX) { in nextChar()
969 fCharNum += fNextIndex-startX; in nextChar()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationCommonEdgeTests.cpp74 const int startX = static_cast<int>(0.15f * (float)image.getWidth()); in verifyResult() local
80 for (int x = startX; x < endX; ++x) in verifyResult()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCanvasTest.java304 assertThat(shadowCanvas.getDrawnLine(0).startX).isEqualTo(0f); in drawLine_shouldRecordLineHistoryEvents()
311 assertThat(shadowCanvas.getDrawnLine(1).startX).isEqualTo(5f); in drawLine_shouldRecordLineHistoryEvents()

12