/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 | 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) { argument 134 float dy = endY - startY;
|
H A D | ArcMotion.java | 182 public Path getPath(float startX, float startY, float endX, float endY) { argument 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...] |
H A D | 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); 50 createAnimation(View view, TransitionValues values, int viewPosX, int viewPosY, float startX, float startY, float endX, float endY, TimeInterpolator interpolator) argument
|
/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 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/ |
H A D | UiDevice.java | 422 * @param endY 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); 442 * @param endY Y-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/libs/hwui/font/ |
H A D | Font.cpp | 225 uint32_t endY = startY + (glyph->mBitmapHeight * srcStride); local 229 for (uint32_t cacheY = startY, bitmapY = dstY * bitmapWidth; cacheY < endY; 455 uint32_t endY = startY + skiaGlyph.fHeight; local 470 glyph->mBitmapMaxV = endY / (float) cacheHeight;
|
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 285 uint32_t endY = startY + glyph.fHeight; local 312 for (cacheY = startY, bY = 0; cacheY < endY; cacheY++, bY += srcStride) { 322 for (cacheY = startY, bY = 0; cacheY < endY; cacheY++, bY += srcStride) { 330 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE; 345 uint8_t* dstEnd = &cacheBuffer[cacheTexture->getOffset(startX, endY - 1)]; 368 for (cacheY = startY; cacheY < endY; cacheY++) { 386 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE;
|
H A D | SpotShadow.cpp | 316 float endY = poly[i].y; local 318 if (((endY > testy) != (startY > testy)) 319 && (testx < (startX - endX) * (testy - endY) 320 / (startY - endY) + endX)) {
|
/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 | 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++) { 437 static uint8_t max_alpha_over_col(png_byte** rows, int offsetX, int startY, int endY) argument 440 for (int y = startY; y < endY; y++) { 452 int endY = image->height - 2; local 466 find_max_opacity(image->rows, midX, endY, -1, midY, 0, -1, &image->outlineInsetsBottom); 475 int innerEndY = endY - image->outlineInsetsBottom; 408 find_max_opacity(png_byte** rows, int startX, int startY, int endX, int endY, int dX, int dY, int* out_inset) argument
|