/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 | 182 public Path getPath(float startX, float startY, float endX, float endY) { 204 if (startY == endY) { 208 ex = startX + mMinimumVerticalTangent * Math.abs(endY - startY) / 2; 209 ey = (startY + endY) / 2; 212 float deltaY = startY - endY; // Y is inverted compared to diagram above. 218 float dy = (startY + endY) / 2; 232 ey = endY + eDistY; 241 ey = endY; 268 float controlY2 = (ey + endY) / 2; 269 path.cubicTo(controlX1, controlY1, controlX2, controlY2, endX, endY); [all...] |
PatternPathMotion.java | 110 float endY = pos[1]; 115 if (startX == endX && startY == endY) { 121 float dy = endY - startY; 132 public Path getPath(float startX, float startY, float endX, float endY) { 134 float dy = endY - startY;
|
ChangeScroll.java | 70 int endY = (Integer) endValues.values.get(PROPNAME_SCROLL_Y); 77 if (startY != endY) { 79 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 | 45 * @param endY The end translation y of view 47 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was 48 * a previous interruption, in which case it moves from the current position to (endX, endY). 51 float startX, float startY, float endX, float endY, TimeInterpolator interpolator) { 65 if (startX == endX && startY == endY) { 70 path.lineTo(endX, endY);
|
Slide.java | 229 float endY = view.getTranslationY(); 234 startX, startY, endX, endY, sDecelerate); 247 float endY = mSlideCalculator.getGoneY(sceneRoot, view); 250 startX, startY, endX, endY, sAccelerate);
|
/external/droiddriver/src/com/google/android/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);
|
/cts/tests/tests/animation/src/android/animation/cts/ |
ObjectAnimatorTest.java | 56 float endY = mActivity.mStartY + mActivity.mDeltaY; 57 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); 69 assertTrue( y <= endY); 76 float endY = mActivity.mStartY + mActivity.mDeltaY; 77 ObjectAnimator animator = ObjectAnimator.ofFloat(object, property, startY, endY); 181 float endY = mActivity.mStartY + mActivity.mDeltaY; 182 float[] values = {startY, endY}; 195 assertTrue( y <= endY); 215 float endY = mActivity.mStartY + mActivity.mDeltaY; 217 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); [all...] |
ValueAnimatorTest.java | 119 float endY = mActivity.mStartY + mActivity.mDeltaY; 120 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); 129 assertEquals(y, endY); 219 float endY = mActivity.mStartY + mActivity.mDeltaY; 220 ValueAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
RasterShape.cpp | 129 int endY = y + 1; 130 for (; endY < maxY; endY++) { 131 if (intervalAt(endY).isEmpty() || intervalAt(endY) != extent) 134 path.addRect(FloatRect(extent.x1(), y, extent.width(), endY - y)); 135 y = endY - 1;
|
/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/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/ |
Test5DetailFragment.java | 40 int endY; 103 mPointerEvent.endY)); 119 mPointerEvent.endX = mPointerEvent.endY = -1; 149 mPointerEvent.endY = (int)(event.getY() + offsetInScreen[1]);
|
TestGenericDetailFragment.java | 36 int endY; 99 * format: "startX,startY:endX,endY" where each line represent data for a pointer if 110 mPointerEvents[x].endY)); 130 mPointerEvents[x].endX = mPointerEvents[x].endY = -1; 164 mPointerEvents[getPointerId(event)].endY =
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
FEMorphology.h | 69 int endY;
|
FETurbulence.h | 109 int endY;
|
/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,
|
/external/chromium_org/third_party/skia/src/core/ |
SkTileGrid.cpp | 89 endY = divide_ceil(adjusted.bottom(), fInfo.fTileInterval.height()); 98 endY = SkPin32(endY, startY + 1, fYTiles); 100 const int tilesHit = (endX - startX) * (endY - startY); 120 for (int y = startY; y < endY; y++) {
|
/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));
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/ |
ImageFrame.h | 91 // endY. 92 void copyRowNTimes(int startX, int endX, int startY, int endY) 97 ASSERT(endY <= height()); 100 for (int destY = startY + 1; destY < endY; ++destY)
|
/frameworks/base/core/tests/coretests/src/android/view/ |
VelocityTest.java | 232 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, 234 drag(vt, startX, endX, startY, endY, steps, startime, duration, new LinearInterpolator()); 241 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, 246 int distY = endY - startY; 254 addMotionEvent(vt, endX, endY, startime + duration, MotionEvent.ACTION_UP);
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
UiDevice.java | 422 * @param endY 427 public boolean swipe(int startX, int startY, int endX, int endY, int steps) { 428 Tracer.trace(startX, startY, endX, endY, steps); 430 .swipe(startX, startY, endX, endY, steps); 442 * @param endY Y-axis value for the ending coordinate 448 public boolean drag(int startX, int startY, int endX, int endY, int steps) { 449 Tracer.trace(startX, startY, endX, endY, steps); 451 .swipe(startX, startY, endX, endY, steps, true);
|
/frameworks/base/core/java/android/animation/ |
PathKeyframes.java | 110 float endY = mKeyframeData[endBase + Y_OFFSET]; 113 float y = interpolate(intervalFraction, startY, endY);
|