/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 | 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 | ArcMotion.java | 180 public Path getPath(float startX, float startY, float endX, float endY) { argument 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);
|
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
|
/frameworks/support/transition/src/android/support/transition/ |
H A D | 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); argument
|
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 float dy = endY - startY;
|
H A D | ArcMotion.java | 180 public Path getPath(float startX, float startY, float endX, float endY) { argument 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);
|
H A D | 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)); 49 createAnimation(View view, TransitionValues values, int viewPosX, int viewPosY, float startX, float startY, float endX, float endY, TimeInterpolator interpolator) argument
|
/frameworks/support/transition/tests/src/android/support/transition/ |
H A D | ArcMotionTest.java | 95 private static Path arcWithPoint(float startX, float startY, float endX, float endY, argument 100 float c2y = (eY + endY) / 2; 103 path.cubicTo(c1x, c1y, c2x, c2y, endX, endY);
|
H A D | TransitionInflaterTest.java | 222 public Path getPath(float startX, float startY, float endX, float endY) { argument
|
/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/libs/hwui/ |
H A D | Interpolator.cpp | 120 float endY = mY[endIndex]; local 121 return startY + (fraction * (endY - startY));
|
H A D | FontRenderer.cpp | 274 uint32_t endY = startY + glyph.fHeight; local 300 for (uint32_t cacheY = startY, bY = 0; cacheY < endY; cacheY++, bY += srcStride) { 310 for (uint32_t cacheY = startY, bY = 0; cacheY < endY; cacheY++, bY += srcStride) { 318 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE; 333 uint8_t* dstEnd = &cacheBuffer[cacheTexture->getOffset(startX, endY - 1)]; 356 for (cacheY = startY; cacheY < endY; cacheY++) { 374 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE;
|
H A D | SpotShadow.cpp | 293 float endY = poly[i].y; local 295 if (((endY > testy) != (startY > testy)) 296 && (testx < (startX - endX) * (testy - endY) 297 / (startY - endY) + endX)) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | GestureDescriptionTest.java | 273 float startX, float startY, float endX, float endY, long duration) { 275 swipeBuilder.addStroke(createSwipeStroke(startX, startY, endX, endY, 0, duration)); 280 float startX, float startY, float endX, float endY, long startTime, long endTime) { 283 swipePath.lineTo(endX, endY); 272 createSwipe( float startX, float startY, float endX, float endY, long duration) argument 279 createSwipeStroke( float startX, float startY, float endX, float endY, long startTime, long endTime) argument
|
/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/support/v17/leanback/api21/android/support/v17/leanback/transition/ |
H A D | 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); 44 createAnimation(View view, TransitionValues values, int viewPosX, int viewPosY, float startX, float startY, float endX, float endY, TimeInterpolator interpolator, Transition transition) argument
|
/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/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 | 118 uint32_t endY = glyph->mBitmapMinY + glyph->mBitmapHeight; local 127 for (cacheY = glyph->mBitmapMinY, bY = nPenY; cacheY < endY; cacheY++, bY++) { 266 uint32_t endY = startY + bitmap->rows; local 279 glyph->mBitmapMaxV = (float)endY / (float)cacheHeight; 457 uint32_t endY = startY + bitmap->rows; local 466 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 | 851 int endY, int dX, int dY, int* outInset) { 855 for (int x = startX, y = startY; x != endX && y != endY; 877 int endY) { 879 for (int y = startY; y < endY; y++) { 890 int endY = image->height - 2; local 907 findMaxOpacity(image->rows.data(), midX, endY, -1, midY, 0, -1, 917 int innerEndY = endY - image->outlineInsetsBottom; 850 findMaxOpacity(png_bytepp rows, int startX, int startY, int endX, int endY, int dX, int dY, int* outInset) argument 876 maxAlphaOverCol(png_bytepp rows, int offsetX, int startY, int endY) argument
|