Searched defs:descendant (Results 1 - 11 of 11) sorted by relevance

/frameworks/support/coordinatorlayout/src/main/java/androidx/coordinatorlayout/widget/
H A DViewGroupUtils.java44 * @param descendant view defining the original coordinate system of rect
45 * @param rect (in/out) the rect to offset from descendant to this view's coordinate system
47 static void offsetDescendantRect(ViewGroup parent, View descendant, Rect rect) { argument
56 offsetDescendantMatrix(parent, descendant, m);
70 * Retrieve the transformed bounding rect of an arbitrary descendant view.
73 * @param descendant descendant view to reference
74 * @param out rect to set to the bounds of the descendant view
76 public static void getDescendantRect(ViewGroup parent, View descendant, Rect out) { argument
77 out.set(0, 0, descendant
[all...]
H A DCoordinatorLayout.java102 * to an arbitrary descendant of the CoordinatorLayout, but it may not be the anchored child itself
103 * or a descendant of the anchored child. This can be used to place floating views relative to
698 * Retrieve the transformed bounding rect of an arbitrary descendant view.
701 * @param descendant descendant view to reference
702 * @param out rect to set to the bounds of the descendant view
704 void getDescendantRect(View descendant, Rect out) { argument
705 ViewGroupUtils.getDescendantRect(this, descendant, out);
2335 * Called when a descendant of the CoordinatorLayout attempts to initiate a nested scroll.
2347 * @param target the descendant vie
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
H A DButtonsWithTallTextViewInBetweenTest.java54 private int getTopWithinScrollView(View descendant) { argument
55 descendant.getDrawingRect(mTempRect);
56 mScrollView.offsetDescendantRectToMyCoords(descendant, mTempRect);
60 private int getBottomWithinScrollView(View descendant) { argument
61 descendant.getDrawingRect(mTempRect);
62 mScrollView.offsetDescendantRectToMyCoords(descendant, mTempRect);
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
H A DPlaybackTransportRowPresenterTest.java218 static boolean isDescendant(View view, View descendant) { argument
219 while (descendant != view) {
220 ViewParent p = descendant.getParent();
224 descendant = (View) p;
/frameworks/base/core/java/android/widget/
H A DHorizontalScrollView.java1155 * @return whether the descendant of this scroll view is scrolled off
1158 private boolean isOffScreen(View descendant) { argument
1159 return !isWithinDeltaOfScreen(descendant, 0);
1163 * @return whether the descendant of this scroll view is within delta
1166 private boolean isWithinDeltaOfScreen(View descendant, int delta) { argument
1167 descendant.getDrawingRect(mTempRect);
1168 offsetDescendantRectToMyCoords(descendant, mTempRect);
1578 * Return true if child is a descendant of parent, (or equal to the parent).
H A DListView.java3215 * @param descendant A descendant of this list.
3218 private int distanceToView(View descendant) { argument
3220 descendant.getDrawingRect(mTempRect);
3221 offsetDescendantRectToMyCoords(descendant, mTempRect);
H A DScrollView.java1169 * @return whether the descendant of this scroll view is scrolled off
1172 private boolean isOffScreen(View descendant) { argument
1173 return !isWithinDeltaOfScreen(descendant, 0, getHeight());
1177 * @return whether the descendant of this scroll view is within delta
1180 private boolean isWithinDeltaOfScreen(View descendant, int delta, int height) { argument
1181 descendant.getDrawingRect(mTempRect);
1182 offsetDescendantRectToMyCoords(descendant, mTempRect);
1602 * Return true if child is a descendant of parent, (or equal to the parent).
/frameworks/support/compat/src/main/java/androidx/core/widget/
H A DNestedScrollView.java1336 * @return whether the descendant of this scroll view is scrolled off
1339 private boolean isOffScreen(View descendant) { argument
1340 return !isWithinDeltaOfScreen(descendant, 0, getHeight());
1344 * @return whether the descendant of this scroll view is within delta
1347 private boolean isWithinDeltaOfScreen(View descendant, int delta, int height) { argument
1348 descendant.getDrawingRect(mTempRect);
1349 offsetDescendantRectToMyCoords(descendant, mTempRect);
1797 * Return true if child is a descendant of parent, (or equal to the parent).
/frameworks/base/core/java/android/view/
H A DViewGroup.java749 * Gets the descendant focusability of this view group. The descendant
767 * Set the descendant focusability of this view group. This defines the relationship
1229 // Determine whether we have a focused descendant.
1239 // Determine whether we have a focusable descendant.
1346 * If this option is enabled and the ViewGroup or a descendant currently has focus, focus
2548 // normal event dispatch. Maybe a descendant is what will handle the click.
3241 throw new IllegalStateException("descendant focusability must be "
3252 * Look for a descendant to call {@link View#requestFocus} on.
5817 // we do this after consuming any relevant flags from the originating descendant)
6006 offsetDescendantRectToMyCoords(View descendant, Rect rect) argument
6016 offsetRectIntoDescendantCoords(View descendant, Rect rect) argument
6024 offsetRectBetweenParentAndChild(View descendant, Rect rect, boolean offsetFromChildToParent, boolean clipToBounds) argument
[all...]
H A DViewRootImpl.java1237 public void onDescendantInvalidated(@NonNull View child, @NonNull View descendant) { argument
1238 if ((descendant.mPrivateFlags & PFLAG_DRAW_ANIMATION) != 0) {
3783 // to its children first AND the view is a descendant of it.
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 674 milliseconds