Searched refs:checked (Results 1 - 25 of 46) sorted by path

12

/frameworks/av/services/audioflinger/
H A DTracks.cpp1102 bool checked = false; local
1109 if (!checked && i <= ExtendedTimestamp::LOCATION_KERNEL) {
1112 checked = true;
1116 if (!checked) { // no server info, assume drained.
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiSelector.java448 * are currently checked (usually for checkboxes).
462 public UiSelector checked(boolean val) { method in class:UiSelector
/frameworks/base/core/java/android/preference/
H A DTwoStatePreference.java71 * 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/base/core/java/android/view/
H A DMenuItem.java357 * @param checked Set to true to display a check mark, false to hide
361 public MenuItem setChecked(boolean checked); argument
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java917 private void addChildInternal(View root, int virtualDescendantId, boolean checked) { argument
926 if (checked && mChildNodeIds.indexOf(childNodeId) >= 0) {
1569 * Gets whether this node is checked.
1571 * @return True if the node is checked.
1578 * Sets whether this node is checked.
1585 * @param checked True if the node is checked.
1589 public void setChecked(boolean checked) { argument
1590 setBooleanProperty(BOOLEAN_PROPERTY_CHECKED, checked);
3275 builder.append("; checked
[all...]
/frameworks/base/core/java/android/widget/
H A DAbsListView.java256 * Running count of how many items are currently checked
261 * Running state of which positions are currently checked
266 * Running state of which IDs are currently checked.
267 * If there is a value for a given key, the checked state for that ID is true
514 * find a checked item with a stable ID that moved position across
934 * Returns the checked state of the specified position. The result is only
938 * @param position The item whose checked state to return
939 * @return The item's checked state or <code>false</code> if choice mode
953 * Returns the currently checked item. The result is only valid if the choice
956 * @return The position of the currently checked ite
6388 onItemCheckedStateChanged(ActionMode mode, int position, long id, boolean checked) argument
6439 onItemCheckedStateChanged(ActionMode mode, int position, long id, boolean checked) argument
[all...]
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.java108 final boolean checked = a.getBoolean(R.styleable.CheckedTextView_checked, false);
109 setChecked(checked);
126 * Sets the checked state of this view.
128 * @param checked {@code true} set the state to checked, {@code false} to
131 public void setChecked(boolean checked) { argument
132 if (mChecked != checked) {
133 mChecked = checked;
143 * When this view is checked, the drawable's state set will include
164 * When this view is checked, th
456 boolean checked; field in class:CheckedTextView.SavedState
[all...]
H A DCompoundButton.java42 * 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
488 boolean checked; field in class:CompoundButton.SavedState
[all...]
H A DRadioGroup.java32 * 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 DSwitch.java750 * Returns the text displayed when the button is in the checked state.
759 * Sets the text displayed when the button is in the checked state.
769 * Returns the text displayed when the button is not in the checked state.
778 * Sets the text displayed when the button is not in the checked state.
1070 public void setChecked(boolean checked) { argument
1071 super.setChecked(checked);
1075 checked = isChecked();
1078 animateThumbToCheckedState(checked);
1082 setThumbPosition(checked ? 1 : 0);
H A DToggleButton.java26 * 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...]
/frameworks/base/core/java/com/android/internal/app/
H A DLocaleStore.java175 public void setChecked(boolean checked) { argument
176 mIsChecked = checked;
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuItem.java148 public MenuItem setChecked(boolean checked) { argument
149 mFlags = (mFlags & ~CHECKED) | (checked ? CHECKED : 0);
H A DActionMenuItemView.java172 public void setChecked(boolean checked) { argument
H A DIconMenuItemView.java297 public void setChecked(boolean checked) { argument
H A DListMenuItemView.java179 public void setChecked(boolean checked) { argument
194 compoundButton.setChecked(checked);
H A DMenuItemImpl.java441 public MenuItem setChecked(boolean checked) { argument
447 setCheckedInt(checked);
453 void setCheckedInt(boolean checked) { argument
455 mFlags = (mFlags & ~CHECKED) | (checked ? CHECKED : 0);
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
/frameworks/base/libs/hwui/
H A DAndroid.mk8 # If set to true, every GLES call is wrapped & error checked
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DOpenExternalDirectoryActivity.java438 final boolean checked = mDontAskAgain.isChecked();
439 if (checked) {
/frameworks/base/packages/Shell/src/com/android/shell/
H A DBugreportWarningActivity.java65 final boolean checked;
67 checked = state == STATE_HIDE; // Only checks if specifically set to.
69 checked = state != STATE_SHOW; // Checks by default.
71 mConfirmRepeat.setChecked(checked);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSDetail.java169 boolean checked = !mQsDetailHeaderSwitch.isChecked();
170 mQsDetailHeaderSwitch.setChecked(checked);
171 adapter.setToggleState(checked);
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DToggleSlider.java38 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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarHeaderView.java809 boolean checked = !mQsDetailHeaderSwitch.isChecked();
810 mQsDetailHeaderSwitch.setChecked(checked);
811 detail.setToggleState(checked);

Completed in 551 milliseconds

12