Searched defs:startY (Results 1 - 25 of 37) sorted by relevance

12

/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);
202 if (startY == endY) {
204 ey = startY + mMinimumHorizontalTangent * Math.abs(endX - startX) / 2;
206 ex = startX + mMinimumVerticalTangent * Math.abs(endY - startY) / 2;
207 ey = (startY + endY) / 2;
210 float deltaY = endY - startY;
216 float dy = (startY + endY) / 2;
232 ey = startY + eDistY;
249 ey = startY;
[all...]
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...]
/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
H A DMonthView.java490 final int startY = (int)(y - yRelativeToDay);
491 final int stopY = (int)(startY + mRowHeight);
493 drawMonthDay(canvas, mYear, mMonth, dayNumber, x, y, startX, stopX, startY, stopY);
514 * @param startY The top boundary of the day number rect
518 int x, int y, int startX, int stopX, int startY, int stopY);
517 drawMonthDay(Canvas canvas, int year, int month, int day, int x, int y, int startX, int stopX, int startY, int stopY) argument
/frameworks/support/v4/jellybean/android/support/v4/app/
H A DActivityOptionsCompatJB.java34 int startX, int startY, int startWidth, int startHeight) {
36 ActivityOptions.makeScaleUpAnimation(source, startX, startY, startWidth, startHeight));
40 Bitmap thumbnail, int startX, int startY) {
42 ActivityOptions.makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY));
33 makeScaleUpAnimation(View source, int startX, int startY, int startWidth, int startHeight) argument
39 makeThumbnailScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY) argument
/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);
/frameworks/support/v4/gingerbread/android/support/v4/widget/
H A DScrollerCompatGingerbread.java46 public static void startScroll(Object scroller, int startX, int startY, int dx, int dy) { argument
47 ((OverScroller) scroller).startScroll(startX, startY, dx, dy);
50 public static void startScroll(Object scroller, int startX, int startY, int dx, int dy, argument
52 ((OverScroller) scroller).startScroll(startX, startY, dx, dy, duration);
55 public static void fling(Object scroller, int startX, int startY, int velX, int velY, argument
57 ((OverScroller) scroller).fling(startX, startY, velX, velY, minX, maxX, minY, maxY);
60 public static void fling(Object scroller, int startX, int startY, int velX, int velY, argument
62 ((OverScroller) scroller).fling(startX, startY, velX, velY,
75 public static void notifyVerticalEdgeReached(Object scroller, int startY, int finalY, int overY) { argument
76 ((OverScroller) scroller).notifyVerticalEdgeReached(startY, final
91 springBack(Object scroller, int startX, int startY, int minX, int maxX, int minY, int maxY) argument
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DActivityOptionsCompat.java65 * defines the coordinate space for startX and startY.
68 * @param startY The y starting location of the activity, relative to source.
75 int startX, int startY, int startWidth, int startHeight) {
78 ActivityOptionsCompatJB.makeScaleUpAnimation(source, startX, startY,
95 * defines the coordinate space for startX and startY.
99 * @param startY The y starting location of the bitmap, relative to source.
104 Bitmap thumbnail, int startX, int startY) {
108 startX, startY));
74 makeScaleUpAnimation(View source, int startX, int startY, int startWidth, int startHeight) argument
103 makeThumbnailScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY) argument
/frameworks/base/core/java/com/android/internal/transition/
H A DEpicenterTranslateClipReveal.java132 final float startY = startBounds.centerY() - endBounds.centerY();
137 view.setTranslationY(startY);
152 final State startStateY = new State(startClip.top, startClip.bottom, startY);
173 final float startY = (float) endValues.values.get(PROPNAME_TRANSLATE_Y);
184 final State startStateY = new State(startClip.top, startClip.bottom, startY);
210 private static Animator createRectAnimator(final View view, State startX, State startY, argument
228 final ObjectAnimator animY = ObjectAnimator.ofObject(view, propY, evaluator, startY, endY);
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/
H A DTranslationAnimationCreator.java32 * @param startY The start translation y of view
36 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was
40 float startX, float startY, float endX, float endY, TimeInterpolator interpolator,
47 startY = startPosition[1] - viewPosY + terminalY;
49 // Initial position is at translation startX, startY, so position is offset by that amount
51 int startPosY = viewPosY + Math.round(startY - terminalY);
54 view.setTranslationY(startY);
55 if (startX == endX && startY == endY) {
59 path.moveTo(startX, startY);
87 int startX, int startY, floa
39 createAnimation(View view, TransitionValues values, int viewPosX, int viewPosY, float startX, float startY, float endX, float endY, TimeInterpolator interpolator, Transition transition) argument
86 TransitionPositionListener(View movingView, View viewInHierarchy, int startX, int startY, float terminalX, float terminalY) argument
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DScrollerCompat.java45 void startScroll(Object scroller, int startX, int startY, int dx, int dy); argument
46 void startScroll(Object scroller, int startX, int startY, int dx, int dy, int duration); argument
47 void fling(Object scroller, int startX, int startY, int velX, int velY, argument
49 void fling(Object scroller, int startX, int startY, int velX, int velY, argument
53 void notifyVerticalEdgeReached(Object scroller, int startY, int finalY, int overY); argument
57 boolean springBack(Object scroller, int startX, int startY, int minX, int maxX, argument
97 public void startScroll(Object scroller, int startX, int startY, int dx, int dy) { argument
98 ((Scroller) scroller).startScroll(startX, startY, dx, dy);
102 public void startScroll(Object scroller, int startX, int startY, int dx, int dy, argument
104 ((Scroller) scroller).startScroll(startX, startY, d
108 fling(Object scroller, int startX, int startY, int velX, int velY, int minX, int maxX, int minY, int maxY) argument
114 fling(Object scroller, int startX, int startY, int velX, int velY, int minX, int maxX, int minY, int maxY, int overX, int overY) argument
131 notifyVerticalEdgeReached(Object scroller, int startY, int finalY, int overY) argument
152 springBack(Object scroller, int startX, int startY, int minX, int maxX, int minY, int maxY) argument
190 startScroll(Object scroller, int startX, int startY, int dx, int dy) argument
195 startScroll(Object scroller, int startX, int startY, int dx, int dy, int duration) argument
201 fling(Object scroller, int startX, int startY, int velX, int velY, int minX, int maxX, int minY, int maxY) argument
208 fling(Object scroller, int startX, int startY, int velX, int velY, int minX, int maxX, int minY, int maxY, int overX, int overY) argument
226 notifyVerticalEdgeReached(Object scroller, int startY, int finalY, int overY) argument
246 springBack(Object scroller, int startX, int startY, int minX, int maxX, int minY, int maxY) argument
361 startScroll(int startX, int startY, int dx, int dy) argument
378 startScroll(int startX, int startY, int dx, int dy, int duration) argument
401 fling(int startX, int startY, int velocityX, int velocityY, int minX, int maxX, int minY, int maxY) argument
429 fling(int startX, int startY, int velocityX, int velocityY, int minX, int maxX, int minY, int maxY, int overX, int overY) argument
447 springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) argument
490 notifyVerticalEdgeReached(int startY, int finalY, int overY) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskPositioner.java337 void startDragLocked(WindowState win, boolean resize, float startX, float startY) { argument
340 + ", {" + startX + ", " + startY + "}");
345 mStartDragY = startY;
369 if (startY < mTmpRect.top) {
372 if (startY > mTmpRect.bottom) {
H A DSession.java368 public boolean startMovingTask(IWindow window, float startX, float startY) { argument
370 TAG_WM, "startMovingTask: {" + startX + "," + startY + "}");
374 return mService.startMovingTask(window, startX, startY);
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DIntents.java248 public PhotoViewIntentBuilder setScaleAnimation(int startX, int startY, argument
252 mStartY = startY;
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiDevice.java423 * @param startY
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);
443 * @param startY Y-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 DScroller.java361 * @param startY Starting vertical scroll offset in pixels. Positive numbers
368 public void startScroll(int startX, int startY, int dx, int dy) { argument
369 startScroll(startX, startY, dx, dy, DEFAULT_DURATION);
378 * @param startY Starting vertical scroll offset in pixels. Positive numbers
386 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument
392 mStartY = startY;
394 mFinalY = startY + dy;
405 * @param startY Starting point of the scroll (Y)
419 public void fling(int startX, int startY, int velocityX, int velocityY, argument
450 mStartY = startY;
[all...]
H A DOverScroller.java348 * @param startY Starting vertical scroll offset in pixels. Positive numbers
355 public void startScroll(int startX, int startY, int dx, int dy) { argument
356 startScroll(startX, startY, dx, dy, DEFAULT_DURATION);
364 * @param startY Starting vertical scroll offset in pixels. Positive numbers
372 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument
375 mScrollerY.startScroll(startY, dy, duration);
382 * @param startY Starting Y coordinate
387 * @return true if a springback was initiated, false if startX and startY were
390 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { argument
395 final boolean spingbackY = mScrollerY.springback(startY, min
399 fling(int startX, int startY, int velocityX, int velocityY, int minX, int maxX, int minY, int maxY) argument
431 fling(int startX, int startY, int velocityX, int velocityY, int minX, int maxX, int minY, int maxY, int overX, int overY) argument
479 notifyVerticalEdgeReached(int startY, int finalY, int overY) argument
[all...]
/frameworks/base/libs/hwui/font/
H A DFont.cpp218 uint32_t startY = glyph->mStartY * srcStride; local
219 uint32_t endY = startY + (glyph->mBitmapHeight * srcStride);
223 for (uint32_t cacheY = startY, bitmapY = dstY * bitmapWidth; cacheY < endY;
430 uint32_t startY = 0; local
436 mState->cacheBitmap(skiaGlyph, glyph, &startX, &startY, precaching);
443 uint32_t endY = startY + skiaGlyph.fHeight;
446 glyph->mStartY = startY;
456 glyph->mBitmapMinV = startY / (float) cacheHeight;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindowSession.java159 public boolean startMovingTask(IWindow window, float startX, float startY) argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java142 public void drawLine(float startX, float startY, float stopX, float stopY, Paint paint) { argument
/frameworks/base/core/java/android/app/
H A DActivityOptions.java379 * defines the coordinate space for <var>startX</var> and <var>startY</var>.
381 * @param startY The y starting location of the activity, relative to <var>source</var>.
388 int startX, int startY, int width, int height) {
395 opts.mStartY = pts[1] + startY;
407 * defines the coordinate space for <var>startX</var> and <var>startY</var>.
409 * @param startY The y starting location of the activity, relative to <var>source</var>.
416 int startX, int startY, int width, int height) {
422 opts.mStartY = pts[1] + startY;
439 * defines the coordinate space for <var>startX</var> and <var>startY</var>.
443 * @param startY Th
387 makeScaleUpAnimation(View source, int startX, int startY, int width, int height) argument
415 makeClipRevealAnimation(View source, int startX, int startY, int width, int height) argument
447 makeThumbnailScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY) argument
470 makeThumbnailScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) argument
492 makeThumbnailScaleDownAnimation(View source, Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) argument
497 makeThumbnailAnimation(View source, Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener, boolean scaleUp) argument
531 makeThumbnailAspectScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, Handler handler, OnAnimationStartedListener listener) argument
557 makeThumbnailAspectScaleDownAnimation(View source, Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, Handler handler, OnAnimationStartedListener listener) argument
564 makeAspectScaledThumbnailAnimation(View source, Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, Handler handler, OnAnimationStartedListener listener, boolean scaleUp) argument
[all...]
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp201 const SkGlyph& glyph, uint32_t* startX, uint32_t* startY) {
203 if (cacheTextures[i]->fitBitmap(glyph, startX, startY)) {
253 uint32_t startY = 0; local
255 CacheTexture* cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY);
262 cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY);
274 *retOriginY = startY;
277 uint32_t endY = startY + glyph.fHeight;
298 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX
304 for (cacheY = startY, bY = 0; cacheY < endY; cacheY++, bY += srcStride) {
314 for (cacheY = startY, b
200 cacheBitmapInTexture(std::vector<CacheTexture*>& cacheTextures, const SkGlyph& glyph, uint32_t* startX, uint32_t* startY) argument
[all...]
/frameworks/rs/
H A DrsFont.cpp256 uint32_t startY = 0; local
260 glyph->mIsValid = state->cacheBitmap(bitmap, &startX, &startY);
267 uint32_t endY = startY + bitmap->rows;
270 glyph->mBitmapMinY = startY;
278 glyph->mBitmapMinV = (float)startY / (float)cacheHeight;
425 uint32_t startY = 0; local
429 bitmapFit = mCacheLines[i]->fitBitmap(bitmap, &startX, &startY);
441 bitmapFit = mCacheLines[i]->fitBitmap(bitmap, &startX, &startY);
455 *retOriginY = startY;
458 uint32_t endY = startY
[all...]

Completed in 771 milliseconds

12