Searched refs:startY (Results 1 - 25 of 75) sorted by relevance

123

/frameworks/support/compat/java/android/support/v4/widget/
H A DScrollerCompat.java152 * @param startY Starting vertical scroll offset in pixels. Positive numbers
162 public void startScroll(int startX, int startY, int dx, int dy) { argument
163 mScroller.startScroll(startX, startY, dx, dy);
171 * @param startY Starting vertical scroll offset in pixels. Positive numbers
182 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument
183 mScroller.startScroll(startX, startY, dx, dy, duration);
191 * @param startY Starting point of the scroll (Y)
208 public void fling(int startX, int startY, int velocityX, int velocityY, argument
210 mScroller.fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY);
218 * @param startY 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
313 notifyVerticalEdgeReached(int startY, int finalY, int overY) argument
[all...]
/frameworks/base/core/java/android/transition/
H A DPathMotion.java47 * Provide a Path to interpolate between two points <code>(startX, startY)</code> and
51 * @param startY The y 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 DPatternPathMotion.java111 float startY = pos[1];
113 if (startX == endX && startY == endY) {
117 mTempMatrix.setTranslate(-startX, -startY);
119 float dy = endY - startY;
130 public Path getPath(float startX, float startY, float endX, float endY) { argument
132 double dy = endY - startY;
138 mTempMatrix.postTranslate(startX, startY);
H A DArcMotion.java180 public Path getPath(float startX, float startY, float endX, float endY) { argument
198 path.moveTo(startX, startY);
203 float deltaY = endY - startY;
210 float dy = (startY + endY) / 2;
217 boolean isMovingUpwards = startY > endY;
230 ey = startY + eDistY;
241 ey = startY;
269 float control1Y = (startY + ey) / 2;
H A DTranslationAnimationCreator.java44 * @param startY The start translation y 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,
59 startY = startPosition[1] - viewPosY + terminalY;
61 // Initial position is at translation startX, startY, so position is offset by that amount
63 int startPosY = viewPosY + Math.round(startY - terminalY);
66 view.setTranslationY(startY);
67 if (startX == endX && startY == endY) {
71 path.moveTo(startX, startY);
99 int startX, int startY, floa
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 DChangeScroll.java75 int startY = (Integer) startValues.values.get(PROPNAME_SCROLL_Y);
83 if (startY != endY) {
84 view.setScrollY(startY);
85 scrollYAnimator = ObjectAnimator.ofInt(view, "scrollY", startY, endY);
H A DExplode.java90 float startY = endY + mTempLoc[1];
93 startX, startY, endX, endY, sDecelerate, this);
106 float startY = view.getTranslationY();
108 float endY = startY;
122 viewPosX, viewPosY, startX, startY, endX, endY, sAccelerate, this);
/frameworks/support/transition/src/android/support/transition/
H A DPathMotion.java50 * Provide a Path to interpolate between two points <code>(startX, startY)</code> and
54 * @param startY The y 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 DPatternPathMotion.java111 float startY = pos[1];
113 if (startX == endX && startY == endY) {
117 mTempMatrix.setTranslate(-startX, -startY);
119 float dy = endY - startY;
130 public Path getPath(float startX, float startY, float endX, float endY) { argument
132 float dy = endY - startY;
138 mTempMatrix.postTranslate(startX, startY);
H A DArcMotion.java180 public Path getPath(float startX, float startY, float endX, float endY) { argument
198 path.moveTo(startX, startY);
203 float deltaY = endY - startY;
210 float dy = (startY + endY) / 2;
217 boolean isMovingUpwards = startY > endY;
230 ey = startY + eDistY;
241 ey = startY;
269 float control1Y = (startY + ey) / 2;
H A DTranslationAnimationCreator.java42 * @param startY The start translation y 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) {
56 startY = startPosition[1] - viewPosY + terminalY;
58 // Initial position is at translation startX, startY, so position is offset by that amount
60 int startPosY = viewPosY + Math.round(startY - terminalY);
63 view.setTranslationY(startY);
64 if (startX == endX && startY == endY) {
69 PropertyValuesHolder.ofFloat(View.TRANSLATION_Y, startY, endY));
92 int startX, int startY, floa
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 DChangeScroll.java80 int startY = (Integer) startValues.values.get(PROPNAME_SCROLL_Y);
88 if (startY != endY) {
89 view.setScrollY(startY);
90 scrollYAnimator = ObjectAnimator.ofInt(view, "scrollY", startY, endY);
H A DExplode.java91 float startY = endY + mTempLoc[1];
94 startX, startY, endX, endY, sDecelerate);
107 float startY = view.getTranslationY();
109 float endY = startY;
123 viewPosX, viewPosY, startX, startY, endX, endY, sAccelerate);
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/
H A DTranslationAnimationCreator.java37 * @param startY The start translation y of view
41 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was
45 float startX, float startY, float endX, float endY, TimeInterpolator interpolator,
52 startY = startPosition[1] - viewPosY + terminalY;
54 // Initial position is at translation startX, startY, so position is offset by that amount
56 int startPosY = viewPosY + Math.round(startY - terminalY);
59 view.setTranslationY(startY);
60 if (startX == endX && startY == endY) {
64 path.moveTo(startX, startY);
92 int startX, int startY, floa
44 createAnimation(View view, TransitionValues values, int viewPosX, int viewPosY, float startX, float startY, float endX, float endY, TimeInterpolator interpolator, Transition transition) argument
91 TransitionPositionListener(View movingView, View viewInHierarchy, int startX, int startY, float terminalX, float terminalY) argument
[all...]
/frameworks/support/compat/java/android/support/v4/app/
H A DActivityOptionsCompat.java82 * defines the coordinate space for startX and startY.
85 * @param startY The y starting location of the activity, relative to source.
92 int startX, int startY, int startWidth, int startHeight) {
95 source, startX, startY, startWidth, startHeight));
106 * defines the coordinate space for <var>startX</var> and <var>startY</var>.
108 * @param startY The y starting location of the activity, relative to <var>source</var>.
115 int startX, int startY, int width, int height) {
118 source, startX, startY, width, height));
134 * defines the coordinate space for startX and startY.
138 * @param startY Th
91 makeScaleUpAnimation(View source, int startX, int startY, int startWidth, int startHeight) argument
114 makeClipRevealAnimation(View source, int startX, int startY, int width, int height) argument
142 makeThumbnailScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY) argument
[all...]
/frameworks/support/compat/java/android/support/v4/view/animation/
H A DPathInterpolatorApi14.java92 final float startY = mY[startIndex];
95 return startY + (fraction * (endY - startY));
/frameworks/base/libs/hwui/font/
H A DFontCacheHistoryTracker.cpp27 glyph.startX, glyph.startY, glyph.bitmapW, glyph.bitmapH, glyph.generation);
68 entry.glyph.startY = glyphInfo->mStartY;
81 glyph.startY = y;
91 glyph.startY = 0;
H A DFontCacheHistoryTracker.h43 uint16_t startY; member in struct:android::uirenderer::FontCacheHistoryTracker::CachedGlyph
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DFreePathInterpolator.java127 float startY = mY[startIndex];
129 return startY + (fraction * (endY - startY));
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DSimpleMonthView.java32 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/core-ui/java/android/support/v4/view/
H A DNestedScrollingChildHelper.java227 int startY = 0;
231 startY = offsetInWindow[1];
240 offsetInWindow[1] -= startY;
285 int startY = 0;
289 startY = offsetInWindow[1];
305 offsetInWindow[1] -= startY;
/frameworks/base/core/java/android/widget/
H A DOverScroller.java350 * @param startY Starting vertical scroll offset in pixels. Positive numbers
357 public void startScroll(int startX, int startY, int dx, int dy) { argument
358 startScroll(startX, startY, dx, dy, DEFAULT_DURATION);
366 * @param startY Starting vertical scroll offset in pixels. Positive numbers
374 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument
377 mScrollerY.startScroll(startY, dy, duration);
384 * @param startY Starting Y 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
397 final boolean spingbackY = mScrollerY.springback(startY, 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
481 notifyVerticalEdgeReached(int startY, int finalY, int overY) argument
[all...]
/frameworks/base/libs/hwui/
H A DInterpolator.cpp119 float startY = mY[startIndex]; local
121 return startY + (fraction * (endY - startY));
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DPathInterpolatorBuilder.java147 float startY = mY[startIndex];
149 return startY + (fraction * (endY - startY));
/frameworks/base/core/tests/coretests/src/android/view/
H A DVelocityTest.java237 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);
251 int distY = endY - startY;
255 int y = (int) (startY + distY * ii);

Completed in 2047 milliseconds

123