/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
RadioGroupTest.java | 3 import android.widget.RadioGroup; 21 RadioGroup radioGroup = new RadioGroup(null); 22 assertThat(radioGroup.getCheckedRadioButtonId(), equalTo(-1)); 23 radioGroup.check(99); 24 assertThat(radioGroup.getCheckedRadioButtonId(), equalTo(99)); 29 RadioGroup radioGroup = new RadioGroup(null) [all...] |
RadioButtonTest.java | 4 import android.widget.RadioGroup; 59 RadioGroup radioGroup = new RadioGroup(null); 60 radioGroup.addView(radioButton1); 61 radioGroup.addView(radioButton2); 64 assertThat(radioGroup.getCheckedRadioButtonId(), equalTo(radioButton1.getId())); 67 assertThat(radioGroup.getCheckedRadioButtonId(), equalTo(radioButton2.getId()));
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowRadioButton.java | 5 import android.widget.RadioGroup; 21 /* This simulates the listener a parent RadioGroup would have, listening to the 24 if (viewParent instanceof RadioGroup) { 25 ((RadioGroup) viewParent).check(getId());
|
ShadowRadioGroup.java | 3 import android.widget.RadioGroup; 8 import static android.widget.RadioGroup.OnCheckedChangeListener; 11 @Implements(RadioGroup.class) 14 protected RadioGroup realGroup;
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
RadioGroup1.java | 25 import android.widget.RadioGroup; 31 public class RadioGroup1 extends Activity implements RadioGroup.OnCheckedChangeListener, 35 private RadioGroup mRadioGroup; 42 mRadioGroup = (RadioGroup) findViewById(R.id.menu); 48 LinearLayout.LayoutParams layoutParams = new RadioGroup.LayoutParams( 49 RadioGroup.LayoutParams.WRAP_CONTENT, 50 RadioGroup.LayoutParams.WRAP_CONTENT); 64 public void onCheckedChanged(RadioGroup group, int checkedId) {
|
/development/tutorials/MoarRam/src/com/android/benchmark/moarram/ |
MainActivity.java | 7 import android.widget.RadioGroup; 44 RadioGroup sizeGroup = (RadioGroup) findViewById(R.id.blockSize); 52 RadioGroup sizeGroup = (RadioGroup) findViewById(R.id.blockSize);
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
WidgetTypeChooser.java | 25 import android.widget.RadioGroup; 26 import android.widget.RadioGroup.OnCheckedChangeListener; 34 public void onCheckedChanged(RadioGroup group, int checkedId) { 47 RadioGroup rg = (RadioGroup) findViewById(R.id.widget_type);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
RadioGroup_LayoutParamsTest.java | 33 import android.widget.RadioGroup; 34 import android.widget.RadioGroup.LayoutParams; 51 mLayoutParams = new RadioGroup.LayoutParams(Integer.MIN_VALUE, Integer.MAX_VALUE); 56 mLayoutParams = new RadioGroup.LayoutParams(Integer.MAX_VALUE, Integer.MIN_VALUE); 61 mLayoutParams = new RadioGroup.LayoutParams(Integer.MIN_VALUE, Integer.MAX_VALUE, 67 mLayoutParams = new RadioGroup.LayoutParams(Integer.MIN_VALUE, Integer.MAX_VALUE, 73 mLayoutParams = new RadioGroup.LayoutParams(new ViewGroup.LayoutParams(40, 60)); 79 new RadioGroup.LayoutParams((ViewGroup.LayoutParams) null); 85 mLayoutParams = new RadioGroup.LayoutParams(new MarginLayoutParams(100, 200)); 100 mLayoutParams = new RadioGroup.LayoutParams(source) [all...] |
RadioGroupTest.java | 35 import android.widget.RadioGroup; 37 import android.widget.RadioGroup.LayoutParams; 38 import android.widget.RadioGroup.OnCheckedChangeListener; 44 * Test {@link RadioGroup}. 56 private RadioGroup mDefaultRadioGroup; 69 new RadioGroup(mContext); 72 new RadioGroup(mContext, attrs); 73 new RadioGroup(mContext, null); 99 mDefaultRadioGroup = new RadioGroup(mContext); 103 mDefaultRadioGroup.addView(newButton, new RadioGroup.LayoutParams [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/ |
RadioGroupPreCheckedTest.java | 27 * Exercises {@link android.widget.RadioGroup}'s check feature. 41 RadioGroup group = (RadioGroup) activity.findViewById(R.id.group); 58 RadioGroup group = (RadioGroup) activity.findViewById(R.id.group);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
RotationAnimation.java | 28 import android.widget.RadioGroup; 52 ((RadioGroup)findViewById(R.id.rotation_radio_group)).setOnCheckedChangeListener( 53 new RadioGroup.OnCheckedChangeListener() { 55 public void onCheckedChanged(RadioGroup group, int checkedId) {
|
/external/chromium/chrome/browser/ |
content_setting_bubble_model.h | 44 struct RadioGroup { 45 RadioGroup(); 46 ~RadioGroup(); 68 RadioGroup radio_group; 102 void set_radio_group(const RadioGroup& radio_group) {
|
content_setting_bubble_model.cc | 217 RadioGroup radio_group; 517 ContentSettingBubbleModel::RadioGroup::RadioGroup() : default_item(0) {} 519 ContentSettingBubbleModel::RadioGroup::~RadioGroup() {}
|
/frameworks/base/core/java/android/widget/ |
RadioGroup.java | 43 * <p>See {@link android.R.styleable#RadioGroup RadioGroup Attributes}, 54 public class RadioGroup extends LinearLayout { 67 public RadioGroup(Context context) { 76 public RadioGroup(Context context, AttributeSet attrs) { 82 attrs, com.android.internal.R.styleable.RadioGroup, com.android.internal.R.attr.radioButtonStyle, 0); 227 return new RadioGroup.LayoutParams(getContext(), attrs); 235 return p instanceof RadioGroup.LayoutParams; 246 event.setClassName(RadioGroup.class.getName()); 252 info.setClassName(RadioGroup.class.getName()) [all...] |
/external/chromium/chrome/browser/ui/views/ |
content_setting_bubble_contents.h | 93 typedef std::vector<views::RadioButton*> RadioGroup; 94 RadioGroup radio_group_;
|
content_setting_bubble_contents.cc | 151 for (RadioGroup::const_iterator i = radio_group_.begin(); 258 const ContentSettingBubbleModel::RadioGroup& radio_group =
|
/external/chromium_org/chrome/browser/ui/views/ |
content_setting_bubble_contents.h | 92 typedef std::vector<views::RadioButton*> RadioGroup; 93 RadioGroup radio_group_;
|
content_setting_bubble_contents.cc | 240 const ContentSettingBubbleModel::RadioGroup& radio_group = 398 RadioGroup::const_iterator i(
|
/development/samples/BackupRestore/src/com/example/android/backuprestore/ |
BackupRestoreActivity.java | 27 import android.widget.RadioGroup; 111 RadioGroup mFillingGroup; 130 mFillingGroup = (RadioGroup) findViewById(R.id.filling_group); 196 new RadioGroup.OnCheckedChangeListener() { 197 public void onCheckedChanged(RadioGroup group,
|
/external/chromium_org/chrome/browser/ui/content_settings/ |
content_setting_bubble_model.h | 48 struct RadioGroup { 49 RadioGroup(); 50 ~RadioGroup(); 83 RadioGroup radio_group; 136 void set_radio_group(const RadioGroup& radio_group) {
|
content_setting_bubble_model.cc | 262 RadioGroup radio_group; 655 RadioGroup radio_group; [all...] |
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
HugeBackupActivity.java | 27 import android.widget.RadioGroup; 55 RadioGroup mFillingGroup; 74 mFillingGroup = (RadioGroup) findViewById(R.id.filling_group); 139 new RadioGroup.OnCheckedChangeListener() { 140 public void onCheckedChanged(RadioGroup group,
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
KenBurnsActivity.java | 34 import android.widget.RadioGroup; 69 private RadioGroup mRadioGroup; 264 mRadioGroup = (RadioGroup)findViewById(R.id.which_rectangle); 292 mRadioGroup.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() { 294 public void onCheckedChanged(RadioGroup group, int checkedId) { 373 final RadioGroup radioGroup = (RadioGroup)findViewById(R.id.which_rectangle); 375 outState.putInt(STATE_WHICH_RECTANGLE_ID, radioGroup.getCheckedRadioButtonId());
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
NotificationBuilderTest.java | 44 import android.widget.RadioGroup; 446 final RadioGroup g = (RadioGroup)findViewById(id); 451 final RadioGroup g = (RadioGroup)findViewById(id);
|
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/ |
RecurrencePickerDialog.java | 49 import android.widget.RadioGroup; 69 android.widget.RadioGroup.OnCheckedChangeListener, DatePickerDialog.OnDateSetListener { 342 private RadioGroup mMonthRepeatByRadioGroup; 819 mMonthRepeatByRadioGroup = (RadioGroup) mView.findViewById(R.id.monthGroup); [all...] |