Lines Matching defs:child
71 View child = getChildAt(i);
72 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
76 return child;
91 final View child = getChildAt(i);
92 final CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
109 View child = getChildAt(i);
110 if (child.getVisibility() != GONE) {
111 measureChild(child);
142 public void measureChild(View child) {
146 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
151 if (child instanceof LauncherAppWidgetHostView) {
158 child.setPadding(cellPaddingX, cellPaddingY, cellPaddingX, 0);
169 child.measure(childWidthMeasureSpec, childheightMeasureSpec);
180 final View child = getChildAt(i);
181 if (child.getVisibility() != GONE) {
182 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
185 child.layout(childLeft, childTop, childLeft + lp.width, childTop + lp.height);
207 public void requestChildFocus(View child, View focused) {
208 super.requestChildFocus(child, focused);
209 if (child != null) {
211 child.getDrawingRect(r);
223 final View child = getChildAt(i);
224 child.cancelLongPress();