Home
last modified time | relevance | path

Searched refs:setChecked (Results 1 – 25 of 134) sorted by relevance

123456

/frameworks/opt/setupwizard/library/eclair-mr1/test/src/com/android/setupwizardlib/test/
DSwitchItemTest.java42 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/
DNotificationBuilderTest.java96 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/
DNightModeFragment.java91 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()
DPowerNotificationControlsFragment.java53 switchWidget.setChecked(isEnabled()); in onViewCreated()
66 switchWidget.setChecked(newState); in onViewCreated()
DDemoModeFragment.java116 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/
DToggleSlider.java86 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/
DTransformsAndAnimationsActivity.java81 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/
DSwitchItem.java51 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/
DTwoStatePreference.java64 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()
DCheckBoxPreference.java47 buttonView.setChecked(!isChecked); in onCheckedChanged()
50 CheckBoxPreference.this.setChecked(isChecked); in onCheckedChanged()
124 ((Checkable) view).setChecked(mChecked); in syncCheckboxView()
DSwitchPreferenceCompat.java53 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/
DTwoStatePreference.java66 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()
DSwitchPreference.java52 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/
DCompoundButton.java107 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()
DCheckedTextView.java109 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/
DCheckableImageView.java53 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/
DCompoundButtonBindingAdapter.java37 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/
DColorPickerSwatch.java56 setChecked(checked); in ColorPickerSwatch()
66 private void setChecked(boolean checked) { in setChecked() method in ColorPickerSwatch
/frameworks/base/core/tests/coretests/src/android/view/
DMenuTest.java198 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/
DSwitchPreference.java56 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/
DPreviewPageFrame.java58 event.setChecked(isSelected()); in onInitializeAccessibilityEvent()
66 info.setChecked(isSelected()); in onInitializeAccessibilityNodeInfo()
/frameworks/support/design/src/android/support/design/internal/
DNavigationMenuItemView.java84 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/
DVisualizerTest.java83 mCallbackButton.setChecked(mCallbackOn); in onCreate()
272 mReleaseButton.setChecked(true); in getEffect()
276 mOnOffButton.setChecked(mEnabled); in getEffect()
284 mOnOffButton.setChecked(false); in putEffect()
DEnvReverbTest.java540 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/
DSampleTrustAgentSettings.java69 mReportUnlockAttempts.setChecked(SampleTrustAgent.getReportUnlockAttempts(this)); in onResume()
70 mManagingTrust.setChecked(SampleTrustAgent.getIsManagingTrust(this)); in onResume()

123456