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

/frameworks/support/design/src/android/support/design/widget/
H A DViewGroupUtils.java61 * @param descendant view defining the original coordinate system of rect
62 * @param rect (in/out) the rect to offset from descendant to this view's coordinate system
64 static void offsetDescendantRect(ViewGroup parent, View descendant, Rect rect) { argument
65 IMPL.offsetDescendantRect(parent, descendant, rect);
69 * Retrieve the transformed bounding rect of an arbitrary descendant view.
72 * @param descendant descendant view to reference
73 * @param out rect to set to the bounds of the descendant view
75 static void getDescendantRect(ViewGroup parent, View descendant, Rect out) { argument
76 out.set(0, 0, descendant
[all...]
H A DCoordinatorLayout.java82 * to an arbitrary descendant of the CoordinatorLayout, but it may not be the anchored child itself
83 * or a descendant of the anchored child. This can be used to place floating views relative to
572 * Retrieve the transformed bounding rect of an arbitrary descendant view.
575 * @param descendant descendant view to reference
576 * @param out rect to set to the bounds of the descendant view
578 void getDescendantRect(View descendant, Rect out) { argument
579 ViewGroupUtils.getDescendantRect(this, descendant, out);
1896 * Called when a descendant of the CoordinatorLayout attempts to initiate a nested scroll.
1908 * @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/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DUtilities.java44 /** Maps a coorindate in a descendant view into the parent. */
45 public static float mapCoordInDescendentToSelf(View descendant, View root, argument
51 View v = descendant;
64 if (v0 != descendant || includeRootScroll) {
81 public static float mapCoordInSelfToDescendent(View descendant, View root, argument
87 View v = descendant;
/frameworks/base/core/java/android/view/
H A DViewGroup.java666 * Gets the descendant focusability of this view group. The descendant
684 * Set the descendant focusability of this view group. This defines the relationship
1122 * If this option is enabled and the ViewGroup or a descendant currently has focus, focus
2083 // normal event dispatch. Maybe a descendant is what will handle the click.
2755 throw new IllegalStateException("descendant focusability must be "
2762 * Look for a descendant to call {@link View#requestFocus} on.
5257 * Offset a rectangle that is in a descendant's coordinate
5259 * @param descendant A descendant o
5262 offsetDescendantRectToMyCoords(View descendant, Rect rect) argument
5272 offsetRectIntoDescendantCoords(View descendant, Rect rect) argument
5280 offsetRectBetweenParentAndChild(View descendant, Rect rect, boolean offsetFromChildToParent, boolean clipToBounds) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DHorizontalScrollView.java1130 * @return whether the descendant of this scroll view is scrolled off
1133 private boolean isOffScreen(View descendant) { argument
1134 return !isWithinDeltaOfScreen(descendant, 0);
1138 * @return whether the descendant of this scroll view is within delta
1141 private boolean isWithinDeltaOfScreen(View descendant, int delta) { argument
1142 descendant.getDrawingRect(mTempRect);
1143 offsetDescendantRectToMyCoords(descendant, mTempRect);
1548 * Return true if child is a descendant of parent, (or equal to the parent).
H A DScrollView.java1148 * @return whether the descendant of this scroll view is scrolled off
1151 private boolean isOffScreen(View descendant) { argument
1152 return !isWithinDeltaOfScreen(descendant, 0, getHeight());
1156 * @return whether the descendant of this scroll view is within delta
1159 private boolean isWithinDeltaOfScreen(View descendant, int delta, int height) { argument
1160 descendant.getDrawingRect(mTempRect);
1161 offsetDescendantRectToMyCoords(descendant, mTempRect);
1575 * Return true if child is a descendant of parent, (or equal to the parent).
H A DListView.java3046 * @param descendant A descendant of this list.
3049 private int distanceToView(View descendant) { argument
3051 descendant.getDrawingRect(mTempRect);
3052 offsetDescendantRectToMyCoords(descendant, mTempRect);
/frameworks/support/v4/java/android/support/v4/widget/
H A DNestedScrollView.java1206 * @return whether the descendant of this scroll view is scrolled off
1209 private boolean isOffScreen(View descendant) { argument
1210 return !isWithinDeltaOfScreen(descendant, 0, getHeight());
1214 * @return whether the descendant of this scroll view is within delta
1217 private boolean isWithinDeltaOfScreen(View descendant, int delta, int height) { argument
1218 descendant.getDrawingRect(mTempRect);
1219 offsetDescendantRectToMyCoords(descendant, mTempRect);
1593 * Return true if child is a descendant of parent, (or equal to the parent).
/frameworks/base/docs/html/training/
H A Dtraining_toc.cs1231 <li><a href="<?cs var:toroot ?>training/design-navigation/descendant-lateral.html">
1271 <li><a href="<?cs var:toroot ?>training/implementing-navigation/descendant.html">
/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 417 milliseconds