/frameworks/base/core/java/android/transition/ |
D | ArcMotion.java | 180 public Path getPath(float startX, float startY, float endX, float endY) { in getPath() argument 203 ex = (startX + endX) / 2; in getPath() 204 ey = startY + mMinimumHorizontalTangent * Math.abs(endX - startX) / 2; in getPath() 205 } else if (startX == endX) { in getPath() 209 float deltaX = endX - startX; in getPath() 215 float dx = (startX + endX) / 2; in getPath() 236 ex = endX; in getPath() 245 ex = endX - eDistX; in getPath() 276 float controlX2 = (ex + endX) / 2; in getPath() 278 path.cubicTo(controlX1, controlY1, controlX2, controlY2, endX, endY); in getPath()
|
D | PatternPathMotion.java | 107 float endX = pos[0]; in setPatternPath() local 113 if (startX == endX && startY == endY) { in setPatternPath() 118 float dx = endX - startX; in setPatternPath() 130 public Path getPath(float startX, float startY, float endX, float endY) { in getPath() argument 131 double dx = endX - startX; in getPath()
|
D | Explode.java | 86 float endX = view.getTranslationX(); in onAppear() local 89 float startX = endX + mTempLoc[0]; in onAppear() 93 startX, startY, endX, endY, sDecelerate, this); in onAppear() 107 float endX = startX; in onDisappear() local 113 endX += interruptedPosition[0] - bounds.left; in onDisappear() 118 endX += mTempLoc[0]; in onDisappear() 122 viewPosX, viewPosY, startX, startY, endX, endY, sAccelerate, this); in onDisappear()
|
D | ChangeScroll.java | 66 int endX = (Integer) endValues.values.get(PROPNAME_SCROLL_X); in createAnimator() local 71 if (startX != endX) { in createAnimator() 73 scrollXAnimator = ObjectAnimator.ofInt(view, "scrollX", startX, endX); in createAnimator()
|
D | TranslationAnimationCreator.java | 52 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()
|
D | Slide.java | 239 float endX = view.getTranslationX(); in onAppear() local 245 startX, startY, endX, endY, sDecelerate, this); in onAppear() 257 float endX = mSlideCalculator.getGoneX(sceneRoot, view, mSlideFraction); in onDisappear() local 261 startX, startY, endX, endY, sAccelerate, this); in onDisappear()
|
D | PathMotion.java | 58 public abstract Path getPath(float startX, float startY, float endX, float endY); in getPath() argument
|
D | ChangeBounds.java | 438 int endX = (Integer) endValues.values.get(PROPNAME_WINDOW_X) - tempLocation[0]; in createAnimator() local 441 if (startX != endX || startY != endY) { in createAnimator() 452 Path topLeftPath = getPathMotion().getPath(startX, startY, endX, endY); in createAnimator()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
D | DiffUtil.java | 521 final int endX = snake.x + snake.size; in findMatchingItems() local 524 while (posOld > endX) { in findMatchingItems() 592 final int endX = snake.x + snake.size; in findMatchingItem() local 596 for (int pos = curX - 1; pos >= endX; pos--) { in findMatchingItem() 710 final int endX = snake.x + snakeSize; in dispatchUpdatesTo() local 712 if (endX < posOld) { in dispatchUpdatesTo() 713 dispatchRemovals(postponedUpdates, batchingCallback, endX, posOld - endX, endX); in dispatchUpdatesTo() 717 dispatchAdditions(postponedUpdates, batchingCallback, endX, posNew - endY, in dispatchUpdatesTo()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | VelocityTest.java | 237 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 250 int distX = endX - startX; 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/ |
D | UiDevice.java | 430 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/ |
D | EpicenterTranslateClipReveal.java | 140 final float endX = (float) endValues.values.get(PROPNAME_TRANSLATE_X); in onAppear() local 151 final State endStateX = new State(endClip.left, endClip.right, endX); in onAppear() 168 final float endX = endBounds.centerX() - startBounds.centerX(); in onDisappear() local 183 final State endStateX = new State(endClip.left, endClip.right, endX); in onDisappear() 211 float startZ, State endX, State endY, float endZ, TransitionValues endValues, in createRectAnimator() argument 222 final ObjectAnimator animX = ObjectAnimator.ofObject(view, propX, evaluator, startX, endX); in createRectAnimator()
|
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/ |
D | TranslationAnimationCreator.java | 44 float startX, float startY, float endX, float endY, TimeInterpolator interpolator, in createAnimation() argument 59 if (startX == endX && startY == endY) { in createAnimation() 64 path.lineTo(endX, endY); in createAnimation()
|
D | FadeAndShortSlide.java | 233 float endX = view.getTranslationX(); in onAppear() local 238 left, top, startX, startY, endX, endY, sDecelerate, this); in onAppear() 265 float endX = mSlideCalculator.getGoneX(this, sceneRoot, view, position); in onDisappear() local 269 startValues, left, top, startX, startY, endX, endY, sDecelerate /* sAccelerate */, in onDisappear()
|
/frameworks/support/transition/ics/android/support/transition/ |
D | ChangeBoundsPort.java | 314 int endX = (Integer) endValues.values.get(PROPNAME_WINDOW_X); in createAnimator() local 317 if (startX != endX || startY != endY) { in createAnimator() 330 Rect endBounds1 = new Rect(endX - tempLocation[0], endY - tempLocation[1], in createAnimator() 331 endX - tempLocation[0] + view.getWidth(), in createAnimator()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
D | FreePathInterpolator.java | 167 float endX = mX[endIndex]; in getX() local 168 return startX + (fraction * (endX - startX)); in getX()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | RotarySelector.java | 615 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/ |
D | PathKeyframes.java | 109 float endX = mKeyframeData[endBase + X_OFFSET]; in interpolateInRange() local 113 float x = interpolate(intervalFraction, startX, endX); in interpolateInRange()
|
/frameworks/base/libs/hwui/ |
D | FontRenderer.cpp | 286 uint32_t endX = startX + glyph.fWidth; in cacheBitmap() local 317 for (cacheX = startX, bX = 0; cacheX < endX; cacheX++, bX++) { in cacheBitmap() 321 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0; in cacheBitmap() 328 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0; in cacheBitmap() 379 for (int8_t mask = 7; mask >= 0 && cacheX < endX; mask--) { in cacheBitmap() 383 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0; in cacheBitmap()
|
D | SpotShadow.cpp | 292 float endX = poly[i].x; in testPointInsidePolygon() local 296 && (testx < (startX - endX) * (testy - endY) in testPointInsidePolygon() 297 / (startY - endY) + endX)) { in testPointInsidePolygon()
|
/frameworks/rs/ |
D | rsFont.cpp | 118 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/aapt2/compile/ |
D | Png.cpp | 816 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() 832 static uint8_t maxAlphaOverRow(png_bytep row, int startX, int endX) { in maxAlphaOverRow() argument 834 for (int x = startX; x < endX; x++) { in maxAlphaOverRow() 853 int endX = image->width - 2; in getOutline() local 859 findMaxOpacity(image->rows.data(), endX, midY, midX, -1, -1, 0, in getOutline() 878 int innerEndX = endX - image->outlineInsetsRight; in getOutline()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | TransformState.java | 266 float endX = otherStablePosition[0] - ownPosition[0]; in transformViewTo() local 269 endX = mTransformationEndX; in transformViewTo() 272 endX, in transformViewTo() local
|
/frameworks/base/tools/aapt/ |
D | Images.cpp | 412 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() 429 static uint8_t max_alpha_over_row(png_byte* row, int startX, int endX) in max_alpha_over_row() argument 432 for (int x = startX; x < endX; x++) { in max_alpha_over_row() 453 int endX = image->width - 2; in get_outline() local 459 find_max_opacity(image->rows, endX, midY, midX, -1, -1, 0, &image->outlineInsetsRight); in get_outline() 476 int innerEndX = endX - image->outlineInsetsRight; in get_outline()
|
/frameworks/base/libs/hwui/font/ |
D | Font.cpp | 448 uint32_t endX = startX + skiaGlyph.fWidth; in updateGlyphCache() local 463 glyph->mBitmapMaxU = endX / (float) cacheWidth; in updateGlyphCache()
|