Searched refs:parentType (Results 1 – 2 of 2) sorted by relevance
48 public static <T> T getParent(@NonNull Fragment fragment, @NonNull Class<T> parentType) { in getParent() argument49 if (parentType.isInstance(sParentForTesting)) { in getParent()56 if (parentType.isInstance(parentFragment)) { in getParent()63 if (parentType.isInstance(activity)) { in getParent()78 public static <T> T requireParent(@NonNull Fragment fragment, @NonNull Class<T> parentType) { in requireParent() argument79 return Objects.requireNonNull(getParent(fragment, parentType)); in requireParent()89 public static void checkParent(@NonNull Fragment fragment, @NonNull Class<?> parentType) in checkParent() argument94 if (FragmentUtils.getParent(fragment, parentType) != null) { in checkParent()106 + parentType.getName() in checkParent()115 + parentType.getName() in checkParent()
57 int parentType = parentCursor.getInt(Mailbox.CONTENT_TYPE_COLUMN); in setFlagsAndChildrensParentKey() local60 if (parentType <= Mailbox.TYPE_NOT_EMAIL) { in setFlagsAndChildrensParentKey()64 if (parentType == Mailbox.TYPE_MAIL || parentType == Mailbox.TYPE_TRASH || in setFlagsAndChildrensParentKey()65 parentType == Mailbox.TYPE_JUNK || parentType == Mailbox.TYPE_INBOX) { in setFlagsAndChildrensParentKey()95 parentType); in setFlagsAndChildrensParentKey()