Searched refs:isChecked (Results 1 - 25 of 181) sorted by relevance

12345678

/frameworks/base/core/java/android/widget/
H A DCheckable.java35 boolean isChecked(); method in interface:Checkable
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/util/
H A DConfigViewHolder.java41 mCheckBox.setChecked(toggle.isChecked());
45 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { argument
47 mConfigToggle.onChange(isChecked);
H A DConfigToggle.java32 abstract public boolean isChecked(); method in class:ConfigToggle
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/util/
H A DConfigViewHolder.java41 mCheckBox.setChecked(toggle.isChecked());
45 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { argument
47 mConfigToggle.onChange(isChecked);
H A DConfigToggle.java32 abstract public boolean isChecked(); method in class:ConfigToggle
/frameworks/support/slices/core/src/main/java/androidx/slice/core/
H A DSliceAction.java38 * @param isChecked whether the state of this action is checked or not; only used for toggle
41 SliceAction setChecked(boolean isChecked); argument
86 boolean isChecked(); method in interface:SliceAction
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DToggleSlider.java28 default boolean isChecked() { return false; } method in interface:ToggleSlider
/frameworks/support/slices/builders/src/main/java/androidx/slice/builders/
H A DSliceAction.java67 @NonNull CharSequence actionTitle, boolean isChecked) {
68 this(action, IconCompat.createFromIcon(actionIcon), actionTitle, isChecked);
114 * @param isChecked the state of the toggle.
117 @NonNull CharSequence actionTitle, boolean isChecked) {
118 mSliceAction = new SliceActionImpl(action, actionIcon, actionTitle, isChecked);
127 * @param isChecked the state of the toggle.
130 boolean isChecked) {
131 mSliceAction = new SliceActionImpl(action, actionTitle, isChecked);
145 * @param isChecked whether the state of this action is checked or not; only used for toggle
150 public SliceAction setChecked(boolean isChecked) { argument
66 SliceAction(@onNull PendingIntent action, @NonNull Icon actionIcon, @NonNull CharSequence actionTitle, boolean isChecked) argument
116 SliceAction(@onNull PendingIntent action, @NonNull IconCompat actionIcon, @NonNull CharSequence actionTitle, boolean isChecked) argument
129 SliceAction(@onNull PendingIntent action, @NonNull CharSequence actionTitle, boolean isChecked) argument
222 public boolean isChecked() { method in class:SliceAction
[all...]
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/
H A DSwitchItem.java46 void onCheckedChange(SwitchItem item, boolean isChecked); argument
88 public boolean isChecked() { method in class:SwitchItem
127 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { argument
128 mChecked = isChecked;
130 mListener.onCheckedChange(this, isChecked);
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DLinearLayoutManagerActivity.java53 public boolean isChecked() {
69 public boolean isChecked() {
80 public boolean isChecked() {
93 public boolean isChecked() {
104 public boolean isChecked() {
H A DLinearLayoutManagerJankActivity.java68 public boolean isChecked() { return mBindSlowdownEnabled; }
75 public boolean isChecked() { return mInflateSlowdownEnabled; }
82 public boolean isChecked() { return mLayoutManager.isItemPrefetchEnabled(); }
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DLinearLayoutManagerActivity.java53 public boolean isChecked() {
69 public boolean isChecked() {
80 public boolean isChecked() {
93 public boolean isChecked() {
104 public boolean isChecked() {
H A DLinearLayoutManagerJankActivity.java68 public boolean isChecked() { return mBindSlowdownEnabled; }
75 public boolean isChecked() { return mInflateSlowdownEnabled; }
82 public boolean isChecked() { return mLayoutManager.isItemPrefetchEnabled(); }
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/
H A DSwitchItemTest.java71 assertTrue("Switch should be checked", mSwitch.isChecked());
85 assertFalse("Switch should be unchecked", mSwitch.isChecked());
102 assertTrue("Switch should be checked", mSwitch.isChecked());
132 assertTrue("Switch should be checked", mSwitch.isChecked());
136 assertFalse("Item1 should still be unchecked", item1.isChecked());
137 assertFalse("Item2 should not be checked", item2.isChecked());
141 assertFalse("Item1 should still be unchecked", item1.isChecked());
142 assertTrue("Item2 should be checked", item2.isChecked());
161 assertTrue("Switch should be checked", mSwitch.isChecked());
183 assertTrue("Switch should be checked", mSwitch.isChecked());
238 onCheckedChange(SwitchItem item, boolean isChecked) argument
[all...]
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DCheckableImageView.java45 if (isChecked()) {
57 public boolean isChecked() { method in class:CheckableImageView
/frameworks/base/core/tests/coretests/src/android/widget/
H A DRadioGroupPreCheckedTest.java39 assertTrue("The first radio button should be checked", radio.isChecked());
55 assertFalse("The first radio button should not be checked", old.isChecked());
56 assertTrue("The second radio button should be checked", radio.isChecked());
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/
H A DEnableZenModeDialogTest.java115 .isChecked());
117 .isChecked());
119 EnableZenModeDialog.COUNTDOWN_ALARM_CONDITION_INDEX).rb.isChecked());
126 .isChecked());
128 .isChecked());
130 EnableZenModeDialog.COUNTDOWN_ALARM_CONDITION_INDEX).rb.isChecked());
140 .isChecked());
142 .isChecked());
144 EnableZenModeDialog.COUNTDOWN_ALARM_CONDITION_INDEX).rb.isChecked());
154 .isChecked());
[all...]
H A DZenDurationDialogTest.java80 .isChecked());
82 .isChecked());
84 ZenDurationDialog.ALWAYS_ASK_CONDITION_INDEX).rb.isChecked());
94 .isChecked());
96 .isChecked());
98 ZenDurationDialog.ALWAYS_ASK_CONDITION_INDEX).rb.isChecked());
107 .isChecked());
109 .isChecked());
111 ZenDurationDialog.ALWAYS_ASK_CONDITION_INDEX).rb.isChecked());
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DCompoundButtonBindingAdapter.java38 if (view.isChecked() != checked) {
52 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
54 listener.onCheckedChanged(buttonView, isChecked);
/frameworks/support/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/
H A DCarAlertDialogDemo.java48 hasTitleView.isChecked(),
49 hasBodyText.isChecked(),
50 hasSingleLineBody.isChecked(),
51 hasAction1.isChecked(),
52 hasAction2.isChecked());
/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/
H A DCarAlertDialogDemo.java48 hasTitleView.isChecked(),
49 hasBodyText.isChecked(),
50 hasSingleLineBody.isChecked(),
51 hasAction1.isChecked(),
52 hasAction2.isChecked());
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
H A DSliceActionView.java86 switchView.setChecked(action.isChecked());
98 imageToggle.setChecked(action.isChecked());
156 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { argument
169 boolean isChecked = ((Checkable) mActionView).isChecked();
170 Intent i = new Intent().putExtra(EXTRA_TOGGLE_STATE, isChecked);
175 mEventInfo.state = isChecked ? EventInfo.STATE_ON : EventInfo.STATE_OFF;
185 mActionView.setSelected(!((Checkable) mActionView).isChecked());
210 setChecked(!isChecked());
230 public boolean isChecked() { method in class:SliceActionView.ImageToggle
[all...]
/frameworks/base/core/java/android/content/
H A DDialogInterface.java132 * @param isChecked {@code true} if the click checked the item, else
135 void onClick(DialogInterface dialog, int which, boolean isChecked); argument
/frameworks/base/services/core/java/com/android/server/am/
H A DCompatModeDialog.java54 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
58 mCompatEnabled.isChecked() ? ActivityManager.COMPAT_MODE_ENABLED
67 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
70 mAppInfo.packageName, mAlwaysShow.isChecked());
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
H A DActionBarFragmentMenu.java102 if (mCheckBox1.isChecked()) ft.show(mFragment1);
104 if (mCheckBox2.isChecked()) ft.show(mFragment2);
108 mFragment1.setHasOptionsMenu(mHasOptionsMenu.isChecked());
109 mFragment1.setMenuVisibility(mMenuVisibility.isChecked());
110 mFragment2.setHasOptionsMenu(mHasOptionsMenu.isChecked());
111 mFragment2.setMenuVisibility(mMenuVisibility.isChecked());
116 if (mCheckBox3.isChecked()) ft.show(mFragment2.mFragment3);
120 mFragment2.mFragment3.setHasOptionsMenu(mHasOptionsMenu.isChecked());
121 mFragment2.mFragment3.setMenuVisibility(mMenuVisibility.isChecked());

Completed in 8765 milliseconds

12345678