Home | History | Annotate | Download | only in transition

Lines Matching refs:sceneRoot

82     public Animator onAppear(ViewGroup sceneRoot, View view,
90 calculateOut(sceneRoot, bounds, mTempLoc);
99 public Animator onDisappear(ViewGroup sceneRoot, View view,
119 calculateOut(sceneRoot, bounds, mTempLoc);
127 private void calculateOut(View sceneRoot, Rect bounds, int[] outVector) {
128 sceneRoot.getLocationOnScreen(mTempLoc);
136 focalX = sceneRootX + (sceneRoot.getWidth() / 2)
137 + Math.round(sceneRoot.getTranslationX());
138 focalY = sceneRootY + (sceneRoot.getHeight() / 2)
139 + Math.round(sceneRoot.getTranslationY());
160 calculateMaxDistance(sceneRoot, focalX - sceneRootX, focalY - sceneRootY);
166 private static float calculateMaxDistance(View sceneRoot, int focalX, int focalY) {
167 int maxX = Math.max(focalX, sceneRoot.getWidth() - focalX);
168 int maxY = Math.max(focalY, sceneRoot.getHeight() - focalY);