Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DGhostView.java283 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()
292 View comparedWithParent = comparedWith.get(i); in isOnTop()
301 boolean isComparedWithTheParent = (comparedWith.size() == depth); in isOnTop()
321 private static boolean isOnTop(View view, View comparedWith) { in isOnTop() argument
340 } else if (child == comparedWith) { in isOnTop()