Searched refs:descendant (Results 1 - 5 of 5) 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/base/core/java/android/view/
H A DViewGroup.java556 * Gets the descendant focusability of this view group. The descendant
574 * Set the descendant focusability of this view group. This defines the relationship
2377 throw new IllegalStateException("descendant focusability must be "
2384 * Look for a descendant to call {@link View#requestFocus} on.
4479 * Offset a rectangle that is in a descendant's coordinate
4481 * @param descendant A descendant of this view
4482 * @param rect A rectangle defined in descendant's coordinate space.
4484 public final void offsetDescendantRectToMyCoords(View descendant, Rec argument
4494 offsetRectIntoDescendantCoords(View descendant, Rect rect) argument
4502 offsetRectBetweenParentAndChild(View descendant, Rect rect, boolean offsetFromChildToParent, boolean clipToBounds) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DHorizontalScrollView.java1109 * @return whether the descendant of this scroll view is scrolled off
1112 private boolean isOffScreen(View descendant) { argument
1113 return !isWithinDeltaOfScreen(descendant, 0);
1117 * @return whether the descendant of this scroll view is within delta
1120 private boolean isWithinDeltaOfScreen(View descendant, int delta) { argument
1121 descendant.getDrawingRect(mTempRect);
1122 offsetDescendantRectToMyCoords(descendant, mTempRect);
1529 * Return true if child is a descendant of parent, (or equal to the parent).
H A DScrollView.java1093 * @return whether the descendant of this scroll view is scrolled off
1096 private boolean isOffScreen(View descendant) { argument
1097 return !isWithinDeltaOfScreen(descendant, 0, getHeight());
1101 * @return whether the descendant of this scroll view is within delta
1104 private boolean isWithinDeltaOfScreen(View descendant, int delta, int height) { argument
1105 descendant.getDrawingRect(mTempRect);
1106 offsetDescendantRectToMyCoords(descendant, mTempRect);
1518 * Return true if child is a descendant of parent, (or equal to the parent).
H A DListView.java2989 * @param descendant A descendant of this list.
2992 private int distanceToView(View descendant) { argument
2994 descendant.getDrawingRect(mTempRect);
2995 offsetDescendantRectToMyCoords(descendant, mTempRect);

Completed in 118 milliseconds