Searched refs:mDx (Results 1 - 4 of 4) sorted by last modified time

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java9096 private int mDx; field in class:RecyclerView.SmoothScroller.Action
9137 mDx = dx;
9178 recyclerView.mViewFlinger.smoothScrollBy(mDx, mDy);
9180 recyclerView.mViewFlinger.smoothScrollBy(mDx, mDy, mDuration);
9183 recyclerView.mViewFlinger.smoothScrollBy(mDx, mDy, mDuration, mInterpolator);
9208 return mDx;
9213 mDx = dx;
9258 mDx = dx;
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
H A DItemTouchHelper.java186 float mDx; field in class:ItemTouchHelper
491 outPosition[0] = mSelectedStartX + mDx - mSelected.itemView.getLeft();
570 targetTranslateX = Math.signum(mDx) * mRecyclerView.getWidth();
707 int curX = (int) (mSelectedStartX + mDx);
709 if (mDx < 0 && leftDiff < 0) {
711 } else if (mDx > 0) {
763 final int left = Math.round(mSelectedStartX + mDx) - margin;
815 final int x = (int) (mSelectedStartX + mDx);
953 // mDx and mDy are only set in allowed directions. We use custom x/y here instead of
962 // direction is allowed. This why here, we use mDx mD
[all...]
/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/libs/hwui/
H A DDisplayListOp.h393 : mDx(dx), mDy(dy) {}
396 renderer.translate(mDx, mDy);
400 OP_LOG("Translate by %f %f", mDx, mDy);
406 float mDx; member in class:android::uirenderer::TranslateOp

Completed in 149 milliseconds