Searched defs:startY (Results 1 - 25 of 46) 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);
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...]
/frameworks/base/libs/hwui/font/
H A DFontCacheHistoryTracker.h43 uint16_t startY; member in struct:android::uirenderer::FontCacheHistoryTracker::CachedGlyph
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;
436 uint32_t startY = 0; local
442 mState->cacheBitmap(skiaGlyph, glyph, &startX, &startY, precaching);
449 uint32_t endY = startY + skiaGlyph.fHeight;
452 glyph->mStartY = startY;
462 glyph->mBitmapMinV = startY / (float) cacheHeight;
/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...]
/frameworks/support/transition/tests/src/android/support/transition/
H A DArcMotionTest.java95 private static Path arcWithPoint(float startX, float startY, float endX, float endY, argument
98 float c1y = (eY + startY) / 2;
102 path.moveTo(startX, startY);
H A DTransitionInflaterTest.java222 public Path getPath(float startX, float startY, float endX, float endY) { argument
/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/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/base/libs/hwui/
H A DInterpolator.cpp119 float startY = mY[startIndex]; local
121 return startY + (fraction * (endY - startY));
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DGestureDescriptionTest.java273 float startX, float startY, float endX, float endY, long duration) {
275 swipeBuilder.addStroke(createSwipeStroke(startX, startY, endX, endY, 0, duration));
280 float startX, float startY, float endX, float endY, long startTime, long endTime) {
282 swipePath.moveTo(startX, startY);
272 createSwipe( float startX, float startY, float endX, float endY, long duration) argument
279 createSwipeStroke( float startX, float startY, float endX, float endY, long startTime, long endTime) argument
/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/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/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/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/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...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskPositioner.java356 float startY) {
360 + startY + "}");
369 startDrag(resize, preserveOrientation, startX, startY, mTmpRect);
374 float startX, float startY, Rect startBounds) {
377 mStartDragY = startY;
387 if (startY < startBounds.top) {
390 if (startY > startBounds.bottom) {
355 startDrag(WindowState win, boolean resize, boolean preserveOrientation, float startX, float startY) argument
373 startDrag(boolean resize, boolean preserveOrientation, float startX, float startY, Rect startBounds) argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindowSession.java147 public boolean startMovingTask(IWindow window, float startX, float startY) argument

Completed in 742 milliseconds

12