Home
last modified time | relevance | path

Searched refs:mDownX (Results 1 – 5 of 5) sorted by relevance

/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCardStreamLinearLayout.java67 private float mDownX;
75 mDownX = event.getX();
81 mDownX = 0.f;
89 mDownX = mDownX == 0.f ? x : mDownX;
92 float deltaX = x - mDownX;
109 float deltaX = x - mDownX;
110 float deltaY = y - mDownX;
120 mDownX = 0.f;
DCardLayout.java32 private float mDownX = 0.f; field in CardLayout
77 mSwiping = Math.abs(mDownX - event.getX()) > mTouchSlop; in onInterceptTouchEvent()
81 mDownX = event.getX(); in onInterceptTouchEvent()
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/
DListViewRemovalAnimation.java72 float mDownX;
88 mDownX = event.getX();
98 float deltaX = x - mDownX;
108 v.setTranslationX((x - mDownX));
118 float deltaX = x - mDownX;
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
DListViewItemAnimations.java90 float mDownX;
107 mDownX = event.getX();
122 float deltaX = x - mDownX;
147 float deltaX = x - mDownX;
/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
DDynamicListView.java75 private int mDownX = -1; field in DynamicListView
129 int position = pointToPosition(mDownX, mDownY);
251 mDownX = (int)event.getX(); in onTouchEvent()