/frameworks/base/core/java/com/android/internal/widget/ |
H A D | RecyclerView.java | 1942 * @param dx Pixels to scroll horizontally 1945 public void smoothScrollBy(int dx, int dy) { argument 1946 smoothScrollBy(dx, dy, null); 1952 * @param dx Pixels to scroll horizontally 1957 public void smoothScrollBy(int dx, int dy, Interpolator interpolator) { argument 1967 dx = 0; 1972 if (dx != 0 || dy != 0) { 1973 mViewFlinger.smoothScrollBy(dx, dy, interpolator); 2123 void considerReleasingGlowsOnScroll(int dx, int dy) { argument 2125 if (mLeftGlow != null && !mLeftGlow.isFinished() && dx > 4473 offsetChildrenHorizontal(int dx) argument 4545 onScrolled(int dx, int dy) argument 4792 smoothScrollBy(int dx, int dy) argument 4796 smoothScrollBy(int dx, int dy, int vx, int vy) argument 4806 computeScrollDuration(int dx, int dy, int vx, int vy) argument 4828 smoothScrollBy(int dx, int dy, int duration) argument 4832 smoothScrollBy(int dx, int dy, Interpolator interpolator) argument 4837 smoothScrollBy(int dx, int dy, int duration, Interpolator interpolator) argument 7207 collectAdjacentPrefetchPositions(int dx, int dy, State state, LayoutPrefetchRegistry layoutPrefetchRegistry) argument 7513 scrollHorizontallyBy(int dx, Recycler recycler, State state) argument 8223 offsetChildrenHorizontal(int dx) argument 9855 onScrolled(RecyclerView recyclerView, int dx, int dy) argument 10715 onAnimation(int dx, int dy) argument 10821 onSeekTargetStep(int dx, int dy, State state, Action action) argument 10861 Action(int dx, int dy) argument 10870 Action(int dx, int dy, int duration) argument 10881 Action(int dx, int dy, int duration, Interpolator interpolator) argument 10957 setDx(int dx) argument 11003 update(int dx, int dy, int duration, Interpolator interpolator) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/helper/ |
H A D | ItemTouchHelper.java | 167 * Re-use array to calculate dx dy for a ViewHolder 515 float dx = 0, dy = 0; 518 dx = mTmpPosition[0]; 522 mRecoverAnimations, mActionState, dx, dy); 529 float dx = 0, dy = 0; 532 dx = mTmpPosition[0]; 536 mRecoverAnimations, mActionState, dx, dy); 794 final int dx = Math.abs(centerX - (other.getLeft() + other.getRight()) / 2); 796 final int dist = dx * dx [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ |
H A D | ItemTouchHelper.java | 165 * Re-use array to calculate dx dy for a ViewHolder 513 float dx = 0, dy = 0; 516 dx = mTmpPosition[0]; 520 mRecoverAnimations, mActionState, dx, dy); 527 float dx = 0, dy = 0; 530 dx = mTmpPosition[0]; 534 mRecoverAnimations, mActionState, dx, dy); 792 final int dx = Math.abs(centerX - (other.getLeft() + other.getRight()) / 2); 794 final int dist = dx * dx [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Path.cpp | 82 static void rMoveTo(JNIEnv* env, jclass clazz, jlong objHandle, jfloat dx, jfloat dy) { argument 84 obj->rMoveTo(dx, dy); 92 static void rLineTo(JNIEnv* env, jclass clazz, jlong objHandle, jfloat dx, jfloat dy) { argument 94 obj->rLineTo(dx, dy); 186 jfloat dx, jfloat dy) { 189 obj->addPath(*src, dx, dy); 206 static void offset__FF(JNIEnv* env, jclass clazz, jlong objHandle, jfloat dx, jfloat dy) { argument 208 obj->offset(dx, dy); 211 static void setLastPoint(JNIEnv* env, jclass clazz, jlong objHandle, jfloat dx, jfloat dy) { argument 213 obj->setLastPt(dx, d 185 addPath__PathFF(JNIEnv* env, jclass clazz, jlong objHandle, jlong srcHandle, jfloat dx, jfloat dy) argument [all...] |
H A D | Matrix.cpp | 169 static void setTranslate(jlong objHandle, jfloat dx, jfloat dy) { argument 171 obj->setTranslate(dx, dy); 226 static void preTranslate(jlong objHandle, jfloat dx, jfloat dy) { argument 228 obj->preTranslate(dx, dy); 270 static void postTranslate(jlong objHandle, jfloat dx, jfloat dy) { argument 272 obj->postTranslate(dx, dy);
|
H A D | Camera.cpp | 35 jfloat dx, jfloat dy, jfloat dz) { 38 v->translate(dx, dy, dz); 34 Camera_translate(JNIEnv* env, jobject obj, jfloat dx, jfloat dy, jfloat dz) argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Matrix_Delegate.java | 254 /*package*/ static void nSetTranslate(long native_object, float dx, float dy) { argument 260 setTranslate(d.mValues, dx, dy); 389 /*package*/ static void nPreTranslate(long native_object, float dx, float dy) { argument 392 d.preTransform(getTranslate(dx, dy)); 462 /*package*/ static void nPostTranslate(long native_object, float dx, float dy) { argument 465 d.postTransform(getTranslate(dx, dy)); 952 * @param dx 956 /*package*/ static float[] getTranslate(float dx, float dy) { argument 957 return setTranslate(new float[9], dx, dy); 960 /*package*/ static float[] setTranslate(float[] dest, float dx, floa argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | OverScroller.java | 352 * @param dx Horizontal distance to travel. Positive numbers will scroll the 357 public void startScroll(int startX, int startY, int dx, int dy) { argument 358 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); 368 * @param dx Horizontal distance to travel. Positive numbers will scroll the 374 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument 376 mScrollerX.startScroll(startX, dx, duration); 534 final int dx = mScrollerX.mFinal - mScrollerX.mStart; 536 return !isFinished() && Math.signum(xvel) == Math.signum(dx) &&
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/octo/ |
H A D | OctopusDrawable.java | 286 private float dx, dy; field in class:OctopusDrawable.Link 290 Link(int index, float x1, float y1, float dx, float dy) { argument 293 this.dx = dx; 314 return new PointF(coords[0].getValue()+dx,coords[1].getValue()+dy); 318 0.5f*dx+(coords[0].getValue()),
|
/frameworks/base/libs/hwui/ |
H A D | Rect.h | 191 void translate(float dx, float dy) { argument 192 left += dx; 193 right += dx;
|
H A D | CanvasState.h | 109 void translate(float dx, float dy, float dz = 0.0f);
|
H A D | CanvasState.cpp | 168 void CanvasState::translate(float dx, float dy, float dz) { argument 169 mSnapshot->transform->translate(dx, dy, dz);
|
H A D | PathTessellator.cpp | 1042 static inline float getThreshold(const PathApproximationInfo& info, float dx, float dy) { argument 1044 float scale = (dx * dx * info.sqrInvScaleY + dy * dy * info.sqrInvScaleX); 1053 float dx = p2x - p1x; local 1055 float d1 = fabs((c1x - p2x) * dy - (c1y - p2y) * dx); 1056 float d2 = fabs((c2x - p2x) * dy - (c2y - p2y) * dx); 1060 || d * d <= getThreshold(approximationInfo, dx, dy)) { 1098 float dx = bx - ax; local 1101 float d = (cx - bx) * dy - (cy - by) * dx; 1104 || d * d <= getThreshold(approximationInfo, dx, d [all...] |
/frameworks/support/core-ui/java/android/support/v4/widget/ |
H A D | SlidingPaneLayout.java | 847 final float dx = x - mInitialMotionX; 850 if (dx * dx + dy * dy < slop * slop 1206 final int dx = oldOffset - newOffset; 1208 v.offsetLeftAndRight(isLayoutRtl ? -dx : dx); 1218 * Tests scrollability within child views of v given a delta of dx. 1223 * @param dx Delta scrolled in pixels 1226 * @return true if child views of v can be scrolled by delta of dx. 1228 protected boolean canScroll(View v, boolean checkV, int dx, in argument 1344 onViewPositionChanged(View changedView, int left, int top, int dx, int dy) argument 1377 clampViewPositionHorizontal(View child, int left, int dx) argument [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | RecyclerViewAccessibilityTest.java | 112 public int scrollHorizontallyBy(int dx, RecyclerView.Recycler recycler, 114 if (dx > 0) { 116 } else if (dx < 0) {
|
H A D | RecyclerViewPrefetchTest.java | 60 public void collectAdjacentPrefetchPositions(int dx, int dy, RecyclerView.State state, argument
|
H A D | RecyclerViewOnGenericMotionEventTest.java | 162 public int scrollHorizontallyBy(int dx, RecyclerView.Recycler recycler, argument 164 return dx;
|
/frameworks/base/core/java/android/view/ |
H A D | ViewParent.java | 590 * report how any pixels of the scroll reported by dx, dy were consumed in the 591 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy. 596 * @param dx Horizontal scroll distance in pixels 600 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed); argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | DoubleTapHelper.java | 172 void onDoubleTapLog(boolean accepted, float dx, float dy); argument
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | mp4dec_lib.h | 179 int dx, /* i */ 197 int dx, /* i */
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/api/ |
H A D | armVC.h | 1076 * [in] dx Fractional part of horizontal motion vector 1093 OMX_U32 dx, 1111 * [in] dx Fractional part of horizontal motion vector 1129 OMX_U32 dx,
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/api/ |
H A D | armVC.h | 1076 * [in] dx Fractional part of horizontal motion vector 1093 OMX_U32 dx, 1111 * [in] dx Fractional part of horizontal motion vector 1129 OMX_U32 dx,
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/api/ |
H A D | armVC.h | 1076 * [in] dx Fractional part of horizontal motion vector 1093 OMX_U32 dx, 1111 * [in] dx Fractional part of horizontal motion vector 1129 OMX_U32 dx,
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/ |
H A D | ShadowBuffer.java | 83 float dx = (float) (-(fy1 * (fz3 - fz2) - fy2 * fz3 + fy3 * fz2 + (fy2 - fy3) * fz1) / d); 156 float zVal = p + dx * x;
|
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/ |
H A D | Swarm.java | 240 public void onJoystick(float dx, float dy) { argument 241 if (Math.abs(dx) + Math.abs(dy) > 0.1) { 244 mDrag_x = dx * w * 2;
|