Home
last modified time | relevance | path

Searched refs:mInitialTouchX (Results 1 – 2 of 2) sorted by relevance

/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTouchListener.java42 private float mInitialTouchX; field in PhotoTouchListener
80 mInitialTouchX = -1; in resetTouch()
165 if (mInitialTouchX == -1 && mInitialTouchY == -1) { in onTouch()
166 mInitialTouchX = x; in onTouch()
191 mInitialTargetX + x - mInitialTouchX, in onTouch()
204 if (mInitialTouchX == -1 && mInitialTouchY == -1) { in onTouch()
205 mInitialTouchX = x0; in onTouch()
208 double distance = Math.hypot(x0 - mInitialTouchX, in onTouch()
214 if ((x0 - mInitialTouchX) > 0f) { in onTouch()
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/currentactivity/
DCurrentActivityService.java123 private float mInitialTouchX; in onCreate()
132 mInitialTouchX = event.getRawX(); in onCreate()
138 layoutParams.x = mInitialX + (int) (event.getRawX() - mInitialTouchX); in onCreate()