Home
last modified time | relevance | path

Searched refs:endY (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/java/android/transition/
DArcMotion.java180 public Path getPath(float startX, float startY, float endX, float endY) { in getPath() argument
203 float deltaY = endY - startY; in getPath()
210 float dy = (startY + endY) / 2; in getPath()
217 boolean isMovingUpwards = startY > endY; in getPath()
233 ey = endY + eDistY; in getPath()
250 ey = endY; in getPath()
277 float control2Y = (ey + endY) / 2; in getPath()
278 path.cubicTo(control1X, control1Y, control2X, control2Y, endX, endY); in getPath()
DPatternPathMotion.java108 float endY = pos[1]; in setPatternPath() local
113 if (startX == endX && startY == endY) { in setPatternPath()
119 float dy = endY - startY; in setPatternPath()
130 public Path getPath(float startX, float startY, float endX, float endY) { in getPath() argument
132 double dy = endY - startY; in getPath()
DExplode.java87 float endY = view.getTranslationY(); in onAppear() local
90 float startY = endY + mTempLoc[1]; in onAppear()
93 startX, startY, endX, endY, sDecelerate, this); in onAppear()
108 float endY = startY; in onDisappear() local
114 endY += interruptedPosition[1] - bounds.top; in onDisappear()
119 endY += mTempLoc[1]; in onDisappear()
122 viewPosX, viewPosY, startX, startY, endX, endY, sAccelerate, this); in onDisappear()
DChangeScroll.java76 int endY = (Integer) endValues.values.get(PROPNAME_SCROLL_Y); in createAnimator() local
83 if (startY != endY) { in createAnimator()
85 scrollYAnimator = ObjectAnimator.ofInt(view, "scrollY", startY, endY); 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.java241 float endY = view.getTranslationY(); in onAppear() local
246 startX, startY, endX, endY, sDecelerate, this); in onAppear()
259 float endY = mSlideCalculator.getGoneY(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.java444 int endY = (Integer) endValues.values.get(PROPNAME_WINDOW_Y) - tempLocation[1]; 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
59 new float[]{startY, endY}, duration); in newFling()
121 float endY = yPos[i]; in createInterpolatedEventList() local
123 float stepY = (endY - startY) / STEP_COUNT; in createInterpolatedEventList()
136 startY = endY; 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
252 int distY = endY - startY; 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.java141 final float endY = (float) endValues.values.get(PROPNAME_TRANSLATE_Y); in onAppear() local
153 final State endStateY = new State(endClip.top, endClip.bottom, endY); in onAppear()
169 final float endY = endBounds.centerY() - startBounds.centerY(); in onDisappear() local
185 final State endStateY = new State(endClip.top, endClip.bottom, endY); in onDisappear()
211 float startZ, State endX, State endY, float endZ, TransitionValues endValues, in createRectAnimator() argument
228 final ObjectAnimator animY = ObjectAnimator.ofObject(view, propY, evaluator, startY, endY); in createRectAnimator()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/misc/
DFreePathInterpolator.java128 float endY = mY[endIndex]; in getInterpolation() local
129 return startY + (fraction * (endY - startY)); in getInterpolation()
/frameworks/base/libs/hwui/
DInterpolator.cpp126 float endY = mY[endIndex]; in interpolate() local
127 return startY + (fraction * (endY - startY)); in interpolate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPathInterpolatorBuilder.java148 float endY = mY[endIndex]; in getInterpolation() local
149 return startY + (fraction * (endY - startY)); in getInterpolation()
/frameworks/base/core/java/android/animation/
DPathKeyframes.java111 float endY = mKeyframeData[endBase + Y_OFFSET]; in interpolateInRange() local
114 float y = interpolate(intervalFraction, startY, endY); in interpolateInRange()
/frameworks/base/core/java/android/view/animation/
DPathInterpolator.java233 float endY = mY[endIndex]; in getInterpolation() local
234 return startY + (fraction * (endY - startY)); in getInterpolation()
/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.cpp118 uint32_t endY = glyph->mBitmapMinY + glyph->mBitmapHeight; in drawCachedGlyph() local
127 for (cacheY = glyph->mBitmapMinY, bY = nPenY; cacheY < endY; cacheY++, bY++) { in drawCachedGlyph()
266 uint32_t endY = startY + bitmap->rows; in updateGlyphCache() local
279 glyph->mBitmapMaxV = (float)endY / (float)cacheHeight; in updateGlyphCache()
457 uint32_t endY = startY + bitmap->rows; in cacheBitmap() local
466 for (cacheY = startY, bY = 0; cacheY < endY; cacheY ++, bY ++) { in cacheBitmap()
/frameworks/base/tools/aapt2/compile/
DPng.cpp852 int endY, int dX, int dY, int* outInset) { in findMaxOpacity() argument
856 for (int x = startX, y = startY; x != endX && y != endY; in findMaxOpacity()
878 int endY) { in maxAlphaOverCol() argument
880 for (int y = startY; y < endY; y++) { in maxAlphaOverCol()
891 int endY = image->height - 2; in getOutline() local
908 findMaxOpacity(image->rows.data(), midX, endY, -1, midY, 0, -1, in getOutline()
918 int innerEndY = endY - image->outlineInsetsBottom; 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()
439 static uint8_t max_alpha_over_col(png_byte** rows, int offsetX, int startY, int endY) in max_alpha_over_col() argument
442 for (int y = startY; y < endY; y++) { in max_alpha_over_col()
454 int endY = image->height - 2; in get_outline() local
468 find_max_opacity(image->rows, midX, endY, -1, midY, 0, -1, &image->outlineInsetsBottom); in get_outline()
477 int innerEndY = endY - image->outlineInsetsBottom; in get_outline()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DTransformState.java356 float endY = otherStablePosition[1] - ownPosition[1]; in transformViewTo() local
360 endY = mTransformationEndY; in transformViewTo()
369 endY, in transformViewTo() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationTemplateViewWrapper.java97 float endY = getTransformationY(ownState, otherState); in NotificationTemplateViewWrapper()
98 ownState.setTransformationEndY(endY); in NotificationTemplateViewWrapper()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java395 float endY = view.getTranslationY() + view.getActualHeight();
397 if (endY < otherEndY) {
399 } else if (endY > otherEndY) {

12