Home
last modified time | relevance | path

Searched refs:newY (Results 1 – 21 of 21) sorted by relevance

/external/skia/docs/examples/
DCanvas_accessTopLayerPixels_b.cpp23 int newY = (y - h / 2) * 2 + h / 2; in draw() local
24 if (newY < 0 || newY >= h) { in draw()
33 access[newY * rowWords + newX] = SK_ColorGRAY; in draw()
/external/angle/samples/WindowTest/
DWindowTest.cpp47 int newY = y; in main() local
68 newY = y - 20; in main()
71 newY = y + 20; in main()
107 if (newX != x || newY != y) in main()
110 y = newY; in main()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DTilingFunctions.h421 uint32_t newX, newY, newSampleX, newSampleY;
426 newY = y;
435 newY = y;
447 newY = pdep_u32(y, mask);
460 newY = pdep_u32(y, yMask);
472 newY = pdep_u32(y, mask);
479 newX = newY = 0;
484 y = newY | (newSampleY << 1);
/external/replicaisland/src/com/replica/replicaisland/
DMovementComponent.java51 float newY = object.getPosition().y + offsetY; in update() local
55 object.getPosition().set(newX, newY); in update()
DInputGameInterface.java133 float newY; in update() local
137 newY = mDirectionalPad.getY() + (trackball.getY() * ROLL_FILTER * mMovementSensitivity); in update()
142 newY = oldY + (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.java51 float newY = (ev.getX() / width) * height; in swapXY() local
52 ev.setLocation(newX, newY); in swapXY()
/external/skia/include/core/
DSkRect.h390 void offsetTo(int32_t newX, int32_t newY) { in offsetTo()
392 fBottom = Sk64_pin_to_s32((int64_t)fBottom + newY - fTop); in offsetTo()
394 fTop = newY; in offsetTo()
1048 void offsetTo(SkScalar newX, SkScalar newY) { in offsetTo()
1050 fBottom += newY - fTop; in offsetTo()
1052 fTop = newY; in offsetTo()
/external/skqp/include/core/
DSkRect.h372 void offsetTo(int32_t newX, int32_t newY) { in offsetTo()
374 fBottom = Sk64_pin_to_s32((int64_t)fBottom + newY - fTop); in offsetTo()
376 fTop = newY; in offsetTo()
1199 void offsetTo(SkScalar newX, SkScalar newY) { in offsetTo()
1201 fBottom += newY - fTop; in offsetTo()
1203 fTop = newY; in offsetTo()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DNativeInput.java656 final Ref<Float> newY = new Ref<>(0f); in transform() local
659 transformPoint(matrix, rawX + oldXOffset, rawY + oldYOffset, newX, newY); in transform()
661 mYOffset = newY.get() - rawY; in transform()
688 float newY = matrix[3] * x + matrix[4] * y + matrix[5]; in transformPoint() local
694 outY.set(newY * newZ); in transformPoint()
/external/skqp/src/gpu/text/
DGrTextBlob.cpp201 const SkMatrix& newViewMatrix, SkScalar newX, SkScalar newY, in calculate_translation() argument
207 newViewMatrix.getSkewX() * (newY - currentY) - in calculate_translation()
212 newViewMatrix.getScaleY() * (newY - currentY) - in calculate_translation()
216 *transY = newY - currentY; in calculate_translation()
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/tracking/
DObjectTracker.java333 final float newY = lastY + delta.y; in drawHistoryPoint() local
334 canvas.drawLine(lastX, lastY, newX, newY, p); in drawHistoryPoint()
336 lastY = newY; in drawHistoryPoint()
/external/ukey2/src/main/javatest/com/google/security/cryptauth/lib/securemessage/
DPublicKeyProtoUtilTest.java291 byte[] newY = in testSimpleDhPublicKeyProtoInvalidEncoding()
293 checkParsingFailsFor(invalidProto.setY(ByteString.copyFrom(newY)).build()); in testSimpleDhPublicKeyProtoInvalidEncoding()
/external/skqp/samplecode/
DSampleLitAtlas.cpp49 SkScalar newY = s * fLightDir.fX + c * fLightDir.fY; in rotateLight() local
51 fLightDir.set(newX, newY, 0.0f); in rotateLight()
/external/deqp/modules/egl/
DteglResizeTests.cpp292 const int newY = yCorner == 0 ? 0 : newHeight - minHeight; in compareCorners() local
296 getSubregion(newSurface.getAccess(), newX, newY, minWidth, minHeight); in compareCorners()
/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_fTop'>fTop</a> equals <a href='#SkIRect_offsetTo_newY'>newY</a>. width and heig…
1239 <tr> <td><a name='SkIRect_offsetTo_newY'><code><strong>newY</strong></code></a></td>
DSkRect_Reference.md61 …href='undocumented#SkScalar'>SkScalar</a> newX, <a href='undocumented#SkScalar'>SkScalar</a> newY);
1774 … href='undocumented#SkScalar'>SkScalar</a> newX, <a href='undocumented#SkScalar'>SkScalar</a> newY)
1777 …nd <a href='#SkRect_fTop'>fTop</a> equals <a href='#SkRect_offsetTo_newY'>newY</a>. width and heig…
1785 <tr> <td><a name='SkRect_offsetTo_newY'><code><strong>newY</strong></code></a></td>
/external/skqp/docs/
DSkIRect_Reference.bmh763 #Method void offsetTo(int32_t newX, int32_t newY)
DSkCanvas_Reference.bmh547 int newY = (y - h / 2) * 2 + h / 2;
548 if (newY < 0 || newY >= h) {
557 access[newY * rowWords + newX] = SK_ColorGRAY;
DSkRect_Reference.bmh1149 #Method void offsetTo(SkScalar newX, SkScalar newY)
/external/skia/tools/fiddle/
Ddocumumentation_examples_map.txt1137 void offsetTo(int32_t newX, int32_t newY);
3574 void offsetTo(SkScalar newX, SkScalar newY);
/external/javaparser/
Dchangelog.md541 * `Node.replace(old, new)` was added, including property-specific `X.replaceY(newY)` methods