Home
last modified time | relevance | path

Searched refs:newX (Results 1 – 25 of 33) sorted by relevance

12

/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DXYPlotZoomPan.java265 PointF newX = new PointF(); in pan() local
267 calculatePan(oldFirstFinger, newX, true); in pan()
269 super.setDomainBoundaries(newX.x, newX.y, BoundaryMode.FIXED); in pan()
270 lastMinX = newX.x; in pan()
271 lastMaxX = newX.y; in pan()
274 calculatePan(oldFirstFinger, newX, false); in pan()
276 super.setRangeBoundaries(newX.x, newX.y, BoundaryMode.FIXED); in pan()
277 lastMinY = newX.x; in pan()
278 lastMaxY = newX.y; in pan()
283 private void calculatePan(final PointF oldFirstFinger, PointF newX, final boolean horizontal) { in calculatePan() argument
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DTilingFunctions.h422 uint32_t newX, newY, newSampleX, newSampleY;
426 newX = x;
435 newX = pdep_u32(x, xMask);
447 newX = pdep_u32(x, mask);
460 newX = pdep_u32(x, xMask);
472 newX = pdep_u32(x, mask);
480 newX = newY = 0;
484 x = newX | (newSampleX << 1);
/external/replicaisland/src/com/replica/replicaisland/
DMovementComponent.java45 float newX = object.getPosition().x + offsetX; in update() local
55 object.getPosition().set(newX, newY); in update()
DInputGameInterface.java132 float newX; in update() local
136 newX = mDirectionalPad.getX() + (trackball.getX() * ROLL_FILTER * mMovementSensitivity); in update()
141 newX = oldX + (trackball.getX() * ROLL_FILTER * mMovementSensitivity); in update()
145 mDirectionalPad.press(gameTime, newX, newY); in update()
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/viewpager/
DVerticalViewPager.java50 float newX = (ev.getY() / height) * width; in swapXY() local
52 ev.setLocation(newX, newY); in swapXY()
/external/skia/src/core/
DSkScan_Path.cpp141 SkFixed newX; in walk_edges() local
146 newX = currE->fX; in walk_edges()
153 newX = currE->fX; in walk_edges()
160 newX = currE->fX + currE->fDX; in walk_edges()
161 currE->fX = newX; in walk_edges()
163 if (newX < prevX) { // ripple currE backwards until it is x-sorted in walk_edges()
166 prevX = newX; in walk_edges()
DSkScan_AAAPath.cpp1514 SkFixed newX; in aaa_walk_edges() local
1539 newX = currE->fX; in aaa_walk_edges()
1541 if (newX < prevX) { // ripple currE backwards until it is x-sorted in aaa_walk_edges()
1550 prevX = newX; in aaa_walk_edges()
/external/skqp/src/core/
DSkScan_Path.cpp141 SkFixed newX; in walk_edges() local
146 newX = currE->fX; in walk_edges()
153 newX = currE->fX; in walk_edges()
160 newX = currE->fX + currE->fDX; in walk_edges()
161 currE->fX = newX; in walk_edges()
163 if (newX < prevX) { // ripple currE backwards until it is x-sorted in walk_edges()
166 prevX = newX; in walk_edges()
DSkScan_AAAPath.cpp1514 SkFixed newX; in aaa_walk_edges() local
1539 newX = currE->fX; in aaa_walk_edges()
1541 if (newX < prevX) { // ripple currE backwards until it is x-sorted in aaa_walk_edges()
1550 prevX = newX; in aaa_walk_edges()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DWavePlotView.java317 float newX = (float) (w * currentGridMs / windowMs); in onDraw() local
318 canvas.drawLine(newX, 0, newX, h, mPaintGrid); in onDraw()
325 myPath.moveTo(newX, h); in onDraw()
326 myPath.lineTo(newX, h / 2); in onDraw()
/external/skqp/include/core/
DSkRect.h372 void offsetTo(int32_t newX, int32_t newY) { in offsetTo()
373 fRight = Sk64_pin_to_s32((int64_t)fRight + newX - fLeft); in offsetTo()
375 fLeft = newX; in offsetTo()
1199 void offsetTo(SkScalar newX, SkScalar newY) { in offsetTo()
1200 fRight += newX - fLeft; in offsetTo()
1202 fLeft = newX; in offsetTo()
/external/skia/include/core/
DSkRect.h372 void offsetTo(int32_t newX, int32_t newY) { in offsetTo()
373 fRight = Sk64_pin_to_s32((int64_t)fRight + newX - fLeft); in offsetTo()
375 fLeft = newX; in offsetTo()
1199 void offsetTo(SkScalar newX, SkScalar newY) { in offsetTo()
1200 fRight += newX - fLeft; in offsetTo()
1202 fLeft = newX; in offsetTo()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DNativeInput.java655 final Ref<Float> newX = new Ref<>(0f); in transform() local
659 transformPoint(matrix, rawX + oldXOffset, rawY + oldYOffset, newX, newY); in transform()
660 mXOffset = newX.get() - rawX; in transform()
687 float newX = matrix[0] * x + matrix[1] * y + matrix[2]; in transformPoint() local
693 outX.set(newX * newZ); in transformPoint()
/external/skia/src/gpu/text/
DGrTextBlob.cpp201 const SkMatrix& newViewMatrix, SkScalar newX, SkScalar newY, in calculate_translation() argument
206 newViewMatrix.getScaleX() * (newX - currentX) + in calculate_translation()
211 newViewMatrix.getSkewY() * (newX - currentX) + in calculate_translation()
215 *transX = newX - currentX; in calculate_translation()
/external/skqp/src/gpu/text/
DGrTextBlob.cpp201 const SkMatrix& newViewMatrix, SkScalar newX, SkScalar newY, in calculate_translation() argument
206 newViewMatrix.getScaleX() * (newX - currentX) + in calculate_translation()
211 newViewMatrix.getSkewY() * (newX - currentX) + in calculate_translation()
215 *transX = newX - currentX; in calculate_translation()
/external/clang/test/SemaObjC/
Dunused-backing-ivar-warning.m18 - (void) setX:(id)newX { // expected-warning {{ivar '_x' which backs the property is not reference…
19 _y = newX;
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/tracking/
DObjectTracker.java332 final float newX = lastX + delta.x; in drawHistoryPoint() local
334 canvas.drawLine(lastX, lastY, newX, newY, p); in drawHistoryPoint()
335 lastX = newX; in drawHistoryPoint()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/tracking/
DObjectTracker.java332 final float newX = lastX + delta.x; in drawHistoryPoint() local
334 canvas.drawLine(lastX, lastY, newX, newY, p); in drawHistoryPoint()
335 lastX = newX; in drawHistoryPoint()
/external/deqp/modules/egl/
DteglResizeTests.cpp285 const int newX = xCorner == 0 ? 0 : newWidth - minWidth; in compareCorners() local
294 getSubregion(newSurface.getAccess(), newX, newY, minWidth, minHeight); in compareCorners()
/external/skia/samplecode/
DSampleLitAtlas.cpp48 SkScalar newX = c * fLightDir.fX - s * fLightDir.fY; in rotateLight() local
51 fLightDir.set(newX, newY, 0.0f); in rotateLight()
/external/skqp/samplecode/
DSampleLitAtlas.cpp48 SkScalar newX = c * fLightDir.fX - s * fLightDir.fY; in rotateLight() local
51 fLightDir.set(newX, newY, 0.0f); in rotateLight()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemShaderImageAccessTests.cpp1113 …const deInt32 newX = computeBinaryAtomicOperationResult(m_params.atomicOperation, oldX, atomicArg… in calculateAtomicRef() local
1115 reference.setPixel(tcu::IVec4(newX, 0, 0, 0), x, y); in calculateAtomicRef()
/external/webrtc/webrtc/modules/video_render/mac/
Dvideo_render_nsopengl.mm285 // float newX = mainDisplayRect.size.width/_width;
/external/skqp/site/user/api/
DSkIRect_Reference.md48 void <a href='#SkIRect_offsetTo'>offsetTo</a>(int32_t newX, int32_t newY);
1228 void <a href='#SkIRect_offsetTo'>offsetTo</a>(int32_t newX, int32_t newY)
1231 …a href='#SkIRect_fLeft'>fLeft</a> equals <a href='#SkIRect_offsetTo_newX'>newX</a>, and <a href='#…
1236 <table> <tr> <td><a name='SkIRect_offsetTo_newX'><code><strong>newX</strong></code></a></td>
/external/skia/site/user/api/
DSkIRect_Reference.md48 void <a href='#SkIRect_offsetTo'>offsetTo</a>(int32_t newX, int32_t newY);
1228 void <a href='#SkIRect_offsetTo'>offsetTo</a>(int32_t newX, int32_t newY)
1231 …a href='#SkIRect_fLeft'>fLeft</a> equals <a href='#SkIRect_offsetTo_newX'>newX</a>, and <a href='#…
1236 <table> <tr> <td><a name='SkIRect_offsetTo_newX'><code><strong>newX</strong></code></a></td>

12