Home
last modified time | relevance | path

Searched refs:endY (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/core/java/android/transition/
DArcMotion.java180 public Path getPath(float startX, float startY, float endX, float endY) { in getPath() argument
202 if (startY == endY) { in getPath()
206 ex = startX + mMinimumVerticalTangent * Math.abs(endY - startY) / 2; in getPath()
207 ey = (startY + endY) / 2; in getPath()
210 float deltaY = endY - startY; in getPath()
216 float dy = (startY + endY) / 2; in getPath()
235 ey = endY - eDistY; in getPath()
246 ey = endY; in getPath()
277 float controlY2 = (ey + endY) / 2; in getPath()
278 path.cubicTo(controlX1, controlY1, controlX2, controlY2, endX, endY); in getPath()
DExplode.java87 float endY = view.getTranslationY(); in onAppear() local
90 float startY = endY + mTempLoc[1]; in onAppear()
93 startX, startY, endX, endY, sDecelerate, this); in onAppear()
108 float endY = startY; in onDisappear() local
114 endY += interruptedPosition[1] - bounds.top; in onDisappear()
119 endY += mTempLoc[1]; in onDisappear()
122 viewPosX, viewPosY, startX, startY, endX, endY, sAccelerate, this); in onDisappear()
DPatternPathMotion.java108 float endY = pos[1]; in setPatternPath() local
113 if (startX == endX && startY == endY) { in setPatternPath()
119 float dy = endY - startY; in setPatternPath()
130 public Path getPath(float startX, float startY, float endX, float endY) { in getPath() argument
132 double dy = endY - startY; in getPath()
DChangeScroll.java68 int endY = (Integer) endValues.values.get(PROPNAME_SCROLL_Y); in createAnimator() local
75 if (startY != endY) { in createAnimator()
77 scrollYAnimator = ObjectAnimator.ofInt(view, "scrollY", startY, endY); in createAnimator()
DTranslationAnimationCreator.java52 float startX, float startY, float endX, float endY, TimeInterpolator interpolator, in createAnimation() argument
67 if (startX == endX && startY == endY) { in createAnimation()
72 path.lineTo(endX, endY); in createAnimation()
DSlide.java240 float endY = view.getTranslationY(); in onAppear() local
245 startX, startY, endX, endY, sDecelerate, this); in onAppear()
258 float endY = mSlideCalculator.getGoneY(sceneRoot, view, mSlideFraction); in onDisappear() local
261 startX, startY, endX, endY, sAccelerate, this); in onDisappear()
DPathMotion.java58 public abstract Path getPath(float startX, float startY, float endX, float endY); in getPath() argument
DChangeBounds.java439 int endY = (Integer) endValues.values.get(PROPNAME_WINDOW_Y) - tempLocation[1]; in createAnimator() local
441 if (startX != endX || startY != endY) { in createAnimator()
452 Path topLeftPath = getPathMotion().getPath(startX, startY, endX, endY); in createAnimator()
/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java237 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, in drag() argument
239 drag(vt, startX, endX, startY, endY, steps, startime, duration, new LinearInterpolator()); in drag()
246 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, in drag() argument
251 int distY = endY - startY; in drag()
259 addMotionEvent(vt, endX, endY, startime + duration, MotionEvent.ACTION_UP); in drag()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiDevice.java430 public boolean swipe(int startX, int startY, int endX, int endY, int steps) { in swipe() argument
431 Tracer.trace(startX, startY, endX, endY, steps); in swipe()
433 .swipe(startX, startY, endX, endY, steps); in swipe()
451 public boolean drag(int startX, int startY, int endX, int endY, int steps) { in drag() argument
452 Tracer.trace(startX, startY, endX, endY, steps); in drag()
454 .swipe(startX, startY, endX, endY, steps, true); in drag()
/frameworks/base/core/java/com/android/internal/transition/
DEpicenterTranslateClipReveal.java141 final float endY = (float) endValues.values.get(PROPNAME_TRANSLATE_Y); in onAppear() local
153 final State endStateY = new State(endClip.top, endClip.bottom, endY); in onAppear()
169 final float endY = endBounds.centerY() - startBounds.centerY(); in onDisappear() local
185 final State endStateY = new State(endClip.top, endClip.bottom, endY); in onDisappear()
211 float startZ, State endX, State endY, float endZ, TransitionValues endValues, in createRectAnimator() argument
228 final ObjectAnimator animY = ObjectAnimator.ofObject(view, propY, evaluator, startY, endY); in createRectAnimator()
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/
DTranslationAnimationCreator.java40 float startX, float startY, float endX, float endY, TimeInterpolator interpolator, in createAnimation() argument
55 if (startX == endX && startY == endY) { in createAnimation()
60 path.lineTo(endX, endY); in createAnimation()
DFadeAndShortSlide.java228 float endY = view.getTranslationY(); in onAppear() local
231 left, top, startX, startY, endX, endY, sDecelerate, this); in onAppear()
260 float endY = mSlideCalculator.getGoneY(this, sceneRoot, view, position); in onDisappear() local
262 startValues, left, top, startX, startY, endX, endY, sDecelerate /* sAccelerate */, in onDisappear()
/frameworks/support/v4/donut/android/support/v4/view/animation/
DPathInterpolatorDonut.java93 final float endY = mY[endIndex]; in getInterpolation() local
95 return startY + (fraction * (endY - startY)); in getInterpolation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DFreePathInterpolator.java128 float endY = mY[endIndex]; in getInterpolation() local
129 return startY + (fraction * (endY - startY)); in getInterpolation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPathInterpolatorBuilder.java148 float endY = mY[endIndex]; in getInterpolation() local
149 return startY + (fraction * (endY - startY)); in getInterpolation()
/frameworks/base/libs/hwui/
DFontRenderer.cpp277 uint32_t endY = startY + glyph.fHeight; in cacheBitmap() local
304 for (cacheY = startY, bY = 0; cacheY < endY; cacheY++, bY += srcStride) { in cacheBitmap()
314 for (cacheY = startY, bY = 0; cacheY < endY; cacheY++, bY += srcStride) { in cacheBitmap()
322 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE; in cacheBitmap()
337 uint8_t* dstEnd = &cacheBuffer[cacheTexture->getOffset(startX, endY - 1)]; in cacheBitmap()
360 for (cacheY = startY; cacheY < endY; cacheY++) { in cacheBitmap()
378 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE; in cacheBitmap()
/frameworks/base/core/java/android/view/animation/
DPathInterpolator.java229 float endY = mY[endIndex]; in getInterpolation() local
230 return startY + (fraction * (endY - startY)); in getInterpolation()
/frameworks/base/core/java/android/animation/
DPathKeyframes.java111 float endY = mKeyframeData[endBase + Y_OFFSET]; in interpolateInRange() local
114 float y = interpolate(intervalFraction, startY, endY); in interpolateInRange()
/frameworks/rs/
DrsFont.cpp119 uint32_t endY = glyph->mBitmapMinY + glyph->mBitmapHeight; in drawCachedGlyph() local
128 for (cacheY = glyph->mBitmapMinY, bY = nPenY; cacheY < endY; cacheY++, bY++) { in drawCachedGlyph()
267 uint32_t endY = startY + bitmap->rows; in updateGlyphCache() local
280 glyph->mBitmapMaxV = (float)endY / (float)cacheHeight; in updateGlyphCache()
458 uint32_t endY = startY + bitmap->rows; in cacheBitmap() local
467 for (cacheY = startY, bY = 0; cacheY < endY; cacheY ++, bY ++) { in cacheBitmap()
/frameworks/base/tools/aapt2/compile/
DPng.cpp816 static void findMaxOpacity(png_bytepp rows, int startX, int startY, int endX, int endY, in findMaxOpacity() argument
821 for (int x = startX, y = startY; x != endX && y != endY; x += dX, y += dY, inset++) { in findMaxOpacity()
841 static uint8_t maxAlphaOverCol(png_bytepp rows, int offsetX, int startY, int endY) { in maxAlphaOverCol() argument
843 for (int y = startY; y < endY; y++) { in maxAlphaOverCol()
854 int endY = image->height - 2; in getOutline() local
869 findMaxOpacity(image->rows.data(), midX, endY, -1, midY, 0, -1, in getOutline()
879 int innerEndY = endY - image->outlineInsetsBottom; in getOutline()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationTemplateViewWrapper.java74 float endY = getTransformationY(ownState, otherState); in NotificationTemplateViewWrapper()
75 ownState.setTransformationEndY(endY); in NotificationTemplateViewWrapper()
DTransformState.java275 float endY = otherStablePosition[1] - ownPosition[1]; in transformViewTo() local
278 endY = mTransformationEndY; in transformViewTo()
281 endY, in transformViewTo() local
/frameworks/base/libs/hwui/font/
DFont.cpp219 uint32_t endY = startY + (glyph->mBitmapHeight * srcStride); in drawCachedGlyphBitmap() local
223 for (uint32_t cacheY = startY, bitmapY = dstY * bitmapWidth; cacheY < endY; in drawCachedGlyphBitmap()
443 uint32_t endY = startY + skiaGlyph.fHeight; in updateGlyphCache() local
458 glyph->mBitmapMaxV = endY / (float) cacheHeight; in updateGlyphCache()
/frameworks/base/tools/aapt/
DImages.cpp412 int startX, int startY, int endX, int endY, int dX, int dY, in find_max_opacity() argument
418 for (int x = startX, y = startY; x != endX && y != endY; x += dX, y += dY, inset++) { in find_max_opacity()
439 static uint8_t max_alpha_over_col(png_byte** rows, int offsetX, int startY, int endY) in max_alpha_over_col() argument
442 for (int y = startY; y < endY; y++) { in max_alpha_over_col()
454 int endY = image->height - 2; in get_outline() local
468 find_max_opacity(image->rows, midX, endY, -1, midY, 0, -1, &image->outlineInsetsBottom); in get_outline()
477 int innerEndY = endY - image->outlineInsetsBottom; in get_outline()

12