Lines Matching defs:mDx
197 float mDx;
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 mDy to check slope value again.
994 mDx = mDy = 0f;
1006 if (hitTest(selectedView, x, y, mSelectedStartX + mDx, mSelectedStartY + mDy)) {
1065 mDx = mDy = 0f;
1112 mDx = mDy = 0f;
1135 mDx = x - mInitialTouchX;
1138 mDx = Math.max(0, mDx);
1141 mDx = Math.min(0, mDx);
1167 if (Math.abs(mDx) > Math.abs(mDy)) {
1199 final int dirFlag = mDx > 0 ? RIGHT : LEFT;
1217 if ((flags & dirFlag) != 0 && Math.abs(mDx) > threshold) {
2266 mDx = mDy = 0f;