Searched defs:endX (Results 1 - 15 of 15) 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.java108 float endX = pos[0];
114 if (startX == endX && startY == endY) {
119 float dx = endX - startX;
131 public Path getPath(float startX, float startY, float endX, float endY) { argument
132 double dx = endX - startX;
H A DArcMotion.java181 public Path getPath(float startX, float startY, float endX, float endY) { argument
204 ex = (startX + endX) / 2;
205 ey = startY + mMinimumHorizontalTangent * Math.abs(endX - startX) / 2;
206 } else if (startX == endX) {
210 float deltaX = endX - startX;
216 float dx = (startX + endX) / 2;
232 ex = endX;
239 ex = endX + eDistX;
266 float controlX2 = (ex + endX) / 2;
268 path.cubicTo(controlX1, controlY1, controlX2, controlY2, endX, end
[all...]
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/base/core/tests/coretests/src/android/view/
H A DVelocityTest.java232 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, argument
234 drag(vt, startX, endX, startY, endY, steps, startime, duration, new LinearInterpolator());
241 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, argument
245 int distX = endX - startX;
254 addMotionEvent(vt, endX, endY, startime + duration, MotionEvent.ACTION_UP);
/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/preference-leanback/api21/android/support/v17/preference/
H A DLeanbackPreferenceFragmentTransitionHelperApi21.java148 float endX = view.getTranslationX();
152 startX, endX, sDecelerate, this);
168 float endX = mSlideCalculator.getGoneX(sceneRoot, view);
171 startX, endX, sDecelerate /*sAccelerate*/, this);
215 * @param endX The end translation x of view
217 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was
219 * (endX, endY).
222 float startX, float endX, TimeInterpolator interpolator,
234 if (startX == endX) {
239 path.lineTo(endX,
221 createAnimation(View view, TransitionValues values, int viewPosX, float startX, float endX, TimeInterpolator interpolator, Transition transition) argument
[all...]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiDevice.java421 * @param endX
427 public boolean swipe(int startX, int startY, int endX, int endY, int steps) { argument
428 Tracer.trace(startX, startY, endX, endY, steps);
430 .swipe(startX, startY, endX, endY, steps);
441 * @param endX X-axis value for the ending coordinate
448 public boolean drag(int startX, int startY, int endX, int endY, int steps) { argument
449 Tracer.trace(startX, startY, endX, endY, steps);
451 .swipe(startX, startY, endX, endY, steps, true);
/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/libs/hwui/font/
H A DFont.cpp452 uint32_t endX = startX + skiaGlyph.fWidth; local
467 glyph->mBitmapMaxU = endX / (float) cacheWidth;
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp270 uint32_t endX = startX + glyph.fWidth; local
301 for (cacheX = startX, bX = 0; cacheX < endX; cacheX++, bX++) {
305 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0;
312 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0;
363 for (int8_t mask = 7; mask >= 0 && cacheX < endX; mask--) {
367 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0;
H A DSpotShadow.cpp294 float endX = poly[i].x; local
298 && (testx < (startX - endX) * (testy - endY)
299 / (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/
H A DPng.cpp818 static void findMaxOpacity(png_bytepp rows, int startX, int startY, int endX, int endY, argument
823 for (int x = startX, y = startY; x != endX && y != endY; x += dX, y += dY, inset++) {
834 static uint8_t maxAlphaOverRow(png_bytep row, int startX, int endX) { argument
836 for (int x = startX; x < endX; x++) {
855 int endX = image->width - 2; local
861 findMaxOpacity(image->rows.data(), endX, midY, midX, -1, -1, 0,
880 int innerEndX = endX - image->outlineInsetsRight;

Completed in 334 milliseconds