Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DGhostView.java224 ArrayList<View> viewParents = new ArrayList<View>(); in insertIntoOverlay() local
225 getParents(ghostView.mView, viewParents); in insertIntoOverlay()
227 int index = getInsertIndex(viewGroup, viewParents, tempParents, firstGhost); in insertIntoOverlay()
241 private static int getInsertIndex(ViewGroup overlayViewGroup, ArrayList<View> viewParents, in getInsertIndex() argument
251 if (isOnTop(viewParents, tempParents)) { in getInsertIndex()
282 private static boolean isOnTop(ArrayList<View> viewParents, ArrayList<View> comparedWith) { in isOnTop() argument
283 if (viewParents.isEmpty() || comparedWith.isEmpty() || in isOnTop()
284 viewParents.get(0) != comparedWith.get(0)) { in isOnTop()
288 int depth = Math.min(viewParents.size(), comparedWith.size()); in isOnTop()
290 View viewParent = viewParents.get(i); in isOnTop()