Searched defs:startX (Results 1 - 25 of 45) 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
50 * @param startX The x 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.java110 float startX = pos[0];
113 if (startX == endX && startY == endY) {
117 mTempMatrix.setTranslate(-startX, -startY);
118 float dx = endX - startX;
130 public Path getPath(float startX, float startY, float endX, float endY) { argument
131 double dx = endX - startX;
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 float deltaX = endX - startX;
209 float dx = (startX + endX) / 2;
231 ex = startX;
240 ex = startX + eDistX;
268 float control1X = (startX + ex) / 2;
H A DTranslationAnimationCreator.java43 * @param startX The start translation x 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,
58 startX = startPosition[0] - viewPosX + terminalX;
61 // Initial position is at translation startX, startY, so position is offset by that amount
62 int startPosX = viewPosX + Math.round(startX - terminalX);
65 view.setTranslationX(startX);
67 if (startX == endX && startY == endY) {
71 path.moveTo(startX, startY);
99 int startX, in
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.h42 uint16_t startX; member in struct:android::uirenderer::FontCacheHistoryTracker::CachedGlyph
H A DFont.cpp435 uint32_t startX = 0; local
442 mState->cacheBitmap(skiaGlyph, glyph, &startX, &startY, precaching);
448 uint32_t endX = startX + skiaGlyph.fWidth;
451 glyph->mStartX = startX;
461 glyph->mBitmapMinU = startX / (float) cacheWidth;
/frameworks/support/transition/src/android/support/transition/
H A DPathMotion.java50 * Provide a Path to interpolate between two points <code>(startX, startY)</code> and
53 * @param startX The x 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.java110 float startX = pos[0];
113 if (startX == endX && startY == endY) {
117 mTempMatrix.setTranslate(-startX, -startY);
118 float dx = endX - startX;
130 public Path getPath(float startX, float startY, float endX, float endY) { argument
131 float dx = endX - startX;
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 float deltaX = endX - startX;
209 float dx = (startX + endX) / 2;
231 ex = startX;
240 ex = startX + eDistX;
268 float control1X = (startX + ex) / 2;
H A DTranslationAnimationCreator.java41 * @param startX The start translation x 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) {
55 startX = startPosition[0] - viewPosX + terminalX;
58 // Initial position is at translation startX, startY, so position is offset by that amount
59 int startPosX = viewPosX + Math.round(startX - terminalX);
62 view.setTranslationX(startX);
64 if (startX == endX && startY == endY) {
68 PropertyValuesHolder.ofFloat(View.TRANSLATION_X, startX, endX),
92 int startX, in
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
97 float c1x = (eX + startX) / 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);
250 int distX = endX - startX;
254 int x = (int) (startX + distX * ii);
/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.java150 * @param startX Starting horizontal scroll offset in pixels. Positive
162 public void startScroll(int startX, int startY, int dx, int dy) { argument
163 mScroller.startScroll(startX, startY, dx, dy);
169 * @param startX Starting horizontal scroll offset in pixels. Positive
182 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument
183 mScroller.startScroll(startX, startY, dx, dy, duration);
190 * @param startX Starting point of the scroll (X)
208 public void fling(int startX, int startY, int velocityX, int velocityY, argument
210 mScroller.fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY);
217 * @param startX 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
293 notifyHorizontalEdgeReached(int startX, int finalX, int overX) argument
[all...]
/frameworks/base/core/java/com/android/internal/transition/
H A DEpicenterTranslateClipReveal.java131 final float startX = startBounds.centerX() - endBounds.centerX();
136 view.setTranslationX(startX);
150 final State startStateX = new State(startClip.left, startClip.right, startX);
172 final float startX = (float) endValues.values.get(PROPNAME_TRANSLATE_X);
182 final State startStateX = new State(startClip.left, startClip.right, startX);
210 private static Animator createRectAnimator(final View view, State startX, State startY, argument
222 final ObjectAnimator animX = ObjectAnimator.ofObject(view, propX, evaluator, startX, endX);
/frameworks/support/compat/java/android/support/v4/app/
H A DActivityOptionsCompat.java82 * defines the coordinate space for startX and startY.
83 * @param startX The x starting location of the new activity, relative to
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>.
107 * @param startX The x starting location of the new 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.
137 * @param startX 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.java36 * @param startX The start translation x 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,
51 startX = startPosition[0] - viewPosX + terminalX;
54 // Initial position is at translation startX, startY, so position is offset by that amount
55 int startPosX = viewPosX + Math.round(startX - terminalX);
58 view.setTranslationX(startX);
60 if (startX == endX && startY == endY) {
64 path.moveTo(startX, startY);
92 int startX, in
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
251 mStartX = startX;
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiDevice.java422 * @param startX
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);
442 * @param startX X-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.java359 * @param startX Starting horizontal scroll offset in pixels. Positive
368 public void startScroll(int startX, int startY, int dx, int dy) { argument
369 startScroll(startX, startY, dx, dy, DEFAULT_DURATION);
376 * @param startX Starting horizontal scroll offset in pixels. Positive
386 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument
391 mStartX = startX;
393 mFinalX = startX + dx;
404 * @param startX Starting point of the scroll (X)
419 public void fling(int startX, int startY, int velocityX, int velocityY, argument
449 mStartX = startX;
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskPositioner.java355 void startDrag(WindowState win, boolean resize, boolean preserveOrientation, float startX, argument
359 + ", preserveOrientation=" + preserveOrientation + ", {" + startX + ", "
369 startDrag(resize, preserveOrientation, startX, startY, mTmpRect);
374 float startX, float startY, Rect startBounds) {
376 mStartDragX = startX;
381 if (startX < startBounds.left) {
384 if (startX > startBounds.right) {
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
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java146 public void drawLine(float startX, float startY, float stopX, float stopY, Paint paint) { argument

Completed in 548 milliseconds

12