Home
last modified time | relevance | path

Searched refs:setChecked (Results 1 – 25 of 130) 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()
94 item1.setChecked(false); in testRebind()
99 item2.setChecked(true); in testRebind()
110 mSwitch.setChecked(false); in testRebind()
115 mSwitch.setChecked(true); in testRebind()
129 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.java54 event.setChecked(isChecked()); in CheckableImageButton()
62 info.setChecked(isChecked()); in CheckableImageButton()
68 public void setChecked(boolean checked) { in setChecked() method in CheckableImageButton
84 setChecked(!mChecked); in toggle()
/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.java114 item.setChecked(true); in onOptionsItemSelected()
118 item.setChecked(true); in onOptionsItemSelected()
122 item.setChecked(true); in onOptionsItemSelected()
126 item.setChecked(true); in onOptionsItemSelected()
130 item.setChecked(true); in onOptionsItemSelected()
/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()
86 switchView.setChecked(mChecked); in onBindView()
/frameworks/support/design/src/android/support/design/internal/
DBottomNavigationItemView.java90 setChecked(itemData.isChecked(), false); in initialize()
121 public void setChecked(boolean checked) { in setChecked() method in BottomNavigationItemView
122 setChecked(checked, true); in setChecked()
125 public void setChecked(boolean checked, boolean animate) { in setChecked() method in BottomNavigationItemView
126 mItemData.setChecked(checked); in setChecked()
/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/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/support/samples/Support4Demos/src/com/example/android/supportv4/view/
DCheckableFrameLayout.java36 public void setChecked(boolean checked) { in setChecked() method in CheckableFrameLayout
46 setChecked(!mChecked); in toggle()
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/view/
DCheckableFrameLayout.java36 public void setChecked(boolean checked) { in setChecked() method in CheckableFrameLayout
46 setChecked(!mChecked); in toggle()
/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/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
DTabLayoutPreselectedUsage.java77 ((RadioButton) findViewById(R.id.rb_tab_scrollable)).setChecked(true); in setupRadioGroup()
80 ((RadioButton) findViewById(R.id.rb_tab_fixed)).setChecked(true); in setupRadioGroup()
102 ((RadioButton) findViewById(R.id.rb_tab_g_center)).setChecked(true); in setupRadioGroup()
105 ((RadioButton) findViewById(R.id.rb_tab_g_fill)).setChecked(true); in setupRadioGroup()
DTabLayoutUsage.java89 ((RadioButton) findViewById(R.id.rb_tab_scrollable)).setChecked(true); in setupRadioGroup()
92 ((RadioButton) findViewById(R.id.rb_tab_fixed)).setChecked(true); in setupRadioGroup()
114 ((RadioButton) findViewById(R.id.rb_tab_g_center)).setChecked(true); in setupRadioGroup()
117 ((RadioButton) findViewById(R.id.rb_tab_g_fill)).setChecked(true); in setupRadioGroup()
/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()

123456