/frameworks/opt/setupwizard/library/eclair-mr1/test/src/com/android/setupwizardlib/test/ |
D | SwitchItemTest.java | 42 item.setChecked(true); in testChecked() 56 item.setChecked(false); in testNotChecked() 70 item.setChecked(true); in testListener() 78 mSwitch.setChecked(false); in testListener() 83 mSwitch.setChecked(true); in testListener() 98 item.setChecked(true); in testListenerSetChecked() 106 item.setChecked(false); in testListenerSetChecked() 111 item.setChecked(true); in testListenerSetChecked() 124 item.setChecked(true); in testToggle()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | NotificationBuilderTest.java | 96 setChecked(R.id.when_now); in setDefaults() 97 setChecked(R.id.icon_surprise); in setDefaults() 98 setChecked(R.id.title_medium); in setDefaults() 99 setChecked(R.id.text_medium); in setDefaults() 100 setChecked(R.id.info_none); in setDefaults() 101 setChecked(R.id.number_0); in setDefaults() 102 setChecked(R.id.intent_alert); in setDefaults() 103 setChecked(R.id.delete_none); in setDefaults() 104 setChecked(R.id.full_screen_none); in setDefaults() 105 setChecked(R.id.ticker_none); in setDefaults() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | NightModeFragment.java | 91 mSwitch.setChecked(mNightModeController.isEnabled()); in onViewCreated() 98 mSwitch.setChecked(newState); in onViewCreated() 172 mAdjustBrightness.setChecked(newValue != null && Integer.parseInt(newValue) != 0); in onTuningChanged() 175 mAdjustTint.setChecked(newValue == null || Integer.parseInt(newValue) != 0); in onTuningChanged() 181 mSwitch.setChecked(mNightModeController.isEnabled()); in onNightModeChanged() 186 mAutoSwitch.setChecked(mNightModeController.isAuto()); in onTwilightAutoChanged()
|
D | PowerNotificationControlsFragment.java | 53 switchWidget.setChecked(isEnabled()); in onViewCreated() 66 switchWidget.setChecked(newState); in onViewCreated()
|
D | DemoModeFragment.java | 116 mEnabledSwitch.setChecked(enabled); in updateDemoModeEnabled() 123 mOnSwitch.setChecked(enabled); in updateDemoModeOn() 132 mOnSwitch.setChecked(false); in onPreferenceChange()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | ToggleSlider.java | 86 mMirror.setChecked(mToggle.isChecked()); in setMirror() 108 public void setChecked(boolean checked) { in setChecked() method in ToggleSlider 109 mToggle.setChecked(checked); in setChecked() 151 mMirror.mToggle.setChecked(checked); 174 mToggle.setChecked(false);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | TransformsAndAnimationsActivity.java | 81 layersHardwareCB.setChecked(false); in onCreate() 82 layersSoftwareCB.setChecked(false); in onCreate() 92 layersHardwareCB.setChecked(false); in onCreate() 93 layersNoneCB.setChecked(false); in onCreate() 103 layersNoneCB.setChecked(false); in onCreate() 104 layersSoftwareCB.setChecked(false); in onCreate()
|
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/items/ |
D | SwitchItem.java | 51 public void setChecked(boolean checked) { in setChecked() method in SwitchItem 78 switchView.setChecked(mChecked); in toggle() 85 switchView.setChecked(mChecked); in onBindView()
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
D | TwoStatePreference.java | 64 setChecked(newValue); in onClick() 73 public void setChecked(boolean checked) { in setChecked() method in TwoStatePreference 186 setChecked(restoreValue ? getPersistedBoolean(mChecked) in onSetInitialValue() 256 setChecked(myState.checked); in onRestoreInstanceState()
|
D | CheckBoxPreference.java | 47 buttonView.setChecked(!isChecked); in onCheckedChanged() 50 CheckBoxPreference.this.setChecked(isChecked); in onCheckedChanged() 124 ((Checkable) view).setChecked(mChecked); in syncCheckboxView()
|
D | SwitchPreferenceCompat.java | 53 buttonView.setChecked(!isChecked); in onCheckedChanged() 57 SwitchPreferenceCompat.this.setChecked(isChecked); in onCheckedChanged() 227 ((Checkable) view).setChecked(mChecked); in syncSwitchView()
|
/frameworks/base/core/java/android/preference/ |
D | TwoStatePreference.java | 66 setChecked(newValue); in onClick() 75 public void setChecked(boolean checked) { in setChecked() method in TwoStatePreference 188 setChecked(restoreValue ? getPersistedBoolean(mChecked) in onSetInitialValue() 251 setChecked(myState.checked); in onRestoreInstanceState()
|
D | SwitchPreference.java | 52 buttonView.setChecked(!isChecked); in onCheckedChanged() 56 SwitchPreference.this.setChecked(isChecked); in onCheckedChanged() 132 ((Checkable) checkableView).setChecked(mChecked); in onBindView()
|
/frameworks/base/core/java/android/widget/ |
D | CompoundButton.java | 107 setChecked(checked); in CompoundButton() 115 setChecked(!mChecked); in toggle() 142 public void setChecked(boolean checked) { in setChecked() method in CompoundButton 357 event.setChecked(mChecked); in onInitializeAccessibilityEventInternal() 365 info.setChecked(mChecked); in onInitializeAccessibilityNodeInfoInternal() 545 setChecked(ss.checked); in onRestoreInstanceState()
|
D | CheckedTextView.java | 109 setChecked(checked); in CheckedTextView() 117 setChecked(!mChecked); in toggle() 131 public void setChecked(boolean checked) { in setChecked() method in CheckedTextView 513 setChecked(ss.checked); in onRestoreInstanceState() 521 event.setChecked(mChecked); in onInitializeAccessibilityEventInternal() 529 info.setChecked(mChecked); in onInitializeAccessibilityNodeInfoInternal()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | CheckableImageView.java | 53 setChecked(!mChecked); in toggle() 62 public void setChecked(final boolean checked) { in setChecked() method in CheckableImageView
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
D | CompoundButtonBindingAdapter.java | 37 public static void setChecked(CompoundButton view, boolean checked) { in setChecked() method in CompoundButtonBindingAdapter 39 view.setChecked(checked); in setChecked()
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
D | ColorPickerSwatch.java | 56 setChecked(checked); in ColorPickerSwatch() 66 private void setChecked(boolean checked) { in setChecked() method in ColorPickerSwatch
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | MenuTest.java | 198 item1.setChecked(true); in testCheckable() 201 mMenu.findItem(2).setChecked(true); in testCheckable() 208 item1.setChecked(false); in testCheckable() 210 item1.setChecked(true); in testCheckable() 212 mMenu.findItem(2).setChecked(true); in testCheckable()
|
/frameworks/support/v14/preference/src/android/support/v14/preference/ |
D | SwitchPreference.java | 56 buttonView.setChecked(!isChecked); in onCheckedChanged() 60 SwitchPreference.this.setChecked(isChecked); in onCheckedChanged() 233 ((Checkable) view).setChecked(mChecked); in syncSwitchView()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
D | PreviewPageFrame.java | 58 event.setChecked(isSelected()); in onInitializeAccessibilityEvent() 66 info.setChecked(isSelected()); in onInitializeAccessibilityNodeInfo()
|
/frameworks/support/design/src/android/support/design/internal/ |
D | NavigationMenuItemView.java | 84 setChecked(itemData.isChecked()); in initialize() 137 public void setChecked(boolean checked) { in setChecked() method in NavigationMenuItemView 139 mTextView.setChecked(checked); in setChecked()
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | VisualizerTest.java | 83 mCallbackButton.setChecked(mCallbackOn); in onCreate() 272 mReleaseButton.setChecked(true); in getEffect() 276 mOnOffButton.setChecked(mEnabled); in getEffect() 284 mOnOffButton.setChecked(false); in putEffect()
|
D | EnvReverbTest.java | 540 mReleaseButton.setChecked(true); in getEffect() 542 mOnOffButton.setChecked(mReverb.getEnabled()); in getEffect() 544 mAttachButton.setChecked(false); in getEffect() 547 mAttachButton.setChecked(true); in getEffect() 554 mOnOffButton.setChecked(false); in putEffect() 556 mAttachButton.setChecked(false); in putEffect()
|
/frameworks/base/packages/Keyguard/test/SampleTrustAgent/src/com/android/trustagent/test/ |
D | SampleTrustAgentSettings.java | 69 mReportUnlockAttempts.setChecked(SampleTrustAgent.getReportUnlockAttempts(this)); in onResume() 70 mManagingTrust.setChecked(SampleTrustAgent.getIsManagingTrust(this)); in onResume()
|