Home
last modified time | relevance | path

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

1234

/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/base/packages/SettingsLib/MainSwitchPreference/src/com/android/settingslib/widget/
DMainSwitchPreference.java90 public void setChecked(boolean checked) { in setChecked() argument
91 super.setChecked(checked); in setChecked()
92 if (mMainSwitchBar != null && mMainSwitchBar.isChecked() != checked) { in setChecked()
93 mMainSwitchBar.setChecked(checked); in setChecked()
113 public void updateStatus(boolean checked) { in updateStatus() argument
114 setChecked(checked); in updateStatus()
DMainSwitchBar.java128 public void setChecked(boolean checked) { in setChecked() argument
130 mSwitch.setChecked(checked); in setChecked()
132 setBackground(checked); in setChecked()
/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.java80 public void setChecked(boolean checked) { in setChecked() argument
81 super.setChecked(checked); in setChecked()
87 boolean checked = isChecked(); in syncTextState()
88 if (checked && mTextOn != null) { in syncTextState()
90 } else if (!checked && mTextOff != null) { in syncTextState()
DCompoundButton.java127 final boolean checked = a.getBoolean( in CompoundButton()
129 setChecked(checked); in CompoundButton()
167 return getResources().getString(R.string.checked); in getButtonStateDescription()
207 public void setChecked(boolean checked) { in setChecked() argument
208 if (mChecked != checked) { in setChecked()
210 mChecked = checked; in setChecked()
616 boolean checked; field in CompoundButton.SavedState
630 checked = (Boolean)in.readValue(null); in SavedState()
636 out.writeValue(checked); in writeToParcel()
643 + " checked=" + checked + "}"; in toString()
[all …]
DCheckable.java30 void setChecked(boolean checked); in setChecked() argument
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportWarningActivity.java71 final boolean checked; in onCreate()
73 checked = state == STATE_HIDE; // Only checks if specifically set to. in onCreate()
75 checked = state != STATE_SHOW; // Checks by default. in onCreate()
77 mConfirmRepeat.setChecked(checked); in onCreate()
/frameworks/base/packages/SoundPicker/src/com/android/soundpicker/
DCheckedListItem.java49 public void setChecked(boolean checked) { in setChecked() argument
50 getCheckedTextView().setChecked(checked); in setChecked()
/frameworks/base/core/java/android/service/controls/templates/
DControlButton.java37 public ControlButton(boolean checked, in ControlButton() argument
40 mChecked = checked; in ControlButton()
DToggleRangeTemplate.java75 boolean checked, in ToggleRangeTemplate() argument
79 new ControlButton(checked, actionDescription), in ToggleRangeTemplate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DToggleBehavior.kt61 val checked = template.isChecked() in bind() constant
62 cvh.applyRenderInfo(checked, colorOffset) in bind()
DToggleRangeBehavior.kt224 fun updateRange(level: Int, checked: Boolean, isDragging: Boolean) { in <lambda>()
231 cvh.applyRenderInfo(checked, colorOffset, false /* animated */) in <lambda>()
257 if (checked) { in <lambda>()
351 updateRange(clipLayer.level + changeAmount, checked = true, isDragging = true) in <lambda>()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DSwitchesProvider.java151 private Bundle onCheckedChanged(boolean checked, SwitchController controller) { in onCheckedChanged() argument
152 final boolean success = controller.onCheckedChanged(checked); in onCheckedChanged()
161 controller.getErrorMessage(checked)); in onCheckedChanged()
/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
/frameworks/base/tests/HwAccelerationTest/
Ddefault.properties4 # This file must be checked in Version Control Systems.
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DPrimarySwitchControllerTest.java71 protected boolean onCheckedChanged(boolean checked) { in onCheckedChanged() argument
/frameworks/ex/framesequence/samples/FrameSequenceSamples/
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/photoviewer/
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.

1234