/frameworks/base/core/java/android/transition/ |
H A D | 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); argument
|
H A D | ArcMotion.java | 180 public Path getPath(float startX, float startY, float endX, float endY) { argument 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...] |
H A D | 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) { argument 132 double dy = endY - startY;
|
H A D | ChangeScroll.java | 68 int endY = (Integer) endValues.values.get(PROPNAME_SCROLL_Y); 75 if (startY != endY) { 77 scrollYAnimator = ObjectAnimator.ofInt(view, "scrollY", startY, endY);
|
H A D | 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);
|
H A D | 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); 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 | 240 float endY = view.getTranslationY(); 245 startX, startY, endX, endY, sDecelerate, this); 258 float endY = mSlideCalculator.getGoneY(sceneRoot, view, mSlideFraction); 261 startX, startY, endX, endY, sAccelerate, this);
|
/frameworks/support/compat/gingerbread/android/support/v4/view/animation/ |
H A D | PathInterpolatorGingerbread.java | 93 final float endY = mY[endIndex]; 95 return startY + (fraction * (endY - startY));
|
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/ |
H A D | 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); 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 | 235 float endY = view.getTranslationY(); 238 left, top, startX, startY, endX, endY, sDecelerate, this); 267 float endY = mSlideCalculator.getGoneY(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 | 128 float endY = mY[endIndex]; 129 return startY + (fraction * (endY - startY));
|
/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 251 int distY = endY - startY; 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 | 425 * @param endY 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); 445 * @param endY Y-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 | 141 final float endY = (float) endValues.values.get(PROPNAME_TRANSLATE_Y); 153 final State endStateY = new State(endClip.top, endClip.bottom, endY); 169 final float endY = endBounds.centerY() - startBounds.centerY(); 185 final State endStateY = new State(endClip.top, endClip.bottom, endY); 211 float startZ, State endX, State endY, float endZ, TransitionValues endValues, 228 final ObjectAnimator animY = ObjectAnimator.ofObject(view, propY, evaluator, startY, endY); 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 | 111 float endY = mKeyframeData[endBase + Y_OFFSET]; 114 float y = interpolate(intervalFraction, startY, endY);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | PathInterpolatorBuilder.java | 148 float endY = mY[endIndex]; 149 return startY + (fraction * (endY - startY));
|
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
H A D | DiffUtil.java | 522 final int endY = snake.y + snake.size; 529 while (posNew > endY) { 593 final int endY = snake.y + snake.size; 609 for (int pos = curY - 1; pos >= endY; pos--) { 711 final int endY = snake.y + snakeSize; 716 if (endY < posNew) { 717 dispatchAdditions(postponedUpdates, batchingCallback, endX, posNew - endY, 718 endY);
|
/frameworks/support/transition/ics/android/support/transition/ |
H A D | ChangeBoundsPort.java | 315 int endY = (Integer) endValues.values.get(PROPNAME_WINDOW_Y); 317 if (startX != endX || startY != endY) { 330 Rect endBounds1 = new Rect(endX - tempLocation[0], endY - tempLocation[1], 332 endY - tempLocation[1] + view.getHeight());
|
/frameworks/base/core/java/android/view/animation/ |
H A D | PathInterpolator.java | 229 float endY = mY[endIndex]; 230 return startY + (fraction * (endY - startY));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationTemplateViewWrapper.java | 74 float endY = getTransformationY(ownState, otherState); 75 ownState.setTransformationEndY(endY);
|
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 287 uint32_t endY = startY + glyph.fHeight; local 314 for (cacheY = startY, bY = 0; cacheY < endY; cacheY++, bY += srcStride) { 324 for (cacheY = startY, bY = 0; cacheY < endY; cacheY++, bY += srcStride) { 332 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE; 347 uint8_t* dstEnd = &cacheBuffer[cacheTexture->getOffset(startX, endY - 1)]; 370 for (cacheY = startY; cacheY < endY; cacheY++) { 388 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE;
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 219 uint32_t endY = startY + (glyph->mBitmapHeight * srcStride); local 223 for (uint32_t cacheY = startY, bitmapY = dstY * bitmapWidth; cacheY < endY; 449 uint32_t endY = startY + skiaGlyph.fHeight; local 464 glyph->mBitmapMaxV = endY / (float) cacheHeight;
|
/frameworks/rs/ |
H A D | rsFont.cpp | 119 uint32_t endY = glyph->mBitmapMinY + glyph->mBitmapHeight; local 128 for (cacheY = glyph->mBitmapMinY, bY = nPenY; cacheY < endY; cacheY++, bY++) { 267 uint32_t endY = startY + bitmap->rows; local 280 glyph->mBitmapMaxV = (float)endY / (float)cacheHeight; 458 uint32_t endY = startY + bitmap->rows; local 467 for (cacheY = startY, bY = 0; cacheY < endY; cacheY ++, bY ++) {
|
/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++) { 439 static uint8_t max_alpha_over_col(png_byte** rows, int offsetX, int startY, int endY) argument 442 for (int y = startY; y < endY; y++) { 454 int endY = image->height - 2; local 468 find_max_opacity(image->rows, midX, endY, -1, midY, 0, -1, &image->outlineInsetsBottom); 477 int innerEndY = endY - image->outlineInsetsBottom; 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++) { 841 static uint8_t maxAlphaOverCol(png_bytepp rows, int offsetX, int startY, int endY) { argument 843 for (int y = startY; y < endY; y++) { 854 int endY = image->height - 2; local 869 findMaxOpacity(image->rows.data(), midX, endY, -1, midY, 0, -1, 879 int innerEndY = endY - image->outlineInsetsBottom;
|