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

  /external/robolectric/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/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
TranslateAlwaysPanel.java 29 TranslateCheckBox checkBox = new TranslateCheckBox(context, mOptions, mListener);
30 layout.setCustomContent(checkBox);
TranslateInfoBar.java 14 import android.widget.CheckBox;
188 TranslateCheckBox checkBox = new TranslateCheckBox(context, mOptions, this);
189 layout.setCustomContent(checkBox);
220 // Handle the "Always Translate" checkbox.
223 CheckBox checkBox = (CheckBox) wrapper.findViewById(R.id.infobar_extra_check);
224 if (checkBox != null) checkBox.setEnabled(state);
  /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/Settings/src/com/android/settings/notification/
ZenModeDowntimeDaysSelection.java 23 import android.widget.CheckBox;
61 final CheckBox checkBox = (CheckBox) inflater.inflate(R.layout.zen_downtime_day,
64 checkBox.setText(DAY_FORMAT.format(c.getTime()));
65 checkBox.setChecked(mDays.get(day));
66 checkBox.setOnCheckedChangeListener(new OnCheckedChangeListener() {
73 mLayout.addView(checkBox);
  /packages/apps/Settings/src/com/android/settings/applications/
AppViewHolder.java 9 import android.widget.CheckBox;
21 public CheckBox checkBox;
35 holder.checkBox = (CheckBox) convertView.findViewById(R.id.app_on_sdcard);
ManageApplications.java     [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...]
  /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...]
  /development/samples/Support7Demos/src/com/example/android/supportv7/widget/
AnimatedRecyclerView.java 32 import android.widget.CheckBox;
72 CheckBox enableAnimations = (CheckBox) findViewById(R.id.enableAnimations);
85 CheckBox enablePredictiveAnimations =
86 (CheckBox) findViewById(R.id.enablePredictiveAnimations);
94 CheckBox enableChangeAnimations =
95 (CheckBox) findViewById(R.id.enableChangeAnimations);
119 boolean selected = ((CheckBox) view).isChecked();
466 ((MyViewHolder) holder).checkBox.setChecked(selected);
499 public CheckBox checkBox
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/interactions/
PhoneNumberInteraction.java 44 import android.widget.CheckBox;
235 final CheckBox checkBox = (CheckBox)alertDialog.findViewById(R.id.setPrimary);
236 if (checkBox.isChecked()) {
  /prebuilts/devtools/tools/lib/
sdkuilib.jar 
org-eclipse-jface-3.6.2.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.jface_3.6.1.M20100825-0800.jar 
  /prebuilts/tools/common/eclipse/
org.eclipse.jface_3.4.2.M20090107-0800.jar 
org.eclipse.jface_3.6.2.M20110210-1200.jar 
  /prebuilts/tools/common/m2/repository/com/android/external/eclipse/org-eclipse-jface/3.6.2/
org-eclipse-jface-3.6.2.jar 
  /external/owasp/sanitizer/tools/findbugs/lib/
findbugs.jar 
  /prebuilts/tools/common/m2/repository/com/google/code/findbugs/findbugs/2.0.1/
findbugs-2.0.1.jar 

Completed in 370 milliseconds