Lines Matching refs:child
528 final View child = getPageAt(i);
529 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
550 child.measure(childWidthMeasureSpec, childHeightMeasureSpec);
551 maxChildHeight = Math.max(maxChildHeight, child.getMeasuredHeight());
552 if (DEBUG) Log.d(TAG, "\tmeasure-child" + i + ": " + child.getMeasuredWidth() + ", "
553 + child.getMeasuredHeight());
618 final View child = getPageAt(i);
619 childrenX[i] = child.getX();
620 childrenY[i] = child.getY();
629 final View child = getPageAt(i);
630 child.setX(childrenX[i]);
631 child.setY(childrenY[i]);
660 final View child = getPageAt(i);
661 if (child.getVisibility() != View.GONE) {
662 final int childWidth = getScaledMeasuredWidth(child);
663 final int childHeight = child.getMeasuredHeight();
669 if (DEBUG) Log.d(TAG, "\tlayout-child" + i + ": " + childLeft + ", " + childTop);
670 child.layout(childLeft, childTop,
671 childLeft + child.getMeasuredWidth(), childTop + childHeight);
692 View child = getChildAt(i);
693 if (child != null) {
694 float scrollProgress = getScrollProgress(screenCenter, child, i);
696 child.setAlpha(alpha);
704 public void onChildViewAdded(View parent, View child) {
713 public void onChildViewRemoved(View parent, View child) {
774 protected int getScaledMeasuredWidth(View child) {
777 final int measuredWidth = child.getMeasuredWidth();
815 protected boolean shouldDrawChild(View child) {
816 return child.getAlpha() > 0;
861 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) {
862 int page = indexToPage(indexOfChild(child));
1440 public void requestChildFocus(View child, View focused) {
1441 super.requestChildFocus(child, focused);
1442 int page = indexToPage(indexOfChild(child));