Searched defs:endX (Results 1 - 21 of 21) 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 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 DArcMotion.java180 public Path getPath(float startX, float startY, float endX, float endY) { argument
202 float deltaX = endX - startX;
209 float dx = (startX + endX) / 2;
228 ex = endX;
243 ex = endX - eDistX;
270 float control2X = (ex + endX) / 2;
272 path.cubicTo(control1X, control1Y, control2X, control2Y, endX, endY);
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
/frameworks/support/transition/src/android/support/transition/
H A DPathMotion.java51 * <code>(endX, endY)</code>. This allows controlled curved motion along two dimensions.
55 * @param endX The x coordinate of the ending point.
59 * {@link android.graphics.Path#moveTo(float, float)} and end at <code>(endX, endY)</code>.
61 public abstract Path getPath(float startX, float startY, float endX, float endY); argument
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 float dx = endX - startX;
H A DArcMotion.java180 public Path getPath(float startX, float startY, float endX, float endY) { argument
202 float deltaX = endX - startX;
209 float dx = (startX + endX) / 2;
228 ex = endX;
243 ex = endX - eDistX;
270 float control2X = (ex + endX) / 2;
272 path.cubicTo(control1X, control1Y, control2X, control2Y, endX, endY);
H A DTranslationAnimationCreator.java43 * @param endX The end translation x of view
46 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was
47 * a previous interruption, in which case it moves from the current position to (endX, endY).
50 float startX, float startY, float endX, float endY, TimeInterpolator interpolator) {
64 if (startX == endX && startY == endY) {
68 PropertyValuesHolder.ofFloat(View.TRANSLATION_X, startX, endX),
49 createAnimation(View view, TransitionValues values, int viewPosX, int viewPosY, float startX, float startY, float endX, float endY, TimeInterpolator interpolator) argument
/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
99 float c2x = (eX + endX) / 2;
103 path.cubicTo(c1x, c1y, c2x, c2y, endX, endY);
H A DTransitionInflaterTest.java222 public Path getPath(float startX, float startY, float endX, float endY) { 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
250 int distX = endX - startX;
259 addMotionEvent(vt, endX, endY, startime + duration, MotionEvent.ACTION_UP);
/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) {
283 swipePath.lineTo(endX, endY);
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/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/support/v17/leanback/api21/android/support/v17/leanback/transition/
H A DTranslationAnimationCreator.java38 * @param endX The end translation x of view
41 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was
42 * a previous interruption, in which case it moves from the current position to (endX, endY).
45 float startX, float startY, float endX, float endY, TimeInterpolator interpolator,
60 if (startX == endX && startY == endY) {
65 path.lineTo(endX, endY);
44 createAnimation(View view, TransitionValues values, int viewPosX, int viewPosY, float startX, float startY, float endX, float endY, TimeInterpolator interpolator, Transition transition) argument
/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/libs/hwui/font/
H A DFont.cpp448 uint32_t endX = startX + skiaGlyph.fWidth; local
463 glyph->mBitmapMaxU = endX / (float) cacheWidth;
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp273 uint32_t endX = startX + glyph.fWidth; local
303 for (uint32_t cacheX = startX, bX = 0; cacheX < endX; cacheX++, bX++) {
307 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0;
314 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0;
365 for (int8_t mask = 7; mask >= 0 && cacheX < endX; mask--) {
369 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.cpp117 uint32_t endX = glyph->mBitmapMinX + glyph->mBitmapWidth; local
126 for (cacheX = glyph->mBitmapMinX, bX = nPenX; cacheX < endX; cacheX++, bX++) {
265 uint32_t endX = startX + bitmap->width; local
278 glyph->mBitmapMaxU = (float)endX / (float)cacheWidth;
456 uint32_t endX = startX + bitmap->width; local
465 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.cpp850 static void findMaxOpacity(png_bytepp rows, int startX, int startY, int endX, argument
855 for (int x = startX, y = startY; x != endX && y != endY;
867 static uint8_t maxAlphaOverRow(png_bytep row, int startX, int endX) { argument
869 for (int x = startX; x < endX; x++) {
889 int endX = image->width - 2; local
896 findMaxOpacity(image->rows.data(), endX, midY, midX, -1, -1, 0,
916 int innerEndX = endX - image->outlineInsetsRight;

Completed in 3213 milliseconds