Lines Matching defs:child
69 // Indicates whether the child was set from resources or dynamically, so it can be used
142 public void addView(View child, int index, ViewGroup.LayoutParams params) {
143 if (child instanceof RadioButton) {
144 final RadioButton button = (RadioButton) child;
155 super.addView(child, index, params);
274 * for a list of all child view attributes that this class supports.</p>
314 * <p>Fixes the child's width to
315 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT} and the child's
388 public void onChildViewAdded(View parent, View child) {
389 if (parent == RadioGroup.this && child instanceof RadioButton) {
390 int id = child.getId();
394 child.setId(id);
396 ((RadioButton) child).setOnCheckedChangeWidgetListener(
401 mOnHierarchyChangeListener.onChildViewAdded(parent, child);
409 public void onChildViewRemoved(View parent, View child) {
410 if (parent == RadioGroup.this && child instanceof RadioButton) {
411 ((RadioButton) child).setOnCheckedChangeWidgetListener(null);
415 mOnHierarchyChangeListener.onChildViewRemoved(parent, child);
436 final View child = getChildAt(index);
437 if (child == null) {
438 Log.w(VIEW_LOG_TAG, "RadioGroup.autoFill(): no child with index " + index);
442 check(child.getId());
456 final View child = getChildAt(i);
457 if (child.getId() == mCheckedId) {