Searched refs:endX (Results 1 - 24 of 24) sorted by relevance

/frameworks/base/core/java/android/transition/
H A DPathMotion.java48 * <code>(endX, endY)</code>. This allows controlled curved motion along two dimensions.
52 * @param endX The x coordinate of the ending point.
56 * {@link android.graphics.Path#moveTo(float, float)} and end at <code>(endX, endY)</code>.
58 public abstract Path getPath(float startX, float startY, float endX, float endY); argument
H A DArcMotion.java180 public Path getPath(float startX, float startY, float endX, float endY) { argument
203 ex = (startX + endX) / 2;
204 ey = startY + mMinimumHorizontalTangent * Math.abs(endX - startX) / 2;
205 } else if (startX == endX) {
209 float deltaX = endX - startX;
215 float dx = (startX + endX) / 2;
236 ex = endX;
245 ex = endX - eDistX;
276 float controlX2 = (ex + endX) / 2;
278 path.cubicTo(controlX1, controlY1, controlX2, controlY2, endX, end
[all...]
H A DPatternPathMotion.java107 float endX = pos[0];
113 if (startX == endX && startY == endY) {
118 float dx = endX - startX;
130 public Path getPath(float startX, float startY, float endX, float endY) { argument
131 double dx = endX - startX;
H A DChangeScroll.java66 int endX = (Integer) endValues.values.get(PROPNAME_SCROLL_X);
71 if (startX != endX) {
73 scrollXAnimator = ObjectAnimator.ofInt(view, "scrollX", startX, endX);
H A DExplode.java86 float endX = view.getTranslationX();
89 float startX = endX + mTempLoc[0];
93 startX, startY, endX, endY, sDecelerate, this);
107 float endX = startX;
113 endX += interruptedPosition[0] - bounds.left;
118 endX += mTempLoc[0];
122 viewPosX, viewPosY, startX, startY, endX, endY, sAccelerate, this);
H A DTranslationAnimationCreator.java45 * @param endX The end translation x of view
48 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was
49 * a previous interruption, in which case it moves from the current position to (endX, endY).
52 float startX, float startY, float endX, float endY, TimeInterpolator interpolator,
67 if (startX == endX && startY == endY) {
72 path.lineTo(endX, endY);
51 createAnimation(View view, TransitionValues values, int viewPosX, int viewPosY, float startX, float startY, float endX, float endY, TimeInterpolator interpolator, Transition transition) argument
H A DSlide.java239 float endX = view.getTranslationX();
245 startX, startY, endX, endY, sDecelerate, this);
257 float endX = mSlideCalculator.getGoneX(sceneRoot, view, mSlideFraction);
261 startX, startY, endX, endY, sAccelerate, this);
H A DChangeBounds.java438 int endX = (Integer) endValues.values.get(PROPNAME_WINDOW_X) - tempLocation[0];
441 if (startX != endX || startY != endY) {
452 Path topLeftPath = getPathMotion().getPath(startX, startY, endX, endY);
H A DTransition.java168 public Path getPath(float startX, float startY, float endX, float endY) {
171 path.lineTo(endX, endY);
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/
H A DTranslationAnimationCreator.java33 * @param endX The end translation x of view
36 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was
37 * a previous interruption, in which case it moves from the current position to (endX, endY).
40 float startX, float startY, float endX, float endY, TimeInterpolator interpolator,
55 if (startX == endX && startY == endY) {
60 path.lineTo(endX, endY);
39 createAnimation(View view, TransitionValues values, int viewPosX, int viewPosY, float startX, float startY, float endX, float endY, TimeInterpolator interpolator, Transition transition) argument
H A DFadeAndShortSlide.java226 float endX = view.getTranslationX();
231 left, top, startX, startY, endX, endY, sDecelerate, this);
258 float endX = mSlideCalculator.getGoneX(this, sceneRoot, view, position);
262 startValues, left, top, startX, startY, endX, endY, sDecelerate /* sAccelerate */,
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DFreePathInterpolator.java167 float endX = mX[endIndex];
168 return startX + (fraction * (endX - startX));
/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
250 int distX = endX - startX;
259 addMotionEvent(vt, endX, endY, startime + duration, MotionEvent.ACTION_UP);
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiDevice.java424 * @param endX
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);
444 * @param endX X-axis value for the ending 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/com/android/internal/transition/
H A DEpicenterTranslateClipReveal.java140 final float endX = (float) endValues.values.get(PROPNAME_TRANSLATE_X);
151 final State endStateX = new State(endClip.left, endClip.right, endX);
168 final float endX = endBounds.centerX() - startBounds.centerX();
183 final State endStateX = new State(endClip.left, endClip.right, endX);
211 float startZ, State endX, State endY, float endZ, TransitionValues endValues,
222 final ObjectAnimator animX = ObjectAnimator.ofObject(view, propX, evaluator, startX, endX);
210 createRectAnimator(final View view, State startX, State startY, float startZ, State endX, State endY, float endZ, TransitionValues endValues, TimeInterpolator interpolatorX, TimeInterpolator interpolatorY, TimeInterpolator interpolatorZ) argument
/frameworks/base/core/java/android/animation/
H A DPathKeyframes.java109 float endX = mKeyframeData[endBase + X_OFFSET];
113 float x = interpolate(intervalFraction, startX, endX);
/frameworks/base/core/java/com/android/internal/widget/
H A DRotarySelector.java615 private void startAnimation(int startX, int endX, int duration) { argument
620 mAnimatingDeltaXEnd = endX;
626 private void startAnimationWithVelocity(int startX, int endX, int pixelsPerSecond) { argument
629 mAnimationDuration = 1000 * (endX - startX) / pixelsPerSecond;
631 mAnimatingDeltaXEnd = endX;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DTransformState.java265 float endX = otherStablePosition[0] - ownPosition[0];
268 endX = mTransformationEndX;
271 endX,
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp276 uint32_t endX = startX + glyph.fWidth; local
307 for (cacheX = startX, bX = 0; cacheX < endX; cacheX++, bX++) {
311 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0;
318 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0;
369 for (int8_t mask = 7; mask >= 0 && cacheX < endX; mask--) {
373 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0;
H A DSpotShadow.cpp292 float endX = poly[i].x; local
296 && (testx < (startX - endX) * (testy - endY)
297 / (startY - endY) + endX)) {
/frameworks/rs/
H A DrsFont.cpp118 uint32_t endX = glyph->mBitmapMinX + glyph->mBitmapWidth; local
127 for (cacheX = glyph->mBitmapMinX, bX = nPenX; cacheX < endX; cacheX++, bX++) {
266 uint32_t endX = startX + bitmap->width; local
279 glyph->mBitmapMaxU = (float)endX / (float)cacheWidth;
457 uint32_t endX = startX + bitmap->width; local
466 for (cacheX = startX, bX = 0; cacheX < endX; cacheX ++, bX ++) {
/frameworks/base/tools/aapt/
H A DImages.cpp412 int startX, int startY, int endX, int endY, int dX, int dY,
418 for (int x = startX, y = startY; x != endX && y != endY; x += dX, y += dY, inset++) {
429 static uint8_t max_alpha_over_row(png_byte* row, int startX, int endX) argument
432 for (int x = startX; x < endX; x++) {
453 int endX = image->width - 2; local
459 find_max_opacity(image->rows, endX, midY, midX, -1, -1, 0, &image->outlineInsetsRight);
476 int innerEndX = endX - image->outlineInsetsRight;
411 find_max_opacity(png_byte** rows, int startX, int startY, int endX, int endY, int dX, int dY, int* out_inset) argument
/frameworks/base/tools/aapt2/compile/
H A DPng.cpp816 static void findMaxOpacity(png_bytepp rows, int startX, int startY, int endX, int endY, argument
821 for (int x = startX, y = startY; x != endX && y != endY; x += dX, y += dY, inset++) {
832 static uint8_t maxAlphaOverRow(png_bytep row, int startX, int endX) { argument
834 for (int x = startX; x < endX; x++) {
853 int endX = image->width - 2; local
859 findMaxOpacity(image->rows.data(), endX, midY, midX, -1, -1, 0,
878 int innerEndX = endX - image->outlineInsetsRight;
/frameworks/base/libs/hwui/font/
H A DFont.cpp442 uint32_t endX = startX + skiaGlyph.fWidth; local
457 glyph->mBitmapMaxU = endX / (float) cacheWidth;

Completed in 9426 milliseconds