Searched refs:viewParents (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/core/java/android/view/
H A DGhostView.java218 ArrayList<View> viewParents = new ArrayList<View>();
219 getParents(ghostView.mView, viewParents);
221 int index = getInsertIndex(viewGroup, viewParents, tempParents, firstGhost);
235 private static int getInsertIndex(ViewGroup overlayViewGroup, ArrayList<View> viewParents, argument
245 if (isOnTop(viewParents, tempParents)) {
271 * Returns true if viewParents is from a View that is on top of the comparedWith's view.
276 private static boolean isOnTop(ArrayList<View> viewParents, ArrayList<View> comparedWith) { argument
277 if (viewParents.isEmpty() || comparedWith.isEmpty() ||
278 viewParents.get(0) != comparedWith.get(0)) {
282 int depth = Math.min(viewParents
[all...]

Completed in 58 milliseconds