Searched refs:viewX (Results 1 – 2 of 2) sorted by relevance
121 private int distance(View sceneRoot, int viewX, int viewY, int epicenterX, int epicenterY, in distance() argument136 distance = right - viewX + Math.abs(epicenterY - viewY); in distance()139 distance = bottom - viewY + Math.abs(epicenterX - viewX); in distance()142 distance = viewX - left + Math.abs(epicenterY - viewY); in distance()145 distance = viewY - top + Math.abs(epicenterX - viewX); in distance()
370 float viewX = screenX - locationOnScreen[0]; in onSlpiTap() local372 if (0 <= viewX && viewX <= mAmbientIndicationContainer.getWidth() in onSlpiTap()