Searched defs:endY (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/core/java/android/transition/
H A DPathMotion.java48 * <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 DPatternPathMotion.java108 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 DArcMotion.java180 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 DTranslationAnimationCreator.java46 * @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/base/core/tests/coretests/src/android/view/
H A DVelocityTest.java237 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/core/java/com/android/internal/transition/
H A DEpicenterTranslateClipReveal.java141 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 DTranslationAnimationCreator.java38 * @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
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiDevice.java425 * @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 DFont.cpp219 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/base/libs/hwui/
H A DFontRenderer.cpp287 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;
H A DSpotShadow.cpp293 float endY = poly[i].y; local
295 if (((endY > testy) != (startY > testy))
296 && (testx < (startX - endX) * (testy - endY)
297 / (startY - endY) + endX)) {
/frameworks/rs/
H A DrsFont.cpp119 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 DImages.cpp412 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 DPng.cpp816 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;

Completed in 419 milliseconds