Searched refs:mTouchX (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/ |
D | TouchLatencyActivity.java | 81 mTouchX = event.getX(); in onTouch() 93 float deltaX = (mTouchX - mLastDrawnX); in drawTouch() 97 mLastDrawnX = mTouchX; in drawTouch() 101 canvas.drawCircle(mTouchX, mTouchY, INNER_RADIUS + 3 * scaleFactor, mRedPaint); in drawTouch() 102 canvas.drawCircle(mTouchX, mTouchY, INNER_RADIUS + 2 * scaleFactor, mYellowPaint); in drawTouch() 103 canvas.drawCircle(mTouchX, mTouchY, INNER_RADIUS + scaleFactor, mGreenPaint); in drawTouch() 104 canvas.drawCircle(mTouchX, mTouchY, INNER_RADIUS, mBluePaint); in drawTouch() 169 private float mTouchX, mTouchY; field in TouchLatencyView
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | SwitchCompat.java | 132 private float mTouchX; field in SwitchCompat 910 mTouchX = x; in onTouchEvent() 925 if (Math.abs(x - mTouchX) > mTouchSlop || in onTouchEvent() 929 mTouchX = x; in onTouchEvent() 939 final float thumbScrollOffset = x - mTouchX; in onTouchEvent() 953 mTouchX = x; in onTouchEvent()
|
/frameworks/base/core/java/android/widget/ |
D | Switch.java | 117 private float mTouchX; field in Switch 931 mTouchX = x; in onTouchEvent() 946 if (Math.abs(x - mTouchX) > mTouchSlop || in onTouchEvent() 950 mTouchX = x; in onTouchEvent() 960 final float thumbScrollOffset = x - mTouchX; in onTouchEvent() 974 mTouchX = x; in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
D | MLand.java | 940 if (p.mTouchX > 0) { 943 float x1 = p.mTouchX; 1014 private float mTouchX = -1, mTouchY = -1; 1151 mTouchX = x; 1172 mTouchX = mTouchY = -1;
|