Searched refs:mInitialTouchX (Results 1 – 2 of 2) sorted by relevance
42 private float mInitialTouchX; field in PhotoTouchListener80 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()
123 private float mInitialTouchX; in onCreate()132 mInitialTouchX = event.getRawX(); in onCreate()138 layoutParams.x = mInitialX + (int) (event.getRawX() - mInitialTouchX); in onCreate()