Lines Matching refs:lp
64 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
66 if ((lp.cellX <= x) && (x < lp.cellX + lp.cellHSpan) &&
67 (lp.cellY <= y) && (y < lp.cellY + lp.cellVSpan)) {
84 final CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
86 canvas.drawRect(lp.x, lp.y, lp.x + lp.width, lp.y + lp.height, p);
104 public void setupLp(CellLayout.LayoutParams lp) {
105 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(),
117 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
119 lp.setup(cellWidth, cellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(), mCountX);
120 int childWidthMeasureSpec = MeasureSpec.makeMeasureSpec(lp.width, MeasureSpec.EXACTLY);
121 int childheightMeasureSpec = MeasureSpec.makeMeasureSpec(lp.height,
140 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
142 int childLeft = lp.x;
143 int childTop = lp.y;
144 child.layout(childLeft, childTop, childLeft + lp.width, childTop + lp.height);
146 if (lp.dropped) {
147 lp.dropped = false;
153 cellXY[0] + childLeft + lp.width / 2,
154 cellXY[1] + childTop + lp.height / 2, 0, null);