/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/ |
D | Interaction.java | 56 public static Interaction newFling(float startX, float startY, in newFling() argument 59 new float[]{startY, endY}, duration); in newFling() 62 public static Interaction newFlingDown(float startX, float startY) { in newFlingDown() argument 65 new float[]{startY, startY + DEFAULT_FLING_SIZE_PX}, DEFAULT_FLING_DURATION_MS); in newFlingDown() 68 public static Interaction newFlingUp(float startX, float startY) { in newFlingUp() argument 70 new float[]{startX, startX}, new float[]{startY, startY - DEFAULT_FLING_SIZE_PX}, in newFlingUp() 74 public static Interaction newTap(float startX, float startY) { in newTap() argument 76 new float[]{startX, startX}, new float[]{startY, startY}, in newTap() 113 float startY = yPos[0]; in createInterpolatedEventList() local 116 startTime, startTime, MotionEvent.ACTION_DOWN, startX, startY, 0); in createInterpolatedEventList() [all …]
|
/frameworks/base/core/java/android/transition/ |
D | PatternPathMotion.java | 111 float startY = pos[1]; in setPatternPath() local 113 if (startX == endX && startY == endY) { in setPatternPath() 117 mTempMatrix.setTranslate(-startX, -startY); 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() 138 mTempMatrix.postTranslate(startX, startY); in getPath()
|
D | TranslationAnimationCreator.java | 52 float startX, float startY, float endX, float endY, TimeInterpolator interpolator, in createAnimation() argument 59 startY = startPosition[1] - viewPosY + terminalY; in createAnimation() 63 int startPosY = viewPosY + Math.round(startY - terminalY); in createAnimation() 66 view.setTranslationY(startY); in createAnimation() 67 if (startX == endX && startY == endY) { in createAnimation() 71 path.moveTo(startX, startY); in createAnimation() 99 int startX, int startY, float terminalX, float terminalY) { in TransitionPositionListener() argument 103 mStartY = startY - Math.round(mMovingView.getTranslationY()); in TransitionPositionListener()
|
D | ArcMotion.java | 180 public Path getPath(float startX, float startY, float endX, float endY) { in getPath() argument 198 path.moveTo(startX, startY); in getPath() 203 float deltaY = endY - startY; in getPath() 210 float dy = (startY + endY) / 2; in getPath() 217 boolean isMovingUpwards = startY > endY; in getPath() 236 ey = startY + eDistY; in getPath() 247 ey = startY; in getPath() 275 float control1Y = (startY + ey) / 2; in getPath()
|
D | ChangeScroll.java | 75 int startY = (Integer) startValues.values.get(PROPNAME_SCROLL_Y); in createAnimator() local 83 if (startY != endY) { in createAnimator() 84 view.setScrollY(startY); in createAnimator() 85 scrollYAnimator = ObjectAnimator.ofInt(view, "scrollY", startY, endY); in createAnimator()
|
D | Explode.java | 90 float startY = endY + mTempLoc[1]; in onAppear() local 93 startX, startY, endX, endY, sDecelerate, this); in onAppear() 106 float startY = view.getTranslationY(); in onDisappear() local 108 float endY = startY; in onDisappear() 122 viewPosX, viewPosY, startX, startY, endX, endY, sAccelerate, this); in onDisappear()
|
D | Slide.java | 243 float startY = mSlideCalculator.getGoneY(sceneRoot, view, mSlideFraction); in onAppear() local 246 startX, startY, endX, endY, sDecelerate, this); in onAppear() 257 float startY = view.getTranslationY(); in onDisappear() local 262 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 | 442 int startY = (Integer) startValues.values.get(PROPNAME_WINDOW_Y) - tempLocation[1]; in createAnimator() local 446 if (startX != endX || startY != endY) { in createAnimator() 453 drawable.setBounds(startX, startY, startX + width, startY + height); in createAnimator() 457 Path topLeftPath = getPathMotion().getPath(startX, startY, endX, endY); in createAnimator()
|
/frameworks/base/core/java/android/widget/ |
D | OverScroller.java | 363 public void startScroll(int startX, int startY, int dx, int dy) { in startScroll() argument 364 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); in startScroll() 380 public void startScroll(int startX, int startY, int dx, int dy, int duration) { in startScroll() argument 383 mScrollerY.startScroll(startY, dy, duration); in startScroll() 398 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { in springBack() argument 403 final boolean spingbackY = mScrollerY.springback(startY, minY, maxY); in springBack() 407 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument 409 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); in fling() 439 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument 454 mScrollerY.fling(startY, velocityY, minY, maxY, overY); in fling() [all …]
|
D | Scroller.java | 375 public void startScroll(int startX, int startY, int dx, int dy) { in startScroll() argument 376 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); in startScroll() 393 public void startScroll(int startX, int startY, int dx, int dy, int duration) { in startScroll() argument 399 mStartY = startY; in startScroll() 401 mFinalY = startY + dy; in startScroll() 426 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument 457 mStartY = startY; in fling() 475 mFinalY = startY + (int) Math.round(totalDistance * coeffY); in fling()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskPositioningController.java | 107 boolean startMovingTask(IWindow window, float startX, float startY) { in startMovingTask() argument 114 win, false /*resize*/, false /*preserveOrientation*/, startX, startY)) { in startMovingTask() 143 boolean preserveOrientation, float startX, float startY) { in startPositioningLocked() argument 147 + preserveOrientation + ", {" + startX + ", " + startY + "}"); in startPositioningLocked() 185 mTaskPositioner.startDrag(win, resize, preserveOrientation, startX, startY); in startPositioningLocked()
|
D | TaskPositioner.java | 358 float startY) { in startDrag() argument 362 + startY + "}"); in startDrag() 377 startDrag(resize, preserveOrientation, startX, startY, mTmpRect); in startDrag() 381 float startX, float startY, Rect startBounds) { in startDrag() argument 384 mStartDragY = startY; in startDrag() 394 if (startY < startBounds.top) { in startDrag() 397 if (startY > startBounds.bottom) { in startDrag() 415 notifyMoveLocked(startX, startY); in startDrag()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | VelocityTest.java | 238 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, in drag() argument 240 drag(vt, startX, endX, startY, endY, steps, startime, duration, new LinearInterpolator()); in drag() 247 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, in drag() argument 249 addMotionEvent(vt, startX, startY, startime, MotionEvent.ACTION_DOWN); in drag() 252 int distY = endY - startY; in drag() 256 int y = (int) (startY + distY * ii); in drag()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/misc/ |
D | FreePathInterpolator.java | 127 float startY = mY[startIndex]; in getInterpolation() local 129 return startY + (fraction * (endY - startY)); in getInterpolation()
|
/frameworks/base/core/java/com/android/internal/transition/ |
D | EpicenterTranslateClipReveal.java | 132 final float startY = startBounds.centerY() - endBounds.centerY(); in onAppear() local 137 view.setTranslationY(startY); in onAppear() 152 final State startStateY = new State(startClip.top, startClip.bottom, startY); in onAppear() 173 final float startY = (float) endValues.values.get(PROPNAME_TRANSLATE_Y); in onDisappear() local 184 final State startStateY = new State(startClip.top, startClip.bottom, startY); in onDisappear() 210 private static Animator createRectAnimator(final View view, State startX, State startY, in createRectAnimator() argument 228 final ObjectAnimator animY = ObjectAnimator.ofObject(view, propY, evaluator, startY, endY); in createRectAnimator()
|
/frameworks/base/libs/hwui/ |
D | Interpolator.cpp | 125 float startY = mY[startIndex]; in interpolate() local 127 return startY + (fraction * (endY - startY)); in interpolate()
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | errorCalculator.rscript | 34 int startY = v_in[0]; 36 for (int y = startY; y < startY + REGION_SIZE; y++) {
|
/frameworks/base/core/java/android/app/ |
D | ActivityOptions.java | 484 int startX, int startY, int width, int height) { in makeScaleUpAnimation() argument 491 opts.mStartY = pts[1] + startY; in makeScaleUpAnimation() 512 int startX, int startY, int width, int height) { in makeClipRevealAnimation() argument 518 opts.mStartY = pts[1] + startY; in makeClipRevealAnimation() 557 Bitmap thumbnail, int startX, int startY) { in makeThumbnailScaleUpAnimation() argument 558 return makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY, null); in makeThumbnailScaleUpAnimation() 579 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) { in makeThumbnailScaleUpAnimation() argument 580 return makeThumbnailAnimation(source, thumbnail, startX, startY, listener, true); in makeThumbnailScaleUpAnimation() 584 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener, in makeThumbnailAnimation() argument 593 opts.mStartY = pts[1] + startY; in makeThumbnailAnimation() [all …]
|
/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/packages/SystemUI/src/com/android/systemui/qs/ |
D | PathInterpolatorBuilder.java | 147 float startY = mY[startIndex]; in getInterpolation() local 149 return startY + (fraction * (endY - startY)); in getInterpolation()
|
/frameworks/rs/ |
D | rsFont.cpp | 255 uint32_t startY = 0; in updateGlyphCache() local 259 glyph->mIsValid = state->cacheBitmap(bitmap, &startX, &startY); in updateGlyphCache() 266 uint32_t endY = startY + bitmap->rows; in updateGlyphCache() 269 glyph->mBitmapMinY = startY; in updateGlyphCache() 277 glyph->mBitmapMinV = (float)startY / (float)cacheHeight; in updateGlyphCache() 424 uint32_t startY = 0; in cacheBitmap() local 428 bitmapFit = mCacheLines[i]->fitBitmap(bitmap, &startX, &startY); in cacheBitmap() 440 bitmapFit = mCacheLines[i]->fitBitmap(bitmap, &startX, &startY); in cacheBitmap() 454 *retOriginY = startY; in cacheBitmap() 457 uint32_t endY = startY + bitmap->rows; in cacheBitmap() [all …]
|
/frameworks/base/core/java/android/view/animation/ |
D | PathInterpolator.java | 232 float startY = mY[startIndex]; in getInterpolation() local 234 return startY + (fraction * (endY - startY)); in getInterpolation()
|
/frameworks/base/core/java/android/animation/ |
D | PathKeyframes.java | 110 float startY = mKeyframeData[startBase + Y_OFFSET]; in interpolateInRange() local 114 float y = interpolate(intervalFraction, startY, endY); in interpolateInRange()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
D | Intents.java | 248 public PhotoViewIntentBuilder setScaleAnimation(int startX, int startY, in setScaleAnimation() argument 252 mStartY = startY; in setScaleAnimation()
|