/frameworks/base/core/java/android/transition/ |
H A D | PathMotion.java | 48 * <code>(endX, endY)</code>. This allows controlled curved motion along two dimensions. 52 * @param endX The x 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); argument
|
H A D | ArcMotion.java | 182 public Path getPath(float startX, float startY, float endX, float endY) { argument 205 ex = (startX + endX) / 2; 206 ey = startY + mMinimumHorizontalTangent * Math.abs(endX - startX) / 2; 207 } else if (startX == endX) { 211 float deltaX = endX - startX; 217 float dx = (startX + endX) / 2; 233 ex = endX; 240 ex = endX + eDistX; 267 float controlX2 = (ex + endX) / 2; 269 path.cubicTo(controlX1, controlY1, controlX2, controlY2, endX, end [all...] |
H A D | PatternPathMotion.java | 109 float endX = pos[0]; 115 if (startX == endX && startY == endY) { 120 float dx = endX - startX; 132 public Path getPath(float startX, float startY, float endX, float endY) { argument 133 float dx = endX - startX;
|
H A D | ChangeScroll.java | 68 int endX = (Integer) endValues.values.get(PROPNAME_SCROLL_X); 73 if (startX != endX) { 75 scrollXAnimator = ObjectAnimator.ofInt(view, "scrollX", startX, endX);
|
H A D | Explode.java | 87 float endX = view.getTranslationX(); 90 float startX = endX + mTempLoc[0]; 94 startX, startY, endX, endY, sDecelerate); 108 float endX = startX; 114 endX += interruptedPosition[0] - bounds.left; 119 endX += mTempLoc[0]; 123 viewPosX, viewPosY, startX, startY, endX, endY, sAccelerate);
|
H A D | TranslationAnimationCreator.java | 44 * @param endX The end translation x 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); 50 createAnimation(View view, TransitionValues values, int viewPosX, int viewPosY, float startX, float startY, float endX, float endY, TimeInterpolator interpolator) argument
|
H A D | Slide.java | 228 float endX = view.getTranslationX(); 234 startX, startY, endX, endY, sDecelerate); 246 float endX = mSlideCalculator.getGoneX(sceneRoot, view); 250 startX, startY, endX, endY, sAccelerate);
|
H A D | ChangeBounds.java | 437 int endX = (Integer) endValues.values.get(PROPNAME_WINDOW_X); 440 if (startX != endX || startY != endY) { 451 startY - tempLocation[1], endX - tempLocation[0], endY - tempLocation[1]);
|
H A D | Transition.java | 167 public Path getPath(float startX, float startY, float endX, float endY) { 170 path.lineTo(endX, endY);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | VelocityTest.java | 232 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, argument 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, argument 245 int distX = endX - startX; 254 addMotionEvent(vt, endX, endY, startime + duration, MotionEvent.ACTION_UP);
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiDevice.java | 421 * @param endX 427 public boolean swipe(int startX, int startY, int endX, int endY, int steps) { argument 428 Tracer.trace(startX, startY, endX, endY, steps); 430 .swipe(startX, startY, endX, endY, steps); 441 * @param endX X-axis value for the ending coordinate 448 public boolean drag(int startX, int startY, int endX, int endY, int steps) { argument 449 Tracer.trace(startX, startY, endX, endY, steps); 451 .swipe(startX, startY, endX, endY, steps, true);
|
/frameworks/base/core/java/android/animation/ |
H A D | PathKeyframes.java | 108 float endX = mKeyframeData[endBase + X_OFFSET]; 112 float x = interpolate(intervalFraction, startX, endX);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | RotarySelector.java | 615 private void startAnimation(int startX, int endX, int duration) { argument 620 mAnimatingDeltaXEnd = endX; 626 private void startAnimationWithVelocity(int startX, int endX, int pixelsPerSecond) { argument 629 mAnimationDuration = 1000 * (endX - startX) / pixelsPerSecond; 631 mAnimatingDeltaXEnd = endX;
|
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 284 uint32_t endX = startX + glyph.fWidth; local 315 for (cacheX = startX, bX = 0; cacheX < endX; cacheX++, bX++) { 319 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0; 326 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0; 377 for (int8_t mask = 7; mask >= 0 && cacheX < endX; mask--) { 381 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0;
|
H A D | SpotShadow.cpp | 315 float endX = poly[i].x; local 319 && (testx < (startX - endX) * (testy - endY) 320 / (startY - endY) + endX)) {
|
/frameworks/rs/ |
H A D | rsFont.cpp | 118 uint32_t endX = glyph->mBitmapMinX + glyph->mBitmapWidth; local 127 for (cacheX = glyph->mBitmapMinX, bX = nPenX; cacheX < endX; cacheX++, bX++) { 266 uint32_t endX = startX + bitmap->width; local 279 glyph->mBitmapMaxU = (float)endX / (float)cacheWidth; 457 uint32_t endX = startX + bitmap->width; local 466 for (cacheX = startX, bX = 0; cacheX < endX; cacheX ++, bX ++) {
|
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 409 int startX, int startY, int endX, int endY, int dX, int dY, 416 for (int x = startX, y = startY; x != endX && y != endY; x += dX, y += dY, inset++) { 427 static uint8_t max_alpha_over_row(png_byte* row, int startX, int endX) argument 430 for (int x = startX; x < endX; x++) { 451 int endX = image->width - 2; local 457 find_max_opacity(image->rows, endX, midY, midX, -1, -1, 0, &image->outlineInsetsRight); 474 int innerEndX = endX - image->outlineInsetsRight; 408 find_max_opacity(png_byte** rows, int startX, int startY, int endX, int endY, int dX, int dY, int* out_inset) argument
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 454 uint32_t endX = startX + skiaGlyph.fWidth; local 469 glyph->mBitmapMaxU = endX / (float) cacheWidth;
|