Home
last modified time | relevance | path

Searched refs:checked (Results 1 – 25 of 99) sorted by relevance

1234

/frameworks/base/core/java/android/preference/
DTwoStatePreference.java74 public void setChecked(boolean checked) { in setChecked() argument
76 final boolean changed = mChecked != checked; in setChecked()
78 mChecked = checked; in setChecked()
80 persistBoolean(checked); in setChecked()
236 myState.checked = isChecked(); in onSaveInstanceState()
250 setChecked(myState.checked); in onRestoreInstanceState()
254 boolean checked; field in TwoStatePreference.SavedState
258 checked = source.readInt() == 1; in SavedState()
264 dest.writeInt(checked ? 1 : 0); in writeToParcel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DToggleSlider.java37 public void onChanged(ToggleSlider v, boolean tracking, boolean checked, int value); in onChanged() argument
104 public void setChecked(boolean checked) { in setChecked() argument
105 mToggle.setChecked(checked); in setChecked()
128 public void onCheckedChanged(CompoundButton toggle, boolean checked) {
129 mSlider.setEnabled(!checked);
133 ToggleSlider.this, mTracking, checked, mSlider.getProgress());
137 mMirror.mToggle.setChecked(checked);
/frameworks/base/core/java/android/widget/
DCompoundButton.java103 final boolean checked = a.getBoolean( in CompoundButton()
105 setChecked(checked); in CompoundButton()
140 public void setChecked(boolean checked) { in setChecked() argument
141 if (mChecked != checked) { in setChecked()
142 mChecked = checked; in setChecked()
465 boolean checked; field in CompoundButton.SavedState
479 checked = (Boolean)in.readValue(null); in SavedState()
485 out.writeValue(checked); in writeToParcel()
492 + " checked=" + checked + "}"; in toString()
513 ss.checked = isChecked(); in onSaveInstanceState()
[all …]
DToggleButton.java72 public void setChecked(boolean checked) { in setChecked() argument
73 super.setChecked(checked); in setChecked()
79 boolean checked = isChecked(); in syncTextState()
80 if (checked && mTextOn != null) { in syncTextState()
82 } else if (!checked && mTextOff != null) { in syncTextState()
DCheckedTextView.java101 final boolean checked = a.getBoolean(R.styleable.CheckedTextView_checked, false); in CheckedTextView()
102 setChecked(checked); in CheckedTextView()
123 public void setChecked(boolean checked) { in setChecked() argument
124 if (mChecked != checked) { in setChecked()
125 mChecked = checked; in setChecked()
DCheckable.java30 void setChecked(boolean checked); in setChecked() argument
/frameworks/opt/colorpicker/src/com/android/colorpicker/
DColorPickerSwatch.java46 public ColorPickerSwatch(Context context, int color, boolean checked, in ColorPickerSwatch() argument
56 setChecked(checked); in ColorPickerSwatch()
66 private void setChecked(boolean checked) { in setChecked() argument
67 if (checked) { in setChecked()
/frameworks/base/docs/html/guide/topics/ui/controls/
Dcheckbox.jd66 // Is the view now checked?
67 boolean checked = ((CheckBox) view).isChecked();
72 if (checked)
78 if (checked)
Dradiobutton.jd73 // Is the button now checked?
74 boolean checked = ((RadioButton) view).isChecked();
79 if (checked)
83 if (checked)
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DImportTestProvider.java121 boolean checked = false; in applyBatch()
131 checked = true; in applyBatch()
135 if (!checked) { in applyBatch()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuItemImpl.java441 public MenuItem setChecked(boolean checked) { in setChecked() argument
447 setCheckedInt(checked); in setChecked()
453 void setCheckedInt(boolean checked) { in setCheckedInt() argument
455 mFlags = (mFlags & ~CHECKED) | (checked ? CHECKED : 0); in setCheckedInt()
DMenuView.java90 public void setChecked(boolean checked); in setChecked() argument
DActionMenuItem.java148 public MenuItem setChecked(boolean checked) { in setChecked() argument
149 mFlags = (mFlags & ~CHECKED) | (checked ? CHECKED : 0); in setChecked()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DMenuView.java87 public void setChecked(boolean checked); in setChecked() argument
DMenuItemImpl.java481 public MenuItem setChecked(boolean checked) { in setChecked() argument
487 setCheckedInt(checked); in setChecked()
493 void setCheckedInt(boolean checked) { in setCheckedInt() argument
495 mFlags = (mFlags & ~CHECKED) | (checked ? CHECKED : 0); in setCheckedInt()
DActionMenuItem.java152 public MenuItem setChecked(boolean checked) { in setChecked() argument
153 mFlags = (mFlags & ~CHECKED) | (checked ? CHECKED : 0); in setChecked()
/frameworks/volley/tests/
Dproject.properties4 # This file must be checked in Version Control Systems.
/frameworks/base/tests/HwAccelerationTest/
Ddefault.properties4 # This file must be checked in Version Control Systems.
/frameworks/volley/
Dproject.properties4 # This file must be checked in Version Control Systems.
/frameworks/ex/framesequence/samples/RastermillSamples/
Dproject.properties4 # This file must be checked in Version Control Systems.
/frameworks/opt/timezonepicker/
Dproject.properties4 # This file must be checked in Version Control Systems.
/frameworks/support/v7/appcompat/
Dproject.properties4 # This file must be checked in Version Control Systems.
/frameworks/support/v7/palette/
Dproject.properties4 # This file must be checked in Version Control Systems.
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/
Dproject.properties4 # This file must be checked in Version Control Systems.
/frameworks/multidex/library/
Dproject.properties4 # This file must be checked in Version Control Systems.

1234