/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 | 180 public Path getPath(float startX, float startY, float endX, float endY) { argument 203 ex = (startX + endX) / 2; 204 ey = startY + mMinimumHorizontalTangent * Math.abs(endX - startX) / 2; 205 } else if (startX == endX) { 209 float deltaX = endX - startX; 215 float dx = (startX + endX) / 2; 236 ex = endX; 245 ex = endX - eDistX; 276 float controlX2 = (ex + endX) / 2; 278 path.cubicTo(controlX1, controlY1, controlX2, controlY2, endX, end [all...] |
H A D | PatternPathMotion.java | 107 float endX = pos[0]; 113 if (startX == endX && startY == endY) { 118 float dx = endX - startX; 130 public Path getPath(float startX, float startY, float endX, float endY) { argument 131 double dx = endX - startX;
|
H A D | ChangeScroll.java | 66 int endX = (Integer) endValues.values.get(PROPNAME_SCROLL_X); 71 if (startX != endX) { 73 scrollXAnimator = ObjectAnimator.ofInt(view, "scrollX", startX, endX);
|
H A D | Explode.java | 86 float endX = view.getTranslationX(); 89 float startX = endX + mTempLoc[0]; 93 startX, startY, endX, endY, sDecelerate, this); 107 float endX = startX; 113 endX += interruptedPosition[0] - bounds.left; 118 endX += mTempLoc[0]; 122 viewPosX, viewPosY, startX, startY, endX, endY, sAccelerate, this);
|
H A D | TranslationAnimationCreator.java | 45 * @param endX The end translation x 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); 51 createAnimation(View view, TransitionValues values, int viewPosX, int viewPosY, float startX, float startY, float endX, float endY, TimeInterpolator interpolator, Transition transition) argument
|
H A D | Slide.java | 239 float endX = view.getTranslationX(); 245 startX, startY, endX, endY, sDecelerate, this); 257 float endX = mSlideCalculator.getGoneX(sceneRoot, view, mSlideFraction); 261 startX, startY, endX, endY, sAccelerate, this);
|
H A D | ChangeBounds.java | 438 int endX = (Integer) endValues.values.get(PROPNAME_WINDOW_X) - tempLocation[0]; 441 if (startX != endX || startY != endY) { 452 Path topLeftPath = getPathMotion().getPath(startX, startY, endX, endY);
|
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/ |
H A D | TranslationAnimationCreator.java | 37 * @param endX The end translation x 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); 43 createAnimation(View view, TransitionValues values, int viewPosX, int viewPosY, float startX, float startY, float endX, float endY, TimeInterpolator interpolator, Transition transition) argument
|
H A D | FadeAndShortSlide.java | 233 float endX = view.getTranslationX(); 238 left, top, startX, startY, endX, endY, sDecelerate, this); 265 float endX = mSlideCalculator.getGoneX(this, sceneRoot, view, position); 269 startValues, left, top, startX, startY, endX, endY, sDecelerate /* sAccelerate */,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | FreePathInterpolator.java | 167 float endX = mX[endIndex]; 168 return startX + (fraction * (endX - startX));
|
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
H A D | DiffUtil.java | 521 final int endX = snake.x + snake.size; 524 while (posOld > endX) { 592 final int endX = snake.x + snake.size; 596 for (int pos = curX - 1; pos >= endX; pos--) { 710 final int endX = snake.x + snakeSize; 712 if (endX < posOld) { 713 dispatchRemovals(postponedUpdates, batchingCallback, endX, posOld - endX, endX); 717 dispatchAdditions(postponedUpdates, batchingCallback, endX, posNe [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | VelocityTest.java | 237 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, argument 239 drag(vt, startX, endX, startY, endY, steps, startime, duration, new LinearInterpolator()); 246 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, argument 250 int distX = endX - startX; 259 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 | 424 * @param endX 430 public boolean swipe(int startX, int startY, int endX, int endY, int steps) { argument 431 Tracer.trace(startX, startY, endX, endY, steps); 433 .swipe(startX, startY, endX, endY, steps); 444 * @param endX X-axis value for the ending coordinate 451 public boolean drag(int startX, int startY, int endX, int endY, int steps) { argument 452 Tracer.trace(startX, startY, endX, endY, steps); 454 .swipe(startX, startY, endX, endY, steps, true);
|
/frameworks/base/core/java/com/android/internal/transition/ |
H A D | EpicenterTranslateClipReveal.java | 140 final float endX = (float) endValues.values.get(PROPNAME_TRANSLATE_X); 151 final State endStateX = new State(endClip.left, endClip.right, endX); 168 final float endX = endBounds.centerX() - startBounds.centerX(); 183 final State endStateX = new State(endClip.left, endClip.right, endX); 211 float startZ, State endX, State endY, float endZ, TransitionValues endValues, 222 final ObjectAnimator animX = ObjectAnimator.ofObject(view, propX, evaluator, startX, endX); 210 createRectAnimator(final View view, State startX, State startY, float startZ, State endX, State endY, float endZ, TransitionValues endValues, TimeInterpolator interpolatorX, TimeInterpolator interpolatorY, TimeInterpolator interpolatorZ) argument
|
/frameworks/base/core/java/android/animation/ |
H A D | PathKeyframes.java | 109 float endX = mKeyframeData[endBase + X_OFFSET]; 113 float x = interpolate(intervalFraction, startX, endX);
|
/frameworks/support/transition/ics/android/support/transition/ |
H A D | ChangeBoundsPort.java | 314 int endX = (Integer) endValues.values.get(PROPNAME_WINDOW_X); 317 if (startX != endX || startY != endY) { 330 Rect endBounds1 = new Rect(endX - tempLocation[0], endY - tempLocation[1], 331 endX - tempLocation[0] + view.getWidth(),
|
/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 | 286 uint32_t endX = startX + glyph.fWidth; local 317 for (cacheX = startX, bX = 0; cacheX < endX; cacheX++, bX++) { 321 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0; 328 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0; 379 for (int8_t mask = 7; mask >= 0 && cacheX < endX; mask--) { 383 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0;
|
H A D | SpotShadow.cpp | 292 float endX = poly[i].x; local 296 && (testx < (startX - endX) * (testy - endY) 297 / (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 | 412 int startX, int startY, int endX, int endY, int dX, int dY, 418 for (int x = startX, y = startY; x != endX && y != endY; x += dX, y += dY, inset++) { 429 static uint8_t max_alpha_over_row(png_byte* row, int startX, int endX) argument 432 for (int x = startX; x < endX; x++) { 453 int endX = image->width - 2; local 459 find_max_opacity(image->rows, endX, midY, midX, -1, -1, 0, &image->outlineInsetsRight); 476 int innerEndX = endX - image->outlineInsetsRight; 411 find_max_opacity(png_byte** rows, int startX, int startY, int endX, int endY, int dX, int dY, int* out_inset) argument
|
/frameworks/base/tools/aapt2/compile/ |
H A D | Png.cpp | 816 static void findMaxOpacity(png_bytepp rows, int startX, int startY, int endX, int endY, argument 821 for (int x = startX, y = startY; x != endX && y != endY; x += dX, y += dY, inset++) { 832 static uint8_t maxAlphaOverRow(png_bytep row, int startX, int endX) { argument 834 for (int x = startX; x < endX; x++) { 853 int endX = image->width - 2; local 859 findMaxOpacity(image->rows.data(), endX, midY, midX, -1, -1, 0, 878 int innerEndX = endX - image->outlineInsetsRight;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | TransformState.java | 266 float endX = otherStablePosition[0] - ownPosition[0]; 269 endX = mTransformationEndX; 272 endX,
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 448 uint32_t endX = startX + skiaGlyph.fWidth; local 463 glyph->mBitmapMaxU = endX / (float) cacheWidth;
|