Home
last modified time | relevance | path

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

/development/samples/browseable/CustomChoiceList/src/com.example.android.customchoicelist/
DCheckableLinearLayout.java37 private boolean mChecked = false; field in CheckableLinearLayout
44 return mChecked; in isChecked()
48 if (b != mChecked) { in setChecked()
49 mChecked = b; in setChecked()
55 setChecked(!mChecked); in toggle()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DCheckableFrameLayout.java26 private boolean mChecked; field in CheckableFrameLayout
37 mChecked = checked; in setChecked()
42 return mChecked; in isChecked()
46 setChecked(!mChecked); in toggle()
DGrid3.java109 private boolean mChecked; field in Grid3.CheckableLayout
116 mChecked = checked; in setChecked()
123 return mChecked; in isChecked()
127 setChecked(!mChecked); in toggle()
/development/samples/Support4Demos/src/com/example/android/supportv4/view/
DCheckableFrameLayout.java26 private boolean mChecked; field in CheckableFrameLayout
37 mChecked = checked; in setChecked()
42 return mChecked; in isChecked()
46 setChecked(!mChecked); in toggle()
/development/samples/Support13Demos/src/com/example/android/supportv13/view/
DCheckableFrameLayout.java26 private boolean mChecked; field in CheckableFrameLayout
37 mChecked = checked; in setChecked()
42 return mChecked; in isChecked()
46 setChecked(!mChecked); in toggle()
/development/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/
DFloatingActionButton.java58 private boolean mChecked; field in FloatingActionButton
101 if (checked == mChecked) { in setChecked()
104 mChecked = checked; in setChecked()
126 return mChecked; in isChecked()
131 setChecked(!mChecked); in toggle()
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
DCustomViewAccessibilityActivity.java197 private boolean mChecked; field in CustomViewAccessibilityActivity.BaseToggleButton
231 return mChecked; in isChecked()
235 return mChecked ? mTextOn : mTextOff; in getText()
242 mChecked ^= true; in performClick()
275 Layout switchText = mChecked ? mOnLayout : mOffLayout; in onDraw()