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

/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/design/src/android/support/design/widget/
H A DViewGroupUtils.java36 * @param descendant view defining the original coordinate system of rect
37 * @param rect (in/out) the rect to offset from descendant to this view's coordinate system
39 static void offsetDescendantRect(ViewGroup parent, View descendant, Rect rect) { argument
48 offsetDescendantMatrix(parent, descendant, m);
62 * Retrieve the transformed bounding rect of an arbitrary descendant view.
65 * @param descendant descendant view to reference
66 * @param out rect to set to the bounds of the descendant view
68 static void getDescendantRect(ViewGroup parent, View descendant, Rect out) { argument
69 out.set(0, 0, descendant
[all...]
H A DCollapsingToolbarLayout.java379 private View findDirectChild(final View descendant) { argument
380 View directChild = descendant;
381 for (ViewParent p = descendant.getParent(); p != this && p != null; p = p.getParent()) {
H A DCoordinatorLayout.java101 * to an arbitrary descendant of the CoordinatorLayout, but it may not be the anchored child itself
102 * or a descendant of the anchored child. This can be used to place floating views relative to
684 * Retrieve the transformed bounding rect of an arbitrary descendant view.
687 * @param descendant descendant view to reference
688 * @param out rect to set to the bounds of the descendant view
690 void getDescendantRect(View descendant, Rect out) { argument
691 ViewGroupUtils.getDescendantRect(this, descendant, out);
2288 * Called when a descendant of the CoordinatorLayout attempts to initiate a nested scroll.
2300 * @param target the descendant vie
[all...]
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
H A DPlaybackTransportRowPresenterTest.java217 static boolean isDescendant(View view, View descendant) { argument
218 while (descendant != view) {
219 ViewParent p = descendant.getParent();
223 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/core-ui/java/android/support/v4/widget/
H A DNestedScrollView.java1284 * @return whether the descendant of this scroll view is scrolled off
1287 private boolean isOffScreen(View descendant) { argument
1288 return !isWithinDeltaOfScreen(descendant, 0, getHeight());
1292 * @return whether the descendant of this scroll view is within delta
1295 private boolean isWithinDeltaOfScreen(View descendant, int delta, int height) { argument
1296 descendant.getDrawingRect(mTempRect);
1297 offsetDescendantRectToMyCoords(descendant, mTempRect);
1729 * Return true if child is a descendant of parent, (or equal to the parent).
/frameworks/base/core/java/android/view/
H A DViewGroup.java687 * Gets the descendant focusability of this view group. The descendant
705 * Set the descendant focusability of this view group. This defines the relationship
1167 // Determine whether we have a focused descendant.
1177 // Determine whether we have a focusable descendant.
1284 * If this option is enabled and the ViewGroup or a descendant currently has focus, focus
2486 // normal event dispatch. Maybe a descendant is what will handle the click.
3174 throw new IllegalStateException("descendant focusability must be "
3181 * Look for a descendant to call {@link View#requestFocus} on.
5698 // we do this after consuming any relevant flags from the originating descendant)
5887 offsetDescendantRectToMyCoords(View descendant, Rect rect) argument
5897 offsetRectIntoDescendantCoords(View descendant, Rect rect) argument
5905 offsetRectBetweenParentAndChild(View descendant, Rect rect, boolean offsetFromChildToParent, boolean clipToBounds) argument
[all...]
H A DViewRootImpl.java1173 public void onDescendantInvalidated(@NonNull View child, @NonNull View descendant) { argument
1174 if ((descendant.mPrivateFlags & PFLAG_DRAW_ANIMATION) != 0) {
3447 // 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 405 milliseconds