Home
last modified time | relevance | path

Searched refs:isChecked (Results 1 – 25 of 74) 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 …]
/development/samples/ApiDemos/src/com/example/android/apis/view/
DViewFrameRateActivity.java89 noPreference.setOnCheckedChangeListener((v, isChecked) -> { in onCreate() argument
90 if (isChecked) { in onCreate()
98 low.setOnCheckedChangeListener((v, isChecked) -> { in onCreate() argument
99 if (isChecked) { in onCreate()
107 normal.setOnCheckedChangeListener((v, isChecked) -> { in onCreate() argument
108 if (isChecked) { in onCreate()
116 high.setOnCheckedChangeListener((v, isChecked) -> { in onCreate() argument
117 if (isChecked) { in onCreate()
148 vectorDrawable.setOnCheckedChangeListener((v, isChecked) -> { in onCreate() argument
149 if (isChecked) { in onCreate()
[all …]
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()
/development/samples/VirtualDeviceManager/host/src/com/example/android/vdmdemo/host/
DStylusFragment.java60 hoverSwitch.setOnCheckedChangeListener((v, isChecked) -> mHover = isChecked); in onViewCreated()
63 eraserSwitch.setOnCheckedChangeListener((v, isChecked) -> in onViewCreated()
64 mToolType = isChecked in onViewCreated()
69 buttonPrimarySwitch.setOnCheckedChangeListener((v, isChecked) -> in onViewCreated()
71 isChecked in onViewCreated()
77 buttonSecondarySwitch.setOnCheckedChangeListener((v, isChecked) -> in onViewCreated()
79 isChecked in onViewCreated()
/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/ApiDemos/src/com/example/android/apis/app/
DKeepClearRects.java71 (v, isChecked) -> mKeepClearView.setPreferKeepClear(isChecked);
74 (v, isChecked) -> {
75 if (isChecked) {
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()
/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/apps/ShareTest/src/com/android/sharetest/
DShareTestActivity.kt282 imageSizeMetadataCheck.isChecked in <lambda>()
295 imageSizeMetadataCheck.isChecked in <lambda>()
320 if (requireViewById<CheckBox>(R.id.include_title).isChecked) { in <lambda>()
324 if (requireViewById<CheckBox>(R.id.include_icon).isChecked) { in <lambda>()
343 if (sendingImage && altIntentCheck.isChecked) { in <lambda>()
349 if (callerTargetCheck.isChecked) { in <lambda>()
356 if (albumCheck.isChecked) { in <lambda>()
363 if (requireViewById<CheckBox>(R.id.include_modify_share).isChecked) { in <lambda>()
367 if (requireViewById<CheckBox>(R.id.use_refinement).isChecked) { in <lambda>()
387 if (shareouselCheck.isChecked) { in <lambda>()
[all …]
/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/browseable/CustomChoiceList/src/com.example.android.customchoicelist/
DCheckableLinearLayout.java43 public boolean isChecked() { in isChecked() method in CheckableLinearLayout
61 if (isChecked()) { in onCreateDrawableState()
/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/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/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/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/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()

123