Lines Matching defs:child
694 final View child = getPageAt(i);
695 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
716 child.measure(childWidthMeasureSpec, childHeightMeasureSpec);
778 final View child = getPageAt(i);
780 if (child.getVisibility() != View.GONE) {
781 final int childWidth = getScaledMeasuredWidth(child);
782 final int childHeight = child.getMeasuredHeight();
784 if (DEBUG) Log.d(TAG, "\tlayout-child" + i + ": " + childLeft + ", " + childTop);
785 child.layout(childLeft, childTop,
786 childLeft + child.getMeasuredWidth(), childTop + childHeight);
808 public void onChildViewAdded(View parent, View child) {
817 public void onChildViewRemoved(View parent, View child) {
881 protected int getScaledMeasuredWidth(View child) {
884 final int measuredWidth = child.getMeasuredWidth();
933 protected boolean shouldDrawChild(View child) {
934 return child.getAlpha() > 0;
986 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) {
987 int page = indexToPage(indexOfChild(child));
1771 public void requestChildFocus(View child, View focused) {
1772 super.requestChildFocus(child, focused);
1773 int page = indexToPage(indexOfChild(child));
2228 // Set the touch state to reordering (allows snapping to pages, dragging a child, etc.)
2312 // If we haven't flung-to-delete the current child, then we just animate the drag view