Searched defs:checked (Results 1 - 25 of 25) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DCheckable.java26 * 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 DCheckedTextView.java72 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 DToggleButton.java31 * 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 DCompoundButton.java35 * 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
314 boolean checked; field in class:CompoundButton.SavedState
[all...]
H A DRadioGroup.java33 * 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 DSwitch.java444 * Returns the text displayed when the button is in the checked state.
453 * Sets the text displayed when the button is in the checked state.
463 * Returns the text displayed when the button is not in the checked state.
472 * Sets the text displayed when the button is not in the checked state.
656 private void setThumbPosition(boolean checked) { argument
658 mThumbPosition = checked ? 0 : getThumbScrollRange();
660 mThumbPosition = checked ? getThumbScrollRange() : 0;
665 public void setChecked(boolean checked) { argument
666 super.setChecked(checked);
810 // Drawable may be null when checked stat
[all...]
H A DAbsListView.java238 * Running count of how many items are currently checked
243 * Running state of which positions are currently checked
248 * Running state of which IDs are currently checked.
249 * If there is a value for a given key, the checked state for that ID is true
491 * find a checked item with a stable ID that moved position across
882 * Returns the checked state of the specified position. The result is only
886 * @param position The item whose checked state to return
887 * @return The item's checked state or <code>false</code> if choice mode
901 * Returns the currently checked item. The result is only valid if the choice
904 * @return The position of the currently checked ite
5989 onItemCheckedStateChanged(ActionMode mode, int position, long id, boolean checked) argument
6035 onItemCheckedStateChanged(ActionMode mode, int position, long id, boolean checked) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DCheckableLinearLayout.java52 public void setChecked(boolean checked) { argument
53 mCheckBox.setChecked(checked);
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
H A DConfirmDialog.java92 public void onCheckedChanged(CompoundButton button, boolean checked) { argument
93 mButton.setEnabled(checked);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDoNotDisturbController.java54 public void onCheckedChanged(CompoundButton view, boolean checked) { argument
55 //Slog.d(TAG, "onCheckedChanged checked=" + checked + " mDoNotDisturb=" + mDoNotDisturb);
56 final boolean value = !checked;
H A DAirplaneModeController.java58 public void onCheckedChanged(CompoundButton view, boolean checked) { argument
59 if (checked != mAirplaneMode) {
60 mAirplaneMode = checked;
61 unsafe(checked);
H A DAutoRotateController.java53 public void onCheckedChanged(CompoundButton view, boolean checked) { argument
54 if (checked != mAutoRotation) {
55 mAutoRotation = checked;
56 RotationPolicy.setRotationLock(mContext, !checked);
H A DToggleSlider.java40 public void onChanged(ToggleSlider v, boolean tracking, boolean checked, int value); argument
87 public void onCheckedChanged(CompoundButton toggle, boolean checked) { argument
91 if (checked) {
106 mListener.onChanged(this, mTracking, checked, mSlider.getProgress());
135 public void setChecked(boolean checked) { argument
136 mToggle.setChecked(checked);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuView.java80 * checked, for that use {@link #setChecked}.
88 * @param checked Whether the checkbox should be checked
90 public void setChecked(boolean checked); argument
H A DActionMenuItemView.java131 public void setChecked(boolean checked) { argument
H A DIconMenuItemView.java294 public void setChecked(boolean checked) { argument
H A DListMenuItemView.java166 public void setChecked(boolean checked) { argument
181 compoundButton.setChecked(checked);
H A DActionMenuItem.java148 public MenuItem setChecked(boolean checked) { argument
149 mFlags = (mFlags & ~CHECKED) | (checked ? CHECKED : 0);
H A DMenuItemImpl.java438 public MenuItem setChecked(boolean checked) { argument
444 setCheckedInt(checked);
450 void setCheckedInt(boolean checked) { argument
452 mFlags = (mFlags & ~CHECKED) | (checked ? CHECKED : 0);
/frameworks/base/core/java/android/preference/
H A DTwoStatePreference.java73 * Sets the checked state and saves it to the {@link SharedPreferences}.
75 * @param checked The checked state.
77 public void setChecked(boolean checked) { argument
79 final boolean changed = mChecked != checked;
81 mChecked = checked;
83 persistBoolean(checked);
92 * Returns the checked state.
94 * @return The checked state.
107 * Sets the summary to be shown when checked
272 boolean checked; field in class:TwoStatePreference.SavedState
[all...]
/frameworks/base/core/java/android/view/
H A DMenuItem.java354 * @param checked Set to true to display a check mark, false to hide
358 public MenuItem setChecked(boolean checked); argument
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatIcs.java156 public static void setChecked(Object info, boolean checked) { argument
157 ((AccessibilityNodeInfo) info).setChecked(checked);
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
H A DUiSelector.java26 * selected, enabled, checked etc. Additionally UiSelector allows targeting of UI
398 * are currently checked (usually for checkboxes).
411 public UiSelector checked(boolean val) { method in class:UiSelector
/frameworks/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java65 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 DAccessibilityNodeInfo.java858 * Gets whether this node is checked.
860 * @return True if the node is checked.
867 * Sets whether this node is checked.
874 * @param checked True if the node is checked.
878 public void setChecked(boolean checked) { argument
879 setBooleanProperty(PROPERTY_CHECKED, checked);
1856 builder.append("; checked: ").append(isChecked());

Completed in 2263 milliseconds