Searched defs:descendant (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/ |
H A D | ButtonsWithTallTextViewInBetweenTest.java | 54 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/widget/ |
H A D | HorizontalScrollView.java | 1100 * @return whether the descendant of this scroll view is scrolled off 1103 private boolean isOffScreen(View descendant) { argument 1104 return !isWithinDeltaOfScreen(descendant, 0); 1108 * @return whether the descendant of this scroll view is within delta 1111 private boolean isWithinDeltaOfScreen(View descendant, int delta) { argument 1112 descendant.getDrawingRect(mTempRect); 1113 offsetDescendantRectToMyCoords(descendant, mTempRect); 1482 * Return true if child is a descendant of parent, (or equal to the parent).
|
H A D | ScrollView.java | 1084 * @return whether the descendant of this scroll view is scrolled off 1087 private boolean isOffScreen(View descendant) { argument 1088 return !isWithinDeltaOfScreen(descendant, 0, getHeight()); 1092 * @return whether the descendant of this scroll view is within delta 1095 private boolean isWithinDeltaOfScreen(View descendant, int delta, int height) { argument 1096 descendant.getDrawingRect(mTempRect); 1097 offsetDescendantRectToMyCoords(descendant, mTempRect); 1491 * Return true if child is a descendant of parent, (or equal to the parent).
|
H A D | ListView.java | 2926 * @param descendant A descendant of this list. 2929 private int distanceToView(View descendant) { argument 2931 descendant.getDrawingRect(mTempRect); 2932 offsetDescendantRectToMyCoords(descendant, mTempRect);
|
/frameworks/base/core/java/android/view/ |
H A D | ViewGroup.java | 514 * Gets the descendant focusability of this view group. The descendant 532 * Set the descendant focusability of this view group. This defines the relationship 2334 throw new IllegalStateException("descendant focusability must be " 2341 * Look for a descendant to call {@link View#requestFocus} on. 4228 * Offset a rectangle that is in a descendant's coordinate 4230 * @param descendant A descendant of this view 4231 * @param rect A rectangle defined in descendant's coordinate space. 4233 public final void offsetDescendantRectToMyCoords(View descendant, Rec argument 4243 offsetRectIntoDescendantCoords(View descendant, Rect rect) argument 4251 offsetRectBetweenParentAndChild(View descendant, Rect rect, boolean offsetFromChildToParent, boolean clipToBounds) argument [all...] |
Completed in 351 milliseconds