Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DContactPhotoManagerImpl.java215 private static boolean isChildView(View parent, View potentialChild) { in isChildView() argument
216 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()
/packages/apps/Contacts/src/com/android/contacts/
DContactPhotoManager.java906 private static boolean isChildView(View parent, View potentialChild) { in isChildView() argument
907 return potentialChild.getParent() != null && (potentialChild.getParent() == parent || ( in isChildView()
908 potentialChild.getParent() instanceof ViewGroup && isChildView(parent, in isChildView()
909 (ViewGroup) potentialChild.getParent()))); in isChildView()