/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) { 203 float deltaY = endY - startY; 210 float dy = (startY + endY) / 2; 217 boolean isMovingUpwards = startY > endY; 227 ey = endY + eDistY; 244 ey = endY; 271 float control2Y = (ey + endY) / 2; 272 path.cubicTo(control1X, control1Y, control2X, control2Y, endX, endY);
|
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 | 76 int endY = (Integer) endValues.values.get(PROPNAME_SCROLL_Y); 83 if (startY != endY) { 85 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);
|
Slide.java | 241 float endY = view.getTranslationY(); 246 startX, startY, endX, endY, sDecelerate, this); 259 float endY = mSlideCalculator.getGoneY(sceneRoot, view, mSlideFraction); 262 startX, startY, endX, endY, sAccelerate, this);
|
/frameworks/support/transition/src/android/support/transition/ |
PathMotion.java | 51 * <code>(endX, endY)</code>. This allows controlled curved motion along two dimensions. 56 * @param endY The y coordinate of the ending point. 59 * {@link android.graphics.Path#moveTo(float, float)} and end at <code>(endX, endY)</code>. 61 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) { 203 float deltaY = endY - startY; 210 float dy = (startY + endY) / 2; 217 boolean isMovingUpwards = startY > endY; 227 ey = endY + eDistY; 244 ey = endY; 271 float control2Y = (ey + endY) / 2; 272 path.cubicTo(control1X, control1Y, control2X, control2Y, endX, endY);
|
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 float dy = endY - startY;
|
ChangeScroll.java | 81 int endY = (Integer) endValues.values.get(PROPNAME_SCROLL_Y); 88 if (startY != endY) { 90 scrollYAnimator = ObjectAnimator.ofInt(view, "scrollY", startY, endY);
|
Explode.java | 88 float endY = view.getTranslationY(); 91 float startY = endY + mTempLoc[1]; 94 startX, startY, endX, endY, sDecelerate); 109 float endY = startY; 115 endY += interruptedPosition[1] - bounds.top; 120 endY += mTempLoc[1]; 123 viewPosX, viewPosY, startX, startY, endX, endY, sAccelerate);
|
TranslationAnimationCreator.java | 44 * @param endY The end translation y of view 46 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was 47 * a previous interruption, in which case it moves from the current position to (endX, endY). 50 float startX, float startY, float endX, float endY, TimeInterpolator interpolator) { 64 if (startX == endX && startY == endY) { 69 PropertyValuesHolder.ofFloat(View.TRANSLATION_Y, startY, 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/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/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 +
|
/frameworks/support/compat/ics/android/support/v4/view/animation/ |
PathInterpolatorApi14.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,
|
/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 | 39 * @param endY The end translation y of view 41 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was 42 * a previous interruption, in which case it moves from the current position to (endX, endY). 45 float startX, float startY, float endX, float endY, TimeInterpolator interpolator, 60 if (startX == endX && startY == endY) { 65 path.lineTo(endX, endY);
|
/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/Dialer/java/com/android/dialer/compat/ |
PathInterpolatorCompat.java | 115 final float endY = mY[endIndex]; 117 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));
|