Searched refs:endY (Results 1 - 25 of 28) sorted by relevance

12

/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 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 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 DChangeScroll.java68 int endY = (Integer) endValues.values.get(PROPNAME_SCROLL_Y);
75 if (startY != endY) {
77 scrollYAnimator = ObjectAnimator.ofInt(view, "scrollY", startY, endY);
H A DExplode.java87 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 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
H A DSlide.java240 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);
H A DChangeBounds.java439 int endY = (Integer) endValues.values.get(PROPNAME_WINDOW_Y) - tempLocation[1];
441 if (startX != endX || startY != endY) {
452 Path topLeftPath = getPathMotion().getPath(startX, startY, endX, endY);
/frameworks/support/v4/donut/android/support/v4/view/animation/
H A DPathInterpolatorDonut.java93 final float endY = mY[endIndex];
95 return startY + (fraction * (endY - startY));
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/
H A DTranslationAnimationCreator.java34 * @param endY The end translation y of view
36 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was
37 * a previous interruption, in which case it moves from the current position to (endX, endY).
40 float startX, float startY, float endX, float endY, TimeInterpolator interpolator,
55 if (startX == endX && startY == endY) {
60 path.lineTo(endX, endY);
39 createAnimation(View view, TransitionValues values, int viewPosX, int viewPosY, float startX, float startY, float endX, float endY, TimeInterpolator interpolator, Transition transition) argument
H A DFadeAndShortSlide.java228 float endY = view.getTranslationY();
231 left, top, startX, startY, endX, endY, sDecelerate, this);
260 float endY = mSlideCalculator.getGoneY(this, sceneRoot, view, position);
262 startValues, left, top, startX, startY, endX, endY, sDecelerate /* sAccelerate */,
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DFreePathInterpolator.java128 float endY = mY[endIndex];
129 return startY + (fraction * (endY - startY));
/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/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/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/base/core/java/android/animation/
H A DPathKeyframes.java111 float endY = mKeyframeData[endBase + Y_OFFSET];
114 float y = interpolate(intervalFraction, startY, endY);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DPathInterpolatorBuilder.java148 float endY = mY[endIndex];
149 return startY + (fraction * (endY - startY));
/frameworks/base/core/java/android/view/animation/
H A DPathInterpolator.java229 float endY = mY[endIndex];
230 return startY + (fraction * (endY - startY));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationTemplateViewWrapper.java74 float endY = getTransformationY(ownState, otherState);
75 ownState.setTransformationEndY(endY);
H A DTransformState.java275 float endY = otherStablePosition[1] - ownPosition[1];
278 endY = mTransformationEndY;
281 endY,
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp277 uint32_t endY = startY + glyph.fHeight; local
304 for (cacheY = startY, bY = 0; cacheY < endY; cacheY++, bY += srcStride) {
314 for (cacheY = startY, bY = 0; cacheY < endY; cacheY++, bY += srcStride) {
322 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE;
337 uint8_t* dstEnd = &cacheBuffer[cacheTexture->getOffset(startX, endY - 1)];
360 for (cacheY = startY; cacheY < endY; cacheY++) {
378 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE;
/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;
443 uint32_t endY = startY + skiaGlyph.fHeight; local
458 glyph->mBitmapMaxV = endY / (float) cacheHeight;
/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 458 milliseconds

12