Home
last modified time | relevance | path

Searched refs:isChecked (Results 1 – 25 of 69) sorted by relevance

123

/development/samples/ApiDemos/src/com/example/android/apis/animation/
DLayoutAnimations.java97 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
105 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
111 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
117 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
123 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
135 transition.setAnimator(LayoutTransition.APPEARING, appearingCB.isChecked() ? in setupTransition()
136 (customAnimCB.isChecked() ? customAppearingAnim : defaultAppearingAnim) : null); in setupTransition()
137 transition.setAnimator(LayoutTransition.DISAPPEARING, disappearingCB.isChecked() ? in setupTransition()
138 … (customAnimCB.isChecked() ? customDisappearingAnim : defaultDisappearingAnim) : null); in setupTransition()
139 transition.setAnimator(LayoutTransition.CHANGE_APPEARING, changingAppearingCB.isChecked() ? in setupTransition()
[all …]
DLayoutAnimationsHideShow.java69 v.setVisibility(hideGoneCB.isChecked() ? View.GONE : View.INVISIBLE); in onCreate()
91 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
93 if (isChecked) { in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DSystemUIModes.java200 @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
218 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
219 setFullscreen(isChecked); in onCreate()
226 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
227 setOverscan(isChecked); in onCreate()
234 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
235 setTranslucentStatus(isChecked); in onCreate()
242 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
243 setTranslucentNavigation(isChecked); in onCreate()
250 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
[all …]
DSeekBar1.java53 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
54 findViewById(R.id.seekMin).setEnabled(isChecked); in onCreate()
55 findViewById(R.id.seekMax).setEnabled(isChecked); in onCreate()
56 mSeekBar.setEnabled(isChecked); in onCreate()
DSwitches.java44 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() argument
45 Toast.makeText(this, "Monitored switch is " + (isChecked ? "on" : "off"), in onCheckedChanged()
DNumberPickerActivity.java47 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
48 mNumberPicker.setEnabled(isChecked); in onCreate()
DHover.java101 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
102 mInterceptor.setInterceptHover(isChecked); in onCreate()
DCheckableFrameLayout.java41 public boolean isChecked() { in isChecked() method in CheckableFrameLayout
/development/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/
DFloatingActionButtonBasicFragment.java54 public void onCheckedChanged(FloatingActionButton fabView, boolean isChecked) { in onCheckedChanged() argument
58 Log.d(TAG, String.format("FAB 1 was %s.", isChecked ? "checked" : "unchecked")); in onCheckedChanged()
61 Log.d(TAG, String.format("FAB 2 was %s.", isChecked ? "checked" : "unchecked")); in onCheckedChanged()
DFloatingActionButton.java45 void onCheckedChanged(FloatingActionButton fabView, boolean isChecked); in onCheckedChanged() argument
125 public boolean isChecked() { in isChecked() method in FloatingActionButton
155 if (isChecked()) { in onCreateDrawableState()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DDocumentsSample.java86 if (multiple.isChecked()) { in onCreate()
89 if (localOnly.isChecked()) { in onCreate()
105 if (multiple.isChecked()) { in onCreate()
108 if (localOnly.isChecked()) { in onCreate()
124 if (multiple.isChecked()) { in onCreate()
127 if (localOnly.isChecked()) { in onCreate()
145 if (multiple.isChecked()) { in onCreate()
148 if (localOnly.isChecked()) { in onCreate()
165 if (localOnly.isChecked()) { in onCreate()
182 if (localOnly.isChecked()) { in onCreate()
[all …]
/development/samples/browseable/CustomChoiceList/src/com.example.android.customchoicelist/
DCheckableLinearLayout.java43 public boolean isChecked() { in isChecked() method in CheckableLinearLayout
61 if (isChecked()) { in onCreateDrawableState()
/development/samples/browseable/AdvancedImmersiveMode/src/com.example.android.advancedimmersivemode/
DAdvancedImmersiveModeFragment.java196 if (mLowProfileCheckBox.isChecked()) { in toggleUiFlags()
210 if (mHideStatusBarCheckBox.isChecked()) { in toggleUiFlags()
222 if (mHideNavCheckbox.isChecked()) { in toggleUiFlags()
234 if (mImmersiveModeCheckBox.isChecked()) { in toggleUiFlags()
249 if (mImmersiveModeStickyCheckBox.isChecked()) { in toggleUiFlags()
/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()
230 public boolean isChecked() { in isChecked() method in CustomViewAccessibilityActivity.BaseToggleButton
/development/samples/ContactManager/src/com/example/android/contactmanager/
DContactManager.java71 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
72 Log.d(TAG, "mShowInvisibleControl changed: " + isChecked); in onCreate()
73 mShowInvisible = isChecked; in onCreate()
/development/samples/devbytes/animation/ListViewAnimations/src/com/example/android/listviewanimations/
DListViewAnimations.java65 if (vpaCB.isChecked()) { in onCreate()
82 if (setTransientStateCB.isChecked()) { in onCreate()
96 if (setTransientStateCB.isChecked()) { in onCreate()
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/
DMainActivity.java104 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
105 if (isChecked) { in onCreate()
115 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
116 if (isChecked) { in onCreate()
126 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
127 if (isChecked) { in onCreate()
/development/samples/BackupRestore/src/com/example/android/backuprestore/
DBackupRestoreActivity.java209 boolean isChecked) { in populateUI()
240 boolean addMayo = mAddMayoCheckbox.isChecked(); in recordNewUIState()
241 boolean addTomato = mAddTomatoCheckbox.isChecked(); in recordNewUIState()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DRotationAnimation.java46 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
47 setFullscreen(isChecked); in onCreate()
DFragmentMenuFragment.java89 if (mCheckBox1.isChecked()) ft.show(mFragment1); in updateFragmentVisibility()
91 if (mCheckBox2.isChecked()) ft.show(mFragment2); in updateFragmentVisibility()
DFragmentMenu.java89 if (mCheckBox1.isChecked()) ft.show(mFragment1); in updateFragmentVisibility()
91 if (mCheckBox2.isChecked()) ft.show(mFragment2); in updateFragmentVisibility()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DSmsMessagingDemo.java78 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
79 Log.d(TAG, (isChecked ? "Enabling" : "Disabling") + " SMS receiver"); in onCreate()
82 isChecked ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in onCreate()
/development/samples/browseable/JobScheduler/src/com.example.android.jobscheduler/
DMainActivity.java134 boolean requiresUnmetered = mWiFiConnectivityRadioButton.isChecked(); in scheduleJob()
135 boolean requiresAnyConnectivity = mAnyConnectivityRadioButton.isChecked(); in scheduleJob()
141 builder.setRequiresDeviceIdle(mRequiresIdleCheckbox.isChecked()); in scheduleJob()
142 builder.setRequiresCharging(mRequiresChargingCheckBox.isChecked()); in scheduleJob()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DShadowCardDrag.java171 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
172 mTiltEnabled = isChecked; in onCreate()
182 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
183 mShadingEnabled = isChecked; in onCreate()
/development/samples/browseable/MidiSynth/src/com.example.android.midisynth/
DMainActivity.java63 setKeepScreenOn(menu.findItem(R.id.action_keep_screen_on).isChecked()); in onCreateOptionsMenu()
71 boolean checked = !item.isChecked(); in onOptionsItemSelected()

123