Lines Matching defs:mContent
71 protected CellLayout mContent;
148 mContent = (CellLayout) findViewById(R.id.folder_content);
149 mContent.setGridSize(0, 0);
217 mContent.removeView(mCurrentDragView);
360 mContent.setAlpha(0);
392 ObjectAnimator alphaOa = ObjectAnimator.ofPropertyValuesHolder(mContent, alpha);
419 View firstChild = mContent.getChildAt(0, 0);
449 ObjectAnimator alphaOa = ObjectAnimator.ofPropertyValuesHolder(mContent, alpha);
473 mContent.removeAllViewsInLayout();
487 if (mContent.findCellForSpan(emptyCell, item.spanX, item.spanY)) {
511 if (mContent.getChildAt(item.cellX, item.cellY) != null || item.cellX < 0 || item.cellY < 0
512 || item.cellX >= mContent.getCountX() || item.cellY >= mContent.getCountY()) {
522 mContent.addViewToCellLayout(textView, insert ? 0 : -1, (int)item.id, lp, true);
554 wrap = empty[0] >= mContent.getCountX() - 1;
558 endX = y < target[1] ? mContent.getCountX() - 1 : target[0];
560 View v = mContent.getChildAt(x,y);
561 if (mContent.animateChildToPosition(v, empty[0], empty[1],
574 startX = y == empty[1] ? empty[0] - 1 : mContent.getCountX() - 1;
577 View v = mContent.getChildAt(x,y);
578 if (mContent.animateChildToPosition(v, empty[0], empty[1],
592 mTargetCell = mContent.findNearestArea((int) r[0], (int) r[1], 1, 1, mTargetCell);
714 int countX = mContent.getCountX();
715 int countY = mContent.getCountY();
736 mContent.setGridSize(countX, countY);
747 int width = getPaddingLeft() + getPaddingRight() + mContent.getDesiredWidth();
748 int height = getPaddingTop() + getPaddingBottom() + mContent.getDesiredHeight()
812 int width = getPaddingLeft() + getPaddingRight() + mContent.getDesiredWidth();
813 int height = getPaddingTop() + getPaddingBottom() + mContent.getDesiredHeight()
816 int contentWidthSpec = MeasureSpec.makeMeasureSpec(mContent.getDesiredWidth(),
818 int contentHeightSpec = MeasureSpec.makeMeasureSpec(mContent.getDesiredHeight(),
820 mContent.measure(contentWidthSpec, contentHeightSpec);
832 mContent.removeAllViews();
836 mContent.getVacantCell(vacant, 1, 1);
848 mContent.addViewToCellLayout(v, insert ? 0 : -1, (int)info.id, lp, true);
854 return mContent.getChildrenLayout().getChildCount();
858 return mContent.getChildrenLayout().getChildAt(index);
943 mContent.addViewToCellLayout(mCurrentDragView, -1, (int)item.id, lp, true);
977 mContent.removeView(v);
989 for (int j = 0; j < mContent.getCountY(); j++) {
990 for (int i = 0; i < mContent.getCountX(); i++) {
991 View v = mContent.getChildAt(i, j);
1014 for (int j = 0; j < mContent.getCountY(); j++) {
1015 for (int i = 0; i < mContent.getCountX(); i++) {
1016 View v = mContent.getChildAt(i, j);