Home
last modified time | relevance | path

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

123456

/frameworks/opt/setupwizard/library/eclair-mr1/test/robotest/src/com/android/setupwizardlib/items/
DSwitchItemTest.java55 item.setChecked(true); in testChecked()
69 item.setChecked(false); in testNotChecked()
83 item.setChecked(true); in testListener()
91 mSwitch.setChecked(false); in testListener()
96 mSwitch.setChecked(true); in testListener()
107 item1.setChecked(false); in testRebind()
112 item2.setChecked(true); in testRebind()
123 mSwitch.setChecked(false); in testRebind()
128 mSwitch.setChecked(true); in testRebind()
142 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/support/design/src/android/support/design/widget/
DCheckableImageButton.java58 event.setChecked(isChecked()); in CheckableImageButton()
66 info.setChecked(isChecked()); in CheckableImageButton()
72 public void setChecked(boolean checked) { in setChecked() method in CheckableImageButton
88 setChecked(!mChecked); in toggle()
/frameworks/support/samples/SupportEmojiDemos/src/com/example/android/support/text/emoji/
DConfigLayout.java66 mEnableEmojiCompat.setChecked(Config.get().isCompatEnabled()); in init()
80 mReplaceAll.setChecked(Config.get().isReplaceAll()); in init()
94 mDownloadable.setChecked(Config.get().isDownloadable()); in init()
108 mIndicator.setChecked(Config.get().isIndicator()); in init()
/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.java80 mMirror.setChecked(mToggle.isChecked()); in setMirror()
103 public void setChecked(boolean checked) { in setChecked() method in ToggleSliderView
104 mToggle.setChecked(checked); in setChecked()
149 mMirror.mToggle.setChecked(checked);
172 mToggle.setChecked(false);
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/graphics/
DPaletteDetailActivity.java101 item.setChecked(true); in onOptionsItemSelected()
105 item.setChecked(true); in onOptionsItemSelected()
109 item.setChecked(true); in onOptionsItemSelected()
113 item.setChecked(true); in onOptionsItemSelected()
117 item.setChecked(true); in onOptionsItemSelected()
DPaletteActivity.java115 item.setChecked(true); in onOptionsItemSelected()
119 item.setChecked(true); in onOptionsItemSelected()
123 item.setChecked(true); in onOptionsItemSelected()
127 item.setChecked(true); in onOptionsItemSelected()
131 item.setChecked(true); in onOptionsItemSelected()
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/items/
DSwitchItem.java54 public void setChecked(boolean checked) { in setChecked() method in SwitchItem
81 switchView.setChecked(mChecked); in toggle()
89 switchView.setChecked(mChecked); in onBindView()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodAndSubtypeEnablerManager.java96 autoSelectionPref.setChecked(isChecking); in onPreferenceChange()
105 subtypePref.setChecked(isChecking); in onPreferenceChange()
196 autoSelectionPref.setChecked(autoSelectionEnabled); in setAutoSelectionSubtypesEnabled()
205 ((TwoStatePreference) pref).setChecked(false); in setAutoSelectionSubtypesEnabled()
246 subtypePref.setChecked(false); in updateImplicitlyEnabledSubtypesOf()
250 subtypePref.setChecked(true); in updateImplicitlyEnabledSubtypesOf()
/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/support/samples/Support13Demos/src/com/example/android/supportv13/view/
DCheckableFrameLayout.java37 public void setChecked(boolean checked) { in setChecked() method in CheckableFrameLayout
49 setChecked(!mChecked); in toggle()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/view/
DCheckableFrameLayout.java38 public void setChecked(boolean checked) { in setChecked() method in CheckableFrameLayout
50 setChecked(!mChecked); in toggle()
/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.java117 setChecked(checked); in CompoundButton()
127 setChecked(!mChecked); in toggle()
156 public void setChecked(boolean checked) { in setChecked() method in CompoundButton
375 event.setChecked(mChecked); in onInitializeAccessibilityEventInternal()
383 info.setChecked(mChecked); in onInitializeAccessibilityNodeInfoInternal()
566 setChecked(ss.checked); in onRestoreInstanceState()
593 setChecked(value.getToggleValue()); in autofill()
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/v7/preference/src/android/support/v7/preference/
DTwoStatePreference.java67 setChecked(newValue); in onClick()
76 public void setChecked(boolean checked) { in setChecked() method in TwoStatePreference
189 setChecked(restoreValue ? getPersistedBoolean(mChecked) in onSetInitialValue()
260 setChecked(myState.checked); in onRestoreInstanceState()
DCheckBoxPreference.java50 buttonView.setChecked(!isChecked); in onCheckedChanged()
53 CheckBoxPreference.this.setChecked(isChecked); in onCheckedChanged()
128 ((Checkable) view).setChecked(mChecked); in syncCheckboxView()
/frameworks/base/core/tests/coretests/src/android/view/
DMenuTest.java117 item1.setChecked(true); in testCheckable()
120 mMenu.findItem(2).setChecked(true); in testCheckable()
127 item1.setChecked(false); in testCheckable()
129 item1.setChecked(true); in testCheckable()
131 mMenu.findItem(2).setChecked(true); in testCheckable()
/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/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
DTabLayoutUsage.java90 ((RadioButton) findViewById(R.id.rb_tab_scrollable)).setChecked(true); in setupRadioGroup()
93 ((RadioButton) findViewById(R.id.rb_tab_fixed)).setChecked(true); in setupRadioGroup()
115 ((RadioButton) findViewById(R.id.rb_tab_g_center)).setChecked(true); in setupRadioGroup()
118 ((RadioButton) findViewById(R.id.rb_tab_g_fill)).setChecked(true); in setupRadioGroup()
DTabLayoutPreselectedUsage.java78 ((RadioButton) findViewById(R.id.rb_tab_scrollable)).setChecked(true); in setupRadioGroup()
81 ((RadioButton) findViewById(R.id.rb_tab_fixed)).setChecked(true); in setupRadioGroup()
103 ((RadioButton) findViewById(R.id.rb_tab_g_center)).setChecked(true); in setupRadioGroup()
106 ((RadioButton) findViewById(R.id.rb_tab_g_fill)).setChecked(true); in setupRadioGroup()
/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/setupwizard/library/main/src/com/android/setupwizardlib/view/
DCheckableLinearLayout.java73 public void setChecked(boolean checked) { in setChecked() method in CheckableLinearLayout
85 setChecked(!isChecked()); in toggle()

123456