/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
completion1-expected-applyCompletion11a.diff | 1 Code completion in completion1.xml for ^<TextView selecting <RadioGroup ></RadioGroup>: 4 + <RadioGroup ^></RadioGroup><TextView
|
/external/robolectric/v1/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/v1/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;
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
RadioGroupBindingAdapter.java | 22 import android.widget.RadioGroup; 23 import android.widget.RadioGroup.OnCheckedChangeListener; 26 @InverseBindingMethod(type = RadioGroup.class, attribute = "android:checkedButton", method = "getCheckedRadioButtonId"), 30 public static void setCheckedButton(RadioGroup view, int id) { 38 public static void setListeners(RadioGroup view, final OnCheckedChangeListener listener, 45 public void onCheckedChanged(RadioGroup group, int checkedId) {
|
/cts/tests/tests/widget/src/android/widget/cts/ |
RadioGroupTest.java | 36 import android.widget.RadioGroup; 38 import android.widget.RadioGroup.LayoutParams; 39 import android.widget.RadioGroup.OnCheckedChangeListener; 45 * Test {@link RadioGroup}. 57 private RadioGroup mDefaultRadioGroup; 70 new RadioGroup(mContext); 73 new RadioGroup(mContext, attrs); 74 new RadioGroup(mContext, null); 100 mDefaultRadioGroup = new RadioGroup(mContext); 104 mDefaultRadioGroup.addView(newButton, new RadioGroup.LayoutParams [all...] |
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...] |
/development/tutorials/MoarRam/src/com/android/benchmark/moarram/ |
MainActivity.java | 7 import android.widget.RadioGroup; 45 RadioGroup sizeGroup = (RadioGroup) findViewById(R.id.blockSize); 53 RadioGroup sizeGroup = (RadioGroup) findViewById(R.id.blockSize);
|
/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) {
|
/packages/apps/TvSettings/Settings/res/xml/ |
input_options.xml | 30 app:radioGroup="name"/> 34 app:radioGroup="name" 39 app:radioGroup="name" 44 app:radioGroup="name" 49 app:radioGroup="name" 54 app:radioGroup="name" 59 app:radioGroup="name"
|
caption.xml | 47 app:radioGroup="captions_style" /> 52 app:radioGroup="captions_style" /> 57 app:radioGroup="captions_style" /> 62 app:radioGroup="captions_style" /> 67 app:radioGroup="captions_style"
|
/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);
|
/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);
|
/development/samples/Support4Demos/src/com/example/android/supportv4/graphics/ |
DrawableCompatActivity.java | 28 import android.widget.RadioGroup; 52 RadioGroup rg = (RadioGroup) findViewById(R.id.drawable_compat_options); 53 rg.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() { 55 public void onCheckedChanged(RadioGroup radioGroup, int id) {
|
/cts/tests/tests/widget/res/layout/ |
radiogroup_1.xml | 17 <RadioGroup xmlns:android="http://schemas.android.com/apk/res/android" 24 </RadioGroup>
|
/developers/build/prebuilts/gradle/BasicTransition/Application/src/main/java/com/example/android/basictransition/ |
BasicTransitionFragment.java | 27 import android.widget.RadioGroup; 30 implements RadioGroup.OnCheckedChangeListener { 55 RadioGroup radioGroup = (RadioGroup) view.findViewById(R.id.select_scene); 56 radioGroup.setOnCheckedChangeListener(this); 83 public void onCheckedChanged(RadioGroup group, int checkedId) {
|
/developers/samples/android/ui/transition/BasicTransition/Application/src/main/java/com/example/android/basictransition/ |
BasicTransitionFragment.java | 27 import android.widget.RadioGroup; 30 implements RadioGroup.OnCheckedChangeListener { 55 RadioGroup radioGroup = (RadioGroup) view.findViewById(R.id.select_scene); 56 radioGroup.setOnCheckedChangeListener(this); 83 public void onCheckedChanged(RadioGroup group, int checkedId) {
|
/development/samples/browseable/BasicTransition/src/com.example.android.basictransition/ |
BasicTransitionFragment.java | 27 import android.widget.RadioGroup; 30 implements RadioGroup.OnCheckedChangeListener { 55 RadioGroup radioGroup = (RadioGroup) view.findViewById(R.id.select_scene); 56 radioGroup.setOnCheckedChangeListener(this); 83 public void onCheckedChanged(RadioGroup group, int checkedId) {
|
/developers/build/prebuilts/gradle/LNotifications/Application/src/main/java/com/example/android/lnotifications/ |
VisibilityMetadataFragment.java | 28 import android.widget.RadioGroup; 43 * {@link RadioGroup} that has Visibility RadioButton in its children. 45 private RadioGroup mRadioGroup; 99 mRadioGroup = (RadioGroup) view.findViewById(R.id.visibility_radio_group); 123 * Returns a {@link NotificationVisibility} depending on which RadioButton in the radiogroup 126 * @param radiogroup The RadioGroup. 129 private NotificationVisibility getVisibilityFromSelectedRadio(RadioGroup radiogroup) { 130 switch (radiogroup.getCheckedRadioButtonId()) [all...] |
/developers/samples/android/notification/LNotifications/Application/src/main/java/com/example/android/lnotifications/ |
VisibilityMetadataFragment.java | 28 import android.widget.RadioGroup; 43 * {@link RadioGroup} that has Visibility RadioButton in its children. 45 private RadioGroup mRadioGroup; 99 mRadioGroup = (RadioGroup) view.findViewById(R.id.visibility_radio_group); 123 * Returns a {@link NotificationVisibility} depending on which RadioButton in the radiogroup 126 * @param radiogroup The RadioGroup. 129 private NotificationVisibility getVisibilityFromSelectedRadio(RadioGroup radiogroup) { 130 switch (radiogroup.getCheckedRadioButtonId()) [all...] |
/development/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
TabLayoutPreselectedUsage.java | 29 import android.widget.RadioGroup; 84 RadioGroup rg = (RadioGroup) findViewById(R.id.radiogroup_tab_mode); 85 rg.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() { 87 public void onCheckedChanged(RadioGroup radioGroup, int id) { 109 rg = (RadioGroup) findViewById(R.id.radiogroup_tab_gravity); 110 rg.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() { 112 public void onCheckedChanged(RadioGroup radioGroup, int id) [all...] |
TabLayoutUsage.java | 32 import android.widget.RadioGroup; 96 RadioGroup rg = (RadioGroup) findViewById(R.id.radiogroup_tab_mode); 97 rg.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() { 99 public void onCheckedChanged(RadioGroup radioGroup, int id) { 121 rg = (RadioGroup) findViewById(R.id.radiogroup_tab_gravity); 122 rg.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() { 124 public void onCheckedChanged(RadioGroup radioGroup, int id) [all...] |
/development/samples/browseable/LNotifications/src/com.example.android.lnotifications/ |
VisibilityMetadataFragment.java | 28 import android.widget.RadioGroup; 43 * {@link RadioGroup} that has Visibility RadioButton in its children. 45 private RadioGroup mRadioGroup; 99 mRadioGroup = (RadioGroup) view.findViewById(R.id.visibility_radio_group); 123 * Returns a {@link NotificationVisibility} depending on which RadioButton in the radiogroup 126 * @param radiogroup The RadioGroup. 129 private NotificationVisibility getVisibilityFromSelectedRadio(RadioGroup radiogroup) { 130 switch (radiogroup.getCheckedRadioButtonId()) [all...] |
/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) {
|