Home
last modified time | relevance | path

Searched refs:mChecked (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/items/
DSwitchItem.java40 private boolean mChecked = false; field in SwitchItem
50 mChecked = a.getBoolean(R.styleable.SuwSwitchItem_android_checked, false); in SwitchItem()
55 if (mChecked != checked) { in setChecked()
56 mChecked = checked; in setChecked()
65 return mChecked; in isChecked()
79 mChecked = !mChecked; in toggle()
81 switchView.setChecked(mChecked); in toggle()
89 switchView.setChecked(mChecked); in onBindView()
100 mChecked = isChecked; in onCheckedChanged()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DCheckableImageView.java26 private boolean mChecked; field in CheckableImageView
53 setChecked(!mChecked); in toggle()
58 return mChecked; in isChecked()
63 if (mChecked != checked) { in setChecked()
64 mChecked = checked; in setChecked()
/frameworks/base/core/java/android/preference/
DTwoStatePreference.java39 boolean mChecked; field in TwoStatePreference
77 final boolean changed = mChecked != checked; in setChecked()
79 mChecked = checked; in setChecked()
95 return mChecked; in isChecked()
100 boolean shouldDisable = mDisableDependentsState ? mChecked : !mChecked; in shouldDisableDependents()
188 setChecked(restoreValue ? getPersistedBoolean(mChecked) in onSetInitialValue()
201 if (mChecked && !TextUtils.isEmpty(mSummaryOn)) { in syncSummaryView()
204 } else if (!mChecked && !TextUtils.isEmpty(mSummaryOff)) { in syncSummaryView()
DCheckBoxPreference.java68 ((Checkable) checkboxView).setChecked(mChecked); in onBindView()
DSwitchPreference.java132 ((Checkable) checkableView).setChecked(mChecked); in onBindView()
/frameworks/support/v7/preference/src/android/support/v7/preference/
DTwoStatePreference.java40 protected boolean mChecked; field in TwoStatePreference
78 final boolean changed = mChecked != checked; in setChecked()
80 mChecked = checked; in setChecked()
96 return mChecked; in isChecked()
101 boolean shouldDisable = mDisableDependentsState ? mChecked : !mChecked; in shouldDisableDependents()
189 setChecked(restoreValue ? getPersistedBoolean(mChecked) in onSetInitialValue()
213 if (mChecked && !TextUtils.isEmpty(mSummaryOn)) { in syncSummaryView()
216 } else if (!mChecked && !TextUtils.isEmpty(mSummaryOff)) { in syncSummaryView()
DCheckBoxPreference.java128 ((Checkable) view).setChecked(mChecked); in syncCheckboxView()
DSwitchPreferenceCompat.java231 ((Checkable) view).setChecked(mChecked); in syncSwitchView()
/frameworks/support/design/src/android/support/design/widget/
DCheckableImageButton.java41 private boolean mChecked; field in CheckableImageButton
73 if (mChecked != checked) { in setChecked()
74 mChecked = checked; in setChecked()
83 return mChecked; in isChecked()
88 setChecked(!mChecked); in toggle()
93 if (mChecked) { in onCreateDrawableState()
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/view/
DCheckableFrameLayout.java26 private boolean mChecked; field in CheckableFrameLayout
38 mChecked = checked; in setChecked()
44 return mChecked; in isChecked()
49 setChecked(!mChecked); in toggle()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/view/
DCheckableFrameLayout.java27 private boolean mChecked; field in CheckableFrameLayout
39 mChecked = checked; in setChecked()
45 return mChecked; in isChecked()
50 setChecked(!mChecked); in toggle()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DCheckableLinearLayout.java34 private boolean mChecked = false; field in CheckableLinearLayout
63 if (mChecked) { in onCreateDrawableState()
74 mChecked = checked; in setChecked()
80 return mChecked; in isChecked()
/frameworks/opt/setupwizard/library/eclair-mr1/test/robotest/src/com/android/setupwizardlib/items/
DSwitchItemTest.java94 assertFalse("Listener should not be checked", listener.mChecked); in testListener()
99 assertTrue("Listener should be checked", listener.mChecked); in testListener()
153 assertFalse("Listener should not be checked", listener.mChecked); in testListenerSetChecked()
158 assertTrue("Listener should be checked", listener.mChecked); in testListenerSetChecked()
223 boolean mChecked = false; field in SwitchItemTest.TestOnCheckedChangeListener
228 mChecked = isChecked; in onCheckedChange()
/frameworks/base/core/java/android/widget/
DCompoundButton.java61 private boolean mChecked; field in CompoundButton
127 setChecked(!mChecked); in toggle()
147 return mChecked; in isChecked()
157 if (mChecked != checked) { in setChecked()
159 mChecked = checked; in setChecked()
171 mOnCheckedChangeListener.onCheckedChanged(this, mChecked); in setChecked()
174 mOnCheckedChangeWidgetListener.onCheckedChanged(this, mChecked); in setChecked()
375 event.setChecked(mChecked); in onInitializeAccessibilityEventInternal()
383 info.setChecked(mChecked); in onInitializeAccessibilityNodeInfoInternal()
DCheckedTextView.java53 private boolean mChecked; field in CheckedTextView
117 setChecked(!mChecked); in toggle()
122 return mChecked; in isChecked()
132 if (mChecked != checked) { in setChecked()
133 mChecked = checked; in setChecked()
521 event.setChecked(mChecked); in onInitializeAccessibilityEventInternal()
529 info.setChecked(mChecked); in onInitializeAccessibilityNodeInfoInternal()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/
DExploreByTouchHelperActivity.java165 item.mChecked = false; in addItem()
214 paint.setColor(item.mChecked ? Color.RED : Color.BLUE); in onDraw()
216 paint.setColor(item.mChecked ? Color.MAGENTA : Color.GREEN); in onDraw()
233 item.mChecked = !item.mChecked; in onItemClicked()
362 node.setChecked(item.mChecked); in onPopulateNodeForVirtualView()
396 private boolean mChecked; field in ExploreByTouchHelperActivity.CustomView.CustomItem
/frameworks/support/v14/preference/src/android/support/v14/preference/
DSwitchPreference.java237 ((Checkable) view).setChecked(mChecked); in syncSwitchView()
/frameworks/support/api/
D25.1.0.txt9300 field protected boolean mChecked;
D25.0.0.txt8855 field protected boolean mChecked;
D23.0.0.txt9078 field protected boolean mChecked;
D25.2.0.txt9300 field protected boolean mChecked;
D24.2.0.txt8777 field protected boolean mChecked;
D26.0.0-alpha1.txt10205 field protected boolean mChecked;
D23.2.1.txt9939 field protected boolean mChecked;
D25.3.0.txt9734 field protected boolean mChecked;

12