/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/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/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 | 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...] |
H A D | ChangeScroll.java | 73 int startX = (Integer) startValues.values.get(PROPNAME_SCROLL_X); 79 if (startX != endX) { 80 view.setScrollX(startX); 81 scrollXAnimator = ObjectAnimator.ofInt(view, "scrollX", startX, endX);
|
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 | Explode.java | 89 float startX = endX + mTempLoc[0]; 93 startX, startY, endX, endY, sDecelerate, this); 105 float startX = view.getTranslationX(); 107 float endX = startX; 122 viewPosX, viewPosY, startX, startY, endX, endY, sAccelerate, this);
|
/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 | 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...] |
H A D | ChangeScroll.java | 79 int startX = (Integer) startValues.values.get(PROPNAME_SCROLL_X); 85 if (startX != endX) { 86 view.setScrollX(startX); 87 scrollXAnimator = ObjectAnimator.ofInt(view, "scrollX", startX, endX);
|
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 | Explode.java | 91 float startX = endX + mTempLoc[0]; 95 startX, startY, endX, endY, sDecelerate); 107 float startX = view.getTranslationX(); 109 float endX = startX; 124 viewPosX, viewPosY, startX, startY, endX, endY, sAccelerate);
|
/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/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/base/libs/hwui/font/ |
H A D | FontCacheHistoryTracker.cpp | 27 glyph.startX, glyph.startY, glyph.bitmapW, glyph.bitmapH, glyph.generation); 67 entry.glyph.startX = glyphInfo->mStartX; 80 glyph.startX = x; 90 glyph.startX = 0;
|
H A D | FontCacheHistoryTracker.h | 43 uint16_t startX; member in struct:android::uirenderer::FontCacheHistoryTracker::CachedGlyph
|
/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
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | FreePathInterpolator.java | 166 float startX = mX[startIndex]; 168 return startX + (fraction * (endX - startX));
|
/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/support/compat/src/main/java/androidx/core/view/ |
H A D | NestedScrollingChildHelper.java | 227 int startX = 0; 231 startX = offsetInWindow[0]; 240 offsetInWindow[0] -= startX; 285 int startX = 0; 289 startX = offsetInWindow[0]; 305 offsetInWindow[0] -= startX;
|
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 195 const SkGlyph& glyph, uint32_t* startX, 198 if (cacheTextures[i]->fitBitmap(glyph, startX, startY)) { 247 uint32_t startX = 0; local 250 CacheTexture* cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); 257 cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); 268 *retOriginX = startX; 271 uint32_t endX = startX + glyph.fWidth; 293 (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX - TEXTURE_BORDER_SIZE; 300 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0; 301 for (uint32_t cacheX = startX, b 194 cacheBitmapInTexture(std::vector<CacheTexture*>& cacheTextures, const SkGlyph& glyph, uint32_t* startX, uint32_t* startY) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | OverScroller.java | 348 * @param startX Starting horizontal scroll offset in pixels. Positive 357 public void startScroll(int startX, int startY, int dx, int dy) { argument 358 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); 364 * @param startX Starting horizontal scroll offset in pixels. Positive 374 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument 376 mScrollerX.startScroll(startX, dx, duration); 383 * @param startX Starting X coordinate 389 * @return true if a springback was initiated, false if startX and startY were 392 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { argument 396 final boolean spingbackX = mScrollerX.springback(startX, min 401 fling(int startX, int startY, int velocityX, int velocityY, int minX, int maxX, int minY, int maxY) argument 433 fling(int startX, int startY, int velocityX, int velocityY, int minX, int maxX, int minY, int maxY, int overX, int overY) argument 464 notifyHorizontalEdgeReached(int startX, int finalX, int overX) argument [all...] |
/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);
|