HomeSort by relevance Sort by last modified time
    Searched refs:checked (Results 26 - 50 of 894) sorted by null

12 3 4 5 6 7 8 91011>>

  /packages/apps/Settings/src/com/android/settings/widget/
MasterSwitchController.java 51 public void setChecked(boolean checked) {
52 mPreference.setChecked(checked);
SwitchBarController.java 60 public void setChecked(boolean checked) {
61 mSwitchBar.setChecked(checked);
SwitchWidgetController.java 34 * Called when the checked state of the Switch has changed.
36 * @param isChecked The new checked state of switchView.
68 * @param isChecked whether the switch is currently checked
83 * Set the checked state for the switch.
85 * @param checked whether the switch should be checked or not.
87 public abstract void setChecked(boolean checked);
90 * Get the checked state for the switch.
92 * @return true if the switch is currently checked, false otherwise.
SwitchBar.java 54 * Called when the checked state of the Switch has changed.
57 * @param isChecked The new checked state of switchView.
187 public void setChecked(boolean checked) {
188 setTextViewLabelAndBackground(checked);
189 mSwitch.setChecked(checked);
192 public void setCheckedInternal(boolean checked) {
193 setTextViewLabelAndBackground(checked);
194 mSwitch.setCheckedInternal(checked);
305 boolean checked; field in class:SwitchBar.SavedState
317 checked = (Boolean) in.readValue(null)
    [all...]
MasterCheckBoxPreference.java 100 public void setChecked(boolean checked) {
101 mChecked = checked;
103 mCheckBox.setChecked(checked);
MasterSwitchPreference.java 95 public void setChecked(boolean checked) {
96 mChecked = checked;
98 mSwitch.setChecked(checked);
  /packages/providers/MediaProvider/src/com/android/providers/media/
CheckedListItem.java 49 public void setChecked(boolean checked) {
50 getCheckedTextView().setChecked(checked);
  /developers/build/prebuilts/gradle/FloatingActionButtonBasic/Application/src/main/java/com/example/android/floatingactionbuttonbasic/
FloatingActionButton.java 34 * Interface definition for a callback to be invoked when the checked state
40 * Called when the checked state of a FAB has changed.
43 * @param isChecked The new checked state of buttonView.
57 // A boolean that tells if the FAB is checked or not.
96 * Sets the checked/unchecked state of the FAB.
97 * @param checked
99 public void setChecked(boolean checked) {
101 if (checked == mChecked) {
104 mChecked = checked;
110 mOnCheckedChangeListener.onCheckedChanged(this, checked);
    [all...]
  /developers/samples/android/ui/views/FloatingActionButton/FloatingActionButtonBasic/Application/src/main/java/com/example/android/floatingactionbuttonbasic/
FloatingActionButton.java 34 * Interface definition for a callback to be invoked when the checked state
40 * Called when the checked state of a FAB has changed.
43 * @param isChecked The new checked state of buttonView.
57 // A boolean that tells if the FAB is checked or not.
96 * Sets the checked/unchecked state of the FAB.
97 * @param checked
99 public void setChecked(boolean checked) {
101 if (checked == mChecked) {
104 mChecked = checked;
110 mOnCheckedChangeListener.onCheckedChanged(this, checked);
    [all...]
  /development/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/
FloatingActionButton.java 34 * Interface definition for a callback to be invoked when the checked state
40 * Called when the checked state of a FAB has changed.
43 * @param isChecked The new checked state of buttonView.
57 // A boolean that tells if the FAB is checked or not.
96 * Sets the checked/unchecked state of the FAB.
97 * @param checked
99 public void setChecked(boolean checked) {
101 if (checked == mChecked) {
104 mChecked = checked;
110 mOnCheckedChangeListener.onCheckedChanged(this, checked);
    [all...]
  /frameworks/base/packages/Shell/src/com/android/shell/
BugreportWarningActivity.java 66 final boolean checked;
68 checked = state == STATE_HIDE; // Only checks if specifically set to.
70 checked = state != STATE_SHOW; // Checks by default.
72 mConfirmRepeat.setChecked(checked);
  /frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/
SwitchItem.java 29 * An item that is displayed with a switch, with methods to manipulate and listen to the checked
42 * Callback when checked state of a {@link SwitchItem} is changed.
73 * Sets whether this item should be checked.
75 public void setChecked(boolean checked) {
76 if (mChecked != checked) {
77 mChecked = checked;
80 mListener.onCheckedChange(this, checked);
86 * @return True if this switch item is currently checked.
98 * Toggle the checked state of the switch, without invalidating the entire item.
119 * Sets a listener to listen for changes in checked state. This listener is invoked in bot
    [all...]
  /developers/samples/android/accessibility/CheckableLayout/Application/src/main/java/com/example/android/checkablelayout/
CheckableFrameLayout.java 28 * interface. Keeps an internal 'checked' state flag.
61 public void setChecked(boolean checked) {
62 if (mChecked != checked) {
63 mChecked = checked;
  /frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
CompoundButtonBindingAdapter.java 32 @InverseBindingMethod(type = CompoundButton.class, attribute = "android:checked"),
36 @BindingAdapter("android:checked")
37 public static void setChecked(CompoundButton view, boolean checked) {
38 if (view.isChecked() != checked) {
39 view.setChecked(checked);
  /packages/apps/Launcher3/src/com/android/launcher3/allapps/
WorkModeSwitch.java 44 public void setChecked(boolean checked) {
45 // No-op, do not change the checked state until broadcast is received.
53 private void setCheckedInternal(boolean checked) {
54 super.setChecked(checked);
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
CorpusView.java 74 public void setChecked(boolean checked) {
75 if (mChecked != checked) {
76 mChecked = checked;
  /packages/apps/Settings/src/com/android/settings/notification/
NotificationSwitchBarPreference.java 64 public void setChecked(boolean checked) {
65 mChecked = checked;
67 mSwitch.setChecked(checked);
NotificationAppPreference.java 93 public void setChecked(boolean checked) {
94 mChecked = checked;
96 mSwitch.setChecked(checked);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
NotificationsPreference.java 68 public void setChecked(boolean checked) {
69 if (setNotificationsEnabled(checked)) {
70 super.setChecked(checked);
  /frameworks/base/core/java/android/widget/
ToggleButton.java 26 * Displays checked/unchecked states as a button
70 public void setChecked(boolean checked) {
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 state
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
Action.java 123 public Builder checked(boolean checked) { method in class:Action.Builder
124 mChecked = checked;
155 int drawableResource, boolean checked, boolean multilineDescription,
162 mChecked = checked;
202 builder.checked(true);
204 builder.checked(false);
240 * that action becomes checked while all the other actions become unchecked.
256 public void setChecked(boolean checked) {
257 mChecked = checked;
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
OrientationMenuAction.java 101 boolean checked = mode == selected;
102 SelectNightModeAction action = new SelectNightModeAction(mode, checked);
111 boolean checked = mode == selected;
112 SelectUiModeAction action = new SelectUiModeAction(mode, checked);
124 private SelectNightModeAction(NightMode mode, boolean checked) {
127 if (checked) {
143 private SelectUiModeAction(UiMode mode, boolean checked) {
146 if (checked) {
163 State state, boolean checked, boolean flip) {
167 if (checked) {
    [all...]
  /packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DownloadsDeletionPreferenceGroup.java 90 boolean checked = (boolean) newValue;
91 if (!checked) {
92 // Temporarily stop listening to avoid propagating the checked change to children.
108 mDeletionType.setFileChecked(p.getFile(), checked); local
109 p.setChecked(checked);
116 checked); local
122 mDeletionType.setFileChecked(p.getFile(), checked); local
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
MtpThumbnailTileView.java 93 public void setChecked(boolean checked) {
94 if (mIsChecked != checked) {
95 mIsChecked = checked;
  /packages/apps/TV/src/com/android/tv/ui/sidepanel/
CompoundButtonItem.java 102 public void setChecked(boolean checked) {
103 if (mChecked != checked) {
104 mChecked = checked;

Completed in 498 milliseconds

12 3 4 5 6 7 8 91011>>