Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DGhostView.java218 ArrayList<View> viewParents = new ArrayList<View>(); in insertIntoOverlay() local
219 getParents(ghostView.mView, viewParents); in insertIntoOverlay()
221 int index = getInsertIndex(viewGroup, viewParents, tempParents, firstGhost); in insertIntoOverlay()
235 private static int getInsertIndex(ViewGroup overlayViewGroup, ArrayList<View> viewParents, in getInsertIndex() argument
245 if (isOnTop(viewParents, tempParents)) { in getInsertIndex()
276 private static boolean isOnTop(ArrayList<View> viewParents, ArrayList<View> comparedWith) { in isOnTop() argument
277 if (viewParents.isEmpty() || comparedWith.isEmpty() || in isOnTop()
278 viewParents.get(0) != comparedWith.get(0)) { in isOnTop()
282 int depth = Math.min(viewParents.size(), comparedWith.size()); in isOnTop()
284 View viewParent = viewParents.get(i); in isOnTop()