Searched refs:mDx (Results 1 - 4 of 4) sorted by relevance

/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/support/v7/recyclerview/src/android/support/v7/widget/helper/
H A DItemTouchHelper.java202 float mDx; field in class:ItemTouchHelper
509 outPosition[0] = mSelectedStartX + mDx - mSelected.itemView.getLeft();
588 targetTranslateX = Math.signum(mDx) * mRecyclerView.getWidth();
725 int curX = (int) (mSelectedStartX + mDx);
727 if (mDx < 0 && leftDiff < 0) {
729 } else if (mDx > 0) {
781 final int left = Math.round(mSelectedStartX + mDx) - margin;
833 final int x = (int) (mSelectedStartX + mDx);
970 // mDx and mDy are only set in allowed directions. We use custom x/y here instead of
979 // direction is allowed. This why here, we use mDx mD
[all...]
/frameworks/base/libs/hwui/
H A DDisplayListOp.h392 : 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 DRecyclerView.java10184 private int mDx; field in class:RecyclerView.SmoothScroller.Action
10225 mDx = dx;
10266 recyclerView.mViewFlinger.smoothScrollBy(mDx, mDy);
10268 recyclerView.mViewFlinger.smoothScrollBy(mDx, mDy, mDuration);
10271 recyclerView.mViewFlinger.smoothScrollBy(mDx, mDy, mDuration, mInterpolator);
10296 return mDx;
10301 mDx = dx;
10346 mDx = dx;

Completed in 155 milliseconds