Home
last modified time | relevance | path

Searched refs:startX (Results 1 – 25 of 71) sorted by relevance

123

/frameworks/support/compat/java/android/support/v4/widget/
DScrollerCompat.java162 public void startScroll(int startX, int startY, int dx, int dy) { in startScroll() argument
163 mScroller.startScroll(startX, startY, dx, dy); in startScroll()
182 public void startScroll(int startX, int startY, int dx, int dy, int duration) { in startScroll() argument
183 mScroller.startScroll(startX, startY, dx, dy, duration); in startScroll()
208 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument
210 mScroller.fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY); in fling()
240 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument
242 mScroller.fling(startX, startY, velocityX, velocityY, in fling()
261 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { in springBack() argument
262 return mScroller.springBack(startX, startY, minX, maxX, minY, maxY); in springBack()
[all …]
/frameworks/support/transition/src/android/support/transition/
DTranslationAnimationCreator.java50 float startX, float startY, float endX, float endY, TimeInterpolator interpolator) { in createAnimation() argument
55 startX = startPosition[0] - viewPosX + terminalX; in createAnimation()
59 int startPosX = viewPosX + Math.round(startX - terminalX); in createAnimation()
62 view.setTranslationX(startX); in createAnimation()
64 if (startX == endX && startY == endY) { in createAnimation()
68 PropertyValuesHolder.ofFloat(View.TRANSLATION_X, startX, endX), in createAnimation()
92 int startX, int startY, float terminalX, float terminalY) { in TransitionPositionListener() argument
95 mStartX = startX - Math.round(mMovingView.getTranslationX()); in TransitionPositionListener()
DPatternPathMotion.java110 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 float dx = endX - startX; in getPath()
138 mTempMatrix.postTranslate(startX, startY); in getPath()
DArcMotion.java180 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()
231 ex = startX; in getPath()
240 ex = startX + eDistX; in getPath()
268 float control1X = (startX + ex) / 2; in getPath()
DChangeScroll.java78 int startX = (Integer) startValues.values.get(PROPNAME_SCROLL_X); in createAnimator() local
84 if (startX != endX) { in createAnimator()
85 view.setScrollX(startX); in createAnimator()
86 scrollXAnimator = ObjectAnimator.ofInt(view, "scrollX", startX, endX); in createAnimator()
DExplode.java90 float startX = endX + mTempLoc[0]; in onAppear() local
94 startX, startY, endX, endY, sDecelerate); in onAppear()
106 float startX = view.getTranslationX(); in onDisappear() local
108 float endX = startX; in onDisappear()
123 viewPosX, viewPosY, startX, startY, endX, endY, sAccelerate); in onDisappear()
/frameworks/base/core/java/android/transition/
DPatternPathMotion.java110 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()
DTranslationAnimationCreator.java52 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()
DArcMotion.java180 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()
231 ex = startX; in getPath()
240 ex = startX + eDistX; in getPath()
268 float control1X = (startX + ex) / 2; in getPath()
DChangeScroll.java73 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()
DExplode.java89 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()
DSlide.java242 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()
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/
DTranslationAnimationCreator.java45 float startX, float startY, float endX, float endY, TimeInterpolator interpolator, in createAnimation() argument
51 startX = startPosition[0] - viewPosX + terminalX; in createAnimation()
55 int startPosX = viewPosX + Math.round(startX - terminalX); in createAnimation()
58 view.setTranslationX(startX); in createAnimation()
60 if (startX == endX && startY == endY) { in createAnimation()
64 path.moveTo(startX, startY); in createAnimation()
92 int startX, int startY, float terminalX, float terminalY) { in TransitionPositionListener() argument
95 mStartX = startX - Math.round(mMovingView.getTranslationX()); in TransitionPositionListener()
/frameworks/support/compat/java/android/support/v4/app/
DActivityOptionsCompat.java92 int startX, int startY, int startWidth, int startHeight) { in makeScaleUpAnimation() argument
95 source, startX, startY, startWidth, startHeight)); in makeScaleUpAnimation()
115 int startX, int startY, int width, int height) { in makeClipRevealAnimation() argument
118 source, startX, startY, width, height)); in makeClipRevealAnimation()
143 Bitmap thumbnail, int startX, int startY) { in makeThumbnailScaleUpAnimation() argument
146 source, thumbnail, startX, startY)); in makeThumbnailScaleUpAnimation()
/frameworks/base/libs/hwui/
DFontRenderer.cpp198 const SkGlyph& glyph, uint32_t* startX, uint32_t* startY) { in cacheBitmapInTexture() argument
200 if (cacheTextures[i]->fitBitmap(glyph, startX, startY)) { in cacheBitmapInTexture()
249 uint32_t startX = 0; in cacheBitmap() local
252 CacheTexture* cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap()
259 cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap()
270 *retOriginX = startX; in cacheBitmap()
273 uint32_t endX = startX + glyph.fWidth; in cacheBitmap()
294 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX in cacheBitmap()
302 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0; in cacheBitmap()
303 for (uint32_t cacheX = startX, bX = 0; cacheX < endX; cacheX++, bX++) { in cacheBitmap()
[all …]
/frameworks/support/core-ui/java/android/support/v4/view/
DNestedScrollingChildHelper.java226 int startX = 0; in dispatchNestedScroll() local
230 startX = offsetInWindow[0]; in dispatchNestedScroll()
239 offsetInWindow[0] -= startX; in dispatchNestedScroll()
284 int startX = 0; in dispatchNestedPreScroll() local
288 startX = offsetInWindow[0]; in dispatchNestedPreScroll()
304 offsetInWindow[0] -= startX; in dispatchNestedPreScroll()
/frameworks/base/libs/hwui/font/
DFontCacheHistoryTracker.cpp27 glyph.startX, glyph.startY, glyph.bitmapW, glyph.bitmapH, glyph.generation); in dumpCachedGlyph()
67 entry.glyph.startX = glyphInfo->mStartX; in glyphRendered()
80 glyph.startX = x; in glyphUploaded()
90 glyph.startX = 0; in glyphsCleared()
/frameworks/base/core/java/android/widget/
DScroller.java368 public void startScroll(int startX, int startY, int dx, int dy) { in startScroll() argument
369 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); in startScroll()
386 public void startScroll(int startX, int startY, int dx, int dy, int duration) { in startScroll() argument
391 mStartX = startX; in startScroll()
393 mFinalX = startX + dx; in startScroll()
419 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument
449 mStartX = startX; in fling()
463 mFinalX = startX + (int) Math.round(totalDistance * coeffX); in fling()
DOverScroller.java357 public void startScroll(int startX, int startY, int dx, int dy) { in startScroll() argument
358 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); in startScroll()
374 public void startScroll(int startX, int startY, int dx, int dy, int duration) { in startScroll() argument
376 mScrollerX.startScroll(startX, dx, duration); in startScroll()
392 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { in springBack() argument
396 final boolean spingbackX = mScrollerX.springback(startX, minX, maxX); in springBack()
401 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument
403 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); in fling()
433 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument
447 mScrollerX.fling(startX, velocityX, minX, maxX, overX); in fling()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java237 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
248 addMotionEvent(vt, startX, startY, startime, MotionEvent.ACTION_DOWN); in drag()
250 int distX = endX - startX; in drag()
254 int x = (int) (startX + distX * ii); in drag()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DFreePathInterpolator.java166 float startX = mX[startIndex]; in getX() local
168 return startX + (fraction * (endX - startX)); in getX()
/frameworks/base/core/java/com/android/internal/transition/
DEpicenterTranslateClipReveal.java131 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/core/java/android/app/
DActivityOptions.java429 int startX, int startY, int width, int height) { in makeScaleUpAnimation() argument
435 opts.mStartX = pts[0] + startX; in makeScaleUpAnimation()
457 int startX, int startY, int width, int height) { in makeClipRevealAnimation() argument
462 opts.mStartX = pts[0] + startX; in makeClipRevealAnimation()
489 Bitmap thumbnail, int startX, int startY) { in makeThumbnailScaleUpAnimation() argument
490 return makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY, null); in makeThumbnailScaleUpAnimation()
511 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) { in makeThumbnailScaleUpAnimation() argument
512 return makeThumbnailAnimation(source, thumbnail, startX, startY, listener, true); in makeThumbnailScaleUpAnimation()
516 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener, in makeThumbnailAnimation() argument
524 opts.mStartX = pts[0] + startX; in makeThumbnailAnimation()
[all …]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiDevice.java430 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/view/
DIWindowManager.aidl98 void overridePendingAppTransitionScaleUp(int startX, int startY, int startWidth, in overridePendingAppTransitionScaleUp() argument
100 void overridePendingAppTransitionClipReveal(int startX, int startY, in overridePendingAppTransitionClipReveal() argument
102 void overridePendingAppTransitionThumb(in GraphicBuffer srcThumb, int startX, int startY, in overridePendingAppTransitionThumb() argument
104 void overridePendingAppTransitionAspectScaledThumb(in GraphicBuffer srcThumb, int startX, in overridePendingAppTransitionAspectScaledThumb() argument

123