Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/transition/
DSidePropagation.java98 int epicenterX; in getStartDelay() local
101 epicenterX = epicenter.centerX(); in getStartDelay()
104 epicenterX = (left + right) / 2; in getStartDelay()
108 float distance = distance(sceneRoot, viewCenterX, viewCenterY, epicenterX, epicenterY, in getStartDelay()
121 private int distance(View sceneRoot, int viewX, int viewY, int epicenterX, int epicenterY, in distance() argument
139 distance = bottom - viewY + Math.abs(epicenterX - viewX); in distance()
145 distance = viewY - top + Math.abs(epicenterX - viewX); in distance()
DCircularPropagation.java75 int epicenterX; in getStartDelay() local
78 epicenterX = epicenter.centerX(); in getStartDelay()
83 epicenterX = Math.round(loc[0] + (sceneRoot.getWidth() / 2) in getStartDelay()
88 double distance = distance(viewCenterX, viewCenterY, epicenterX, epicenterY); in getStartDelay()