/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowScroller.java | 10 private int startY; 24 return startY; 36 return dt >= duration ? finalY : startY + (int) ((deltaY() * dt) / duration); 55 protected void startScroll(int startX, int startY, int dx, int dy, int duration) { 57 this.startY = startY; 59 finalY = startY + dy; 100 return (finalY - startY);
|
ShadowOverScroller.java | 13 private int startY; 27 return startY; 39 return dt >= duration ? finalY : startY + (int) ((deltaY() * dt) / duration); 58 protected void startScroll(int startX, int startY, int dx, int dy, int duration) { 60 this.startY = startY; 62 finalY = startY + dy; 113 final int dy = finalY - startY; 133 return (finalY - startY);
|
ShadowCanvas.java | 206 protected void drawLine(float startX, float startY, float stopX, float stopY, Paint paint) { 207 linePaintEvents.add(new LinePaintHistoryEvent(startX, startY, stopX, stopY, paint)); 369 public float startY; 374 float startX, float startY, float stopX, float stopY, Paint paint) { 379 this.startY = startY;
|
/cts/tests/tests/view/src/android/view/cts/ |
ScaleGestureDetectorTest.java | 106 float startY = 500.f; 109 performTouch(MotionEvent.ACTION_DOWN, xValue, startY); 110 performTouch(MotionEvent.ACTION_UP, xValue, startY); 111 performTouch(MotionEvent.ACTION_DOWN, xValue, startY); 112 performTouch(MotionEvent.ACTION_MOVE, xValue, startY + slopRadius + 1); 114 performTouch(MotionEvent.ACTION_MOVE, xValue, startY + slopRadius - 1); 116 performTouch(MotionEvent.ACTION_MOVE, xValue, startY + slopRadius - 2);
|
/external/droiddriver/src/io/appium/droiddriver/actions/ |
SwipeAction.java | 156 int startY; 163 startY = adjustedbottom; 169 startY = adjustedTop; 175 startY = elementRect.centerY(); 181 startY = elementRect.centerY(); 190 double yStep = ((double) (endY - startY)) / steps; 193 long downTime = Events.touchDown(injector, startX, startY); 199 Events.touchMove(injector, downTime, startX + (int) (xStep * i), startY + (int) (yStep * i));
|
/external/replicaisland/tools/ |
ExtractPoints.js | 78 edge.startY = firstPoint.anchor[1]; 83 var normalX = -(edge.endY - edge.startY); 106 var height = edge.endY - edge.startY; 147 edge.startY -= tile.yOffset; 172 edge.startY = tileSizeY - edge.startY; 177 Math.floor(edge.startY) + ":" + Math.floor(edge.endX) + "," + 227 lineArray[y] = Array(offsetX + edge.startX, offsetY + edge.startY);
|
/developers/build/prebuilts/gradle/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/ |
AnimatedNotificationDisplayActivity.java | 72 float startY = mImageView.getTranslationY(); 75 float distance = (float) Math.sqrt(Math.pow(endX - startX, 2) + Math.pow(endY - startY, 2)); 79 PropertyValuesHolder.ofFloat("translationY", startY, endY));
|
/developers/samples/android/deprecated/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/ |
AnimatedNotificationDisplayActivity.java | 72 float startY = mImageView.getTranslationY(); 75 float distance = (float) Math.sqrt(Math.pow(endX - startX, 2) + Math.pow(endY - startY, 2)); 79 PropertyValuesHolder.ofFloat("translationY", startY, endY));
|
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/ |
AnimatedNotificationDisplayActivity.java | 72 float startY = mImageView.getTranslationY(); 75 float distance = (float) Math.sqrt(Math.pow(endX - startX, 2) + Math.pow(endY - startY, 2)); 79 PropertyValuesHolder.ofFloat("translationY", startY, endY));
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
RectChecker.java | 68 int startY = boundsToCheck.top + t.mTargetRect.top; 83 for (int row = startY; row < endY; row++) {
|
/external/skia/tools/viewer/ |
StatsLayer.cpp | 119 int startY = SkScalarTruncToInt(rect.fBottom); 123 int endY = SkTMax(startY - height, kDisplayPadding + kTextHeight); 125 canvas->drawLine(SkIntToScalar(x), SkIntToScalar(startY), 127 startY = endY;
|
/external/skqp/tools/viewer/ |
StatsLayer.cpp | 117 int startY = SkScalarTruncToInt(rect.fBottom); 121 int endY = SkTMax(startY - height, kDisplayPadding + kTextHeight); 123 canvas->drawLine(SkIntToScalar(x), SkIntToScalar(startY), 125 startY = endY;
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
GestureDescriptionTest.java | 183 int startY = 100; 188 path.moveTo(x, startY);
|
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
ListViewItemAnimations.java | 327 private void moveView(View view, float startX, float endX, float startY, float endY, 339 if (startY != endY) { 340 ObjectAnimator anim = ObjectAnimator.ofFloat(view, View.TRANSLATION_Y, startY, endY); 346 TranslateAnimation translator = new TranslateAnimation(startX, endX, startY, endY);
|
/cts/tests/tests/transition/src/android/transition/cts/ |
ArcMotionTest.java | 95 private static Path arcWithPoint(float startX, float startY, float endX, float endY, 98 float c1y = (eY + startY) / 2; 102 path.moveTo(startX, startY);
|
ExplodeTest.java | 174 private void waitForMovement(View view, float startX, float startY) { 175 PollingCheck.waitFor(5000, () -> hasMoved(view, startX, startY));
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
BouncingBalls.java | 87 float startY = newBall.getY(); 92 ValueAnimator bounceAnim = ObjectAnimator.ofFloat(newBall, "y", startY, endY); 120 startY);
|
/external/replicaisland/src/com/replica/replicaisland/ |
TiledVertexGrid.java | 193 final int startY = bottomTile; 195 final int endY = startY + verticalSlop + vertTileCount; 209 for (int tileY = startY; tileY < endY && tileY < mTilesPerColumn; tileY++) {
|
/external/skia/fuzz/ |
FuzzMain.cpp | 493 const int startY = (i + 1) * stripeHeight; 494 const int linesToRead = SkTMin(stripeHeight, height - startY); 496 codec->getScanlines(bitmap.getAddr(0, startY), linesToRead, bitmap.rowBytes()); 508 const int startY = i * stripeHeight; 509 const int linesToRead = SkTMin(stripeHeight, height - startY); 510 codec->getScanlines(bitmap.getAddr(0, startY), linesToRead, bitmap.rowBytes());
|
/external/skqp/fuzz/ |
FuzzMain.cpp | 487 const int startY = (i + 1) * stripeHeight; 488 const int linesToRead = SkTMin(stripeHeight, height - startY); 490 codec->getScanlines(bitmap.getAddr(0, startY), linesToRead, bitmap.rowBytes()); 502 const int startY = i * stripeHeight; 503 const int linesToRead = SkTMin(stripeHeight, height - startY); 504 codec->getScanlines(bitmap.getAddr(0, startY), linesToRead, bitmap.rowBytes());
|
/cts/tests/tests/animation/src/android/animation/cts/ |
ObjectAnimatorTest.java | 105 float startY = mActivity.mStartY; 107 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); 112 assertTrue(y >= startY); 134 float startY = mActivity.mStartY; 136 ObjectAnimator animator = ObjectAnimator.ofFloat(object, property, startY, endY); 303 float startY = mActivity.mStartY; 305 float[] values = {startY, endY}; 309 assertTrue(y >= startY); 347 float startY = mActivity.mStartY; 350 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY) [all...] |
AnimatorTest.java | 135 float startY = mActivity.mStartY; 137 Animator animator = ObjectAnimator.ofFloat(object, property, startY, endY);
|
/cts/tests/tests/media/src/android/media/cts/ |
PresentationSyncTest.java | 400 int startX, startY; 402 startY = (num / 16) * (mHeight / 4); 414 GLES20.glScissor(startX, startY, mWidth / 16, mHeight / 4);
|
EncodeDecodeTest.java | [all...] |
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube1/ |
CubeWallpaper1.java | 224 float startY = newy1 / (4 - newz1 / 400); 228 c.drawLine(startX, startY, stopX, stopY, mPaint);
|