Home
last modified time | relevance | path

Searched refs:RadioButton (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/core/java/android/widget/
DRadioButton.java48 public class RadioButton extends CompoundButton { class
50 public RadioButton(Context context) { in RadioButton() method in RadioButton
54 public RadioButton(Context context, AttributeSet attrs) { in RadioButton() method in RadioButton
58 public RadioButton(Context context, AttributeSet attrs, int defStyleAttr) { in RadioButton() method in RadioButton
62 public RadioButton(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in RadioButton() method in RadioButton
82 return RadioButton.class.getName(); in getAccessibilityClassName()
DRadioGroup.java128 if (child instanceof RadioButton) { in addView()
129 final RadioButton button = (RadioButton) child; in addView()
179 if (checkedView != null && checkedView instanceof RadioButton) { in setCheckedStateForView()
180 ((RadioButton) checkedView).setChecked(checked); in setCheckedStateForView()
368 if (parent == RadioGroup.this && child instanceof RadioButton) { in onChildViewAdded()
375 ((RadioButton) child).setOnCheckedChangeWidgetListener( in onChildViewAdded()
388 if (parent == RadioGroup.this && child instanceof RadioButton) { in onChildViewRemoved()
389 ((RadioButton) child).setOnCheckedChangeWidgetListener(null); in onChildViewRemoved()
DTimePickerClockDelegate.java78 private final RadioButton mAmLabel;
79 private final RadioButton mPmLabel;
145 mAmLabel = (RadioButton) mAmPmLayout.findViewById(R.id.am_label); in TimePickerClockDelegate()
150 mPmLabel = (RadioButton) mAmPmLayout.findViewById(R.id.pm_label); in TimePickerClockDelegate()
/frameworks/base/core/tests/coretests/src/android/widget/
DRadioGroupPreCheckedTest.java38 RadioButton radio = (RadioButton) activity.findViewById(R.id.value_one); in testRadioButtonPreChecked()
50 RadioButton radio = (RadioButton) activity.findViewById(R.id.value_two); in testRadioButtonChangePreChecked()
53 RadioButton old = (RadioButton) activity.findViewById(R.id.value_one); in testRadioButtonChangePreChecked()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DInterruptionTest.java26 import android.widget.RadioButton;
30 RadioButton mScene1RB, mScene2RB, mScene3RB, mScene4RB;
50 mScene1RB = (RadioButton) findViewById(R.id.scene1RB); in onCreate()
51 mScene2RB = (RadioButton) findViewById(R.id.scene2RB); in onCreate()
52 mScene3RB = (RadioButton) findViewById(R.id.scene3RB); in onCreate()
53 mScene4RB = (RadioButton) findViewById(R.id.scene4RB); in onCreate()
/frameworks/base/docs/html/guide/topics/ui/controls/
Dradiobutton.jd14 <li>{@link android.widget.RadioButton}</li>
27 <p>To create each radio button option, create a {@link android.widget.RadioButton} in your layout.
35 android.widget.RadioButton} object receives an on-click event.</p>
39 <code>&lt;RadioButton&gt;</code> element in your XML
44 <p>For example, here are a couple {@link android.widget.RadioButton} objects:</p>
52 &lt;RadioButton android:id="@+id/radio_pirates"
57 &lt;RadioButton android:id="@+id/radio_ninjas"
74 boolean checked = ((RadioButton) view).isChecked();
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/
DMainActivity.java35 import android.widget.RadioButton;
64 mWiFiConnectivityRadioButton = (RadioButton) findViewById(R.id.checkbox_unmetered); in onCreate()
65 mAnyConnectivityRadioButton = (RadioButton) findViewById(R.id.checkbox_any); in onCreate()
86 RadioButton mWiFiConnectivityRadioButton;
87 RadioButton mAnyConnectivityRadioButton;
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DElementLayoutActivity.java22 import android.widget.RadioButton;
102 RadioButton button = new RadioButton(this); in createRadioButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationGuts.java40 import android.widget.RadioButton;
80 private RadioButton mBlock;
81 private RadioButton mSilent;
82 private RadioButton mReset;
250 mBlock = (RadioButton) importanceButtons.findViewById(R.id.block_importance); in bindToggles()
251 mSilent = (RadioButton) importanceButtons.findViewById(R.id.silent_importance); in bindToggles()
252 mReset = (RadioButton) importanceButtons.findViewById(R.id.reset_importance); in bindToggles()
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DTestSoundTriggerActivity.java46 import android.widget.RadioButton;
47 import android.widget.RadioButton;
158 RadioButton button = new RadioButton(this); in createModelInfoAndWidget()
333 boolean checked = ((RadioButton) view).isChecked(); in onRadioButtonClicked()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatRadioButton.java29 import android.widget.RadioButton;
44 public class AppCompatRadioButton extends RadioButton implements TintableCompoundButton {
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DClientTest.java32 import android.widget.RadioButton;
64 RadioButton act = (RadioButton) findViewById(R.id.act); in onCreate()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DListMenuItemView.java31 import android.widget.RadioButton;
44 private RadioButton mRadioButton;
265 (RadioButton) inflater.inflate(R.layout.abc_list_menu_item_radio, in insertRadioButton()
/frameworks/base/core/java/com/android/internal/view/menu/
DListMenuItemView.java31 import android.widget.RadioButton;
42 private RadioButton mRadioButton;
264 (RadioButton) inflater.inflate(com.android.internal.R.layout.list_menu_item_radio, in insertRadioButton()
/frameworks/base/docs/html-intl/intl/ru/guide/topics/ui/
Dcontrols.jd73 <br>{@link android.widget.RadioButton RadioButton} </td>
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/ui/
Dcontrols.jd73 <br>{@link android.widget.RadioButton RadioButton} </td>
/frameworks/base/docs/html-intl/intl/ja/guide/topics/ui/
Dcontrols.jd73 <br>{@link android.widget.RadioButton RadioButton} </td>
/frameworks/base/docs/html-intl/intl/ko/guide/topics/ui/
Dcontrols.jd73 <br>{@link android.widget.RadioButton RadioButton} </td>
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/ui/
Dcontrols.jd73 <br>{@link android.widget.RadioButton RadioButton} </td>
/frameworks/base/docs/html/guide/topics/ui/
Dcontrols.jd75 <br>{@link android.widget.RadioButton RadioButton} </td>
/frameworks/base/docs/html-intl/intl/in/guide/topics/ui/
Dcontrols.jd73 <br>{@link android.widget.RadioButton RadioButton} </td>
/frameworks/base/docs/html-intl/intl/pt-br/guide/topics/ui/
Dcontrols.jd73 <br>{@link android.widget.RadioButton RadioButton} </td>
/frameworks/base/docs/html-intl/intl/vi/guide/topics/ui/
Dcontrols.jd73 <br>{@link android.widget.RadioButton RadioButton} </td>
/frameworks/base/docs/html-intl/intl/ja/training/material/
Dcompatibility.jd90 <li>{@link android.widget.RadioButton}</li>
/frameworks/base/docs/html-intl/intl/zh-cn/training/material/
Dcompatibility.jd90 <li>{@link android.widget.RadioButton}</li>

123