Home
last modified time | relevance | path

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

1234

/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/
DSwitchItemTest.java80 item.setChecked(true); in testChecked()
94 item.setChecked(false); in testNotChecked()
108 item.setChecked(true); in testListener()
116 mSwitch.setChecked(false); in testListener()
121 mSwitch.setChecked(true); in testListener()
132 item1.setChecked(false); in testRebind()
137 item2.setChecked(true); in testRebind()
148 mSwitch.setChecked(false); in testRebind()
153 mSwitch.setChecked(true); in testRebind()
167 item.setChecked(true); in testListenerSetChecked()
[all …]
/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/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/base/packages/SystemUI/src/com/android/systemui/settings/
DToggleSliderView.java81 mMirror.setChecked(mToggle.isChecked()); in setMirror()
110 public void setChecked(boolean checked) { in setChecked() method in ToggleSliderView
111 mToggle.setChecked(checked); in setChecked()
161 mMirror.mToggle.setChecked(checked);
184 mToggle.setChecked(false);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodAndSubtypeEnablerManager.java97 autoSelectionPref.setChecked(isChecking); in onPreferenceChange()
106 subtypePref.setChecked(isChecking); in onPreferenceChange()
197 autoSelectionPref.setChecked(autoSelectionEnabled); in setAutoSelectionSubtypesEnabled()
206 ((TwoStatePreference) pref).setChecked(false); in setAutoSelectionSubtypesEnabled()
247 subtypePref.setChecked(false); in updateImplicitlyEnabledSubtypesOf()
251 subtypePref.setChecked(true); in updateImplicitlyEnabledSubtypesOf()
DInputMethodAndSubtypeEnablerManagerCompat.java98 autoSelectionPref.setChecked(isChecking); in onPreferenceChange()
107 subtypePref.setChecked(isChecking); in onPreferenceChange()
198 autoSelectionPref.setChecked(autoSelectionEnabled); in setAutoSelectionSubtypesEnabled()
207 ((TwoStatePreference) pref).setChecked(false); in setAutoSelectionSubtypesEnabled()
248 subtypePref.setChecked(false); in updateImplicitlyEnabledSubtypesOf()
252 subtypePref.setChecked(true); in updateImplicitlyEnabledSubtypesOf()
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/
DSwitchItem.java68 public void setChecked(boolean checked) { in setChecked() method in SwitchItem
96 switchView.setChecked(checked); in toggle()
104 switchView.setChecked(checked); in onBindView()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/
DEnableAdbPreferenceControllerTest.java92 mPreference.setChecked(true); in resetPreference_shouldUncheck()
104 mPreference.setChecked(true); in handlePreferenceTreeClick_shouldUpdateSettings()
130 mPreference.setChecked(false); in updateState_settingsOn_shouldCheck()
143 mPreference.setChecked(true); in updateState_settingsOff_shouldUncheck()
/frameworks/base/core/tests/coretests/src/android/view/
DMenuTest.java118 item1.setChecked(true); in testCheckable()
121 mMenu.findItem(2).setChecked(true); in testCheckable()
128 item1.setChecked(false); in testCheckable()
130 item1.setChecked(true); in testCheckable()
132 mMenu.findItem(2).setChecked(true); in testCheckable()
/frameworks/base/core/java/android/preference/
DTwoStatePreference.java74 setChecked(newValue); in onClick()
83 public void setChecked(boolean checked) { in setChecked() method in TwoStatePreference
196 setChecked(restoreValue ? getPersistedBoolean(mChecked) in onSetInitialValue()
260 setChecked(myState.checked); in onRestoreInstanceState()
DSwitchPreference.java61 buttonView.setChecked(!isChecked); in onCheckedChanged()
65 SwitchPreference.this.setChecked(isChecked); in onCheckedChanged()
141 ((Checkable) checkableView).setChecked(mChecked); in onBindView()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPreviewPageFrame.java43 event.setChecked(isSelected()); in onInitializeAccessibilityEvent()
51 info.setChecked(isSelected()); in onInitializeAccessibilityNodeInfo()
/frameworks/base/core/java/android/widget/
DCompoundButton.java125 setChecked(checked); in CompoundButton()
135 setChecked(!mChecked); in toggle()
165 public void setChecked(boolean checked) { in setChecked() method in CompoundButton
415 event.setChecked(mChecked); in onInitializeAccessibilityEventInternal()
423 info.setChecked(mChecked); in onInitializeAccessibilityNodeInfoInternal()
606 setChecked(ss.checked); in onRestoreInstanceState()
638 setChecked(value.getToggleValue()); in autofill()
DCheckedTextView.java117 setChecked(checked); in CheckedTextView()
125 setChecked(!mChecked); in toggle()
140 public void setChecked(boolean checked) { in setChecked() method in CheckedTextView
557 setChecked(ss.checked); in onRestoreInstanceState()
565 event.setChecked(mChecked); in onInitializeAccessibilityEventInternal()
573 info.setChecked(mChecked); in onInitializeAccessibilityNodeInfoInternal()
DToggleButton.java74 public void setChecked(boolean checked) { in setChecked() method in ToggleButton
75 super.setChecked(checked); in setChecked()
DCheckable.java30 void setChecked(boolean checked); in setChecked() method
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DVisualizerTest.java75 mCallbackButton.setChecked(mCallbackOn); in onCreate()
193 mReleaseButton.setChecked(true); in getEffect()
197 mOnOffButton.setChecked(mEnabled); in getEffect()
206 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/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DCheckableLinearLayout.java71 public void setChecked(boolean checked) { in setChecked() method in CheckableLinearLayout
83 setChecked(!isChecked()); in toggle()
/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/packages/SettingsLib/src/com/android/settingslib/development/
DAbstractEnableAdbPreferenceController.java79 ((TwoStatePreference) preference).setChecked(isAdbEnabled()); in updateState()
90 mPreference.setChecked(false); in resetPreference()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DPowerNotificationControlsFragment.java53 switchWidget.setChecked(isEnabled()); in onViewCreated()
66 switchWidget.setChecked(newState); in onViewCreated()
DDemoModeFragment.java117 mEnabledSwitch.setChecked(enabled); in updateDemoModeEnabled()
124 mOnSwitch.setChecked(enabled); in updateDemoModeOn()
133 mOnSwitch.setChecked(false); in onPreferenceChange()
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DElementLayoutActivity.java109 button.setChecked(mRandom.nextBoolean()); in createToggleButton()
115 button.setChecked(mRandom.nextBoolean()); in createSwitch()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/
DZenDurationDialogTest.java107 mController.getConditionTagAt(ZenDurationDialog.ALWAYS_ASK_CONDITION_INDEX).rb.setChecked( in testChooseAlwaysPromptSetting()
121 mController.getConditionTagAt(ZenDurationDialog.FOREVER_CONDITION_INDEX).rb.setChecked( in testChooseForeverSetting()
135 mController.getConditionTagAt(ZenDurationDialog.COUNTDOWN_CONDITION_INDEX).rb.setChecked( in testChooseTimeSetting()

1234