/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 | 30 * Displays checked/unchecked states as a button 71 public void setChecked(boolean checked) { argument 72 super.setChecked(checked); 78 boolean checked = isChecked(); 79 if (checked && mTextOn != null) { 81 } else if (!checked && mTextOff != null) { 87 * Returns the text for when the button is in the checked state. 96 * Sets the text for when the button is in the checked state. 105 * Returns the text for when the button is not in the checked state. 114 * Sets the text for when the button is not in the checked stat [all...] |
H A D | CompoundButton.java | 35 * A button with two states, checked and unchecked. When the button is pressed 79 boolean checked = a 81 setChecked(checked); 109 * <p>Changes the checked state of this button.</p> 111 * @param checked true to check the button, false to uncheck it 113 public void setChecked(boolean checked) { argument 114 if (mChecked != checked) { 115 mChecked = checked; 136 * Register a callback to be invoked when the checked state of this button 139 * @param listener the callback to call on checked stat 284 boolean checked; field in class:CompoundButton.SavedState [all...] |
H A D | CheckedTextView.java | 70 boolean checked = a.getBoolean(R.styleable.CheckedTextView_checked, false); 71 setChecked(checked); 86 * <p>Changes the checked state of this text view.</p> 88 * @param checked true to check the text, false to uncheck it 90 public void setChecked(boolean checked) { argument 91 if (mChecked != checked) { 92 mChecked = checked;
|
H A D | RadioGroup.java | 31 * any previously checked radio button within the same group.</p> 35 * remove the checked state.</p> 53 // holds the checked id; the selection is empty by default 55 // tracks children radio buttons checked state 176 private void setCheckedStateForView(int viewId, boolean checked) { argument 179 ((RadioButton) checkedView).setChecked(checked); 209 * <p>Register a callback to be invoked when the checked radio button 212 * @param listener the callback to call on checked state change 314 * <p>Interface definition for a callback to be invoked when the checked 319 * <p>Called when the checked radi [all...] |
H A D | Switch.java | 276 * Returns the text displayed when the button is in the checked state. 283 * Sets the text displayed when the button is in the checked state. 291 * Returns the text displayed when the button is not in the checked state. 298 * Sets the text displayed when the button is not in the checked state. 516 public void setChecked(boolean checked) { argument 517 super.setChecked(checked); 518 mThumbPosition = checked ? getThumbScrollRange() : 0; 636 // Drawable may be null when checked state is set from XML, from super constructor
|
/frameworks/base/core/java/android/preference/ |
H A D | TwoStatePreference.java | 72 * Sets the checked state and saves it to the {@link SharedPreferences}. 74 * @param checked The checked state. 76 public void setChecked(boolean checked) { argument 77 if (mChecked != checked) { 78 mChecked = checked; 79 persistBoolean(checked); 86 * Returns the checked state. 88 * @return The checked state. 101 * Sets the summary to be shown when checked 266 boolean checked; field in class:TwoStatePreference.SavedState [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | AirplaneModeController.java | 57 public void onCheckedChanged(CompoundButton view, boolean checked) { argument 58 if (checked != mAirplaneMode) { 59 mAirplaneMode = checked; 60 unsafe(checked);
|
H A D | AutoRotateController.java | 49 public void onCheckedChanged(CompoundButton view, boolean checked) { argument 50 if (checked != mAutoRotation) { 51 setAutoRotation(checked);
|
H A D | ToggleSlider.java | 39 public void onChanged(ToggleSlider v, boolean tracking, boolean checked, int value); argument 78 public void onCheckedChanged(CompoundButton toggle, boolean checked) { argument 82 if (checked) { 97 mListener.onChanged(this, mTracking, checked, mSlider.getProgress()); 126 public void setChecked(boolean checked) { argument 127 mToggle.setChecked(checked);
|
H A D | DoNotDisturbController.java | 54 public void onCheckedChanged(CompoundButton view, boolean checked) { argument 55 //Slog.d(TAG, "onCheckedChanged checked=" + checked + " mDoNotDisturb=" + mDoNotDisturb); 56 final boolean value = !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 | 435 public MenuItem setChecked(boolean checked) { argument 441 setCheckedInt(checked); 447 void setCheckedInt(boolean checked) { argument 449 mFlags = (mFlags & ~CHECKED) | (checked ? CHECKED : 0);
|
H A D | ListMenuItemView.java | 166 public void setChecked(boolean checked) { argument 181 compoundButton.setChecked(checked);
|
H A D | ActionMenuItemView.java | 124 public void setChecked(boolean checked) { argument
|
H A D | IconMenuItemView.java | 294 public void setChecked(boolean checked) { argument
|
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
H A D | ConfirmDialog.java | 99 public void onCheckedChanged(CompoundButton button, boolean checked) { argument 100 mButton.setEnabled(checked);
|
/frameworks/base/core/java/android/view/ |
H A D | MenuItem.java | 354 * @param checked Set to true to display a check mark, false to hide 358 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/base/core/java/android/accounts/ |
H A D | ChooseTypeAndAccountActivity.java | 423 private final boolean checked; field in class:ChooseTypeAndAccountActivity.AccountInfo 425 AccountInfo(Account account, Drawable drawable, boolean checked) { argument 428 this.checked = checked; 468 mInfos.get(position).checked ? View.VISIBLE : View.INVISIBLE;
|
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompat.java | 55 public void setChecked(Object info, boolean checked); argument 208 public void setChecked(Object info, boolean checked) { argument 430 public void setChecked(Object info, boolean checked) { argument 431 AccessibilityNodeInfoCompatIcs.setChecked(info, checked); 820 * Gets whether this node is checked. 822 * @return True if the node is checked. 829 * Sets whether this node is checked. 836 * @param checked True if the node is checked. 839 public void setChecked(boolean checked) { argument [all...] |
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
H A D | InputMethodsPanel.java | 179 final boolean checked = mHardKeyboardSwitch.isChecked(); 180 if (mHardKeyboardEnabled != checked) { 181 mHardKeyboardEnabled = checked; 183 mHardKeyboardEnabledChangeListener.onHardKeyboardEnabledChange(checked);
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityNodeInfo.java | 402 * Gets whether this node is checked. 404 * @return True if the node is checked. 411 * Sets whether this node is checked. 418 * @param checked True if the node is checked. 422 public void setChecked(boolean checked) { argument 423 setBooleanProperty(PROPERTY_CHECKED, checked); 1107 builder.append("; checked: ").append(isChecked());
|