• Home
  • Raw
  • Download

Lines Matching refs:child

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