Searched refs:potentialChild (Results 1 – 2 of 2) sorted by relevance
215 private static boolean isChildView(View parent, View potentialChild) { in isChildView() argument216 return potentialChild.getParent() != null in isChildView()217 && (potentialChild.getParent() == parent in isChildView()218 || (potentialChild.getParent() instanceof ViewGroup in isChildView()219 && isChildView(parent, (ViewGroup) potentialChild.getParent()))); in isChildView()
906 private static boolean isChildView(View parent, View potentialChild) { in isChildView() argument907 return potentialChild.getParent() != null && (potentialChild.getParent() == parent || ( in isChildView()908 potentialChild.getParent() instanceof ViewGroup && isChildView(parent, in isChildView()909 (ViewGroup) potentialChild.getParent()))); in isChildView()