HomeSort by relevance Sort by last modified time
    Searched refs:endY (Results 1 - 25 of 119) sorted by null

1 2 3 4 5

  /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/actions/
ScaleToAction.java 23 private float endX, endY;
31 target.setScale(startX + (endX - startX) * percent, startY + (endY - startY) * percent);
36 endY = y;
41 endY = scale;
53 return endY;
57 this.endY = y;
MoveToAction.java 25 private float endX, endY;
34 target.setPosition(startX + (endX - startX) * percent, startY + (endY - startY) * percent, alignment);
44 endY = y;
49 endY = y;
62 return endY;
66 endY = y;
  /frameworks/base/core/java/android/transition/
PathMotion.java 48 * <code>(endX, endY)</code>. This allows controlled curved motion along two dimensions.
53 * @param endY The y coordinate of the ending point.
56 * {@link android.graphics.Path#moveTo(float, float)} and end at <code>(endX, endY)</code>.
58 public abstract Path getPath(float startX, float startY, float endX, float endY);
ArcMotion.java 180 public Path getPath(float startX, float startY, float endX, float endY) {
202 if (startY == endY) {
206 ex = startX + mMinimumVerticalTangent * Math.abs(endY - startY) / 2;
207 ey = (startY + endY) / 2;
210 float deltaY = endY - startY;
216 float dy = (startY + endY) / 2;
235 ey = endY - eDistY;
246 ey = endY;
277 float controlY2 = (ey + endY) / 2;
278 path.cubicTo(controlX1, controlY1, controlX2, controlY2, endX, endY);
    [all...]
PatternPathMotion.java 108 float endY = pos[1];
113 if (startX == endX && startY == endY) {
119 float dy = endY - startY;
130 public Path getPath(float startX, float startY, float endX, float endY) {
132 double dy = endY - startY;
ChangeScroll.java 68 int endY = (Integer) endValues.values.get(PROPNAME_SCROLL_Y);
75 if (startY != endY) {
77 scrollYAnimator = ObjectAnimator.ofInt(view, "scrollY", startY, endY);
Explode.java 87 float endY = view.getTranslationY();
90 float startY = endY + mTempLoc[1];
93 startX, startY, endX, endY, sDecelerate, this);
108 float endY = startY;
114 endY += interruptedPosition[1] - bounds.top;
119 endY += mTempLoc[1];
122 viewPosX, viewPosY, startX, startY, endX, endY, sAccelerate, this);
TranslationAnimationCreator.java 46 * @param endY The end translation y of view
48 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was
49 * a previous interruption, in which case it moves from the current position to (endX, endY).
52 float startX, float startY, float endX, float endY, TimeInterpolator interpolator,
67 if (startX == endX && startY == endY) {
72 path.lineTo(endX, endY);
  /packages/apps/Camera2/jni/
jpegutil.h 202 // The line is defined by (startX, startY) -> (endX, endY), computed via the
209 int endY;
210 transform_.Map(output_width - 1, y, &endX, &endY);
212 // Clamp (startX, startY) and (endX, endY) to the valid bounds of the plane.
216 endY = min(endY, plane_.height - 1);
220 endY = max(endY, 0);
226 int dy = sgn(endY - startY);
230 // The index into plane_.data of (endX, endY)
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/math/
Bresenham2.java 49 * @param endY the end y coordinate of the line
51 public Array<GridPoint2> line (int startX, int startY, int endX, int endY) {
54 return line(startX, startY, endX, endY, pool, points);
61 * @param endY the end y coordinate of the line
65 public Array<GridPoint2> line (int startX, int startY, int endX, int endY, Pool<GridPoint2> pool, Array<GridPoint2> output) {
68 int h = endY - startY;
  /external/droiddriver/src/io/appium/droiddriver/actions/
SwipeAction.java 158 int endY;
165 endY = adjustedTop;
171 endY = adjustedbottom;
177 endY = elementRect.centerY();
183 endY = elementRect.centerY();
190 double yStep = ((double) (endY - startY)) / steps;
206 Events.touchUp(injector, downTime, endX, endY);
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/
ImageProcessor.java 278 int endY = getSplitPoint(raster, name, 0, startY, false, false);
282 getSplitPoint(raster, name, 0, endY + 1, true, false);
285 if (startX == 0 && endX == 0 && startY == 0 && endY == 0) return null;
297 endY = raster.getHeight() - 2 - (endY - 1);
300 endY = raster.getHeight() - 2;
307 endY = (int)Math.round(endY * scale);
310 return new int[] {startX, endX, startY, endY};
326 int endY = 0
    [all...]
  /external/replicaisland/tools/
ExtractPoints.js 81 edge.endY = lastPoint.anchor[1];
83 var normalX = -(edge.endY - edge.startY);
103 totalY += edge.endY;
106 var height = edge.endY - edge.startY;
109 edge.centerY = edge.endY - (height / 2);
149 edge.endY -= tile.yOffset;
173 edge.endY = tileSizeY - edge.endY;
178 Math.floor(edge.endY) + ":" + edge.normalX + "," + edge.normalY +
  /cts/tests/tests/animation/src/android/animation/cts/
ObjectAnimatorTest.java 57 float endY = mActivity.mStartY + mActivity.mDeltaY;
58 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY);
70 assertTrue( y <= endY);
77 float endY = mActivity.mStartY + mActivity.mDeltaY;
78 ObjectAnimator animator = ObjectAnimator.ofFloat(object, property, startY, endY);
182 float endY = mActivity.mStartY + mActivity.mDeltaY;
183 float[] values = {startY, endY};
196 assertTrue( y <= endY);
216 float endY = mActivity.mStartY + mActivity.mDeltaY;
218 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY);
    [all...]
  /external/skia/tools/VisualBench/
VisualInteractiveModule.cpp 59 int endY = startY - (int)(fMeasurements[i] * kPixelPerMS + 0.5); // round to nearest value
61 SkIntToScalar(x), SkIntToScalar(endY), paint);
  /frameworks/support/compat/gingerbread/android/support/v4/view/animation/
PathInterpolatorGingerbread.java 93 final float endY = mY[endIndex];
95 return startY + (fraction * (endY - startY));
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
BouncingBalls.java 88 float endY = getHeight() - 50f;
92 ValueAnimator bounceAnim = ObjectAnimator.ofFloat(newBall, "y", startY, endY);
107 ValueAnimator stretchAnim1 = ObjectAnimator.ofFloat(newBall, "y", endY,
108 endY + 25f);
119 ValueAnimator bounceBackAnim = ObjectAnimator.ofFloat(newBall, "y", endY,
  /cts/tests/tests/transition/src/android/transition/cts/
ArcMotionTest.java 87 private Path arcWithPoint(float startX, float startY, float endX, float endY,
92 float c2y = (eY + endY)/2;
95 path.cubicTo(c1x, c1y, c2x, c2y, endX, endY);
  /developers/build/prebuilts/gradle/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/
AnimatedNotificationDisplayActivity.java 74 float endY = -mRandom.nextInt(mAnimationRange);
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/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/
AnimatedNotificationDisplayActivity.java 74 float endY = -mRandom.nextInt(mAnimationRange);
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 74 float endY = -mRandom.nextInt(mAnimationRange);
75 float distance = (float) Math.sqrt(Math.pow(endX - startX, 2) + Math.pow(endY - startY, 2));
79 PropertyValuesHolder.ofFloat("translationY", startY, endY));
  /frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/
TranslationAnimationCreator.java 38 * @param endY The end translation y of view
40 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was
41 * a previous interruption, in which case it moves from the current position to (endX, endY).
44 float startX, float startY, float endX, float endY, TimeInterpolator interpolator,
59 if (startX == endX && startY == endY) {
64 path.lineTo(endX, endY);
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/superkoalio/
SuperKoalio.java 201 int startX, startY, endX, endY;
208 endY = (int)(koala.position.y + Koala.HEIGHT);
209 getTiles(startX, startY, endX, endY, tiles);
222 startY = endY = (int)(koala.position.y + Koala.HEIGHT + koala.velocity.y);
224 startY = endY = (int)(koala.position.y + koala.velocity.y);
228 getTiles(startX, startY, endX, endY, tiles);
273 private void getTiles (int startX, int startY, int endX, int endY, Array<Rectangle> tiles) {
277 for (int y = startY; y <= endY; y++) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
FreePathInterpolator.java 128 float endY = mY[endIndex];
129 return startY + (fraction * (endY - startY));
  /packages/apps/PhoneCommon/src/com/android/phone/common/compat/
PathInterpolatorCompat.java 100 final float endY = mY[endIndex];
102 return startY + (fraction * (endY - startY));

Completed in 1121 milliseconds

1 2 3 4 5