Home
last modified time | relevance | path

Searched refs:RadioButton (Results 1 – 25 of 52) 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.java143 if (child instanceof RadioButton) { in addView()
144 final RadioButton button = (RadioButton) child; in addView()
202 if (checkedView != null && checkedView instanceof RadioButton) { in setCheckedStateForView()
203 ((RadioButton) checkedView).setChecked(checked); in setCheckedStateForView()
393 if (parent == RadioGroup.this && child instanceof RadioButton) { in onChildViewAdded()
400 ((RadioButton) child).setOnCheckedChangeWidgetListener( in onChildViewAdded()
414 if (parent == RadioGroup.this && child instanceof RadioButton) { in onChildViewRemoved()
415 ((RadioButton) child).setOnCheckedChangeWidgetListener(null); in onChildViewRemoved()
DTimePickerClockDelegate.java91 private final RadioButton mAmLabel;
92 private final RadioButton mPmLabel;
172 mAmLabel = (RadioButton) mAmPmLayout.findViewById(R.id.am_label); in TimePickerClockDelegate()
177 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/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestActivity.java46 import android.widget.RadioButton;
62 private Map<RadioButton, UUID> mButtonModelUuidMap;
63 private Map<UUID, RadioButton> mModelButtons;
65 private List<RadioButton> mModelRadioButtons;
123 RadioButton button = new RadioButton(this); in addModel()
136 Collections.sort(mModelRadioButtons, new Comparator<RadioButton>(){ in addModel()
138 public int compare(RadioButton button0, RadioButton button1) { in addModel()
293 boolean checked = ((RadioButton) view).isChecked(); in onRadioButtonClicked()
/frameworks/support/samples/SupportDesignDemos/src/main/java/com/example/android/support/design/widget/
DTabLayoutPreselectedUsage.java23 import android.widget.RadioButton;
79 ((RadioButton) findViewById(R.id.rb_tab_scrollable)).setChecked(true); in setupRadioGroup()
82 ((RadioButton) findViewById(R.id.rb_tab_fixed)).setChecked(true); in setupRadioGroup()
104 ((RadioButton) findViewById(R.id.rb_tab_g_center)).setChecked(true); in setupRadioGroup()
107 ((RadioButton) findViewById(R.id.rb_tab_g_fill)).setChecked(true); in setupRadioGroup()
DTabLayoutUsage.java23 import android.widget.RadioButton;
91 ((RadioButton) findViewById(R.id.rb_tab_scrollable)).setChecked(true); in setupRadioGroup()
94 ((RadioButton) findViewById(R.id.rb_tab_fixed)).setChecked(true); in setupRadioGroup()
116 ((RadioButton) findViewById(R.id.rb_tab_g_center)).setChecked(true); in setupRadioGroup()
119 ((RadioButton) findViewById(R.id.rb_tab_g_fill)).setChecked(true); in setupRadioGroup()
/frameworks/base/media/tests/NativeMidiDemo/java/com/example/android/nativemididemo/
DNativeMidi.java32 import android.widget.RadioButton;
200 RadioButton outputDevice = new RadioButton(NativeMidi.this);
220 RadioButton button = (RadioButton) mMidiDevicesRadioGroup.getChildAt(i);
277 RadioButton deviceNone = findViewById(R.id.device_none); in onCreate()
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DElementLayoutActivity.java22 import android.widget.RadioButton;
102 RadioButton button = new RadioButton(this); in createRadioButton()
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/
DMainActivity.java35 import android.widget.RadioButton;
87 RadioButton mWiFiConnectivityRadioButton;
88 RadioButton mAnyConnectivityRadioButton;
89 RadioButton mCellConnectivityRadioButton;
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DInterruptionTest.java26 import android.widget.RadioButton;
30 RadioButton mScene1RB, mScene2RB, mScene3RB, mScene4RB;
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DAppCompatRadioButton.java26 import android.widget.RadioButton;
50 public class AppCompatRadioButton extends RadioButton implements TintableCompoundButton {
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
DListMenuItemView.java34 import android.widget.RadioButton;
54 private RadioButton mRadioButton;
306 (RadioButton) inflater.inflate(R.layout.abc_list_menu_item_radio, in insertRadioButton()
/frameworks/base/core/java/com/android/internal/view/menu/
DListMenuItemView.java35 import android.widget.RadioButton;
47 private RadioButton mRadioButton;
294 (RadioButton) inflater.inflate(com.android.internal.R.layout.list_menu_item_radio, in insertRadioButton()
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DClientTest.java32 import android.widget.RadioButton;
64 RadioButton act = findViewById(R.id.act); in onCreate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DZenDurationDialog.java33 import android.widget.RadioButton;
177 tag.rb = (RadioButton) mZenRadioGroup.getChildAt(rowIndex); in bindTag()
322 public RadioButton rb;
DEnableZenModeDialog.java39 import android.widget.RadioButton;
195 tag.rb = (RadioButton) mZenRadioGroup.getChildAt(rowId); in bind()
507 public RadioButton rb;
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java53 import android.widget.RadioButton;
651 tag.rb = (RadioButton) mZenRadioGroup.getChildAt(rowId); in bind()
875 RadioButton rb;
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationBuilderTest.java43 import android.widget.RadioButton;
/frameworks/base/services/core/java/com/android/server/
DInputMethodManagerService.java152 import android.widget.RadioButton;
3958 final RadioButton radioButton = in getView()
3959 (RadioButton)view.findViewById(com.android.internal.R.id.radio); in getView()
/frameworks/support/v7/appcompat/api_legacy/
D26.0.0.txt514 public class AppCompatRadioButton extends android.widget.RadioButton {
D26.1.0.txt514 public class AppCompatRadioButton extends android.widget.RadioButton {
D27.0.0.txt488 public class AppCompatRadioButton extends android.widget.RadioButton {
D27.1.0.txt557 …public class AppCompatRadioButton extends android.widget.RadioButton implements android.support.v4…
/frameworks/support/v7/appcompat/api/
Dcurrent.txt557 …public class AppCompatRadioButton extends android.widget.RadioButton implements androidx.core.widg…

123