Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/transition/
DSidePropagation.java99 int epicenterY; in getStartDelay() local
102 epicenterY = epicenter.centerY(); in getStartDelay()
105 epicenterY = (top + bottom) / 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
136 distance = right - viewX + Math.abs(epicenterY - viewY); in distance()
142 distance = viewX - left + Math.abs(epicenterY - viewY); in distance()
DCircularPropagation.java76 int epicenterY; in getStartDelay() local
79 epicenterY = epicenter.centerY(); in getStartDelay()
85 epicenterY = Math.round(loc[1] + (sceneRoot.getHeight() / 2) in getStartDelay()
88 double distance = distance(viewCenterX, viewCenterY, epicenterX, epicenterY); in getStartDelay()