Lines Matching refs:child
147 void measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth,
156 super.measureChildBeforeLayout(child, childIndex,
180 final View child = getChildAt(i);
181 if (child.getVisibility() == GONE) continue;
190 final View child = getChildAt(i);
191 if (child.getVisibility() == GONE) continue;
192 final int childWidth = child.getMeasuredWidth();
199 mImposedTabsHeight = Math.max(mImposedTabsHeight, child.getMeasuredHeight());
348 public void childDrawableStateChanged(View child) {
349 if (getTabCount() > 0 && child == getChildTabViewAt(mSelectedTab)) {
353 super.childDrawableStateChanged(child);
479 final View child = getChildTabViewAt(i);
480 child.setEnabled(enabled);
485 public void addView(View child) {
486 if (child.getLayoutParams() == null) {
490 child.setLayoutParams(lp);
494 child.setFocusable(true);
495 child.setClickable(true);
497 super.addView(child);
501 child.setOnClickListener(new TabClickListener(getTabCount() - 1));