Lines Matching defs:mDx
195 float mDx;
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 mDy to check slope value again.
992 mDx = mDy = 0f;
1004 if (hitTest(selectedView, x, y, mSelectedStartX + mDx, mSelectedStartY + mDy)) {
1063 mDx = mDy = 0f;
1110 mDx = mDy = 0f;
1133 mDx = x - mInitialTouchX;
1136 mDx = Math.max(0, mDx);
1139 mDx = Math.min(0, mDx);
1165 if (Math.abs(mDx) > Math.abs(mDy)) {
1197 final int dirFlag = mDx > 0 ? RIGHT : LEFT;
1215 if ((flags & dirFlag) != 0 && Math.abs(mDx) > threshold) {
2272 mDx = mDy = 0f;