Searched refs:dy (Results 1 - 25 of 205) sorted by relevance

123456789

/frameworks/base/graphics/java/android/graphics/
H A DLayerRasterizer.java31 public void addLayer(Paint paint, float dx, float dy) { } argument
H A DPath.java353 * @param dy The amount to add to the y-coordinate of the end of the
356 public void rMoveTo(float dx, float dy) { argument
357 nRMoveTo(mNativePath, dx, dy);
380 * @param dy The amount to add to the y-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)
683 public void addPath(Path src, float dx, float dy) { argument
685 nAddPath(mNativePath, src.mNativePath, dx, dy);
709 * Offset the path by (dx,dy)
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 Dgeometry.cpp84 const float dy = height * (current_ratio / ratio - 1.0f); local
85 y -= dy / 2.0f;
86 height += dy;
101 const float dy = height * (length / current_length - 1.0f); local
102 y -= dy / 2.0f;
103 height += dy;
126 const float dy = height * (f - 1.0f); local
127 y -= dy / 2.0f;
128 height += dy;
140 Point dy
[all...]
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
H A DHorizontalGridViewEx.java38 public void smoothScrollBy(int dx, int dy) { argument
40 super.smoothScrollBy(dx, dy);
H A DVerticalGridViewEx.java38 public void smoothScrollBy(int dx, int dy) { argument
40 super.smoothScrollBy(dx, dy);
/frameworks/base/media/mca/filterfw/native/core/
H A Dgeometry.cpp83 const float dy = height * (current_ratio / ratio - 1.0f); local
84 y -= dy / 2.0f;
85 height += dy;
100 const float dy = height * (length / current_length - 1.0f); local
101 y -= dy / 2.0f;
102 height += dy;
125 const float dy = height * (f - 1.0f); local
126 y -= dy / 2.0f;
127 height += dy;
/frameworks/base/core/java/android/view/animation/
H A DTranslateYAnimation.java52 float dy = mFromYDelta + ((mToYDelta - mFromYDelta) * interpolatedTime);
53 t.getMatrix().setTranslate(mTmpValues[Matrix.MTRANS_X], dy);
/frameworks/native/include/ui/
H A DRegion.h89 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, int dy) cons
[all...]
/frameworks/native/libs/ui/include/ui/
H A DRegion.h89 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, int dy) cons
[all...]
/frameworks/native/libs/ui/include_vndk/ui/
H A DRegion.h89 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, int dy) cons
[all...]
/frameworks/support/car/src/main/java/androidx/car/widget/
H A DPagedSmoothScroller.java54 int dy = calculateDyToMakeVisible(targetView, SNAP_TO_START);
55 if (dy == 0) {
59 final int time = calculateTimeForDeceleration(dy);
61 action.update(0, -dy, time, mInterpolator);
/frameworks/base/core/java/android/transition/
H A DPatternPathMotion.java119 float dy = endY - startY;
120 float distance = (float) Math.hypot(dx, dy);
123 double angle = Math.atan2(dy, dx);
132 double dy = endY - startY;
133 float length = (float) Math.hypot(dx, dy);
134 double angle = Math.atan2(dy, dx);
H A DArcMotion.java210 float dy = (startY + endY) / 2;
221 ey = dy + (Math.abs(deltaX) * 0.5f * mMinimumHorizontalTangent);
224 ey = dy;
257 float arcDistY = dy - ey;
272 ey = dy + (ratio * (ey - dy));
/frameworks/support/transition/src/main/java/androidx/transition/
H A DPatternPathMotion.java120 float dy = endY - startY;
121 float distance = distance(dx, dy);
124 double angle = Math.atan2(dy, dx);
133 float dy = endY - startY;
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 Dfocus_peak.rs42 int dy = y + ((y == 0) ? 1 : -1);
43 tmp = rsGetElementAtYuv_uchar_Y(gCurrentFrame, x, dy) - curPixel.r;
45 tmp = rsGetElementAtYuv_uchar_U(gCurrentFrame, x, dy) - curPixel.g;
47 tmp = rsGetElementAtYuv_uchar_V(gCurrentFrame, x, dy) - curPixel.b;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpp_semaphore_luma.cpp34 dy = vertical component of the motion vector (int)
120 int dy, /* i */
172 if ((dy&0xF) != 0)
173 { /* dy is not a multiple of 16 */
180 { /* dy is a multiple of 16 */
194 if ((dy&0xF) != 0)
195 { /* dy is not a multiple of 16 */
202 { /* dy is a multiple of 16 */
300 if (((dy&0xF) != 0) && (mmvy + 1 < (height >> 3) - 1))
301 { /* dy i
112 pp_semaphore_luma( int xpred, int ypred, uint8 *pp_dec_y, uint8 *pstprcTypPrv, int *ll, int *mv_loc, int dx, int dy, int mvwidth, int width, int height ) argument
[all...]
/frameworks/support/customview/src/main/java/androidx/customview/widget/
H A DViewDragHelper.java172 * @param dy Change in Y position from the last call
175 @Px int dy) {
321 * @param dy Proposed change in position for top
324 public int clampViewPositionVertical(@NonNull View child, int top, int dy) { argument
600 final int dy = finalTop - startTop;
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
620 final int absDy = Math.abs(dy);
174 onViewPositionChanged(@onNull View changedView, int left, int top, @Px int dx, @Px int dy) argument
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 DNestedScrollingParent2Adapter.java48 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/core/java/com/android/internal/widget/
H A DNestedScrollingChild.java163 * @param dy Vertical scroll distance in pixels
165 * and consumed[1] the consumed dy.
173 boolean dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNoisyVelocityTracker.java81 final float dy = (event.y - last.y);
84 " [%d] (t=%d %.1f,%.1f) dx=%.1f dy=%.1f dt=%f vx=%.1f vy=%.1f",
86 dx, dy, dt,
88 (dy/dt)
97 mVY += weight * dy / dt;
/frameworks/support/compat/src/main/java/androidx/core/view/
H A DNestedScrollingChild.java167 * @param dy Vertical scroll distance in pixels
169 * and consumed[1] the consumed dy.
177 boolean dispatchNestedPreScroll(int dx, int dy, @Nullable int[] consumed, argument
H A DNestedScrollingChild2.java144 * @param dy Vertical scroll distance in pixels
146 * and consumed[1] the consumed dy.
155 boolean dispatchNestedPreScroll(int dx, int dy, @Nullable int[] consumed, argument
/frameworks/support/compat/src/main/java/androidx/core/widget/
H A DScrollerCompat.java156 * @param dy Vertical 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);
175 * @param dy Vertical 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 DGridLayoutManagerCacheTest.java45 public GridLayoutManagerCacheTest(Config config, int dx, int dy) { argument
48 mDy = dy;
51 @Parameterized.Parameters(name = "config:{0},dx:{1},dy:{2}")
57 for (int dy : new int[] {-1, 0, 1}) {
58 result.add(new Object[]{config, dx, dy});
H A DLinearLayoutManagerCacheTest.java44 public LinearLayoutManagerCacheTest(Config config, int dx, int dy) { argument
47 mDy = dy;
50 @Parameterized.Parameters(name = "config:{0},dx:{1},dy:{2}")
56 for (int dy : new int[] {-1, 0, 1}) {
57 result.add(new Object[]{config, dx, dy});

Completed in 1624 milliseconds

123456789