/frameworks/base/core/java/android/widget/ |
H A D | Checkable.java | 35 boolean isChecked(); method in interface:Checkable
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/util/ |
H A D | ConfigViewHolder.java | 41 mCheckBox.setChecked(toggle.isChecked()); 45 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { argument 47 mConfigToggle.onChange(isChecked);
|
H A D | ConfigToggle.java | 32 abstract public boolean isChecked(); method in class:ConfigToggle
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/util/ |
H A D | ConfigViewHolder.java | 41 mCheckBox.setChecked(toggle.isChecked()); 45 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { argument 47 mConfigToggle.onChange(isChecked);
|
H A D | ConfigToggle.java | 32 abstract public boolean isChecked(); method in class:ConfigToggle
|
/frameworks/support/slices/core/src/main/java/androidx/slice/core/ |
H A D | SliceAction.java | 38 * @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 D | ToggleSlider.java | 28 default boolean isChecked() { return false; } method in interface:ToggleSlider
|
/frameworks/support/slices/builders/src/main/java/androidx/slice/builders/ |
H A D | SliceAction.java | 67 @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 D | SwitchItem.java | 46 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 D | LinearLayoutManagerActivity.java | 53 public boolean isChecked() { 69 public boolean isChecked() { 80 public boolean isChecked() { 93 public boolean isChecked() { 104 public boolean isChecked() {
|
H A D | LinearLayoutManagerJankActivity.java | 68 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 D | LinearLayoutManagerActivity.java | 53 public boolean isChecked() { 69 public boolean isChecked() { 80 public boolean isChecked() { 93 public boolean isChecked() { 104 public boolean isChecked() {
|
H A D | LinearLayoutManagerJankActivity.java | 68 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 D | SwitchItemTest.java | 71 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 D | CheckableImageView.java | 45 if (isChecked()) { 57 public boolean isChecked() { method in class:CheckableImageView
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | RadioGroupPreCheckedTest.java | 39 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 D | EnableZenModeDialogTest.java | 115 .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 D | ZenDurationDialogTest.java | 80 .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 D | CompoundButtonBindingAdapter.java | 38 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 D | CarAlertDialogDemo.java | 48 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 D | CarAlertDialogDemo.java | 48 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 D | SliceActionView.java | 86 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 D | DialogInterface.java | 132 * @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 D | CompatModeDialog.java | 54 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 D | ActionBarFragmentMenu.java | 102 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());
|