Lines Matching refs:child

442                 final View child = getChildAt(i);
443 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
445 child.offsetTopAndBottom((int) dy);
525 final View child = parent.getChildAt(i);
526 if (isChildUnder(child, x, y)) {
527 return child;
555 private boolean isDescendantClipped(View child) {
556 mTempRect.set(0, 0, child.getWidth(), child.getHeight());
557 offsetDescendantRectToMyCoords(child, mTempRect);
559 if (child.getParent() == this) {
560 directChild = child;
562 View v = child;
563 ViewParent p = child.getParent();
571 // ResolverDrawerLayout lays out vertically in child order;
585 private static boolean isChildUnder(View child, float x, float y) {
586 final float left = child.getX();
587 final float top = child.getY();
588 final float right = left + child.getWidth();
589 final float bottom = top + child.getHeight();
594 public void requestChildFocus(View child, View focused) {
595 super.requestChildFocus(child, focused);
615 public boolean onStartNestedScroll(View child, View target, int nestedScrollAxes) {
620 public void onNestedScrollAccepted(View child, View target, int axes) {
621 super.onNestedScrollAccepted(child, target, axes);
625 public void onStopNestedScroll(View child) {
626 super.onStopNestedScroll(child);
756 final View child = getChildAt(i);
757 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
758 if (lp.alwaysShow && child.getVisibility() != GONE) {
759 measureChildWithMargins(child, widthSpec, widthPadding, heightSpec, heightUsed);
760 heightUsed += getHeightUsed(child);
768 final View child = getChildAt(i);
769 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
770 if (!lp.alwaysShow && child.getVisibility() != GONE) {
771 measureChildWithMargins(child, widthSpec, widthPadding, heightSpec, heightUsed);
772 heightUsed += getHeightUsed(child);
788 private int getHeightUsed(View child) {
791 // imposes double child view measurement costs. If we're looking at a ListView, we can
792 // check against the lowest child view plus padding and margin instead of the actual
796 int heightUsed = child.getMeasuredHeight();
797 if (child instanceof AbsListView) {
798 final AbsListView lv = (AbsListView) child;
814 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
830 final View child = getChildAt(i);
831 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
833 indicatorHost = child;
836 if (child.getVisibility() == GONE) {
844 final int bottom = top + child.getMeasuredHeight();
846 final int childWidth = child.getMeasuredWidth();
851 child.layout(left, top, right, bottom);