/frameworks/base/core/java/android/widget/ |
H A D | Checkable.java | 26 * Change the checked state of the view 28 * @param checked The new checked state 30 void setChecked(boolean checked); argument 33 * @return The current checked state of the view 38 * Change the checked state of the view to the inverse of its current state
|
H A D | ToggleButton.java | 26 * Displays checked/unchecked states as a button 70 public void setChecked(boolean checked) { argument 71 super.setChecked(checked); 77 boolean checked = isChecked(); 78 if (checked && mTextOn != null) { 80 } else if (!checked && mTextOff != null) { 86 * Returns the text for when the button is in the checked state. 95 * Sets the text for when the button is in the checked state. 104 * Returns the text for when the button is not in the checked state. 113 * Sets the text for when the button is not in the checked stat [all...] |
H A D | CompoundButton.java | 42 * A button with two states, checked and unchecked. When the button is pressed 105 final boolean checked = a.getBoolean( 107 setChecked(checked); 138 * <p>Changes the checked state of this button.</p> 140 * @param checked true to check the button, false to uncheck it 142 public void setChecked(boolean checked) { argument 143 if (mChecked != checked) { 144 mChecked = checked; 167 * Register a callback to be invoked when the checked state of this button 170 * @param listener the callback to call on checked stat 491 boolean checked; field in class:CompoundButton.SavedState [all...] |
H A D | CheckedTextView.java | 106 final boolean checked = a.getBoolean(R.styleable.CheckedTextView_checked, false); 107 setChecked(checked); 124 * Sets the checked state of this view. 126 * @param checked {@code true} set the state to checked, {@code false} to 129 public void setChecked(boolean checked) { argument 130 if (mChecked != checked) { 131 mChecked = checked; 141 * When this view is checked, the drawable's state set will include 167 * When this view is checked, th [all...] |
H A D | RadioGroup.java | 32 * any previously checked radio button within the same group.</p> 36 * remove the checked state.</p> 54 // holds the checked id; the selection is empty by default 56 // tracks children radio buttons checked state 177 private void setCheckedStateForView(int viewId, boolean checked) { argument 180 ((RadioButton) checkedView).setChecked(checked); 213 * <p>Register a callback to be invoked when the checked radio button 216 * @param listener the callback to call on checked state change 323 * <p>Interface definition for a callback to be invoked when the checked 328 * <p>Called when the checked radi [all...] |
H A D | Switch.java | 749 * Returns the text displayed when the button is in the checked state. 758 * Sets the text displayed when the button is in the checked state. 768 * Returns the text displayed when the button is not in the checked state. 777 * Sets the text displayed when the button is not in the checked state. 1069 public void setChecked(boolean checked) { argument 1070 super.setChecked(checked); 1074 checked = isChecked(); 1077 animateThumbToCheckedState(checked); 1081 setThumbPosition(checked ? 1 : 0);
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
H A D | ColorPickerSwatch.java | 27 * Creates a circular swatch of a specified color. Adds a checkmark if marked as checked. 46 public ColorPickerSwatch(Context context, int color, boolean checked, argument 56 setChecked(checked); 66 private void setChecked(boolean checked) { argument 67 if (checked) {
|
/frameworks/base/core/java/android/preference/ |
H A D | TwoStatePreference.java | 71 * Sets the checked state and saves it to the {@link SharedPreferences}. 73 * @param checked The checked state. 75 public void setChecked(boolean checked) { argument 77 final boolean changed = mChecked != checked; 79 mChecked = checked; 81 persistBoolean(checked); 90 * Returns the checked state. 92 * @return The checked state. 105 * Sets the summary to be shown when checked 255 boolean checked; field in class:TwoStatePreference.SavedState [all...] |
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
H A D | TwoStatePreference.java | 69 * Sets the checked state and saves it to the {@link android.content.SharedPreferences}. 71 * @param checked The checked state. 73 public void setChecked(boolean checked) { argument 75 final boolean changed = mChecked != checked; 77 mChecked = checked; 79 persistBoolean(checked); 88 * Returns the checked state. 90 * @return The checked state. 103 * Sets the summary to be shown when checked 260 boolean checked; field in class:TwoStatePreference.SavedState [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
H A D | MenuView.java | 77 * checked, for that use {@link #setChecked}. 85 * @param checked Whether the checkbox should be checked 87 public void setChecked(boolean checked); argument
|
H A D | MenuItemImpl.java | 481 public MenuItem setChecked(boolean checked) { argument 487 setCheckedInt(checked); 493 void setCheckedInt(boolean checked) { argument 495 mFlags = (mFlags & ~CHECKED) | (checked ? CHECKED : 0);
|
H A D | ActionMenuItem.java | 152 public MenuItem setChecked(boolean checked) { argument 153 mFlags = (mFlags & ~CHECKED) | (checked ? CHECKED : 0);
|
H A D | ListMenuItemView.java | 175 public void setChecked(boolean checked) { argument 190 compoundButton.setChecked(checked);
|
H A D | MenuItemWrapperICS.java | 163 public MenuItem setChecked(boolean checked) { argument 164 mWrappedObject.setChecked(checked);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | GuidedAction.java | 30 * GuidedActions may optionally be checked. They may also indicate that they will request further 141 * Indicates whether this action is initially checked. 142 * @param checked Whether this action is checked. 144 public Builder checked(boolean checked) { argument 145 mChecked = checked; 151 * When one item in a check set is checked, all others with the same check set ID will be 236 * Returns whether this action is checked. 237 * @return true if the action is currently checked, fals 247 setChecked(boolean checked) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
H A D | ToggleSlider.java | 38 public void onChanged(ToggleSlider v, boolean tracking, boolean checked, int value, argument 108 public void setChecked(boolean checked) { argument 109 mToggle.setChecked(checked); 142 public void onCheckedChanged(CompoundButton toggle, boolean checked) { 143 mSlider.setEnabled(!checked); 147 ToggleSlider.this, mTracking, checked, mSlider.getProgress(), false); 151 mMirror.mToggle.setChecked(checked);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | MenuView.java | 80 * checked, for that use {@link #setChecked}. 88 * @param checked Whether the checkbox should be checked 90 public void setChecked(boolean checked); argument
|
H A D | ActionMenuItem.java | 148 public MenuItem setChecked(boolean checked) { argument 149 mFlags = (mFlags & ~CHECKED) | (checked ? CHECKED : 0);
|
H A D | MenuItemImpl.java | 441 public MenuItem setChecked(boolean checked) { argument 447 setCheckedInt(checked); 453 void setCheckedInt(boolean checked) { argument 455 mFlags = (mFlags & ~CHECKED) | (checked ? CHECKED : 0);
|
H A D | ListMenuItemView.java | 171 public void setChecked(boolean checked) { argument 186 compoundButton.setChecked(checked);
|
/frameworks/base/core/java/android/view/ |
H A D | MenuItem.java | 357 * @param checked Set to true to display a check mark, false to hide 361 public MenuItem setChecked(boolean checked); argument
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | ImportTestProvider.java | 121 boolean checked = false; 131 checked = true; 135 if (!checked) {
|
/frameworks/support/v4/ics/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompatIcs.java | 156 public static void setChecked(Object info, boolean checked) { argument 157 ((AccessibilityNodeInfo) info).setChecked(checked);
|
/frameworks/support/design/src/android/support/design/internal/ |
H A D | NavigationMenuItemView.java | 103 public void setChecked(boolean checked) { argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SwitchCompat.java | 474 * Returns the text displayed when the button is in the checked state. 481 * Sets the text displayed when the button is in the checked state. 489 * Returns the text displayed when the button is not in the checked state. 496 * Sets the text displayed when the button is not in the checked state. 783 public void setChecked(boolean checked) { argument 784 super.setChecked(checked); 788 checked = isChecked(); 791 animateThumbToCheckedState(checked); 795 setThumbPosition(checked ? 1 : 0);
|