Searched defs:mDx (Results 1 - 8 of 8) sorted by relevance

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DGridLayoutManagerCacheTest.java42 final int mDx; field in class:GridLayoutManagerCacheTest
47 mDx = dx;
103 mRecyclerView.mGapWorker.postFromTraversal(mRecyclerView, mDx, mDy);
116 if ((config.mOrientation == HORIZONTAL && mDx == 0)
122 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0;
H A DLinearLayoutManagerCacheTest.java41 final int mDx; field in class:LinearLayoutManagerCacheTest
46 mDx = dx;
92 mRecyclerView.mGapWorker.postFromTraversal(mRecyclerView, mDx, mDy);
106 if ((config.mOrientation == HORIZONTAL && mDx == 0)
110 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0;
H A DStaggeredGridLayoutManagerCacheTest.java43 final int mDx; field in class:StaggeredGridLayoutManagerCacheTest
48 mDx = dx;
117 mRecyclerView.mGapWorker.postFromTraversal(mRecyclerView, mDx, mDy);
130 if ((config.mOrientation == HORIZONTAL && mDx == 0)
136 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DLinearGradient_Delegate.java107 private final float mDx; field in class:LinearGradient_Delegate.LinearGradientPaint
116 mDx = x1 - x0;
118 mDSize2 = mDx * mDx + mDy * mDy;
213 if (mDx == 0) {
216 pos = (x - mX0) / mDx;
219 float _x = (mDx*mDy*(y-mY0) + mDy*mDy*mX0 + mDx*mDx*x) / mDSize2;
221 pos = (_x - mX0) / mDx;
[all...]
/frameworks/base/core/java/com/android/internal/widget/helper/
H A DItemTouchHelper.java197 float mDx; field in class:ItemTouchHelper
502 outPosition[0] = mSelectedStartX + mDx - mSelected.itemView.getLeft();
581 targetTranslateX = Math.signum(mDx) * mRecyclerView.getWidth();
718 int curX = (int) (mSelectedStartX + mDx);
720 if (mDx < 0 && leftDiff < 0) {
722 } else if (mDx > 0) {
774 final int left = Math.round(mSelectedStartX + mDx) - margin;
826 final int x = (int) (mSelectedStartX + mDx);
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 mD
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
H A DItemTouchHelper.java195 float mDx; field in class:ItemTouchHelper
500 outPosition[0] = mSelectedStartX + mDx - mSelected.itemView.getLeft();
579 targetTranslateX = Math.signum(mDx) * mRecyclerView.getWidth();
716 int curX = (int) (mSelectedStartX + mDx);
718 if (mDx < 0 && leftDiff < 0) {
720 } else if (mDx > 0) {
772 final int left = Math.round(mSelectedStartX + mDx) - margin;
824 final int x = (int) (mSelectedStartX + mDx);
961 // mDx and mDy are only set in allowed directions. We use custom x/y here instead of
970 // direction is allowed. This why here, we use mDx mD
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DRecyclerView.java10841 private int mDx; field in class:RecyclerView.SmoothScroller.Action
10882 mDx = dx;
10923 recyclerView.mViewFlinger.smoothScrollBy(mDx, mDy);
10925 recyclerView.mViewFlinger.smoothScrollBy(mDx, mDy, mDuration);
10929 mDx, mDy, mDuration, mInterpolator);
10954 return mDx;
10959 mDx = dx;
11004 mDx = dx;
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java11325 private int mDx; field in class:RecyclerView.SmoothScroller.Action
11366 mDx = dx;
11407 recyclerView.mViewFlinger.smoothScrollBy(mDx, mDy);
11409 recyclerView.mViewFlinger.smoothScrollBy(mDx, mDy, mDuration);
11413 mDx, mDy, mDuration, mInterpolator);
11438 return mDx;
11443 mDx = dx;
11488 mDx = dx;

Completed in 1013 milliseconds