/frameworks/support/core-ui/java/android/support/v4/view/ |
H A D | NestedScrollingChildHelper.java | 190 public boolean dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow) { argument 192 if (dx != 0 || dy != 0) { 209 ViewParentCompat.onNestedPreScroll(mNestedScrollingParent, mView, dx, dy, consumed);
|
/frameworks/base/core/java/android/transition/ |
H A D | ArcMotion.java | 216 float dy = (startY + endY) / 2; 256 float arcDistY = dy - ey; 271 ey = dy + (ratio * (ey - dy));
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Camera.java | 161 public native float dotWithNormal(float dx, float dy, float dz); argument
|
H A D | Point.java | 61 * Offset the point's coordinates by dx, dy 63 public final void offset(int dx, int dy) { argument 65 y += dy;
|
H A D | PointF.java | 63 public final void offset(float dx, float dy) { argument 65 y += dy;
|
H A D | Matrix.java | 54 public void setTranslate(float dx, float dy) { 105 public boolean preTranslate(float dx, float dy) { 153 public boolean postTranslate(float dx, float dy) { 301 /** Set the matrix to translate by (dx, dy). */ 302 public void setTranslate(float dx, float dy) { argument 303 native_setTranslate(native_instance, dx, dy); 382 * M' = M * T(dx, dy) 384 public boolean preTranslate(float dx, float dy) { argument 385 native_preTranslate(native_instance, dx, dy); 454 * M' = T(dx, dy) * 456 postTranslate(float dx, float dy) argument 847 native_setTranslate(long native_object, float dx, float dy) argument 868 native_preTranslate(long native_object, float dx, float dy) argument 884 native_postTranslate(long native_object, float dx, float dy) argument [all...] |
H A D | Outline.java | 274 * Offsets the Outline by (dx,dy) 276 public void offset(int dx, int dy) { argument 278 mRect.offset(dx, dy); 280 mPath.offset(dx, dy);
|
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/util/ |
H A D | RecyclerViewRequireScrollHelper.java | 47 public void onScrolled(RecyclerView recyclerView, int dx, int dy) {
|
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/ |
H A D | RSTestCore.java | 194 int dy = mLastY - y; 196 if (Math.abs(dy) <= 2) { 197 dy = 0; 200 mScript.set_gDY(dy);
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
H A D | RSTestCore.java | 198 int dy = mLastY - y; 200 if (Math.abs(dy) <= 2) { 201 dy = 0; 204 mScript.set_gDY(dy);
|
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/ |
H A D | RSTestCore.java | 198 int dy = mLastY - y; 200 if (Math.abs(dy) <= 2) { 201 dy = 0; 204 mScript.set_gDY(dy);
|
/frameworks/support/compat/java/android/support/v4/view/ |
H A D | NestedScrollingParent.java | 128 * report how any pixels of the scroll reported by dx, dy were consumed in the 129 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy. 135 * @param dy Vertical scroll distance in pixels 138 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed); argument
|
H A D | ViewParentCompat.java | 45 void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, int[] consumed); argument 103 public void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, argument 106 ((NestedScrollingParent) parent).onNestedPreScroll(target, dx, dy, consumed); 182 public void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, argument 184 ViewParentCompatLollipop.onNestedPreScroll(parent, target, dx, dy, consumed); 341 * should report how any pixels of the scroll reported by dx, dy were consumed in the 342 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy. 348 * @param dy Vertical scroll distance in pixels 351 public static void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, argument 353 IMPL.onNestedPreScroll(parent, target, dx, dy, consume [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | StaggeredGridLayoutManagerCacheTest.java | 45 public StaggeredGridLayoutManagerCacheTest(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});
|
/frameworks/support/compat/api21/android/support/v4/view/ |
H A D | ViewParentCompatLollipop.java | 67 public static void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, argument 70 parent.onNestedPreScroll(target, dx, dy, consumed);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | mb_motion_comp.cpp | 146 /* Motion vector (dx,dy) in half-pel resolution */ 147 int dx, dy; local 196 dy = py[0] = py[1] = py[2] = py[3] = video->motY[imv]; 209 if ((dy & 3) == 0) 211 dy = dy >> 1; 216 dy = (dy >> 1) | 1; 233 dy = PV_SIGN(xsum) * (roundtab16[(PV_ABS(xsum)) & 0xF] + 416 video->pstprcTypPrv, dx, dy, mvwidt [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ResolverDrawerLayout.java | 255 final float dy = y - mInitialTouchY; 256 if (Math.abs(dy) > mTouchSlop && findChildUnder(x, y) != null && 261 Math.min(mLastTouchY + dy, mLastTouchY + mTouchSlop)); 317 final float dy = y - mInitialTouchY; 318 if (Math.abs(dy) > mTouchSlop && findChildUnder(x, y) != null) { 321 Math.min(mLastTouchY + dy, mLastTouchY + mTouchSlop)); 325 final float dy = y - mLastTouchY; 326 performDrag(dy); 435 private float performDrag(float dy) { argument 436 final float newPos = Math.max(0, Math.min(mCollapseOffset + dy, 641 onNestedPreScroll(View target, int dx, int dy, int[] consumed) argument [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | avcenc_lib.h | 443 int blkwidth, int blkheight, int dy); 449 int blkwidth, int blkheight, int dy); 459 void eChromaDiagonalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, 462 void eChromaHorizontalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, 465 void eChromaVerticalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, 468 void eChromaFullMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, 471 void eChromaVerticalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, 474 void eChromaHorizontalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, 477 void eChromaDiagonalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy,
|
H A D | motion_comp.cpp | 25 /* (blkwidth << 2) + (dy << 1) + dx */ 128 int dx, dy; local 133 dy = y_pos & 3; 138 if (dx == 0 && dy == 0) 146 else if (dy == 0) 158 eVertInterp1MC(ref, picpitch, pred, pred_pitch, blkwidth, blkheight, dy); 160 else if (dy == 2) 175 eVertInterp3MC(&temp2[2][0], 21, pred, pred_pitch, blkwidth, blkheight, dy); 180 ref2 = ref + (y_pos + (dy / 2)) * picpitch + x_pos; 782 int blkwidth, int blkheight, int dy) 781 eVertInterp1MC(uint8 *in, int inpitch, uint8 *out, int outpitch, int blkwidth, int blkheight, int dy) argument 1148 eVertInterp3MC(int *in, int inpitch, uint8 *out, int outpitch, int blkwidth, int blkheight, int dy) argument 1810 int dx, dy; local 1833 eChromaDiagonalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument 1925 eChromaHorizontalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument 1974 eChromaVerticalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument 2017 eChromaDiagonalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument 2060 eChromaHorizontalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument 2082 eChromaVerticalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument 2108 eChromaFullMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
H A D | armVCM4P10_Interpolate_Chroma_s.s | 44 dy RN 7 label 120 M_LDR dy, Dy 123 ;// EightMinusdy = 8 - dy 127 ;// CCoeff = EightMinusdx * dy 128 ;// DCoeff = dx * dy 133 RSB EightMinusdy, dy, #8 134 CMN dx,dy 141 MUL DCCoeff, dxEightMinusdx, dy 144 ;// Checking either of dx and dy being non-zero
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | SweepGradient_Delegate.java | 179 float dy = pt2[1]; 183 angle = (float) (dy < 0 ? 3 * Math.PI / 2 : Math.PI / 2); 184 } else if (dy == 0) { 187 angle = (float) Math.atan(dy / dx); 189 if (dy < 0) {
|
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/ |
H A D | TestLatencyView.java | 99 float x, y, dx, dy; 105 dy = mDY; 111 dy = dy * MS_PER_FRAME / dt; 120 float sy = (y + dy * step) * mScaleY + mOffsetY;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
H A D | omxVCM4P10_BlockMatch_Integer.c | 174 pBestMV->dy = -fromY * 4; 199 diffMV.dy = (y * 4) - pMVPred->dy;
|
/frameworks/base/core/java/android/view/animation/ |
H A D | TranslateAnimation.java | 160 float dy = mFromYDelta; 165 dy = mFromYDelta + ((mToYDelta - mFromYDelta) * interpolatedTime); 167 t.getMatrix().setTranslate(dx, dy);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | PathInterpolatorBuilder.java | 88 float dy = mY[i] - mY[i - 1]; 89 float dist = (float) Math.sqrt(dx * dx + dy * dy);
|