Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/transition/
DArcMotion.java181 public Path getPath(float startX, float startY, float endX, float endY) { in getPath() argument
203 if (startY == endY) { in getPath()
207 ex = startX + mMinimumVerticalTangent * Math.abs(endY - startY) / 2; in getPath()
208 ey = (startY + endY) / 2; in getPath()
211 float deltaY = startY - endY; // Y is inverted compared to diagram above. in getPath()
217 float dy = (startY + endY) / 2; in getPath()
231 ey = endY + eDistY; in getPath()
240 ey = endY; in getPath()
267 float controlY2 = (ey + endY) / 2; in getPath()
268 path.cubicTo(controlX1, controlY1, controlX2, controlY2, endX, endY); in getPath()
DPatternPathMotion.java109 float endY = pos[1]; in setPatternPath() local
114 if (startX == endX && startY == endY) { in setPatternPath()
120 float dy = endY - startY; in setPatternPath()
131 public Path getPath(float startX, float startY, float endX, float endY) { in getPath() argument
133 double dy = endY - startY; 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()
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()
DSlide.java229 float endY = view.getTranslationY(); in onAppear() local
234 startX, startY, endX, endY, sDecelerate, this); in onAppear()
247 float endY = mSlideCalculator.getGoneY(sceneRoot, view); in onDisappear() local
250 startX, startY, endX, endY, sAccelerate, this); in onDisappear()
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()
DPathMotion.java58 public abstract Path getPath(float startX, float startY, float endX, float endY); in getPath() argument
DChangeBounds.java438 int endY = (Integer) endValues.values.get(PROPNAME_WINDOW_Y); in createAnimator() local
440 if (startX != endX || startY != endY) { in createAnimator()
451 startY - tempLocation[1], endX - tempLocation[0], endY - tempLocation[1]); in createAnimator()
DTransition.java168 public Path getPath(float startX, float startY, float endX, float endY) {
171 path.lineTo(endX, endY);
/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java232 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, in drag() argument
234 drag(vt, startX, endX, startY, endY, steps, startime, duration, new LinearInterpolator()); in drag()
241 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, in drag() argument
246 int distY = endY - startY; in drag()
254 addMotionEvent(vt, endX, endY, startime + duration, MotionEvent.ACTION_UP); in drag()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiDevice.java427 public boolean swipe(int startX, int startY, int endX, int endY, int steps) { in swipe() argument
428 Tracer.trace(startX, startY, endX, endY, steps); in swipe()
430 .swipe(startX, startY, endX, endY, steps); in swipe()
448 public boolean drag(int startX, int startY, int endX, int endY, int steps) { in drag() argument
449 Tracer.trace(startX, startY, endX, endY, steps); in drag()
451 .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/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/libs/hwui/
DFontRenderer.cpp271 uint32_t endY = startY + glyph.fHeight; in cacheBitmap() local
298 for (cacheY = startY, bY = 0; cacheY < endY; cacheY++, bY += srcStride) { in cacheBitmap()
308 for (cacheY = startY, bY = 0; cacheY < endY; cacheY++, bY += srcStride) { in cacheBitmap()
316 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE; in cacheBitmap()
331 uint8_t* dstEnd = &cacheBuffer[cacheTexture->getOffset(startX, endY - 1)]; in cacheBitmap()
354 for (cacheY = startY; cacheY < endY; cacheY++) { in cacheBitmap()
372 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE; in cacheBitmap()
DSpotShadow.cpp295 float endY = poly[i].y; in testPointInsidePolygon() local
297 if (((endY > testy) != (startY > testy)) in testPointInsidePolygon()
298 && (testx < (startX - endX) * (testy - endY) in testPointInsidePolygon()
299 / (startY - endY) + endX)) { in testPointInsidePolygon()
/frameworks/base/core/java/android/animation/
DPathKeyframes.java110 float endY = mKeyframeData[endBase + Y_OFFSET]; in interpolateInRange() local
113 float y = interpolate(intervalFraction, startY, endY); in interpolateInRange()
/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/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/
DPng.cpp818 static void findMaxOpacity(png_bytepp rows, int startX, int startY, int endX, int endY, in findMaxOpacity() argument
823 for (int x = startX, y = startY; x != endX && y != endY; x += dX, y += dY, inset++) { in findMaxOpacity()
843 static uint8_t maxAlphaOverCol(png_bytepp rows, int offsetX, int startY, int endY) { in maxAlphaOverCol() argument
845 for (int y = startY; y < endY; y++) { in maxAlphaOverCol()
856 int endY = image->height - 2; in getOutline() local
871 findMaxOpacity(image->rows.data(), midX, endY, -1, midY, 0, -1, in getOutline()
881 int innerEndY = endY - image->outlineInsetsBottom; in getOutline()
/frameworks/base/libs/hwui/font/
DFont.cpp224 uint32_t endY = startY + (glyph->mBitmapHeight * srcStride); in drawCachedGlyphBitmap() local
228 for (uint32_t cacheY = startY, bitmapY = dstY * bitmapWidth; cacheY < endY; in drawCachedGlyphBitmap()
453 uint32_t endY = startY + skiaGlyph.fHeight; in updateGlyphCache() local
468 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()
/frameworks/base/docs/html/tools/help/uiautomator/
DUiDevice.jd92 … int, int, int, int)">drag</a></span>(int startX, int startY, int endX, int endY, int steps)</nobr>
858 …int, int, int, int)">swipe</a></span>(int startX, int startY, int endX, int endY, int steps)</nobr>
1346 <span class="normal">(int startX, int startY, int endX, int endY, int steps)</span>
1370 <th>endY</td>
2875 <span class="normal">(int startX, int startY, int endX, int endY, int steps)</span>