Lines Matching refs:descendant

666      * 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 of this view
5260 * @param rect A rectangle defined in descendant's coordinate space.
5262 public final void offsetDescendantRectToMyCoords(View descendant, Rect rect) {
5263 offsetRectBetweenParentAndChild(descendant, rect, true, false);
5269 * @param descendant A descendant of this view
5270 * @param rect A rectangle defined in descendant's coordinate space.
5272 public final void offsetRectIntoDescendantCoords(View descendant, Rect rect) {
5273 offsetRectBetweenParentAndChild(descendant, rect, false, false);
5277 * Helper method that offsets a rect either from parent to descendant or
5278 * descendant to parent.
5280 void offsetRectBetweenParentAndChild(View descendant, Rect rect,
5284 if (descendant == this) {
5288 ViewParent theParent = descendant.mParent;
5296 rect.offset(descendant.mLeft - descendant.mScrollX,
5297 descendant.mTop - descendant.mScrollY);
5315 rect.offset(descendant.mScrollX - descendant.mLeft,
5316 descendant.mScrollY - descendant.mTop);
5319 descendant = (View) theParent;
5320 theParent = descendant.mParent;
5327 rect.offset(descendant.mLeft - descendant.mScrollX,
5328 descendant.mTop - descendant.mScrollY);
5330 rect.offset(descendant.mScrollX - descendant.mLeft,
5331 descendant.mScrollY - descendant.mTop);
5334 throw new IllegalArgumentException("parameter must be a descendant of this view");
5707 * Recursion terminates when a descendant's mode is:
6695 * acting as a nested scrolling parent for one or more descendant views in the hierarchy.</p>