Lines Matching defs:child
540 final View child = getChildAt(i);
541 child.cancelLongPress();
558 View child, int index, int childId, LayoutParams params, boolean markCells) {
569 child.setId(childId);
571 mChildren.addView(child, index, lp);
573 if (markCells) markCellsAsOccupiedForView(child);
655 final View child = mChildren.getChildAt(i);
656 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
658 if ((child.getVisibility() == VISIBLE || child.getAnimation() != null) &&
660 child.getHitRect(frame);
662 // The child hit rect is relative to the CellLayoutChildren parent, so we need to
668 cellInfo.cell = child;
864 View child = getChildAt(i);
869 child.measure(childWidthMeasureSpec, childheightMeasureSpec);
878 View child = getChildAt(i);
879 child.layout(mPaddingLeft, mPaddingTop,
959 public boolean animateChildToPosition(final View child, int cellX, int cellY, int duration,
962 if (clc.indexOfChild(child) != -1 && !mOccupied[cellX][cellY]) {
963 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
964 final ItemInfo info = (ItemInfo) child.getTag();
987 child.requestLayout();
996 child.requestLayout();
1415 * Mark a child as having been dropped.
1416 * At the beginning of the drag operation, the child may have been on another
1419 * @param child The child that is being dropped
1421 void onDropChild(View child) {
1422 if (child != null) {
1423 LayoutParams lp = (LayoutParams) child.getLayoutParams();
1425 child.requestLayout();