Home
last modified time | relevance | path

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

123

/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/
DSwitchItem.java46 private boolean checked = false; field in SwitchItem
63 checked = a.getBoolean(R.styleable.SuwSwitchItem_android_checked, false); in SwitchItem()
68 public void setChecked(boolean checked) { in setChecked() argument
69 if (this.checked != checked) { in setChecked()
70 this.checked = checked; in setChecked()
73 listener.onCheckedChange(this, checked); in setChecked()
80 return checked; in isChecked()
94 checked = !checked; in toggle()
96 switchView.setChecked(checked); in toggle()
104 switchView.setChecked(checked); in onBindView()
[all …]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DCheckableLinearLayout.java34 private boolean checked = false; field in CheckableLinearLayout
61 if (this.checked) { in onCreateDrawableState()
63 final int[] checked = new int[] {android.R.attr.state_checked}; in onCreateDrawableState() local
64 return mergeDrawableStates(superStates, checked); in onCreateDrawableState()
71 public void setChecked(boolean checked) { in setChecked() argument
72 this.checked = checked; in setChecked()
78 return checked; in isChecked()
/frameworks/base/core/java/android/preference/
DTwoStatePreference.java83 public void setChecked(boolean checked) { in setChecked() argument
85 final boolean changed = mChecked != checked; in setChecked()
87 mChecked = checked; in setChecked()
89 persistBoolean(checked); in setChecked()
246 myState.checked = isChecked(); in onSaveInstanceState()
260 setChecked(myState.checked); in onRestoreInstanceState()
264 boolean checked; field in TwoStatePreference.SavedState
268 checked = source.readInt() == 1; in SavedState()
274 dest.writeInt(checked ? 1 : 0); in writeToParcel()
/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/core/java/android/widget/
DCheckedTextView.java116 final boolean checked = a.getBoolean(R.styleable.CheckedTextView_checked, false); in CheckedTextView()
117 setChecked(checked); in CheckedTextView()
140 public void setChecked(boolean checked) { in setChecked() argument
141 if (mChecked != checked) { in setChecked()
142 mChecked = checked; in setChecked()
500 boolean checked; field in CheckedTextView.SavedState
514 checked = (Boolean)in.readValue(null); in SavedState()
520 out.writeValue(checked); in writeToParcel()
527 + " checked=" + checked + "}"; in toString()
548 ss.checked = isChecked(); in onSaveInstanceState()
[all …]
DToggleButton.java74 public void setChecked(boolean checked) { in setChecked() argument
75 super.setChecked(checked); in setChecked()
81 boolean checked = isChecked(); in syncTextState()
82 if (checked && mTextOn != null) { in syncTextState()
84 } else if (!checked && mTextOff != null) { in syncTextState()
DCompoundButton.java123 final boolean checked = a.getBoolean( in CompoundButton()
125 setChecked(checked); in CompoundButton()
165 public void setChecked(boolean checked) { in setChecked() argument
166 if (mChecked != checked) { in setChecked()
168 mChecked = checked; in setChecked()
546 boolean checked; field in CompoundButton.SavedState
560 checked = (Boolean)in.readValue(null); in SavedState()
566 out.writeValue(checked); in writeToParcel()
573 + " checked=" + checked + "}"; in toString()
597 ss.checked = isChecked(); in onSaveInstanceState()
[all …]
DCheckable.java30 void setChecked(boolean checked); in setChecked() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DToggleSliderView.java110 public void setChecked(boolean checked) { in setChecked() argument
111 mToggle.setChecked(checked); in setChecked()
152 public void onCheckedChanged(CompoundButton toggle, boolean checked) {
153 mSlider.setEnabled(!checked);
157 ToggleSliderView.this, mTracking, checked, mSlider.getProgress(), false);
161 mMirror.mToggle.setChecked(checked);
DToggleSlider.java27 default void setChecked(boolean checked) {} in setChecked() argument
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportWarningActivity.java66 final boolean checked; in onCreate()
68 checked = state == STATE_HIDE; // Only checks if specifically set to. in onCreate()
70 checked = state != STATE_SHOW; // Checks by default. in onCreate()
72 mConfirmRepeat.setChecked(checked); in onCreate()
/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/
DMenuView.java90 public void setChecked(boolean checked); in setChecked() argument
DMenuItemImpl.java584 public MenuItem setChecked(boolean checked) { in setChecked() argument
590 setCheckedInt(checked); in setChecked()
596 void setCheckedInt(boolean checked) { in setCheckedInt() argument
598 mFlags = (mFlags & ~CHECKED) | (checked ? CHECKED : 0); in setCheckedInt()
/frameworks/base/tests/HwAccelerationTest/
Ddefault.properties4 # This file must be checked in Version Control Systems.
/frameworks/ex/framesequence/samples/FrameSequenceSamples/
Dproject.properties4 # This file must be checked in Version Control Systems.
/frameworks/opt/chips/
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/opt/photoviewer/
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/opt/colorpicker/
Dproject.properties4 # This file must be checked in Version Control Systems.
/frameworks/opt/calendar/
Dproject.properties4 # This file must be checked in Version Control Systems.
/frameworks/ex/framesequence/
Dproject.properties4 # This file must be checked in Version Control Systems.
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/
Dproject.properties4 # This file must be checked in Version Control Systems.
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDetail.java290 boolean checked = !mQsDetailHeaderSwitch.isChecked(); in setupDetailHeader()
291 mQsDetailHeaderSwitch.setChecked(checked); in setupDetailHeader()
292 adapter.setToggleState(checked); in setupDetailHeader()

123