Home
last modified time | relevance | path

Searched refs:endX (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/java/android/transition/
DArcMotion.java180 public Path getPath(float startX, float startY, float endX, float endY) { in getPath() argument
202 float deltaX = endX - startX; in getPath()
209 float dx = (startX + endX) / 2; in getPath()
234 ex = endX; in getPath()
249 ex = endX - eDistX; in getPath()
276 float control2X = (ex + endX) / 2; in getPath()
278 path.cubicTo(control1X, control1Y, control2X, control2Y, endX, endY); in getPath()
DPatternPathMotion.java107 float endX = pos[0]; in setPatternPath() local
113 if (startX == endX && startY == endY) { in setPatternPath()
118 float dx = endX - startX; in setPatternPath()
130 public Path getPath(float startX, float startY, float endX, float endY) { in getPath() argument
131 double dx = endX - startX; in getPath()
DExplode.java86 float endX = view.getTranslationX(); in onAppear() local
89 float startX = endX + mTempLoc[0]; in onAppear()
93 startX, startY, endX, endY, sDecelerate, this); in onAppear()
107 float endX = startX; in onDisappear() local
113 endX += interruptedPosition[0] - bounds.left; in onDisappear()
118 endX += mTempLoc[0]; in onDisappear()
122 viewPosX, viewPosY, startX, startY, endX, endY, sAccelerate, this); in onDisappear()
DChangeScroll.java74 int endX = (Integer) endValues.values.get(PROPNAME_SCROLL_X); in createAnimator() local
79 if (startX != endX) { in createAnimator()
81 scrollXAnimator = ObjectAnimator.ofInt(view, "scrollX", startX, endX); in createAnimator()
DTranslationAnimationCreator.java52 float startX, float startY, float endX, float endY, TimeInterpolator interpolator, in createAnimation() argument
67 if (startX == endX && startY == endY) { in createAnimation()
72 path.lineTo(endX, endY); in createAnimation()
DSlide.java240 float endX = view.getTranslationX(); in onAppear() local
246 startX, startY, endX, endY, sDecelerate, this); in onAppear()
258 float endX = mSlideCalculator.getGoneX(sceneRoot, view, mSlideFraction); in onDisappear() local
262 startX, startY, endX, endY, sAccelerate, this); in onDisappear()
DPathMotion.java58 public abstract Path getPath(float startX, float startY, float endX, float endY); in getPath() argument
DChangeBounds.java443 int endX = (Integer) endValues.values.get(PROPNAME_WINDOW_X) - tempLocation[0]; in createAnimator() local
446 if (startX != endX || startY != endY) { in createAnimator()
457 Path topLeftPath = getPathMotion().getPath(startX, startY, endX, endY); in createAnimator()
DTransition.java169 public Path getPath(float startX, float startY, float endX, float endY) {
172 path.lineTo(endX, endY);
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
DInteraction.java57 float endX, float endY, long duration) { in newFling() argument
58 return new Interaction(Interaction.Type.FLING, new float[]{startX, endX}, in newFling()
120 float endX = xPos[i]; in createInterpolatedEventList() local
122 float stepX = (endX - startX) / STEP_COUNT; in createInterpolatedEventList()
135 startX = endX; in createInterpolatedEventList()
/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java238 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, in drag() argument
240 drag(vt, startX, endX, startY, endY, steps, startime, duration, new LinearInterpolator()); in drag()
247 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, in drag() argument
251 int distX = endX - startX; in drag()
260 addMotionEvent(vt, endX, endY, startime + duration, MotionEvent.ACTION_UP); in drag()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiDevice.java430 public boolean swipe(int startX, int startY, int endX, int endY, int steps) { in swipe() argument
431 Tracer.trace(startX, startY, endX, endY, steps); in swipe()
433 .swipe(startX, startY, endX, endY, steps); in swipe()
451 public boolean drag(int startX, int startY, int endX, int endY, int steps) { in drag() argument
452 Tracer.trace(startX, startY, endX, endY, steps); in drag()
454 .swipe(startX, startY, endX, endY, steps, true); in drag()
/frameworks/base/core/java/com/android/internal/transition/
DEpicenterTranslateClipReveal.java140 final float endX = (float) endValues.values.get(PROPNAME_TRANSLATE_X); in onAppear() local
151 final State endStateX = new State(endClip.left, endClip.right, endX); in onAppear()
168 final float endX = endBounds.centerX() - startBounds.centerX(); in onDisappear() local
183 final State endStateX = new State(endClip.left, endClip.right, endX); in onDisappear()
211 float startZ, State endX, State endY, float endZ, TransitionValues endValues, in createRectAnimator() argument
222 final ObjectAnimator animX = ObjectAnimator.ofObject(view, propX, evaluator, startX, endX); in createRectAnimator()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/misc/
DFreePathInterpolator.java167 float endX = mX[endIndex]; in getX() local
168 return startX + (fraction * (endX - startX)); in getX()
/frameworks/base/core/java/android/animation/
DPathKeyframes.java109 float endX = mKeyframeData[endBase + X_OFFSET]; in interpolateInRange() local
113 float x = interpolate(intervalFraction, startX, endX); in interpolateInRange()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DGestureDescriptionTest.java273 float startX, float startY, float endX, float endY, long duration) { in createSwipe() argument
275 swipeBuilder.addStroke(createSwipeStroke(startX, startY, endX, endY, 0, duration)); in createSwipe()
280 float startX, float startY, float endX, float endY, long startTime, long endTime) { in createSwipeStroke() argument
283 swipePath.lineTo(endX, endY); in createSwipeStroke()
/frameworks/rs/
DrsFont.cpp117 uint32_t endX = glyph->mBitmapMinX + glyph->mBitmapWidth; in drawCachedGlyph() local
126 for (cacheX = glyph->mBitmapMinX, bX = nPenX; cacheX < endX; cacheX++, bX++) { in drawCachedGlyph()
265 uint32_t endX = startX + bitmap->width; in updateGlyphCache() local
278 glyph->mBitmapMaxU = (float)endX / (float)cacheWidth; in updateGlyphCache()
456 uint32_t endX = startX + bitmap->width; in cacheBitmap() local
465 for (cacheX = startX, bX = 0; cacheX < endX; cacheX ++, bX ++) { in cacheBitmap()
/frameworks/base/tools/aapt2/compile/
DPng.cpp851 static void findMaxOpacity(png_bytepp rows, int startX, int startY, int endX, in findMaxOpacity() argument
856 for (int x = startX, y = startY; x != endX && y != endY; in findMaxOpacity()
868 static uint8_t maxAlphaOverRow(png_bytep row, int startX, int endX) { in maxAlphaOverRow() argument
870 for (int x = startX; x < endX; x++) { in maxAlphaOverRow()
890 int endX = image->width - 2; in getOutline() local
897 findMaxOpacity(image->rows.data(), endX, midY, midX, -1, -1, 0, in getOutline()
917 int innerEndX = endX - image->outlineInsetsRight; in getOutline()
/frameworks/base/tools/aapt/
DImages.cpp412 int startX, int startY, int endX, int endY, int dX, int dY, in find_max_opacity() argument
418 for (int x = startX, y = startY; x != endX && y != endY; x += dX, y += dY, inset++) { in find_max_opacity()
429 static uint8_t max_alpha_over_row(png_byte* row, int startX, int endX) in max_alpha_over_row() argument
432 for (int x = startX; x < endX; x++) { in max_alpha_over_row()
453 int endX = image->width - 2; in get_outline() local
459 find_max_opacity(image->rows, endX, midY, midX, -1, -1, 0, &image->outlineInsetsRight); in get_outline()
476 int innerEndX = endX - image->outlineInsetsRight; in get_outline()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DTransformState.java339 float endX = otherStablePosition[0] - ownPosition[0]; in transformViewTo() local
343 endX = mTransformationEndX; in transformViewTo()
352 endX, in transformViewTo() local
/frameworks/base/non-updatable-api/
Dcurrent.txt568 field public static final int endX = 16844050; // 0x1010512
/frameworks/base/api/
Dcurrent.txt568 field public static final int endX = 16844050; // 0x1010512
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt90189 Lcom/android/internal/R$attr;->endX:I