HomeSort by relevance Sort by last modified time
    Searched full:checkbox (Results 1 - 25 of 1370) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
CheckBoxTest.java 3 import android.widget.CheckBox;
15 CheckBox checkBox = new CheckBox(null);
16 assertThat(checkBox.isChecked(), equalTo(false));
18 checkBox.setChecked(true);
19 assertThat(checkBox.isChecked(), equalTo(true));
21 checkBox.performClick();
22 assertThat(checkBox.isChecked(), equalTo(false));
24 checkBox.toggle()
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
completion1-expected-applyCompletion11b.diff 1 Code completion in completion1.xml for ^<TextView selecting <CheckBox />:
4 + <CheckBox ^/><TextView
sample4.info 2 android.widget.CheckBox [0,0,80,36] <CheckBox>
sample10.info 5 android.widget.CheckBox [0,86,107,124] <CheckBox>
sample9.info 6 android.widget.CheckBox [0,86,107,124] <CheckBox>
sample2.info 7 android.widget.CheckBox [18,108,98,144] <CheckBox>
sample4-expected-changeLayout4.xml 8 <CheckBox
14 android:text="CheckBox" >
15 </CheckBox>
sample4.xml 3 <CheckBox android:text="CheckBox" android:id="@+id/checkBox1" android:layout_width="wrap_content" android:layout_height="wrap_content"></CheckBox>
  /toolchain/binutils/binutils-2.27/binutils/testsuite/binutils-all/windres/
checkbox.rc 3 CHECKBOX 108, 1002, 12, 76, 123, 41
4 CHECKBOX "tick me", 1001, 12, 15, 123, 41
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowCheckBoxTest.java 5 import android.widget.CheckBox;
15 CheckBox checkBox = new CheckBox(RuntimeEnvironment.application);
16 assertThat(checkBox.isChecked()).isFalse();
18 checkBox.setChecked(true);
19 assertThat(checkBox.isChecked()).isTrue();
21 checkBox.toggle();
22 assertThat(checkBox.isChecked()).isFalse();
24 checkBox.performClick(); // Used to support performClick(), but Android doesn't. Sigh
    [all...]
  /external/autotest/frontend/client/src/autotest/common/table/
CheckboxFilter.java 8 import com.google.gwt.user.client.ui.CheckBox;
12 private CheckBox checkBox = new CheckBox();
16 checkBox.addClickHandler(this);
25 return checkBox;
30 return checkBox.getValue();
34 checkBox.setValue(active);
  /frameworks/support/samples/Support7Demos/src/main/res/layout/
config_view_toggle.xml 2 <CheckBox xmlns:android="http://schemas.android.com/apk/res/android"
6 </CheckBox
action_bar_fragment_menu.xml 29 <CheckBox android:id="@+id/menu1"
34 </CheckBox>
36 <CheckBox android:id="@+id/menu2"
41 </CheckBox>
43 <CheckBox android:id="@+id/menu3"
48 </CheckBox>
50 <CheckBox android:id="@+id/has_options_menu"
55 </CheckBox>
57 <CheckBox android:id="@+id/menu_visibility"
62 </CheckBox>
    [all...]
  /frameworks/base/core/java/android/widget/
CheckBox.java 24 * A checkbox is a specific type of two-states button that can be either
25 * checked or unchecked. A example usage of a checkbox inside your activity
36 * final CheckBox checkBox = (CheckBox) findViewById(R.id.checkbox_id);
37 * if (checkBox.isChecked()) {
38 * checkBox.setChecked(false);
44 * <p>See the <a href="{@docRoot}guide/topics/ui/controls/checkbox.html">Checkboxes</a>
55 public class CheckBox extends CompoundButton {
56 public CheckBox(Context context)
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
MasterCheckBoxPreferenceTest.java 28 import android.widget.CheckBox;
62 final CheckBox checkBox = (CheckBox) holder.findViewById(R.id.checkboxWidget);
66 assertThat(checkBox.isChecked()).isTrue();
69 assertThat(checkBox.isChecked()).isFalse();
77 final CheckBox checkBox = (CheckBox) holder.findViewById(R.id.checkboxWidget);
81 assertThat(checkBox.isEnabled()).isTrue()
    [all...]
  /external/autotest/frontend/client/src/autotest/afe/
CheckBoxPanel.java 22 public void add(ICheckBox checkBox) {
23 checkBoxes.add(checkBox);
28 for(ICheckBox checkBox : checkBoxes) {
29 if (checkBox.getValue()) {
30 result.add(checkBox);
CheckBoxPanelDisplay.java 18 CheckBoxImpl checkbox = new CheckBoxImpl(); local
22 table.setWidget(row, col, checkbox);
24 return checkbox;
ICheckBox.java 4 import com.google.gwt.user.client.ui.CheckBox;
13 public static class CheckBoxImpl extends CheckBox implements ICheckBox {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
TwoStatePreferenceHelper.java 65 static void addSwitchPreferenceBasedOnCheckBoxPreference(final CheckBoxPreference checkBox,
67 final SwitchPreference switchPref = new SwitchPreference(checkBox.getContext());
68 switchPref.setTitle(checkBox.getTitle());
69 switchPref.setKey(checkBox.getKey());
70 switchPref.setOrder(checkBox.getOrder());
71 switchPref.setPersistent(checkBox.isPersistent());
72 switchPref.setEnabled(checkBox.isEnabled());
73 switchPref.setChecked(checkBox.isChecked());
74 switchPref.setSummary(checkBox.getSummary());
75 switchPref.setSummaryOn(checkBox.getSummaryOn())
    [all...]
  /packages/apps/Settings/res/layout/
wifi_notify_scan_mode.xml 5 <CheckBox
6 android:id="@+id/checkbox"
  /packages/apps/Car/libs/car-list/src/com/android/car/list/
CheckBoxLineItem.java 23 import android.widget.CheckBox;
29 * Contains logic for a line item represents title text and a checkbox.
38 * @param title The title text displayed with the checkbox
54 viewHolder.checkbox.setChecked(isChecked());
59 * and checkbox
63 public final CheckBox checkbox; field in class:CheckBoxLineItem.CheckboxLineItemViewHolder
73 checkbox = view.findViewById(R.id.checkbox);
90 * @return whether the CheckBox is checke
    [all...]
PasswordLineItem.java 23 import android.widget.CheckBox;
29 * as password input followed by a checkbox to toggle between show/hide password.
48 * a show password checkbox.
51 public final CheckBox checkbox; field in class:PasswordLineItem.ViewHolder
55 checkbox = view.findViewById(R.id.checkbox);
66 viewHolder.checkbox.setChecked(mShowPassword);
67 viewHolder.checkbox.setOnCheckedChangeListener((buttonView, isChecked) -> {
77 throw new IllegalArgumentException("checkbox will automatically set TextType.")
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
CheckBoxTest.java 35 import android.widget.CheckBox;
49 private CheckBox mCheckBox;
59 mCheckBox = (CheckBox) mActivity.findViewById(R.id.check_box);
64 new CheckBox(mActivity);
65 new CheckBox(mActivity, null);
66 new CheckBox(mActivity, null, android.R.attr.checkboxStyle);
67 new CheckBox(mActivity, null, 0,
69 new CheckBox(mActivity, null, 0,
71 new CheckBox(mActivity, null, 0,
73 new CheckBox(mActivity, null, 0
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
LayoutAnimations.java 31 import android.widget.CheckBox;
95 CheckBox customAnimCB = (CheckBox) findViewById(R.id.customAnimCB);
103 CheckBox appearingCB = (CheckBox) findViewById(R.id.appearingCB);
109 CheckBox disappearingCB = (CheckBox) findViewById(R.id.disappearingCB);
115 CheckBox changingAppearingCB = (CheckBox) findViewById(R.id.changingAppearingCB);
121 CheckBox changingDisappearingCB = (CheckBox) findViewById(R.id.changingDisappearingCB)
    [all...]
  /frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
BatteryWaster.java 29 import android.widget.CheckBox;
55 findViewById(R.id.checkbox).setOnClickListener(mClickListener);
75 if (((CheckBox)findViewById(R.id.checkbox)).isChecked()) {
78 if (((CheckBox)findViewById(R.id.checkbox_wake)).isChecked()) {
95 CheckBox checkbox = (CheckBox)v;
96 if (checkbox.isChecked()) {
106 CheckBox checkbox = (CheckBox)v
    [all...]

Completed in 2686 milliseconds

1 2 3 4 5 6 7 8 91011>>