Searched refs:mDx (Results 1 - 7 of 7) sorted by relevance
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | GridLayoutManagerCacheTest.java | 41 final int mDx; field in class:GridLayoutManagerCacheTest 46 mDx = dx; 102 mRecyclerView.mViewPrefetcher.postFromTraversal(mDx, mDy); 115 if ((config.mOrientation == HORIZONTAL && mDx == 0) 121 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0;
|
H A D | LinearLayoutManagerCacheTest.java | 41 final int mDx; field in class:LinearLayoutManagerCacheTest 46 mDx = dx; 92 mRecyclerView.mViewPrefetcher.postFromTraversal(mDx, mDy); 106 if ((config.mOrientation == HORIZONTAL && mDx == 0) 110 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0;
|
H A D | StaggeredGridLayoutManagerCacheTest.java | 42 final int mDx; field in class:StaggeredGridLayoutManagerCacheTest 47 mDx = dx; 116 mRecyclerView.mViewPrefetcher.postFromTraversal(mDx, mDy); 129 if ((config.mOrientation == HORIZONTAL && mDx == 0) 135 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | LinearGradient_Delegate.java | 107 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/support/v7/recyclerview/src/android/support/v7/widget/helper/ |
H A D | ItemTouchHelper.java | 202 float mDx; field in class:ItemTouchHelper 508 outPosition[0] = mSelectedStartX + mDx - mSelected.itemView.getLeft(); 587 targetTranslateX = Math.signum(mDx) * mRecyclerView.getWidth(); 724 int curX = (int) (mSelectedStartX + mDx); 726 if (mDx < 0 && leftDiff < 0) { 728 } else if (mDx > 0) { 780 final int left = Math.round(mSelectedStartX + mDx) - margin; 832 final int x = (int) (mSelectedStartX + mDx); 969 // mDx and mDy are only set in allowed directions. We use custom x/y here instead of 978 // direction is allowed. This why here, we use mDx mD [all...] |
/frameworks/base/libs/hwui/ |
H A D | DisplayListOp.h | 392 : mDx(dx), mDy(dy) {} 395 renderer.translate(mDx, mDy); 399 OP_LOG("Translate by %f %f", mDx, mDy); 405 float mDx; member in class:android::uirenderer::TranslateOp
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | RecyclerView.java | 4457 private int mDx; field in class:RecyclerView.ViewPrefetcher 4470 mDx = dx; 4529 int viewCount = mLayout.gatherPrefetchIndices(mDx, mDy, mState, mItemPrefetchArray); 10565 private int mDx; field in class:RecyclerView.SmoothScroller.Action 10606 mDx = dx; 10647 recyclerView.mViewFlinger.smoothScrollBy(mDx, mDy); 10649 recyclerView.mViewFlinger.smoothScrollBy(mDx, mDy, mDuration); 10652 recyclerView.mViewFlinger.smoothScrollBy(mDx, mDy, mDuration, mInterpolator); 10677 return mDx; 10682 mDx [all...] |
Completed in 114 milliseconds