/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | GridLayoutManagerCacheTest.java | 43 final int mDy; field in class:GridLayoutManagerCacheTest 48 mDy = dy; 103 mRecyclerView.mGapWorker.postFromTraversal(mRecyclerView, mDx, mDy); 117 || (config.mOrientation == VERTICAL && mDy == 0)) { 122 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0;
|
H A D | LinearLayoutManagerCacheTest.java | 42 final int mDy; field in class:LinearLayoutManagerCacheTest 47 mDy = dy; 92 mRecyclerView.mGapWorker.postFromTraversal(mRecyclerView, mDx, mDy); 107 || (config.mOrientation == VERTICAL && mDy == 0)) { 110 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0;
|
H A D | StaggeredGridLayoutManagerCacheTest.java | 44 final int mDy; field in class:StaggeredGridLayoutManagerCacheTest 49 mDy = dy; 117 mRecyclerView.mGapWorker.postFromTraversal(mRecyclerView, mDx, mDy); 131 || (config.mOrientation == VERTICAL && mDy == 0)) { 136 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0;
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | LinearGradient_Delegate.java | 111 private final float mDy; field in class:LinearGradient_Delegate.LinearGradientPaint 120 mDy = y1 - y0; 121 mDSize2 = mDx * mDx + mDy * mDy; 213 pos = (y - mY0) / mDy; 214 } else if (mDy == 0) { 218 float _x = (mDx*mDy*(y-mY0) + mDy*mDy*mX0 + mDx*mDx*x) / mDSize2;
|
/frameworks/base/core/java/com/android/internal/widget/helper/ |
H A D | ItemTouchHelper.java | 199 float mDy; field in class:ItemTouchHelper 507 outPosition[1] = mSelectedStartY + mDy - mSelected.itemView.getTop(); 586 targetTranslateY = Math.signum(mDy) * mRecyclerView.getHeight(); 732 int curY = (int) (mSelectedStartY + mDy); 734 if (mDy < 0 && topDiff < 0) { 736 } else if (mDy > 0) { 775 final int top = Math.round(mSelectedStartY + mDy) - margin; 827 final int y = (int) (mSelectedStartY + mDy); 963 // mDx and mDy are only set in allowed directions. We use custom x/y here instead of 972 // direction is allowed. This why here, we use mDx mDy t [all...] |
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | ItemTouchHelper.java | 202 private float mDy; field in class:ItemTouchHelper 526 outPosition[1] = mSelectedStartY + mDy - mSelected.itemView.getTop(); 609 targetTranslateY = Math.signum(mDy) * mRecyclerView.getHeight(); 755 int curY = (int) (mSelectedStartY + mDy); 757 if (mDy < 0 && topDiff < 0) { 759 } else if (mDy > 0) { 798 final int top = Math.round(mSelectedStartY + mDy) - margin; 850 final int y = (int) (mSelectedStartY + mDy); 985 // mDx and mDy are only set in allowed directions. We use custom x/y here instead of 994 // direction is allowed. This why here, we use mDx mDy t [all...] |
H A D | RecyclerView.java | 11740 private int mDy; field in class:RecyclerView.SmoothScroller.Action 11781 mDy = dy; 11821 recyclerView.mViewFlinger.smoothScrollBy(mDx, mDy); 11823 recyclerView.mViewFlinger.smoothScrollBy(mDx, mDy, mDuration); 11827 mDx, mDy, mDuration, mInterpolator); 11863 return mDy; 11868 mDy = dy; 11907 mDy = dy;
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | RecyclerView.java | 10836 private int mDy; field in class:RecyclerView.SmoothScroller.Action 10876 mDy = dy; 10916 recyclerView.mViewFlinger.smoothScrollBy(mDx, mDy); 10918 recyclerView.mViewFlinger.smoothScrollBy(mDx, mDy, mDuration); 10922 mDx, mDy, mDuration, mInterpolator); 10956 return mDy; 10961 mDy = dy; 10998 mDy = dy;
|