Home
last modified time | relevance | path

Searched refs:startY (Results 1 – 25 of 68) sorted by relevance

123

/frameworks/support/compat/java/android/support/v4/widget/
DScrollerCompat.java133 public void startScroll(int startX, int startY, int dx, int dy) { in startScroll() argument
134 mScroller.startScroll(startX, startY, dx, dy); in startScroll()
150 public void startScroll(int startX, int startY, int dx, int dy, int duration) { in startScroll() argument
151 mScroller.startScroll(startX, startY, dx, dy, duration); in startScroll()
173 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument
175 mScroller.fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY); in fling()
201 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument
203 mScroller.fling(startX, startY, velocityX, velocityY, in fling()
219 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { in springBack() argument
220 return mScroller.springBack(startX, startY, minX, maxX, minY, maxY); in springBack()
[all …]
/frameworks/base/core/java/android/transition/
DArcMotion.java180 public Path getPath(float startX, float startY, float endX, float endY) { in getPath() argument
198 path.moveTo(startX, startY); in getPath()
202 if (startY == endY) { in getPath()
204 ey = startY + mMinimumHorizontalTangent * Math.abs(endX - startX) / 2; in getPath()
206 ex = startX + mMinimumVerticalTangent * Math.abs(endY - startY) / 2; in getPath()
207 ey = (startY + endY) / 2; in getPath()
210 float deltaY = endY - startY; in getPath()
216 float dy = (startY + endY) / 2; in getPath()
232 ey = startY + eDistY; in getPath()
249 ey = startY; in getPath()
[all …]
DPatternPathMotion.java111 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()
DTranslationAnimationCreator.java52 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()
DChangeScroll.java67 int startY = (Integer) startValues.values.get(PROPNAME_SCROLL_Y); in createAnimator() local
75 if (startY != endY) { in createAnimator()
76 view.setScrollY(startY); in createAnimator()
77 scrollYAnimator = ObjectAnimator.ofInt(view, "scrollY", startY, endY); in createAnimator()
DExplode.java90 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()
/frameworks/support/compat/java/android/support/v4/app/
DActivityOptionsCompat.java100 int startX, int startY, int startWidth, int startHeight) { in makeScaleUpAnimation() argument
103 ActivityOptionsCompat24.makeScaleUpAnimation(source, startX, startY, in makeScaleUpAnimation()
107 ActivityOptionsCompat23.makeScaleUpAnimation(source, startX, startY, in makeScaleUpAnimation()
111 ActivityOptionsCompat21.makeScaleUpAnimation(source, startX, startY, in makeScaleUpAnimation()
115 ActivityOptionsCompatJB.makeScaleUpAnimation(source, startX, startY, in makeScaleUpAnimation()
136 int startX, int startY, int width, int height) { in makeClipRevealAnimation() argument
139 ActivityOptionsCompat24.makeClipRevealAnimation(source, startX, startY, in makeClipRevealAnimation()
143 ActivityOptionsCompat23.makeClipRevealAnimation(source, startX, startY, in makeClipRevealAnimation()
169 Bitmap thumbnail, int startX, int startY) { in makeThumbnailScaleUpAnimation() argument
173 startX, startY)); in makeThumbnailScaleUpAnimation()
[all …]
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/
DTranslationAnimationCreator.java44 float startX, float startY, float endX, float endY, TimeInterpolator interpolator, in createAnimation() argument
51 startY = startPosition[1] - viewPosY + terminalY; in createAnimation()
55 int startPosY = viewPosY + Math.round(startY - terminalY); in createAnimation()
58 view.setTranslationY(startY); in createAnimation()
59 if (startX == endX && startY == endY) { in createAnimation()
63 path.moveTo(startX, startY); in createAnimation()
91 int startX, int startY, float terminalX, float terminalY) { in TransitionPositionListener() argument
95 mStartY = startY - Math.round(mMovingView.getTranslationY()); in TransitionPositionListener()
/frameworks/support/compat/api23/android/support/v4/app/
DActivityOptionsCompat23.java39 int startX, int startY, int startWidth, int startHeight) { in makeScaleUpAnimation() argument
41 ActivityOptions.makeScaleUpAnimation(source, startX, startY, startWidth, startHeight)); in makeScaleUpAnimation()
45 Bitmap thumbnail, int startX, int startY) { in makeThumbnailScaleUpAnimation() argument
47 ActivityOptions.makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY)); in makeThumbnailScaleUpAnimation()
71 int startX, int startY, int width, int height) { in makeClipRevealAnimation() argument
73 ActivityOptions.makeClipRevealAnimation(source, startX, startY, width, height)); in makeClipRevealAnimation()
/frameworks/support/compat/api24/android/support/v4/app/
DActivityOptionsCompat24.java39 int startX, int startY, int startWidth, int startHeight) { in makeScaleUpAnimation() argument
41 ActivityOptions.makeScaleUpAnimation(source, startX, startY, startWidth, startHeight)); in makeScaleUpAnimation()
45 Bitmap thumbnail, int startX, int startY) { in makeThumbnailScaleUpAnimation() argument
47 ActivityOptions.makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY)); in makeThumbnailScaleUpAnimation()
71 int startX, int startY, int width, int height) { in makeClipRevealAnimation() argument
73 ActivityOptions.makeClipRevealAnimation(source, startX, startY, width, height)); in makeClipRevealAnimation()
/frameworks/support/core-ui/java/android/support/v4/view/
DNestedScrollingChildHelper.java156 int startY = 0; in dispatchNestedScroll() local
160 startY = offsetInWindow[1]; in dispatchNestedScroll()
169 offsetInWindow[1] -= startY; in dispatchNestedScroll()
194 int startY = 0; in dispatchNestedPreScroll() local
198 startY = offsetInWindow[1]; in dispatchNestedPreScroll()
214 offsetInWindow[1] -= startY; in dispatchNestedPreScroll()
/frameworks/support/compat/jellybean/android/support/v4/app/
DActivityOptionsCompatJB.java34 int startX, int startY, int startWidth, int startHeight) { in makeScaleUpAnimation() argument
36 ActivityOptions.makeScaleUpAnimation(source, startX, startY, startWidth, startHeight)); in makeScaleUpAnimation()
40 Bitmap thumbnail, int startX, int startY) { in makeThumbnailScaleUpAnimation() argument
42 ActivityOptions.makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY)); in makeThumbnailScaleUpAnimation()
/frameworks/support/compat/api21/android/support/v4/app/
DActivityOptionsCompat21.java38 int startX, int startY, int startWidth, int startHeight) { in makeScaleUpAnimation() argument
40 ActivityOptions.makeScaleUpAnimation(source, startX, startY, startWidth, startHeight)); in makeScaleUpAnimation()
44 Bitmap thumbnail, int startX, int startY) { in makeThumbnailScaleUpAnimation() argument
46 ActivityOptions.makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY)); in makeThumbnailScaleUpAnimation()
/frameworks/base/core/java/android/app/
DActivityOptions.java393 int startX, int startY, int width, int height) { in makeScaleUpAnimation() argument
400 opts.mStartY = pts[1] + startY; in makeScaleUpAnimation()
421 int startX, int startY, int width, int height) { in makeClipRevealAnimation() argument
427 opts.mStartY = pts[1] + startY; in makeClipRevealAnimation()
453 Bitmap thumbnail, int startX, int startY) { in makeThumbnailScaleUpAnimation() argument
454 return makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY, null); in makeThumbnailScaleUpAnimation()
476 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) { in makeThumbnailScaleUpAnimation() argument
477 return makeThumbnailAnimation(source, thumbnail, startX, startY, listener, true); in makeThumbnailScaleUpAnimation()
498 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) { in makeThumbnailScaleDownAnimation() argument
499 return makeThumbnailAnimation(source, thumbnail, startX, startY, listener, false); in makeThumbnailScaleDownAnimation()
[all …]
/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
392 mStartY = startY; in startScroll()
394 mFinalY = startY + dy; in startScroll()
419 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument
450 mStartY = startY; in fling()
468 mFinalY = startY + (int) Math.round(totalDistance * coeffY); in fling()
DOverScroller.java355 public void startScroll(int startX, int startY, int dx, int dy) { in startScroll() argument
356 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); in startScroll()
372 public void startScroll(int startX, int startY, int dx, int dy, int duration) { in startScroll() argument
375 mScrollerY.startScroll(startY, dy, duration); in startScroll()
390 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { in springBack() argument
395 final boolean spingbackY = mScrollerY.springback(startY, minY, maxY); in springBack()
399 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument
401 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); in fling()
431 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument
446 mScrollerY.fling(startY, velocityY, minY, maxY, overY); in fling()
[all …]
/frameworks/base/libs/hwui/font/
DFontCacheHistoryTracker.cpp27 glyph.startX, glyph.startY, glyph.bitmapW, glyph.bitmapH, glyph.generation); in dumpCachedGlyph()
68 entry.glyph.startY = glyphInfo->mStartY; in glyphRendered()
81 glyph.startY = y; in glyphUploaded()
91 glyph.startY = 0; in glyphsCleared()
/frameworks/support/compat/gingerbread/android/support/v4/view/animation/
DPathInterpolatorGingerbread.java92 final float startY = mY[startIndex]; in getInterpolation() local
95 return startY + (fraction * (endY - startY)); in getInterpolation()
/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()
251 int distY = endY - startY; in drag()
255 int y = (int) (startY + distY * ii); in drag()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DerrorCalculator.rs34 int startY = v_in[0];
36 for (int y = startY; y < startY + REGION_SIZE; y++) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DFreePathInterpolator.java127 float startY = mY[startIndex]; in getInterpolation() local
129 return startY + (fraction * (endY - startY)); in getInterpolation()
/frameworks/base/core/java/com/android/internal/transition/
DEpicenterTranslateClipReveal.java132 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/
DFontRenderer.cpp211 const SkGlyph& glyph, uint32_t* startX, uint32_t* startY) { in cacheBitmapInTexture() argument
213 if (cacheTextures[i]->fitBitmap(glyph, startX, startY)) { in cacheBitmapInTexture()
263 uint32_t startY = 0; in cacheBitmap() local
265 CacheTexture* cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap()
272 cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap()
284 *retOriginY = startY; in cacheBitmap()
287 uint32_t endY = startY + glyph.fHeight; in cacheBitmap()
308 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX in cacheBitmap()
314 for (cacheY = startY, bY = 0; cacheY < endY; cacheY++, bY += srcStride) { in cacheBitmap()
324 for (cacheY = startY, bY = 0; cacheY < endY; cacheY++, bY += srcStride) { in cacheBitmap()
[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/packages/SystemUI/src/com/android/systemui/qs/
DPathInterpolatorBuilder.java147 float startY = mY[startIndex]; in getInterpolation() local
149 return startY + (fraction * (endY - startY)); in getInterpolation()

123