Home
last modified time | relevance | path

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

12

/development/samples/browseable/AdvancedImmersiveMode/src/com.example.android.advancedimmersivemode/
DAdvancedImmersiveModeFragment.java91 mLowProfileCheckBox.setChecked(false); in onCreateView()
92 mHideNavCheckbox.setChecked(true); in onCreateView()
93 mHideStatusBarCheckBox.setChecked(true); in onCreateView()
94 mImmersiveModeCheckBox.setChecked(true); in onCreateView()
95 mImmersiveModeStickyCheckBox.setChecked(false); in onCreateView()
120 mLowProfileCheckBox.setChecked(false); in onCreateView()
121 mHideNavCheckbox.setChecked(true); in onCreateView()
122 mHideStatusBarCheckBox.setChecked(true); in onCreateView()
123 mImmersiveModeCheckBox.setChecked(false); in onCreateView()
124 mImmersiveModeStickyCheckBox.setChecked(false); in onCreateView()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DCheckableFrameLayout.java36 public void setChecked(boolean checked) { in setChecked() method in CheckableFrameLayout
46 setChecked(!mChecked); in toggle()
DGrid3.java115 public void setChecked(boolean checked) { in setChecked() method in Grid3.CheckableLayout
127 setChecked(!mChecked); in toggle()
DContentBrowserNavActivity.java227 item.setChecked(true); in onOptionsItemSelected()
231 item.setChecked(true); in onOptionsItemSelected()
234 item.setChecked(!item.isChecked()); in onOptionsItemSelected()
DContentBrowserActivity.java225 item.setChecked(true); in onOptionsItemSelected()
229 item.setChecked(true); in onOptionsItemSelected()
232 item.setChecked(!item.isChecked()); in onOptionsItemSelected()
DSystemUIModes.java324 item.setChecked(true); in onOptionsItemSelected()
328 item.setChecked(true); in onOptionsItemSelected()
349 mCheckControls[i].setChecked((visibility&mCheckFlags[i]) != 0); in updateCheckControls()
364 ((CheckBox) findViewById(R.id.windowActionMode)).setChecked(false); in clearActionMode()
DVideoPlayerActivity.java249 item.setChecked(true); in onOptionsItemSelected()
253 item.setChecked(true); in onOptionsItemSelected()
/development/samples/browseable/CustomChoiceList/src/com.example.android.customchoicelist/
DCheckableLinearLayout.java47 public void setChecked(boolean b) { in setChecked() method in CheckableLinearLayout
55 setChecked(!mChecked); in toggle()
/development/samples/browseable/BluetoothAdvertisements/src/com.example.android.bluetoothadvertisements/
DAdvertiserFragment.java64 mSwitch.setChecked(false); in onCreate()
116 mSwitch.setChecked(true); in onResume()
118 mSwitch.setChecked(false); in onResume()
172 mSwitch.setChecked(false); in stopAdvertising()
/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/
DFitDistanceWatchFaceConfigActivity.java94 mFitAuthSwitch.setChecked(true); in onStart()
101 mFitAuthSwitch.setChecked(false); in onStart()
167 mFitAuthSwitch.setChecked(false); in onConnectionSuspended()
177 mFitAuthSwitch.setChecked(false); in onConnectionFailed()
252 mFitAuthSwitch.setChecked(userFitPreferences); in setUserFitPreferences()
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
DCustomViewAccessibilityActivity.java86 event.setChecked(isChecked()); in onInitializeAccessibilityEvent()
96 info.setChecked(isChecked()); in onInitializeAccessibilityNodeInfo()
153 event.setChecked(isChecked()); in tryInstallAccessibilityDelegate()
164 info.setChecked(isChecked()); in tryInstallAccessibilityDelegate()
DTaskListView.java94 checkbox.setChecked(mCheckboxes[position]); in getView()
/development/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/
DFloatingActionButton.java99 public void setChecked(boolean checked) { in setChecked() method in FloatingActionButton
131 setChecked(!mChecked); in toggle()
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.swiperefreshlistfragment/
DSwipeRefreshListFragmentFragment.java134 item.setChecked(true); in onOptionsItemSelected()
144 item.setChecked(true); in onOptionsItemSelected()
154 item.setChecked(true); in onOptionsItemSelected()
/development/samples/BackupRestore/src/com/example/android/backuprestore/
DBackupRestoreActivity.java188 mAddMayoCheckbox.setChecked(addMayo); in populateUI()
189 mAddTomatoCheckbox.setChecked(addTomato); in populateUI()
/development/samples/devbytes/graphics/ImagePixelization/src/com/example/android/imagepixelization/
DImagePixelization.java131 item.setChecked(false); in onOptionsItemSelected()
134 item.setChecked(true); in onOptionsItemSelected()
140 item.setChecked(mIsBuiltinPixelizationChecked); in onOptionsItemSelected()
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
DCustomRestrictionsFragment.java121 mBooleanPref.setChecked(entry.getSelectedState()); in onActivityCreated()
141 mBooleanPref.setChecked(mBooleanEntry.getSelectedState()); in onActivityCreated()
DMainActivity.java69 if (customChecked) mCustomConfig.setChecked(true); in onCreate()
/development/samples/ContactManager/src/com/example/android/contactmanager/
DContactManager.java61 mShowInvisibleControl.setChecked(mShowInvisible); in onCreate()
/development/samples/browseable/MidiSynth/src/com.example.android.midisynth/
DMainActivity.java73 item.setChecked(checked); in onOptionsItemSelected()
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DIntentBuilderView.java203 .forEach(rb -> rb.setChecked(false)); in onClick()
293 getAllCheckBoxes().forEach(box -> box.setChecked(false)); in clearFlags()
331 box.setChecked(true); in selectFlags()
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/
DActivityAnimations.java94 item.setChecked(!item.isChecked()); in onOptionsItemSelected()
/development/samples/devbytes/animation/SquashAndStretch/src/com/example/squashandstretch/
DSquashAndStretch.java69 item.setChecked(!item.isChecked()); in onOptionsItemSelected()
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/
DFoldingLayoutActivity.java294 item.setChecked(mIsCameraFeed); in onOptionsItemSelected()
308 item.setChecked(!mIsSepiaOn); in onOptionsItemSelected()
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
DBasicManagedProfileFragment.java143 toggleCalculator.setChecked(mCalculatorEnabled); in onViewCreated()
146 toggleChrome.setChecked(mChromeEnabled); in onViewCreated()

12