Home | History | Annotate | Download | only in launcher2

Lines Matching full:mcontent

72     protected CellLayout mContent;
155 mContent = (CellLayout) findViewById(R.id.folder_content);
156 mContent.setGridSize(0, 0);
157 mContent.getShortcutsAndWidgets().setMotionEventSplittingEnabled(false);
158 mContent.setInvertIfRtl(true);
230 mContent.removeView(mCurrentDragView);
343 final int countX = mContent.getCountX();
431 mContent.getCountX(), mContent.getCountY()));
462 View firstChild = mContent.getChildAt(0, 0);
498 mContent.removeAllViewsInLayout();
512 if (mContent.findCellForSpan(emptyCell, item.spanX, item.spanY)) {
537 if (mContent.getChildAt(item.cellX, item.cellY) != null || item.cellX < 0 || item.cellY < 0
538 || item.cellX >= mContent.getCountX() || item.cellY >= mContent.getCountY()) {
550 mContent.addViewToCellLayout(textView, insert ? 0 : -1, (int)item.id, lp, true);
582 wrap = empty[0] >= mContent.getCountX() - 1;
586 endX = y < target[1] ? mContent.getCountX() - 1 : target[0];
588 View v = mContent.getChildAt(x,y);
589 if (mContent.animateChildToPosition(v, empty[0], empty[1],
602 startX = y == empty[1] ? empty[0] - 1 : mContent.getCountX() - 1;
605 View v = mContent.getChildAt(x,y);
606 if (mContent.animateChildToPosition(v, empty[0], empty[1],
624 mTargetCell = mContent.findNearestArea((int) r[0], (int) r[1], 1, 1, mTargetCell);
627 mTargetCell[0] = mContent.getCountX() - mTargetCell[0] - 1;
764 int countX = mContent.getCountX();
765 int countY = mContent.getCountY();
786 mContent.setGridSize(countX, countY);
797 int width = getPaddingLeft() + getPaddingRight() + mContent.getDesiredWidth();
798 int height = getPaddingTop() + getPaddingBottom() + mContent.getDesiredHeight()
869 int width = getPaddingLeft() + getPaddingRight() + mContent.getDesiredWidth();
870 int height = getPaddingTop() + getPaddingBottom() + mContent.getDesiredHeight()
873 int contentWidthSpec = MeasureSpec.makeMeasureSpec(mContent.getDesiredWidth(),
875 int contentHeightSpec = MeasureSpec.makeMeasureSpec(mContent.getDesiredHeight(),
877 mContent.measure(contentWidthSpec, contentHeightSpec);
889 mContent.removeAllViews();
893 mContent.getVacantCell(vacant, 1, 1);
905 mContent.addViewToCellLayout(v, insert ? 0 : -1, (int)info.id, lp, true);
911 return mContent.getShortcutsAndWidgets().getChildCount();
915 return mContent.getShortcutsAndWidgets().getChildAt(index);
1015 mContent.addViewToCellLayout(mCurrentDragView, -1, (int)item.id, lp, true);
1062 mContent.removeView(v);
1074 for (int j = 0; j < mContent.getCountY(); j++) {
1075 for (int i = 0; i < mContent.getCountX(); i++) {
1076 View v = mContent.getChildAt(i, j);
1095 for (int j = 0; j < mContent.getCountY(); j++) {
1096 for (int i = 0; i < mContent.getCountX(); i++) {
1097 View v = mContent.getChildAt(i, j);