/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
H A D | PrintContentView.java | 402 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { argument 403 if ((isOptionsClosed() || isOptionsClosed()) && dy <= 0) { 407 mCurrentOptionsOffsetY += dy; 411 mPrintButton.offsetTopAndBottom(dy); 450 public int clampViewPositionVertical(View child, int top, int dy) { argument
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | RecyclerView.java | 1919 * @param dy Pixels to scroll vertically 1921 public void smoothScrollBy(int dx, int dy) { argument 1934 dy = 0; 1936 if (dx != 0 || dy != 0) { 1937 mViewFlinger.smoothScrollBy(dx, dy); 2079 void considerReleasingGlowsOnScroll(int dx, int dy) { argument 2087 if (mTopGlow != null && !mTopGlow.isFinished() && dy > 0) { 2090 if (mBottomGlow != null && !mBottomGlow.isFinished() && dy < 0) { 2618 final int dy = y - mInitialTouchY; 2624 if (canScrollVertically && Math.abs(dy) > mTouchSlo 4255 offsetChildrenVertical(int dy) argument 4365 onScrolled(int dx, int dy) argument 4462 postFromTraversal(int dx, int dy) argument 4699 smoothScrollBy(int dx, int dy) argument 4703 smoothScrollBy(int dx, int dy, int vx, int vy) argument 4713 computeScrollDuration(int dx, int dy, int vx, int vy) argument 4735 smoothScrollBy(int dx, int dy, int duration) argument 4739 smoothScrollBy(int dx, int dy, int duration, Interpolator interpolator) argument 6913 gatherPrefetchIndices(int dx, int dy, State state, int[] outIndices) argument 7209 scrollVerticallyBy(int dy, Recycler recycler, State state) argument 7912 offsetChildrenVertical(int dy) argument 9531 onScrolled(RecyclerView recyclerView, int dx, int dy) argument 10164 dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow) argument 10435 onAnimation(int dx, int dy) argument 10541 onSeekTargetStep(int dx, int dy, State state, Action action) argument 10581 Action(int dx, int dy) argument 10590 Action(int dx, int dy, int duration) argument 10601 Action(int dx, int dy, int duration, Interpolator interpolator) argument 10685 setDy(int dy) argument 10722 update(int dx, int dy, int duration, Interpolator interpolator) argument [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ |
H A D | ItemTouchHelper.java | 172 * Re-use array to calculate dx dy for a ViewHolder 521 float dx = 0, dy = 0; 525 dy = mTmpPosition[1]; 528 mRecoverAnimations, mActionState, dx, dy); 535 float dx = 0, dy = 0; 539 dy = mTmpPosition[1]; 542 mRecoverAnimations, mActionState, dx, dy); 801 final int dy = Math.abs(centerY - (other.getTop() + other.getBottom()) / 2); 802 final int dist = dx * dx + dy * dy; [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Path.cpp | 118 static void rMoveTo(JNIEnv* env, jobject clazz, jlong objHandle, jfloat dx, jfloat dy) { argument 120 obj->rMoveTo(dx, dy); 128 static void rLineTo(JNIEnv* env, jobject clazz, jlong objHandle, jfloat dx, jfloat dy) { argument 130 obj->rLineTo(dx, dy); 216 static void addPath__PathFF(JNIEnv* env, jobject clazz, jlong objHandle, jlong srcHandle, jfloat dx, jfloat dy) { argument 219 obj->addPath(*src, dx, dy); 235 static void offset__FF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat dx, jfloat dy) { argument 237 obj->offset(dx, dy); 240 static void setLastPoint(JNIEnv* env, jobject clazz, jlong objHandle, jfloat dx, jfloat dy) { argument 242 obj->setLastPt(dx, dy); [all...] |
H A D | Matrix.cpp | 70 static void setTranslate(JNIEnv* env, jobject clazz, jlong objHandle, jfloat dx, jfloat dy) { argument 72 obj->setTranslate(dx, dy); 113 static void preTranslate(JNIEnv* env, jobject clazz, jlong objHandle, jfloat dx, jfloat dy) { argument 115 obj->preTranslate(dx, dy); 154 static void postTranslate(JNIEnv* env, jobject clazz, jlong objHandle, jfloat dx, jfloat dy) { argument 156 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 | 251 /*package*/ static void native_setTranslate(long native_object, float dx, float dy) { argument 257 setTranslate(d.mValues, dx, dy); 386 /*package*/ static void native_preTranslate(long native_object, float dx, float dy) { argument 389 d.preTransform(getTranslate(dx, dy)); 459 /*package*/ static void native_postTranslate(long native_object, float dx, float dy) { argument 462 d.postTransform(getTranslate(dx, dy)); 945 * @param dy 948 /*package*/ static float[] getTranslate(float dx, float dy) { argument 949 return setTranslate(new float[9], dx, dy); 952 /*package*/ static float[] setTranslate(float[] dest, float dx, float dy) { argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | Rect.h | 191 void translate(float dx, float dy) { argument 194 top += dy; 195 bottom += dy;
|
H A D | CanvasState.cpp | 169 void CanvasState::translate(float dx, float dy, float dz) { argument 170 mSnapshot->transform->translate(dx, dy, dz);
|
H A D | SpotShadow.cpp | 113 * @param dy The y vector of the ray 118 static float rayIntersectPoints(const Vector2& rayOrigin, float dx, float dy, argument 122 // solve([p1x+t*(p2x-p1x)=dx*t2+px,p1y+t*(p2y-p1y)=dy*t2+py],[t,t2]); 124 float divisor = (dx * (p1.y - p2.y) + dy * p2.x - dy * p1.x); 128 float interpVal = (dx * (p1.y - rayOrigin.y) + dy * rayOrigin.x - dy * p1.x) / divisor; 828 float dy = umbraToCentroid.y; local 829 float distanceToIntersectPoly = rayIntersectPoints(centroid, dx, dy, 839 closerVertex.y = centroid.y + dy * distanceToIntersectPol [all...] |
H A D | PathTessellator.cpp | 1034 static inline float getThreshold(const PathApproximationInfo& info, float dx, float dy) { argument 1036 float scale = (dx * dx * info.sqrInvScaleY + dy * dy * info.sqrInvScaleX); 1046 float dy = p2y - p1y; local 1047 float d1 = fabs((c1x - p2x) * dy - (c1y - p2y) * dx); 1048 float d2 = fabs((c2x - p2x) * dy - (c2y - p2y) * dx); 1052 || d * d <= getThreshold(approximationInfo, dx, dy)) { 1091 float dy = by - ay; local 1093 float d = (cx - bx) * dy - (cy - by) * dx; 1096 || d * d <= getThreshold(approximationInfo, dx, dy)) { [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewParent.java | 548 * report how any pixels of the scroll reported by dx, dy were consumed in the 549 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy. 555 * @param dy Vertical scroll distance in pixels 558 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed); argument
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | RecyclerViewPrefetchTest.java | 65 int gatherPrefetchIndices(int dx, int dy, RecyclerView.State state, int[] outIndices) { argument
|
H A D | TestedFrameLayout.java | 153 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument 157 consumed[1] = dy;
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
H A D | AnimatedRecyclerView.java | 527 public int scrollVerticallyBy(int dy, RecyclerView.Recycler recycler, argument 536 if (dy < 0) { 537 while (scrolled > dy) { 540 final int scrollBy = Math.min(scrolled - dy, hangingTop); 543 if (mFirstPosition > 0 && scrolled > dy) { 555 } else if (dy > 0) { 557 while (scrolled < dy) { 560 final int scrollBy = -Math.min(dy - scrolled, hangingBottom); 563 if (scrolled < dy && state.getItemCount() > mFirstPosition + getChildCount()) {
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
H A D | AnimatedRecyclerView.java | 527 public int scrollVerticallyBy(int dy, RecyclerView.Recycler recycler, argument 536 if (dy < 0) { 537 while (scrolled > dy) { 540 final int scrollBy = Math.min(scrolled - dy, hangingTop); 543 if (mFirstPosition > 0 && scrolled > dy) { 555 } else if (dy > 0) { 557 while (scrolled < dy) { 560 final int scrollBy = -Math.min(dy - scrolled, hangingBottom); 563 if (scrolled < dy && state.getItemCount() > mFirstPosition + getChildCount()) {
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
H A D | StaggeredGridView.java | 305 final float dy = y - mLastTouchY + mTouchRemainderY; 306 final int deltaY = (int) dy; 307 mTouchRemainderY = dy - deltaY; 309 if (Math.abs(dy) > mTouchSlop) { 341 final float dy = y - mLastTouchY + mTouchRemainderY; 342 final int deltaY = (int) dy; 343 mTouchRemainderY = dy - deltaY; 345 if (Math.abs(dy) > mTouchSlop) { 545 final int dy = (int) (y - mLastTouchY); 547 final boolean stopped = !trackMotionScroll(dy, fals [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | mp4dec_lib.h | 180 int dy, /* i */ 198 int dy, /* i */
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/api/ |
H A D | armVC.h | 1078 * [in] dy Fractional part of vertical motion vector 1094 OMX_U32 dy 1113 * [in] dy Fractional part of vertical motion vector 1130 OMX_U32 dy
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/api/ |
H A D | armVC.h | 1078 * [in] dy Fractional part of vertical motion vector 1094 OMX_U32 dy 1113 * [in] dy Fractional part of vertical motion vector 1130 OMX_U32 dy
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/api/ |
H A D | armVC.h | 1078 * [in] dy Fractional part of vertical motion vector 1094 OMX_U32 dy 1113 * [in] dy Fractional part of vertical motion vector 1130 OMX_U32 dy
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | RectShadowPainter.java | 132 RectF edgeShadowRect, float dx, float dy, int rotations) { 137 canvas.translate(dx, dy); 131 sideShadow(Canvas canvas, Paint edgePaint, RectF edgeShadowRect, float dx, float dy, int rotations) argument
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | vr.rs | 27 float3 dy;
49 dy = rsMatrixMultiply(&matrix3, (float3) {0.f, 1.f, 0.f});
59 mLight = mLightRelitvePos.x + dx + mLightRelitvePos.y * dy + mLightRelitvePos.z * dz;
112 float3 p = s + x * dx + y * dy + dz * zstart;
|
/frameworks/support/compat/api21/android/support/v4/view/ |
H A D | ViewCompatLollipop.java | 170 public static boolean dispatchNestedPreScroll(View view, int dx, int dy, int[] consumed, argument 172 return view.dispatchNestedPreScroll(dx, dy, consumed, offsetInWindow);
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
H A D | NestedScrollView.java | 246 public boolean dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow) { argument 247 return mChildHelper.dispatchNestedPreScroll(dx, dy, consumed, offsetInWindow); 290 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument 291 dispatchNestedPreScroll(dx, dy, consumed, null); 1296 * @param dy the number of pixels to scroll by on the Y axis 1298 public final void smoothScrollBy(int dx, int dy) { argument 1309 dy = Math.max(0, Math.min(scrollY + dy, maxY)) - scrollY; 1311 mScroller.startScroll(getScrollX(), scrollY, 0, dy); 1317 scrollBy(dx, dy); [all...] |