Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DGhostView.java225 ArrayList<View> viewParents = new ArrayList<View>(); in insertIntoOverlay() local
226 getParents(ghostView.mView, viewParents); in insertIntoOverlay()
228 int index = getInsertIndex(viewGroup, viewParents, tempParents, firstGhost); in insertIntoOverlay()
242 private static int getInsertIndex(ViewGroup overlayViewGroup, ArrayList<View> viewParents, in getInsertIndex() argument
252 if (isOnTop(viewParents, tempParents)) { in getInsertIndex()
283 private static boolean isOnTop(ArrayList<View> viewParents, ArrayList<View> comparedWith) { in isOnTop() argument
284 if (viewParents.isEmpty() || comparedWith.isEmpty() || in isOnTop()
285 viewParents.get(0) != comparedWith.get(0)) { in isOnTop()
289 int depth = Math.min(viewParents.size(), comparedWith.size()); in isOnTop()
291 View viewParent = viewParents.get(i); in isOnTop()