/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 | 31 * Displays checked/unchecked states as a button 72 public void setChecked(boolean checked) { argument 73 super.setChecked(checked); 79 boolean checked = isChecked(); 80 if (checked && mTextOn != null) { 82 } else if (!checked && mTextOff != null) { 88 * Returns the text for when the button is in the checked state. 97 * Sets the text for when the button is in the checked state. 106 * Returns the text for when the button is not in the checked state. 115 * 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; 137 * Register a callback to be invoked when the checked state of this button 140 * @param listener the callback to call on checked stat 287 boolean checked; field in class:CompoundButton.SavedState [all...] |
H A D | CheckedTextView.java | 72 boolean checked = a.getBoolean(R.styleable.CheckedTextView_checked, false); 73 setChecked(checked); 88 * <p>Changes the checked state of this text view.</p> 90 * @param checked true to check the text, false to uncheck it 92 public void setChecked(boolean checked) { argument 93 if (mChecked != checked) { 94 mChecked = checked;
|
H A D | RadioGroup.java | 33 * any previously checked radio button within the same group.</p> 37 * remove the checked state.</p> 55 // holds the checked id; the selection is empty by default 57 // tracks children radio buttons checked state 178 private void setCheckedStateForView(int viewId, boolean checked) { argument 181 ((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 330 * <p>Interface definition for a callback to be invoked when the checked 335 * <p>Called when the checked radi [all...] |
H A D | Switch.java | 433 * Returns the text displayed when the button is in the checked state. 442 * Sets the text displayed when the button is in the checked state. 452 * Returns the text displayed when the button is not in the checked state. 461 * Sets the text displayed when the button is not in the checked state. 676 public void setChecked(boolean checked) { argument 677 super.setChecked(checked); 678 mThumbPosition = checked ? getThumbScrollRange() : 0; 796 // Drawable may be null when checked state is set from XML, from super constructor
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | AutoRotateController.java | 51 public void onCheckedChanged(CompoundButton view, boolean checked) { argument 52 if (checked != mAutoRotation) { 53 mAutoRotation = checked; 54 RotationPolicy.setRotationLock(mContext, !checked);
|
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 | 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/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/core/java/com/android/internal/view/ |
H A D | CheckableLinearLayout.java | 52 public void setChecked(boolean checked) { argument 53 mCheckBox.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 | 438 public MenuItem setChecked(boolean checked) { argument 444 setCheckedInt(checked); 450 void setCheckedInt(boolean checked) { argument 452 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 | 115 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 | 92 public void onCheckedChanged(CompoundButton button, boolean checked) { argument 93 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/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/support/v4/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompat.java | 65 public void setChecked(Object info, boolean checked); argument 289 public void setChecked(Object info, boolean checked) { argument 556 public void setChecked(Object info, boolean checked) { argument 557 AccessibilityNodeInfoCompatIcs.setChecked(info, checked); 1355 * Gets whether this node is checked. 1357 * @return True if the node is checked. 1364 * Sets whether this node is checked. 1371 * @param checked True if the node is checked. 1374 public void setChecked(boolean checked) { argument [all...] |
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityNodeInfo.java | 865 * Gets whether this node is checked. 867 * @return True if the node is checked. 874 * Sets whether this node is checked. 881 * @param checked True if the node is checked. 885 public void setChecked(boolean checked) { argument 886 setBooleanProperty(PROPERTY_CHECKED, checked); 1747 builder.append("; checked: ").append(isChecked());
|