/frameworks/base/core/java/android/transition/ |
H A D | PathMotion.java | 47 * Provide a Path to interpolate between two points <code>(startX, startY)</code> and 50 * @param startX The x coordinate of the starting point. 55 * must start at point <code>(startX, startY)</code>, typically using 58 public abstract Path getPath(float startX, float startY, float endX, float endY); argument
|
H A D | PatternPathMotion.java | 110 float startX = pos[0]; 113 if (startX == endX && startY == endY) { 117 mTempMatrix.setTranslate(-startX, -startY); 118 float dx = endX - startX; 130 public Path getPath(float startX, float startY, float endX, float endY) { argument 131 double dx = endX - startX; 138 mTempMatrix.postTranslate(startX, startY);
|
H A D | ArcMotion.java | 180 public Path getPath(float startX, float startY, float endX, float endY) { argument 198 path.moveTo(startX, startY); 202 float deltaX = endX - startX; 209 float dx = (startX + endX) / 2; 237 ex = startX; 246 ex = startX + eDistX; 274 float control1X = (startX + ex) / 2;
|
H A D | TranslationAnimationCreator.java | 43 * @param startX The start translation x of view 48 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was 52 float startX, float startY, float endX, float endY, TimeInterpolator interpolator, 58 startX = startPosition[0] - viewPosX + terminalX; 61 // Initial position is at translation startX, startY, so position is offset by that amount 62 int startPosX = viewPosX + Math.round(startX - terminalX); 65 view.setTranslationX(startX); 67 if (startX == endX && startY == endY) { 71 path.moveTo(startX, startY); 99 int startX, in 51 createAnimation(View view, TransitionValues values, int viewPosX, int viewPosY, float startX, float startY, float endX, float endY, TimeInterpolator interpolator, Transition transition) argument 98 TransitionPositionListener(View movingView, View viewInHierarchy, int startX, int startY, float terminalX, float terminalY) argument [all...] |
/frameworks/support/transition/src/main/java/androidx/transition/ |
H A D | PathMotion.java | 50 * Provide a Path to interpolate between two points <code>(startX, startY)</code> and 53 * @param startX The x coordinate of the starting point. 58 * must start at point <code>(startX, startY)</code>, typically using 61 public abstract Path getPath(float startX, float startY, float endX, float endY); argument
|
H A D | PatternPathMotion.java | 111 float startX = pos[0]; 114 if (startX == endX && startY == endY) { 118 mTempMatrix.setTranslate(-startX, -startY); 119 float dx = endX - startX; 131 public Path getPath(float startX, float startY, float endX, float endY) { argument 132 float dx = endX - startX; 139 mTempMatrix.postTranslate(startX, startY);
|
H A D | ArcMotion.java | 181 public Path getPath(float startX, float startY, float endX, float endY) { argument 199 path.moveTo(startX, startY); 203 float deltaX = endX - startX; 210 float dx = (startX + endX) / 2; 232 ex = startX; 241 ex = startX + eDistX; 269 float control1X = (startX + ex) / 2;
|
H A D | TranslationAnimationCreator.java | 41 * @param startX The start translation x of view 46 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was 50 float startX, float startY, float endX, float endY, TimeInterpolator interpolator) { 55 startX = startPosition[0] - viewPosX + terminalX; 58 // Initial position is at translation startX, startY, so position is offset by that amount 59 int startPosX = viewPosX + Math.round(startX - terminalX); 62 view.setTranslationX(startX); 64 if (startX == endX && startY == endY) { 68 PropertyValuesHolder.ofFloat(View.TRANSLATION_X, startX, endX), 92 int startX, in 49 createAnimation(View view, TransitionValues values, int viewPosX, int viewPosY, float startX, float startY, float endX, float endY, TimeInterpolator interpolator) argument 91 TransitionPositionListener(View movingView, View viewInHierarchy, int startX, int startY, float terminalX, float terminalY) argument [all...] |
/frameworks/base/libs/hwui/font/ |
H A D | FontCacheHistoryTracker.h | 43 uint16_t startX; member in struct:android::uirenderer::FontCacheHistoryTracker::CachedGlyph
|
H A D | Font.cpp | 426 uint32_t startX = 0; local 433 mState->cacheBitmap(skiaGlyph, glyph, &startX, &startY, precaching); 439 uint32_t endX = startX + skiaGlyph.fWidth; 442 glyph->mStartX = startX; 452 glyph->mBitmapMinU = startX / (float)cacheWidth;
|
/frameworks/support/transition/src/androidTest/java/androidx/transition/ |
H A D | ArcMotionTest.java | 95 private static Path arcWithPoint(float startX, float startY, float endX, float endY, argument 97 float c1x = (eX + startX) / 2; 102 path.moveTo(startX, startY);
|
H A D | TransitionInflaterTest.java | 222 public Path getPath(float startX, float startY, float endX, float endY) { argument
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
H A D | SimpleMonthView.java | 32 int x, int y, int startX, int stopX, int startY, int stopY) { 31 drawMonthDay(Canvas canvas, int year, int month, int day, int x, int y, int startX, int stopX, int startY, int stopY) argument
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | VelocityTest.java | 237 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, argument 239 drag(vt, startX, endX, startY, endY, steps, startime, duration, new LinearInterpolator()); 246 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, argument 248 addMotionEvent(vt, startX, startY, startime, MotionEvent.ACTION_DOWN); 250 int distX = endX - startX; 254 int x = (int) (startX + distX * ii);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | TaskPositioningController.java | 64 boolean startMovingTask(IWindow window, float startX, float startY) { argument 71 win, false /*resize*/, false /*preserveOrientation*/, startX, startY)) { 106 boolean preserveOrientation, float startX, float startY) { 110 + preserveOrientation + ", {" + startX + ", " + startY + "}"); 151 mTaskPositioner.startDrag(win, resize, preserveOrientation, startX, startY); 105 startPositioningLocked(WindowState win, boolean resize, boolean preserveOrientation, float startX, float startY) argument
|
H A D | TaskPositioner.java | 335 void startDrag(WindowState win, boolean resize, boolean preserveOrientation, float startX, argument 339 + ", preserveOrientation=" + preserveOrientation + ", {" + startX + ", " 349 startDrag(resize, preserveOrientation, startX, startY, mTmpRect); 354 float startX, float startY, Rect startBounds) { 356 mStartDragX = startX; 361 if (startX < startBounds.left) { 364 if (startX > startBounds.right) { 388 notifyMoveLocked(startX, startY); 353 startDrag(boolean resize, boolean preserveOrientation, float startX, float startY, Rect startBounds) argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | GestureDescriptionTest.java | 273 float startX, float startY, float endX, float endY, long duration) { 275 swipeBuilder.addStroke(createSwipeStroke(startX, startY, endX, endY, 0, duration)); 280 float startX, float startY, float endX, float endY, long startTime, long endTime) { 282 swipePath.moveTo(startX, startY); 272 createSwipe( float startX, float startY, float endX, float endY, long duration) argument 279 createSwipeStroke( float startX, float startY, float endX, float endY, long startTime, long endTime) argument
|
/frameworks/support/compat/src/main/java/androidx/core/app/ |
H A D | ActivityOptionsCompat.java | 86 * defines the coordinate space for startX and startY. 87 * @param startX The x starting location of the new activity, relative to 97 int startX, int startY, int startWidth, int startHeight) { 100 source, startX, startY, startWidth, startHeight)); 111 * defines the coordinate space for <var>startX</var> and <var>startY</var>. 112 * @param startX The x starting location of the new activity, relative to <var>source</var>. 121 int startX, int startY, int width, int height) { 124 source, startX, startY, width, height)); 140 * defines the coordinate space for startX and startY. 143 * @param startX Th 96 makeScaleUpAnimation(@onNull View source, int startX, int startY, int startWidth, int startHeight) argument 120 makeClipRevealAnimation(@onNull View source, int startX, int startY, int width, int height) argument 149 makeThumbnailScaleUpAnimation(@onNull View source, @NonNull Bitmap thumbnail, int startX, int startY) argument [all...] |
/frameworks/support/compat/src/main/java/androidx/core/widget/ |
H A D | ScrollerCompat.java | 150 * @param startX Starting horizontal scroll offset in pixels. Positive 162 public void startScroll(int startX, int startY, int dx, int dy) { argument 163 mScroller.startScroll(startX, startY, dx, dy); 169 * @param startX Starting horizontal scroll offset in pixels. Positive 182 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument 183 mScroller.startScroll(startX, startY, dx, dy, duration); 190 * @param startX Starting point of the scroll (X) 208 public void fling(int startX, int startY, int velocityX, int velocityY, argument 210 mScroller.fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY); 217 * @param startX Startin 240 fling(int startX, int startY, int velocityX, int velocityY, int minX, int maxX, int minY, int maxY, int overX, int overY) argument 261 springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) argument 293 notifyHorizontalEdgeReached(int startX, int finalX, int overX) argument [all...] |
/frameworks/support/leanback/api21/androidx/leanback/transition/ |
H A D | TranslationAnimationCreator.java | 37 * @param startX The start translation x of view 42 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was 46 float startX, float startY, float endX, float endY, TimeInterpolator interpolator, 52 startX = startPosition[0] - viewPosX + terminalX; 55 // Initial position is at translation startX, startY, so position is offset by that amount 56 int startPosX = viewPosX + Math.round(startX - terminalX); 59 view.setTranslationX(startX); 61 if (startX == endX && startY == endY) { 65 path.moveTo(startX, startY); 93 int startX, in 45 createAnimation(View view, TransitionValues values, int viewPosX, int viewPosY, float startX, float startY, float endX, float endY, TimeInterpolator interpolator, Transition transition) argument 92 TransitionPositionListener(View movingView, View viewInHierarchy, int startX, int startY, float terminalX, float terminalY) argument [all...] |
/frameworks/base/core/java/com/android/internal/transition/ |
H A D | EpicenterTranslateClipReveal.java | 131 final float startX = startBounds.centerX() - endBounds.centerX(); 136 view.setTranslationX(startX); 150 final State startStateX = new State(startClip.left, startClip.right, startX); 172 final float startX = (float) endValues.values.get(PROPNAME_TRANSLATE_X); 182 final State startStateX = new State(startClip.left, startClip.right, startX); 210 private static Animator createRectAnimator(final View view, State startX, State startY, argument 222 final ObjectAnimator animX = ObjectAnimator.ofObject(view, propX, evaluator, startX, endX);
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/ |
H A D | Interaction.java | 56 public static Interaction newFling(float startX, float startY, argument 58 return new Interaction(Interaction.Type.FLING, new float[]{startX, endX}, 62 public static Interaction newFlingDown(float startX, float startY) { argument 64 new float[]{startX, startX}, 68 public static Interaction newFlingUp(float startX, float startY) { argument 70 new float[]{startX, startX}, new float[]{startY, startY - DEFAULT_FLING_SIZE_PX}, 74 public static Interaction newTap(float startX, float startY) { argument 76 new float[]{startX, start [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
H A D | Intents.java | 248 public PhotoViewIntentBuilder setScaleAnimation(int startX, int startY, argument 251 mStartX = startX;
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiDevice.java | 422 * @param startX 430 public boolean swipe(int startX, int startY, int endX, int endY, int steps) { argument 431 Tracer.trace(startX, startY, endX, endY, steps); 433 .swipe(startX, startY, endX, endY, steps); 442 * @param startX X-axis value for the starting coordinate 451 public boolean drag(int startX, int startY, int endX, int endY, int steps) { argument 452 Tracer.trace(startX, startY, endX, endY, steps); 454 .swipe(startX, startY, endX, endY, steps, true);
|
/frameworks/base/core/java/android/widget/ |
H A D | Scroller.java | 359 * @param startX Starting horizontal scroll offset in pixels. Positive 368 public void startScroll(int startX, int startY, int dx, int dy) { argument 369 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); 376 * @param startX Starting horizontal scroll offset in pixels. Positive 386 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument 391 mStartX = startX; 393 mFinalX = startX + dx; 404 * @param startX Starting point of the scroll (X) 419 public void fling(int startX, int startY, int velocityX, int velocityY, argument 449 mStartX = startX; [all...] |