Searched refs:dx (Results 51 - 75 of 224) sorted by relevance

123456789

/frameworks/base/core/java/android/transition/
H A DArcMotion.java209 float dx = (startX + endX) / 2;
250 float arcDistX = dx - ex;
265 ex = dx + (ratio * (ex - dx));
/frameworks/base/graphics/java/android/graphics/
H A DCamera.java161 public native float dotWithNormal(float dx, float dy, float dz); argument
H A DPoint.java61 * Offset the point's coordinates by dx, dy
63 public final void offset(int dx, int dy) { argument
64 x += dx;
H A DPointF.java63 public final void offset(float dx, float dy) { argument
64 x += dx;
H A DMatrix.java58 public void setTranslate(float dx, float dy) {
109 public boolean preTranslate(float dx, float dy) {
157 public boolean postTranslate(float dx, float dy) {
317 /** Set the matrix to translate by (dx, dy). */
318 public void setTranslate(float dx, float dy) { argument
319 nSetTranslate(native_instance, dx, dy);
396 * Preconcats the matrix with the specified translation. M' = M * T(dx, dy)
398 public boolean preTranslate(float dx, float dy) { argument
399 nPreTranslate(native_instance, dx, dy);
460 * Postconcats the matrix with the specified translation. M' = T(dx, d
462 postTranslate(float dx, float dy) argument
885 nSetTranslate(long nObject, float dx, float dy) argument
906 nPreTranslate(long nObject, float dx, float dy) argument
922 nPostTranslate(long nObject, float dx, float dy) argument
[all...]
H A DOutline.java298 * Offsets the Outline by (dx,dy)
300 public void offset(int dx, int dy) { argument
302 mRect.offset(dx, dy);
304 mPath.offset(dx, dy);
/frameworks/support/compat/java/android/support/v4/view/
H A DNestedScrollingChild.java165 * @param dx Horizontal scroll distance in pixels
167 * @param consumed Output. If not null, consumed[0] will contain the consumed component of dx
176 boolean dispatchNestedPreScroll(int dx, int dy, @Nullable int[] consumed, argument
H A DNestedScrollingChild2.java142 * @param dx Horizontal scroll distance in pixels
144 * @param consumed Output. If not null, consumed[0] will contain the consumed component of dx
154 boolean dispatchNestedPreScroll(int dx, int dy, @Nullable int[] consumed, argument
H A DNestedScrollingParent.java130 * report how any pixels of the scroll reported by dx, dy were consumed in the
131 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy.
136 * @param dx Horizontal scroll distance in pixels
140 void onNestedPreScroll(@NonNull View target, int dx, int dy, @NonNull int[] consumed); argument
H A DNestedScrollingParent2.java136 * report how any pixels of the scroll reported by dx, dy were consumed in the
137 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy.
142 * @param dx Horizontal scroll distance in pixels
147 void onNestedPreScroll(@NonNull View target, int dx, int dy, @Nullable int[] consumed, argument
/frameworks/support/transition/src/android/support/transition/
H A DArcMotion.java209 float dx = (startX + endX) / 2;
250 float arcDistX = dx - ex;
265 ex = dx + (ratio * (ex - dx));
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DGridLayoutManagerCacheTest.java45 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});
H A DStaggeredGridLayoutManagerCacheTest.java46 public StaggeredGridLayoutManagerCacheTest(Config config, int dx, int dy) { argument
48 mDx = dx;
52 @Parameterized.Parameters(name = "config:{0},dx:{1},dy:{2}")
57 for (int dx : new int[] {-1, 0, 1}) {
59 result.add(new Object[]{config, dx, dy});
/frameworks/base/libs/hwui/utils/
H A DPaintUtils.h73 float dx; member in struct:android::uirenderer::PaintUtils::TextShadow
83 textShadow->dx = blur.fOffset.fX;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmb_motion_comp.cpp150 /* Motion vector (dx,dy) in half-pel resolution */
151 int dx, dy; local
199 dx = px[0] = px[1] = px[2] = px[3] = video->motX[imv];
201 if ((dx & 3) == 0)
203 dx = dx >> 1;
208 dx = (dx >> 1) | 1;
230 dx = PV_SIGN(xsum) * (roundtab16[(PV_ABS(xsum)) & 0xF] +
425 video->pstprcTypPrv, dx, d
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
H A DarmVCM4P10_Interpolate_Chroma_s.s43 dx RN 6 label
119 M_LDR dx, Dx
122 ;// EightMinusdx = 8 - dx
126 ;// BCoeff = dx * EightMinusdy
128 ;// DCoeff = dx * dy
132 RSB EightMinusdx, dx, #8
134 CMN dx,dy
135 ADD dxEightMinusdx, EightMinusdx, dx, LSL #16
144 ;// Checking either of dx and dy being non-zero
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DSweepGradient_Delegate.java182 float dx = pt2[0];
186 if (dx == 0) {
189 angle = (float) (dx < 0 ? Math.PI : 0);
191 angle = (float) Math.atan(dy / dx);
192 if (dx > 0) {
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
H A DTestLatencyView.java99 float x, y, dx, dy;
104 dx = mDX;
110 dx = dx * MS_PER_FRAME / dt;
119 float sx = (x + dx * step) * mScaleX + mOffsetX;
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
H A Dvr.rs26 float3 dx;
48 dx = rsMatrixMultiply(&matrix3, (float3) {1.f, 0.f, 0.f});
52 zoomFactor /= dx.x * dx.x + dx.y * dx.y + dx.z * dx.z;
59 mLight = mLightRelitvePos.x + dx + mLightRelitvePos.y * dy + mLightRelitvePos.z * dz;
112 float3 p = s + x * dx
[all...]
/frameworks/support/core-ui/java/android/support/v4/view/
H A DNestedScrollingChildHelper.java261 public boolean dispatchNestedPreScroll(int dx, int dy, @Nullable int[] consumed, argument
263 return dispatchNestedPreScroll(dx, dy, consumed, offsetInWindow, TYPE_TOUCH);
275 public boolean dispatchNestedPreScroll(int dx, int dy, @Nullable int[] consumed, argument
283 if (dx != 0 || dy != 0) {
300 ViewParentCompat.onNestedPreScroll(parent, mView, dx, dy, consumed, type);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DPagerSnapHelper.java131 final int dx = snapDistances[0];
133 final int time = calculateTimeForDeceleration(Math.max(Math.abs(dx), Math.abs(dy)));
135 action.update(dx, dy, time, mDecelerateInterpolator);
145 protected int calculateTimeForScrolling(int dx) {
146 return Math.min(MAX_SCROLL_ON_FLING_DURATION, super.calculateTimeForScrolling(dx));
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/
H A DSpotShadow.java24 float dx, float dy) {
31 float div = (dx * (p1y - p2y) + dy * p2x - dy * p1x);
33 float t = (dx * (p1y - py) + dy * px - dy * p1x) / (div);
236 float dx = poly2[i * 2 + 0] - poly1[j * 2 + 0];
239 if (dx * dx + dy * dy < 0.01) {
268 float dx = poly[i * 2 + 0] - poly[(i - 1) * 2 + 0];
270 if (dx * dx + dy * dy >= 0.01) {
416 float dx
23 rayIntersectPoly(@onNull float[] poly, int polyLength, float px, float py, float dx, float dy) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DomxVCM4P10_BlockMatch_Integer.c173 pBestMV->dx = -fromX * 4;
198 diffMV.dx = (x * 4) - pMVPred->dx;
/frameworks/base/core/java/android/view/animation/
H A DTranslateAnimation.java159 float dx = mFromXDelta;
162 dx = mFromXDelta + ((mToXDelta - mFromXDelta) * interpolatedTime);
167 t.getMatrix().setTranslate(dx, dy);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DPathInterpolatorBuilder.java87 float dx = mX[i] - mX[i - 1];
89 float dist = (float) Math.sqrt(dx * dx + dy * dy);

Completed in 7086 milliseconds

123456789