HomeSort by relevance Sort by last modified time
    Searched defs:checkBox (Results 1 - 25 of 35) sorted by null

1 2

  /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...]
  /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...]
  /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);
SelectionManager.java 9 import com.google.gwt.user.client.ui.CheckBox;
180 CheckBox checkBox = new CheckBox();
182 checkBox.setValue(true);
184 return new TableClickWidget(checkBox, this, row, cell);
  /external/proguard/src/proguard/gui/
FilterBuilder.java 82 JCheckBox checkBox = checkBoxes[index];
83 String name = checkBox.getText();
87 if (checkBox.isSelected())
  /frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
VectorCheckbox.java 22 import android.widget.CheckBox;
60 CheckBox checkBox = new CheckBox(this);
61 bArray[i] = checkBox;
62 checkBox.setWidth(200);
63 checkBox.setButtonDrawable(icon[i]);
64 container.addView(checkBox);
  /packages/apps/TV/src/com/android/tv/ui/sidepanel/
CheckBoxItem.java 48 CompoundButton checkBox = (CompoundButton) view.findViewById(getCompoundButtonId());
50 (LinearLayout.LayoutParams) checkBox.getLayoutParams();
54 checkBox.setLayoutParams(lp);
  /packages/apps/Settings/src/com/android/settings/notification/
ZenModeScheduleDaysSelection.java 22 import android.widget.CheckBox;
58 final CheckBox checkBox = (CheckBox) inflater.inflate(R.layout.zen_schedule_rule_day,
61 checkBox.setText(mDayFormat.format(c.getTime()));
62 checkBox.setChecked(mDays.get(day));
63 checkBox.setOnCheckedChangeListener(new OnCheckedChangeListener() {
70 mLayout.addView(checkBox);
  /packages/apps/Messaging/tests/src/com/android/messaging/ui/attachmentchooser/
AttachmentChooserFragmentTest.java 21 import android.widget.CheckBox;
152 final CheckBox checkBox = (CheckBox) itemView.findViewById(R.id.checkbox);
153 assertEquals(true, checkBox.isChecked());
155 clickButton(checkBox);
156 assertEquals(false, checkBox.isChecked());
161 final CheckBox checkBox2 = (CheckBox) itemView2.findViewById(R.id.checkbox)
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
HierarchicalFolderSelectorAdapter.java 59 final CompoundButton checkBox = (CompoundButton) view.findViewById(R.id.checkbox);
63 if (checkBox != null) {
64 checkBox.setText(TextUtils.isEmpty(row.mPathName) ? folder.name
FolderSelectorAdapter.java 322 final CheckedTextView checkBox = (CheckedTextView) view.findViewById(R.id.checkbox);
323 if (checkBox != null) {
324 // Suppress the checkbox selection, and handle the toggling of the
326 checkBox.setClickable(false);
327 checkBox.setText(folderDisplay);
328 checkBox.setChecked(row.isSelected());
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/relative/
DeletionHandlerTest.java 181 " <CheckBox\n" +
188 " android:text=\"CheckBox\" />\n" +
202 TestNode checkBox = TestNode.findById(targetNode, "@+id/checkBox1");
205 List<INode> deletedNodes = Arrays.<INode>asList(button7, checkBox);
209 layout.removeChild(checkBox);
310 " <CheckBox\n" +
316 " android:text=\"CheckBox\" />\n" +
342 " <CheckBox\n" +
347 " android:text=\"CheckBox\">\n" +
348 " </CheckBox>\n"
    [all...]
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
AlbumDataAdapter.java 26 import android.widget.CheckBox;
90 if (vCheckBox != null && vCheckBox instanceof CheckBox) {
91 CheckBox checkBox = (CheckBox) vCheckBox;
92 checkBox.setChecked(isSelected(position));
93 checkBox.setTag(R.id.data_payload, data);
172 if (vCheckBox != null && vCheckBox instanceof CheckBox) {
173 final CheckBox checkBox = (CheckBox) vCheckBox
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/list/
MultiSelectEntryContactListAdapter.java 27 import android.widget.CheckBox;
95 * Toggle the checkbox beside the contact for {@param contactId}.
123 // checkbox for the Me profile entry and other directory contacts except local directory.
128 final CheckBox checkBox = view.getCheckBox();
130 checkBox.setChecked(mSelectedContactIds.contains(contactId));
131 checkBox.setTag(contactId);
132 checkBox.setOnClickListener(mCheckBoxClickListener);
138 final CheckBox checkBox = (CheckBox) v
    [all...]
  /packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
GalleryGridItemViewTest.java 21 import android.widget.CheckBox;
59 final CheckBox checkBox = (CheckBox) view.findViewById(R.id.checkbox);
64 assertNotNull(checkBox);
66 assertEquals(View.VISIBLE, checkBox.getVisibility());
67 assertEquals(isSelected, checkBox.isChecked());
69 assertNotSame(View.VISIBLE, checkBox.getVisibility());
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
UITest.java 28 import com.badlogic.gdx.scenes.scene2d.ui.CheckBox;
99 final CheckBox checkBox = new CheckBox(" Continuous rendering", skin);
100 checkBox.setChecked(true);
152 window.add(checkBox);
192 checkBox.addListener(new ChangeListener() {
194 Gdx.graphics.setContinuousRendering(checkBox.isChecked());
  /frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
R$id.class 
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
NewTemplatePage.java 328 Button checkBox = new Button(container, SWT.CHECK);
329 checkBox.setText(name);
330 checkBox.setData(parameter);
331 parameter.control = checkBox;
332 checkBox.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false,
337 checkBox.setSelection(selected);
341 checkBox.addSelectionListener(this);
342 checkBox.addFocusListener(this);
345 mFirst = checkBox;
349 checkBox.setToolTipText(help)
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/interactions/
PhoneNumberInteraction.java 44 import android.widget.CheckBox;
244 final CheckBox checkBox = (CheckBox)alertDialog.findViewById(R.id.setPrimary);
245 if (checkBox.isChecked()) {
  /external/libgdx/extensions/gdx-setup/src/com/badlogic/gdx/setup/
GdxSetupUI.java 523 SetupCheckBox checkBox = new SetupCheckBox(projectType.getName().substring(0, 1).toUpperCase() + projectType.getName().substring(1, projectType.getName().length()));
526 checkBox.setSelected(true);
528 subProjectsPanel.add(checkBox);
529 checkBox.addItemListener(new ItemListener() {
666 BufferedImage iconImg = getCheckboxImage("checkbox");
712 //checkbox is missing 'pressed selected' icon, this allows us to add it
  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
AnimatedRecyclerView.java 39 import android.widget.CheckBox;
82 CheckBox enableAnimations = (CheckBox) findViewById(R.id.enableAnimations);
95 CheckBox enablePredictiveAnimations =
96 (CheckBox) findViewById(R.id.enablePredictiveAnimations);
104 CheckBox enableInPlaceChange = (CheckBox) findViewById(R.id.enableInPlaceChange);
357 boolean selected = ((CheckBox) view).isChecked();
711 myViewHolder.checkBox.setChecked(selected);
736 public CheckBox checkBox
    [all...]
  /prebuilts/tools/common/fest/
fest-swing-1.2.1.jar 
  /prebuilts/devtools/tools/lib/
sdkuilib.jar 
  /prebuilts/gradle-plugin/com/android/tools/sdkuilib/24.4.0-beta6/
sdkuilib-24.4.0-beta6.jar 
  /prebuilts/gradle-plugin/com/android/tools/sdkuilib/24.5.0/
sdkuilib-24.5.0.jar 

Completed in 1117 milliseconds

1 2