/frameworks/base/graphics/java/android/graphics/ |
H A D | LayerRasterizer.java | 31 public void addLayer(Paint paint, float dx, float dy) { } argument
|
H A D | Path.java | 351 * @param dx The amount to add to the x-coordinate of the end of the 356 public void rMoveTo(float dx, float dy) { argument 357 nRMoveTo(mNativePath, dx, dy); 378 * @param dx The amount to add to the x-coordinate of the previous point on 383 public void rLineTo(float dx, float dy) { argument 385 nRLineTo(mNativePath, dx, dy); 678 * Add a copy of src to the path, offset by (dx,dy) 681 * @param dx The amount to translate the path in X as it is added 683 public void addPath(Path src, float dx, float dy) { argument 685 nAddPath(mNativePath, src.mNativePath, dx, d 716 offset(float dx, float dy, @Nullable Path dst) argument 731 offset(float dx, float dy) argument 750 setLastPoint(float dx, float dy) argument 827 nRMoveTo(long nPath, float dx, float dy) argument 829 nRLineTo(long nPath, float dx, float dy) argument 850 nAddPath(long nPath, long src, float dx, float dy) argument 853 nOffset(long nPath, float dx, float dy) argument 854 nSetLastPoint(long nPath, float dx, float dy) argument [all...] |
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | geometry.cpp | 80 const float dx = width * (ratio / current_ratio - 1.0f); local 81 x -= dx / 2.0f; 82 width += dx; 98 const float dx = width * (length / current_length - 1.0f); local 99 x -= dx / 2.0f; 100 width += dx; 123 const float dx = width * (f - 1.0f); local 124 x -= dx / 2.0f; 125 width += dx; 146 Point dx [all...] |
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
H A D | HorizontalGridViewEx.java | 38 public void smoothScrollBy(int dx, int dy) { argument 40 super.smoothScrollBy(dx, dy);
|
H A D | VerticalGridViewEx.java | 38 public void smoothScrollBy(int dx, int dy) { argument 40 super.smoothScrollBy(dx, dy);
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | geometry.cpp | 79 const float dx = width * (ratio / current_ratio - 1.0f); local 80 x -= dx / 2.0f; 81 width += dx; 97 const float dx = width * (length / current_length - 1.0f); local 98 x -= dx / 2.0f; 99 width += dx; 122 const float dx = width * (f - 1.0f); local 123 x -= dx / 2.0f; 124 width += dx;
|
/frameworks/base/core/java/android/view/animation/ |
H A D | TranslateXAnimation.java | 52 float dx = mFromXDelta + ((mToXDelta - mFromXDelta) * interpolatedTime); 53 t.getMatrix().setTranslate(dx, mTmpValues[Matrix.MTRANS_Y]);
|
/frameworks/native/include/ui/ |
H A D | Region.h | 89 Region& translateSelf(int dx, int dy); 90 Region& orSelf(const Region& rhs, int dx, int dy); 91 Region& xorSelf(const Region& rhs, int dx, int dy); 92 Region& andSelf(const Region& rhs, int dx, int dy); 93 Region& subtractSelf(const Region& rhs, int dx, int dy); 96 const Region translate(int dx, int dy) const; 97 const Region merge(const Region& rhs, int dx, int dy) const; 98 const Region mergeExclusive(const Region& rhs, int dx, int dy) const; 99 const Region intersect(const Region& rhs, int dx, int dy) const; 100 const Region subtract(const Region& rhs, int dx, in [all...] |
/frameworks/native/libs/ui/include/ui/ |
H A D | Region.h | 89 Region& translateSelf(int dx, int dy); 90 Region& orSelf(const Region& rhs, int dx, int dy); 91 Region& xorSelf(const Region& rhs, int dx, int dy); 92 Region& andSelf(const Region& rhs, int dx, int dy); 93 Region& subtractSelf(const Region& rhs, int dx, int dy); 96 const Region translate(int dx, int dy) const; 97 const Region merge(const Region& rhs, int dx, int dy) const; 98 const Region mergeExclusive(const Region& rhs, int dx, int dy) const; 99 const Region intersect(const Region& rhs, int dx, int dy) const; 100 const Region subtract(const Region& rhs, int dx, in [all...] |
/frameworks/native/libs/ui/include_vndk/ui/ |
H A D | Region.h | 89 Region& translateSelf(int dx, int dy); 90 Region& orSelf(const Region& rhs, int dx, int dy); 91 Region& xorSelf(const Region& rhs, int dx, int dy); 92 Region& andSelf(const Region& rhs, int dx, int dy); 93 Region& subtractSelf(const Region& rhs, int dx, int dy); 96 const Region translate(int dx, int dy) const; 97 const Region merge(const Region& rhs, int dx, int dy) const; 98 const Region mergeExclusive(const Region& rhs, int dx, int dy) const; 99 const Region intersect(const Region& rhs, int dx, int dy) const; 100 const Region subtract(const Region& rhs, int dx, in [all...] |
/frameworks/base/core/java/android/transition/ |
H A D | PatternPathMotion.java | 118 float dx = endX - startX; 120 float distance = (float) Math.hypot(dx, dy); 123 double angle = Math.atan2(dy, dx); 131 double dx = endX - startX; 133 float length = (float) Math.hypot(dx, dy); 134 double angle = Math.atan2(dy, dx);
|
H A D | ArcMotion.java | 209 float dx = (startX + endX) / 2; 220 ex = dx; 223 ex = dx + (Math.abs(deltaY) * 0.5f * mMinimumVerticalTangent); 256 float arcDistX = dx - ex; 271 ex = dx + (ratio * (ex - dx));
|
/frameworks/support/transition/src/main/java/androidx/transition/ |
H A D | PatternPathMotion.java | 119 float dx = endX - startX; 121 float distance = distance(dx, dy); 124 double angle = Math.atan2(dy, dx); 132 float dx = endX - startX; 134 float length = distance(dx, dy); 135 double angle = Math.atan2(dy, dx);
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | focus_peak.rs | 30 int dx = x + ((x == 0) ? 1 : -1); 34 tmp = rsGetElementAtYuv_uchar_Y(gCurrentFrame, dx, y) - curPixel.r; 36 tmp = rsGetElementAtYuv_uchar_U(gCurrentFrame, dx, y) - curPixel.g; 38 tmp = rsGetElementAtYuv_uchar_V(gCurrentFrame, dx, y) - curPixel.b;
|
/frameworks/native/include/private/ui/ |
H A D | RegionHelper.h | 55 TYPE dx; member in struct:android::region_operator::region 58 : rects(rhs.rects), count(rhs.count), dx(rhs.dx), dy(rhs.dy) { } 60 : rects(_r), count(_c), dx(), dy() { } 62 : rects(_r), count(_c), dx(_dx), dy(_dy) { } 236 SpannerBase::lhs_head = lhs.rects->left + lhs.dx; 237 SpannerBase::lhs_tail = lhs.rects->right + lhs.dx; 245 SpannerBase::rhs_head = rhs.rects->left + rhs.dx; 246 SpannerBase::rhs_tail = rhs.rects->right + rhs.dx; 250 SpannerBase::lhs_head = lhs.rects->left + lhs.dx; [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LinearSmoothScroller.java | 112 final int dx = calculateDxToMakeVisible(targetView, getHorizontalSnapPreference()); 114 final int distance = (int) Math.sqrt(dx * dx + dy * dy); 117 action.update(-dx, -dy, time, mDecelerateInterpolator); 125 protected void onSeekTargetStep(int dx, int dy, RecyclerView.State state, Action action) { argument 132 && ((mTargetVector.x * dx < 0 || mTargetVector.y * dy < 0))) { 136 mInterimTargetDx = clampApplyScroll(mInterimTargetDx, dx); 169 * @param dx Distance to scroll 173 protected int calculateTimeForDeceleration(int dx) { argument 179 return (int) Math.ceil(calculateTimeForScrolling(dx) / 189 calculateTimeForScrolling(int dx) argument [all...] |
H A D | NestedScrollingChild.java | 162 * @param dx Horizontal scroll distance in pixels 164 * @param consumed Output. If not null, consumed[0] will contain the consumed component of dx 173 boolean dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow); argument
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | LinearSmoothScroller.java | 110 final int dx = calculateDxToMakeVisible(targetView, getHorizontalSnapPreference()); 112 final int distance = (int) Math.sqrt(dx * dx + dy * dy); 115 action.update(-dx, -dy, time, mDecelerateInterpolator); 123 protected void onSeekTargetStep(int dx, int dy, RecyclerView.State state, Action action) { argument 133 && ((mTargetVector.x * dx < 0 || mTargetVector.y * dy < 0))) { 137 mInterimTargetDx = clampApplyScroll(mInterimTargetDx, dx); 170 * @param dx Distance to scroll 174 protected int calculateTimeForDeceleration(int dx) { argument 180 return (int) Math.ceil(calculateTimeForScrolling(dx) / 190 calculateTimeForScrolling(int dx) argument [all...] |
/frameworks/support/customview/src/main/java/androidx/customview/widget/ |
H A D | ViewDragHelper.java | 171 * @param dx Change in X position from the last call 174 public void onViewPositionChanged(@NonNull View changedView, int left, int top, @Px int dx, argument 306 * @param dx Proposed change in position for left 309 public int clampViewPositionHorizontal(@NonNull View child, int left, int dx) { argument 599 final int dx = finalLeft - startLeft; 602 if (dx == 0 && dy == 0) { 609 final int duration = computeSettleDuration(mCapturedView, dx, dy, xvel, yvel); 610 mScroller.startScroll(startLeft, startTop, dx, dy, duration); 616 private int computeSettleDuration(View child, int dx, int dy, int xvel, int yvel) { argument 619 final int absDx = Math.abs(dx); 932 canScroll(@onNull View v, boolean checkV, int dx, int dy, int x, int y) argument 1254 reportNewEdgeDrags(float dx, float dy, int pointerId) argument 1302 checkTouchSlop(View child, float dx, float dy) argument 1423 dragTo(int left, int top, int dx, int dy) argument [all...] |
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/test/ |
H A D | NestedScrollingParent2Adapter.java | 48 public void onNestedPreScroll(@NonNull View target, int dx, int dy, argument 63 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument 64 onNestedPreScroll(target, dx, dy, consumed, ViewCompat.TYPE_TOUCH);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NoisyVelocityTracker.java | 80 final float dx = (event.x - last.x); 84 " [%d] (t=%d %.1f,%.1f) dx=%.1f dy=%.1f dt=%f vx=%.1f vy=%.1f", 86 dx, dy, dt, 87 (dx/dt), 96 mVX += weight * dx / dt;
|
/frameworks/support/compat/src/main/java/androidx/core/view/ |
H A D | NestedScrollingChild.java | 166 * @param dx Horizontal scroll distance in pixels 168 * @param consumed Output. If not null, consumed[0] will contain the consumed component of dx 177 boolean dispatchNestedPreScroll(int dx, int dy, @Nullable int[] consumed, argument
|
H A D | NestedScrollingChild2.java | 143 * @param dx Horizontal scroll distance in pixels 145 * @param consumed Output. If not null, consumed[0] will contain the consumed component of dx 155 boolean dispatchNestedPreScroll(int dx, int dy, @Nullable int[] consumed, argument
|
/frameworks/support/compat/src/main/java/androidx/core/widget/ |
H A D | ScrollerCompat.java | 154 * @param dx Horizontal distance to travel. Positive numbers will scroll the 162 public void startScroll(int startX, int startY, int dx, int dy) { argument 163 mScroller.startScroll(startX, startY, dx, dy); 173 * @param dx Horizontal distance to travel. Positive numbers will scroll the 182 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument 183 mScroller.startScroll(startX, startY, dx, dy, duration);
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | GridLayoutManagerCacheTest.java | 45 public GridLayoutManagerCacheTest(Config config, int dx, int dy) { argument 47 mDx = dx; 51 @Parameterized.Parameters(name = "config:{0},dx:{1},dy:{2}") 56 for (int dx : new int[] {-1, 0, 1}) { 58 result.add(new Object[]{config, dx, dy});
|