Searched refs:startX (Results 1 - 25 of 68) sorted by relevance

123

/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/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 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...]
H A DChangeScroll.java73 int startX = (Integer) startValues.values.get(PROPNAME_SCROLL_X);
79 if (startX != endX) {
80 view.setScrollX(startX);
81 scrollXAnimator = ObjectAnimator.ofInt(view, "scrollX", startX, endX);
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 DExplode.java89 float startX = endX + mTempLoc[0];
93 startX, startY, endX, endY, sDecelerate, this);
105 float startX = view.getTranslationX();
107 float endX = startX;
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
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 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...]
H A DChangeScroll.java78 int startX = (Integer) startValues.values.get(PROPNAME_SCROLL_X);
84 if (startX != endX) {
85 view.setScrollX(startX);
86 scrollXAnimator = ObjectAnimator.ofInt(view, "scrollX", startX, endX);
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 DExplode.java90 float startX = endX + mTempLoc[0];
94 startX, startY, endX, endY, sDecelerate);
106 float startX = view.getTranslationX();
108 float endX = startX;
123 viewPosX, viewPosY, startX, startY, endX, endY, sAccelerate);
/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/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/base/libs/hwui/font/
H A DFontCacheHistoryTracker.cpp27 glyph.startX, glyph.startY, glyph.bitmapW, glyph.bitmapH, glyph.generation);
67 entry.glyph.startX = glyphInfo->mStartX;
80 glyph.startX = x;
90 glyph.startX = 0;
H A DFontCacheHistoryTracker.h42 uint16_t startX; member in struct:android::uirenderer::FontCacheHistoryTracker::CachedGlyph
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DFreePathInterpolator.java166 float startX = mX[startIndex];
168 return startX + (fraction * (endX - startX));
/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.java226 int startX = 0;
230 startX = offsetInWindow[0];
239 offsetInWindow[0] -= startX;
284 int startX = 0;
288 startX = offsetInWindow[0];
304 offsetInWindow[0] -= startX;
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp198 const SkGlyph& glyph, uint32_t* startX, uint32_t* startY) {
200 if (cacheTextures[i]->fitBitmap(glyph, startX, startY)) {
249 uint32_t startX = 0; local
252 CacheTexture* cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY);
259 cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY);
270 *retOriginX = startX;
273 uint32_t endX = startX + glyph.fWidth;
294 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX
302 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0;
303 for (uint32_t cacheX = startX, b
197 cacheBitmapInTexture(std::vector<CacheTexture*>& cacheTextures, const SkGlyph& glyph, uint32_t* startX, uint32_t* startY) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DOverScroller.java348 * @param startX Starting horizontal scroll offset in pixels. Positive
357 public void startScroll(int startX, int startY, int dx, int dy) { argument
358 startScroll(startX, startY, dx, dy, DEFAULT_DURATION);
364 * @param startX Starting horizontal scroll offset in pixels. Positive
374 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument
376 mScrollerX.startScroll(startX, dx, duration);
383 * @param startX Starting X 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
396 final boolean spingbackX = mScrollerX.springback(startX, 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
464 notifyHorizontalEdgeReached(int startX, int finalX, int overX) argument
[all...]
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/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/core/java/android/view/
H A DIWindowManager.aidl96 void overridePendingAppTransitionScaleUp(int startX, int startY, int startWidth,
98 void overridePendingAppTransitionClipReveal(int startX, int startY,
100 void overridePendingAppTransitionThumb(in GraphicBuffer srcThumb, int startX, int startY,
102 void overridePendingAppTransitionAspectScaledThumb(in GraphicBuffer srcThumb, int startX,

Completed in 396 milliseconds

123