/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 58 return new Interaction(Interaction.Type.FLING, new float[]{startX, endX}, in newFling() 62 public static Interaction newFlingDown(float startX, float startY) { in newFlingDown() argument 64 new float[]{startX, startX}, 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() 112 float startX = xPos[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 | 110 float startX = pos[0]; in setPatternPath() local 113 if (startX == endX && startY == endY) { in setPatternPath() 117 mTempMatrix.setTranslate(-startX, -startY); 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() 138 mTempMatrix.postTranslate(startX, startY); in getPath()
|
D | TranslationAnimationCreator.java | 52 float startX, float startY, float endX, float endY, TimeInterpolator interpolator, in createAnimation() argument 58 startX = startPosition[0] - viewPosX + terminalX; in createAnimation() 62 int startPosX = viewPosX + Math.round(startX - terminalX); in createAnimation() 65 view.setTranslationX(startX); 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 102 mStartX = startX - Math.round(mMovingView.getTranslationX()); 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() 202 float deltaX = endX - startX; in getPath() 209 float dx = (startX + endX) / 2; in getPath() 237 ex = startX; in getPath() 246 ex = startX + eDistX; in getPath() 274 float control1X = (startX + ex) / 2; in getPath()
|
D | ChangeScroll.java | 73 int startX = (Integer) startValues.values.get(PROPNAME_SCROLL_X); in createAnimator() local 79 if (startX != endX) { in createAnimator() 80 view.setScrollX(startX); in createAnimator() 81 scrollXAnimator = ObjectAnimator.ofInt(view, "scrollX", startX, endX); in createAnimator()
|
D | Explode.java | 89 float startX = endX + mTempLoc[0]; in onAppear() local 93 startX, startY, endX, endY, sDecelerate, this); in onAppear() 105 float startX = view.getTranslationX(); in onDisappear() local 107 float endX = startX; in onDisappear() 122 viewPosX, viewPosY, startX, startY, endX, endY, sAccelerate, this); in onDisappear()
|
D | Slide.java | 242 float startX = mSlideCalculator.getGoneX(sceneRoot, view, mSlideFraction); in onAppear() local 246 startX, startY, endX, endY, sDecelerate, this); in onAppear() 256 float startX = view.getTranslationX(); 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 | 441 int startX = (Integer) startValues.values.get(PROPNAME_WINDOW_X) - tempLocation[0]; 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 382 mScrollerX.startScroll(startX, dx, duration); in startScroll() 398 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { in springBack() argument 402 final boolean spingbackX = mScrollerX.springback(startX, minX, maxX); 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 453 mScrollerX.fling(startX, velocityX, minX, maxX, overX); 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 398 mStartX = startX; in startScroll() 400 mFinalX = startX + dx; in startScroll() 426 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument 456 mStartX = startX; in fling() 470 mFinalX = startX + (int) Math.round(totalDistance * coeffX); in fling()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskPositioningController.java | 111 boolean startMovingTask(IWindow window, float startX, float startY) { in startMovingTask() argument 118 win, false /*resize*/, false /*preserveOrientation*/, startX, startY)) { in startMovingTask() 147 boolean preserveOrientation, float startX, float startY) { in startPositioningLocked() argument 151 + preserveOrientation + ", {" + startX + ", " + startY + "}"); in startPositioningLocked() 184 mTaskPositioner.startDrag(win, resize, preserveOrientation, startX, startY); in startPositioningLocked()
|
D | TaskPositioner.java | 355 void startDrag(WindowState win, boolean resize, boolean preserveOrientation, float startX, in startDrag() argument 359 + ", preserveOrientation=" + preserveOrientation + ", {" + startX + ", " in startDrag() 375 startDrag(resize, preserveOrientation, startX, startY, mTmpRect); in startDrag() 379 float startX, float startY, Rect startBounds) { in startDrag() argument 381 mStartDragX = startX; in startDrag() 386 if (startX < startBounds.left) { in startDrag() 389 if (startX > startBounds.right) { in startDrag() 413 notifyMoveLocked(startX, startY); in startDrag()
|
D | AppTransition.java | 1293 final float startX = targetX - x; in createAspectScaledThumbnailEnterExitAnimationLocked() local 1299 ? createCurvedMotion(startX, 0, startY - contentInsets.top, 0) in createAspectScaledThumbnailEnterExitAnimationLocked() 1300 : createCurvedMotion(0, startX, 0, startY - contentInsets.top); in createAspectScaledThumbnailEnterExitAnimationLocked() 1847 void overridePendingAppTransitionScaleUp(int startX, int startY, int startWidth, in overridePendingAppTransitionScaleUp() argument 1852 putDefaultNextAppTransitionCoordinates(startX, startY, startWidth, startHeight, null); in overridePendingAppTransitionScaleUp() 1857 void overridePendingAppTransitionClipReveal(int startX, int startY, in overridePendingAppTransitionClipReveal() argument 1862 putDefaultNextAppTransitionCoordinates(startX, startY, startWidth, startHeight, null); in overridePendingAppTransitionClipReveal() 1867 void overridePendingAppTransitionThumb(GraphicBuffer srcThumb, int startX, int startY, in overridePendingAppTransitionThumb() argument 1874 putDefaultNextAppTransitionCoordinates(startX, startY, 0, 0, srcThumb); in overridePendingAppTransitionThumb() 1880 … void overridePendingAppTransitionAspectScaledThumb(GraphicBuffer srcThumb, int startX, int startY, in overridePendingAppTransitionAspectScaledThumb() argument [all …]
|
/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() 251 int distX = endX - startX; in drag() 255 int x = (int) (startX + distX * ii); in drag()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/misc/ |
D | FreePathInterpolator.java | 166 float startX = mX[startIndex]; in getX() local 168 return startX + (fraction * (endX - startX)); in getX()
|
/frameworks/base/core/java/com/android/internal/transition/ |
D | EpicenterTranslateClipReveal.java | 131 final float startX = startBounds.centerX() - endBounds.centerX(); in onAppear() local 136 view.setTranslationX(startX); in onAppear() 150 final State startStateX = new State(startClip.left, startClip.right, startX); in onAppear() 172 final float startX = (float) endValues.values.get(PROPNAME_TRANSLATE_X); in onDisappear() local 182 final State startStateX = new State(startClip.left, startClip.right, startX); in onDisappear() 210 private static Animator createRectAnimator(final View view, State startX, State startY, in createRectAnimator() argument 222 final ObjectAnimator animX = ObjectAnimator.ofObject(view, propX, evaluator, startX, endX); in createRectAnimator()
|
/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/android/app/ |
D | ActivityOptions.java | 484 int startX, int startY, int width, int height) { in makeScaleUpAnimation() argument 490 opts.mStartX = pts[0] + startX; in makeScaleUpAnimation() 512 int startX, int startY, int width, int height) { in makeClipRevealAnimation() argument 517 opts.mStartX = pts[0] + startX; 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 592 opts.mStartX = pts[0] + startX; in makeThumbnailAnimation() [all …]
|
/frameworks/rs/ |
D | rsFont.cpp | 254 uint32_t startX = 0; in updateGlyphCache() local 259 glyph->mIsValid = state->cacheBitmap(bitmap, &startX, &startY); in updateGlyphCache() 265 uint32_t endX = startX + bitmap->width; in updateGlyphCache() 268 glyph->mBitmapMinX = startX; in updateGlyphCache() 276 glyph->mBitmapMinU = (float)startX / (float)cacheWidth; in updateGlyphCache() 423 uint32_t startX = 0; in cacheBitmap() local 428 bitmapFit = mCacheLines[i]->fitBitmap(bitmap, &startX, &startY); in cacheBitmap() 440 bitmapFit = mCacheLines[i]->fitBitmap(bitmap, &startX, &startY); in cacheBitmap() 453 *retOriginX = startX; in cacheBitmap() 456 uint32_t endX = startX + bitmap->width; in cacheBitmap() [all …]
|
/frameworks/base/core/java/android/animation/ |
D | PathKeyframes.java | 108 float startX = mKeyframeData[startBase + X_OFFSET]; in interpolateInRange() local 113 float x = interpolate(intervalFraction, startX, endX); in interpolateInRange()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
D | SimpleMonthView.java | 32 int x, int y, int startX, int stopX, int startY, int stopY) { in drawMonthDay() argument
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
D | Intents.java | 248 public PhotoViewIntentBuilder setScaleAnimation(int startX, int startY, in setScaleAnimation() argument 251 mStartX = startX; in setScaleAnimation()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | BaseCanvas_Delegate.java | 197 final float startX, final float startY, final float stopX, final float stopY, in nDrawLine() argument 200 … (graphics, paintDelegate) -> graphics.drawLine((int)startX, (int)startY, (int)stopX, (int)stopY)); in nDrawLine() 533 float startX, float startY, int flags, long paint) { in nDrawText() argument 534 drawText(nativeCanvas, text, index, count, startX, startY, flags, in nDrawText() 629 final int count, final float startX, final float startY, final int bidiFlags, in drawText() argument 639 float x = startX; in drawText()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | GestureDescriptionTest.java | 273 float startX, float startY, float endX, float endY, long duration) { in createSwipe() argument 275 swipeBuilder.addStroke(createSwipeStroke(startX, startY, endX, endY, 0, duration)); in createSwipe() 280 float startX, float startY, float endX, float endY, long startTime, long endTime) { in createSwipeStroke() argument 282 swipePath.moveTo(startX, startY); in createSwipeStroke()
|