Searched refs:potentialChild (Results 1 – 2 of 2) sorted by relevance
216 private static boolean isChildView(View parent, View potentialChild) { in isChildView() argument217 return potentialChild.getParent() != null in isChildView()218 && (potentialChild.getParent() == parent in isChildView()219 || (potentialChild.getParent() instanceof ViewGroup in isChildView()220 && 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()