/frameworks/base/core/java/android/transition/ |
D | ArcMotion.java | 180 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()
|
D | PatternPathMotion.java | 107 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()
|
D | Explode.java | 86 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()
|
D | ChangeScroll.java | 74 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()
|
D | TranslationAnimationCreator.java | 52 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()
|
D | Slide.java | 240 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()
|
D | PathMotion.java | 58 public abstract Path getPath(float startX, float startY, float endX, float endY); in getPath() argument
|
D | ChangeBounds.java | 443 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()
|
/frameworks/base/graphics/java/android/graphics/ |
D | RadialGradient.java | 139 float endX, float endY, @FloatRange(from = 0.0f, fromInclusive = false) float endRadius, in RadialGradient() argument 142 this(startX, startY, startRadius, endX, endY, endRadius, colors.clone(), stops, tileMode, in RadialGradient() 150 private RadialGradient(float startX, float startY, float startRadius, float endX, float endY, in RadialGradient() argument 168 mX = endX; in RadialGradient() 220 float startRadius, float endX, float endY, float endRadius, @ColorLong long[] colors, in nativeCreate() argument
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/ |
D | Interaction.java | 57 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/jni/ |
D | android_hardware_camera2_impl_CameraExtensionJpegProcessor.cpp | 185 int endX; in loadAt() local 187 mTransform.map(output_width - 1, y, &endX, &endY); in loadAt() 192 endX = min(endX, mPlane.width - 1); in loadAt() 196 endX = max(endX, 0); in loadAt() 202 int dx = sgn(endX - startX); in loadAt() 205 ALOGE("%s: Unexpected bounds: %dx%d %dx%d!", __FUNCTION__, startX, endX, startY, endY); in loadAt() 212 int plane_end = endX * mPlane.pixelStride + endY * mPlane.rowStride; in loadAt()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiDevice.java | 430 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/tests/coretests/src/android/view/ |
D | VelocityTest.java | 257 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, in drag() argument 259 drag(vt, startX, endX, startY, endY, steps, startime, duration, new LinearInterpolator()); in drag() 266 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, in drag() argument 270 int distX = endX - startX; in drag() 279 addMotionEvent(vt, endX, endY, startime + duration, MotionEvent.ACTION_UP); in drag()
|
/frameworks/base/core/java/com/android/internal/transition/ |
D | EpicenterTranslateClipReveal.java | 140 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/src/com/android/systemui/accessibility/floatingmenu/ |
D | AccessibilityFloatingMenuView.java | 296 final int endX = mCurrentLayoutParams.x > ((minX + maxX) / 2) in onInterceptTouchEvent() local 299 snapToLocation(endX, endY); in onInterceptTouchEvent() 523 private boolean hasExceededTouchSlop(int startX, int startY, int endX, int endY) { in hasExceededTouchSlop() argument 524 return (sq(endX - startX) + sq(endY - startY)) > mSquareScaledTouchSlop; in hasExceededTouchSlop() 665 void snapToLocation(int endX, int endY) { in snapToLocation() argument 668 mDragAnimator.addUpdateListener(anim -> onDragAnimationUpdate(anim, endX, endY)); in snapToLocation() 672 private void onDragAnimationUpdate(ValueAnimator animator, int endX, int endY) { in onDragAnimationUpdate() argument 674 final int newX = (int) (((1 - value) * mCurrentLayoutParams.x) + (value * endX)); in onDragAnimationUpdate()
|
/frameworks/base/core/java/android/animation/ |
D | PathKeyframes.java | 109 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/ |
D | GestureDescriptionTest.java | 273 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/ |
D | rsFont.cpp | 117 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/ |
D | Png.cpp | 851 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/ |
D | Images.cpp | 412 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/ |
D | TransformState.java | 370 float endX = transformRightEdge in transformViewTo() local 376 endX = mTransformationEndX; in transformViewTo() 385 endX, in transformViewTo() local
|
/frameworks/base/libs/hwui/canvas/ |
D | CanvasOps.h | 286 float endX; 291 canvas->drawLine(startX, startY, endX, endY, paint);
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/ |
D | StackAnimationController.java | 983 float endX = mStackPosition.x; in animateInBubble() local 987 ? endX - NEW_BUBBLE_START_Y in animateInBubble() 988 : endX + NEW_BUBBLE_START_Y; in animateInBubble() 1008 animator.translationX(endX); in animateInBubble()
|
/frameworks/base/libs/hwui/jni/ |
D | Shader.cpp | 147 jfloat endX, in RadialGradient_create() argument 159 end.set(endX, endY); in RadialGradient_create()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | CanvasOpTests.cpp | 180 .endX = 12, in TEST()
|