Home
last modified time | relevance | path

Searched refs:endX (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/android/transition/
DArcMotion.java182 public Path getPath(float startX, float startY, float endX, float endY) { in getPath() argument
205 ex = (startX + endX) / 2; in getPath()
206 ey = startY + mMinimumHorizontalTangent * Math.abs(endX - startX) / 2; in getPath()
207 } else if (startX == endX) { in getPath()
211 float deltaX = endX - startX; in getPath()
217 float dx = (startX + endX) / 2; in getPath()
233 ex = endX; in getPath()
240 ex = endX + eDistX; in getPath()
267 float controlX2 = (ex + endX) / 2; in getPath()
269 path.cubicTo(controlX1, controlY1, controlX2, controlY2, endX, endY); in getPath()
DExplode.java87 float endX = view.getTranslationX(); in onAppear() local
90 float startX = endX + mTempLoc[0]; in onAppear()
94 startX, startY, endX, endY, sDecelerate); in onAppear()
108 float endX = startX; in onDisappear() local
114 endX += interruptedPosition[0] - bounds.left; in onDisappear()
119 endX += mTempLoc[0]; in onDisappear()
123 viewPosX, viewPosY, startX, startY, endX, endY, sAccelerate); in onDisappear()
DPatternPathMotion.java109 float endX = pos[0]; in setPatternPath() local
115 if (startX == endX && startY == endY) { in setPatternPath()
120 float dx = endX - startX; in setPatternPath()
132 public Path getPath(float startX, float startY, float endX, float endY) { in getPath() argument
133 float dx = endX - startX; in getPath()
DChangeScroll.java68 int endX = (Integer) endValues.values.get(PROPNAME_SCROLL_X); in createAnimator() local
73 if (startX != endX) { in createAnimator()
75 scrollXAnimator = ObjectAnimator.ofInt(view, "scrollX", startX, endX); in createAnimator()
DTranslationAnimationCreator.java51 float startX, float startY, float endX, float endY, TimeInterpolator interpolator) { in createAnimation() argument
65 if (startX == endX && startY == endY) { in createAnimation()
70 path.lineTo(endX, endY); in createAnimation()
DSlide.java228 float endX = view.getTranslationX(); in onAppear() local
234 startX, startY, endX, endY, sDecelerate); in onAppear()
246 float endX = mSlideCalculator.getGoneX(sceneRoot, view); in onDisappear() local
250 startX, startY, endX, endY, sAccelerate); in onDisappear()
DPathMotion.java58 public abstract Path getPath(float startX, float startY, float endX, float endY); in getPath() argument
DChangeBounds.java437 int endX = (Integer) endValues.values.get(PROPNAME_WINDOW_X); in createAnimator() local
440 if (startX != endX || startY != endY) { in createAnimator()
451 startY - tempLocation[1], endX - tempLocation[0], endY - tempLocation[1]); in createAnimator()
DTransition.java167 public Path getPath(float startX, float startY, float endX, float endY) {
170 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
245 int distX = endX - startX; 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/widget/
DRotarySelector.java615 private void startAnimation(int startX, int endX, int duration) { in startAnimation() argument
620 mAnimatingDeltaXEnd = endX; in startAnimation()
626 private void startAnimationWithVelocity(int startX, int endX, int pixelsPerSecond) { in startAnimationWithVelocity() argument
629 mAnimationDuration = 1000 * (endX - startX) / pixelsPerSecond; in startAnimationWithVelocity()
631 mAnimatingDeltaXEnd = endX; in startAnimationWithVelocity()
/frameworks/base/core/java/android/animation/
DPathKeyframes.java108 float endX = mKeyframeData[endBase + X_OFFSET]; in interpolateInRange() local
112 float x = interpolate(intervalFraction, startX, endX); in interpolateInRange()
/frameworks/base/libs/hwui/
DFontRenderer.cpp284 uint32_t endX = startX + glyph.fWidth; in cacheBitmap() local
315 for (cacheX = startX, bX = 0; cacheX < endX; cacheX++, bX++) { in cacheBitmap()
319 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0; in cacheBitmap()
326 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0; in cacheBitmap()
377 for (int8_t mask = 7; mask >= 0 && cacheX < endX; mask--) { in cacheBitmap()
381 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0; in cacheBitmap()
DSpotShadow.cpp315 float endX = poly[i].x; in testPointInsidePolygon() local
319 && (testx < (startX - endX) * (testy - endY) in testPointInsidePolygon()
320 / (startY - endY) + endX)) { in testPointInsidePolygon()
/frameworks/rs/
DrsFont.cpp118 uint32_t endX = glyph->mBitmapMinX + glyph->mBitmapWidth; in drawCachedGlyph() local
127 for (cacheX = glyph->mBitmapMinX, bX = nPenX; cacheX < endX; cacheX++, bX++) { in drawCachedGlyph()
266 uint32_t endX = startX + bitmap->width; in updateGlyphCache() local
279 glyph->mBitmapMaxU = (float)endX / (float)cacheWidth; in updateGlyphCache()
457 uint32_t endX = startX + bitmap->width; in cacheBitmap() local
466 for (cacheX = startX, bX = 0; cacheX < endX; cacheX ++, bX ++) { in cacheBitmap()
/frameworks/base/tools/aapt/
DImages.cpp409 int startX, int startY, int endX, int endY, int dX, int dY, in find_max_opacity() argument
416 for (int x = startX, y = startY; x != endX && y != endY; x += dX, y += dY, inset++) { in find_max_opacity()
427 static uint8_t max_alpha_over_row(png_byte* row, int startX, int endX) in max_alpha_over_row() argument
430 for (int x = startX; x < endX; x++) { in max_alpha_over_row()
451 int endX = image->width - 2; in get_outline() local
457 find_max_opacity(image->rows, endX, midY, midX, -1, -1, 0, &image->outlineInsetsRight); in get_outline()
474 int innerEndX = endX - image->outlineInsetsRight; in get_outline()
/frameworks/base/libs/hwui/font/
DFont.cpp454 uint32_t endX = startX + skiaGlyph.fWidth; in updateGlyphCache() local
469 glyph->mBitmapMaxU = endX / (float) cacheWidth; in updateGlyphCache()
/frameworks/base/docs/html/tools/help/uiautomator/
DUiDevice.jd92 …rag(int, int, int, int, int)">drag</a></span>(int startX, int startY, int endX, int endY, int step…
858 …pe(int, int, int, int, int)">swipe</a></span>(int startX, int startY, int endX, int endY, int step…
1346 <span class="normal">(int startX, int startY, int endX, int endY, int steps)</span>
1366 <th>endX</td>
2875 <span class="normal">(int startX, int startY, int endX, int endY, int steps)</span>