Home
last modified time | relevance | path

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

12

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCheckedTextViewTest.java25 assertFalse(checkedTextView.isChecked()); in testToggle()
29 assertTrue(checkedTextView.isChecked()); in testToggle()
34 assertFalse(checkedTextView.isChecked()); in testSetChecked()
38 assertTrue(checkedTextView.isChecked()); in testSetChecked()
43 assertFalse(view.isChecked()); in toggle_shouldChangeCheckedness()
45 assertTrue(view.isChecked()); in toggle_shouldChangeCheckedness()
47 assertFalse(view.isChecked()); in toggle_shouldChangeCheckedness()
DShadowRadioButtonTest.java33 assertFalse(radioButton.isChecked()); in canBeExplicitlyChecked()
36 assertTrue(radioButton.isChecked()); in canBeExplicitlyChecked()
39 assertFalse(radioButton.isChecked()); in canBeExplicitlyChecked()
44 assertFalse(radioButton.isChecked()); in canBeToggledBetweenCheckedState()
47 assertTrue(radioButton.isChecked()); in canBeToggledBetweenCheckedState()
50 assertTrue(radioButton.isChecked()); // radio buttons can't be turned off again with a click in canBeToggledBetweenCheckedState()
55 assertFalse(radioButton.isChecked()); in canBeClickedToToggleCheckedState()
58 assertTrue(radioButton.isChecked()); in canBeClickedToToggleCheckedState()
61 assertTrue(radioButton.isChecked()); // radio buttons can't be turned off again with a click in canBeClickedToToggleCheckedState()
DShadowCheckBoxTest.java16 assertThat(checkBox.isChecked()).isFalse(); in testWorks()
19 assertThat(checkBox.isChecked()).isTrue(); in testWorks()
22 assertThat(checkBox.isChecked()).isFalse(); in testWorks()
DShadowLayoutInflaterTest.java270 assertThat(((CheckBox) mediaView.findViewById(R.id.true_checkbox)).isChecked()).isTrue(); in testCheckBoxCheckedIsSet()
271 assertThat(((CheckBox) mediaView.findViewById(R.id.false_checkbox)).isChecked()).isFalse(); in testCheckBoxCheckedIsSet()
272 assertThat(((CheckBox) mediaView.findViewById(R.id.default_checkbox)).isChecked()).isFalse(); in testCheckBoxCheckedIsSet()
/external/setupdesign/main/src/com/google/android/setupdesign/items/
DSwitchItem.java43 void onCheckedChange(SwitchItem item, boolean isChecked); in onCheckedChange() argument
79 public boolean isChecked() { in isChecked() method in SwitchItem
118 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() argument
119 checked = isChecked; in onCheckedChanged()
121 listener.onCheckedChange(this, isChecked); in onCheckedChanged()
/external/webrtc/examples/androidvoip/java/org/webrtc/examples/androidvoip/
DMainActivity.java132 supportedCodecsArray, isDecoderSelected, (dialog, position, isChecked) -> { in setUpDecoderSelectionButton()
133 if (isChecked) { in setUpDecoderSelectionButton()
135 } else if (!isChecked) { in setUpDecoderSelectionButton()
169 sessionButton.setOnCheckedChangeListener((button, isChecked) -> { in setUpSessionButton() argument
177 if (isChecked) { in setUpSessionButton()
194 sendSwitch.setOnCheckedChangeListener((button, isChecked) -> { in setUpSendAndPlayoutSwitch() argument
195 if (isChecked) { in setUpSendAndPlayoutSwitch()
202 playoutSwitch.setOnCheckedChangeListener((button, isChecked) -> { in setUpSendAndPlayoutSwitch() argument
203 if (isChecked) { in setUpSendAndPlayoutSwitch()
/external/setupdesign/main/src/com/google/android/setupdesign/view/
DCheckableLinearLayout.java77 public boolean isChecked() { in isChecked() method in CheckableLinearLayout
83 setChecked(!isChecked()); in toggle()
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DMainActivity.java256 OboeAudioStream.setUseCallback(checkBox.isChecked()); in onUseCallbackClicked()
289 boolean enabled = checkBox.isChecked(); in onSetSpeakerphoneOn()
297 if (checkBox.isChecked()) { in onStartStopBluetoothSco()
306 boolean enabled = checkBox.isChecked(); in onEnableWorkarounds()
DStreamConfigurationView.java166 … mRequestedConfiguration.setChannelConversionAllowed(mChannelConversionBox.isChecked()); in initializeViews()
174 … mRequestedConfiguration.setFormatConversionAllowed(mFormatConversionBox.isChecked()); in initializeViews()
183 mRequestedConfiguration.setMMap(mRequestedMMapView.isChecked()); in initializeViews()
195 mRequestedConfiguration.setSharingMode(mRequestedExclusiveView.isChecked() in initializeViews()
210 mRequestedConfiguration.setSessionId(mRequestAudioEffect.isChecked() in initializeViews()
DTestOutputActivity.java105 mAudioOutTester.setChannelEnabled(channelIndex, checkBox.isChecked());
DBufferSizeView.java135 boolean checked = ((RadioButton) view).isChecked(); in onSizeRadioButtonClicked()
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DXYRegionExampleActivity.java149 if(timCB.isChecked()) { in onS1CheckBoxClicked()
160 if(nickCB.isChecked()) { in onS2CheckBoxClicked()
173 if(joeCB.isChecked()) { in onS3CheckBoxClicked()
182 if(jamesCB.isChecked()) { in onS4CheckBoxClicked()
199 if(cb.isChecked()) { in onCheckBoxClicked()
DXYPlotWithBgImgActivity.java84 boolean styleOn = ((ToggleButton) v).isChecked(); in onGraphStyleToggle()
DBarPlotExampleActivity.java290 if (series1CheckBox.isChecked()) plot.addSeries(series1, formatter1); in updatePlot()
291 if (series2CheckBox.isChecked()) plot.addSeries(series2, formatter2); in updatePlot()
/external/grpc-grpc-java/examples/android/clientcache/app/src/main/java/io/grpc/clientcacheexample/
DClientCacheExampleActivity.java88 getCheckBox.isChecked(), in sendMessage()
89 noCacheCheckBox.isChecked(), in sendMessage()
90 onlyIfCachedCheckBox.isChecked()); in sendMessage()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DSettingsActivity.java401 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() argument
403 getApp().setCaptureWavsEnabled(isChecked); in onCheckedChanged()
405 getApp().setCaptureSysTraceEnabled(isChecked); in onCheckedChanged()
407 getApp().setCaptureBugreportEnabled(isChecked); in onCheckedChanged()
409 getApp().setSoundLevelCalibrationEnabled(isChecked); in onCheckedChanged()
/external/grpc-grpc-java/android-interop-testing/app/src/main/java/io/grpc/android/integrationtest/
DTesterActivity.java122 if (testCertCheckBox.isChecked()) { in startTest()
133 if (getCheckBox.isChecked()) { in startTest()
/external/llvm-project/clang/lib/CodeGen/
DCGValue.h555 IsSanitizerChecked_t isChecked = IsNotSanitizerChecked) {
570 AV.SanitizerCheckedFlag = isChecked;
578 IsSanitizerChecked_t isChecked = IsNotSanitizerChecked) {
580 isAliased, mayOverlap, isZeroed, isChecked);
/external/oboe/samples/LiveEffect/src/main/java/com/google/oboe/samples/liveEffect/
DMainActivity.java110 if (((RadioButton)v).isChecked()) { in onCreate()
118 if (((RadioButton)v).isChecked()) { in onCreate()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/fakes/
DRoboMenuItemTest.java30 assertThat(item.isChecked()).isFalse(); in shouldCheckTheMenuItem()
32 assertThat(item.isChecked()).isTrue(); in shouldCheckTheMenuItem()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/
DAlertDialogTask.java199 public void onClick(DialogInterface dialog, int item, boolean isChecked) { in onCreate() argument
200 if (isChecked) { in onCreate()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptEditor.java581 if (mSearchStart.isChecked()) { in onClick()
589 if (!mSearchCase.isChecked()) { in onClick()
592 if (mSearchWord.isChecked()) { in onClick()
611 if (mSearchAll.isChecked()) { in onClick()
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Dnetworkconfig.cpp381 if (wep0Radio->isEnabled() && wep0Radio->isChecked()) in addNetwork()
383 else if (wep1Radio->isEnabled() && wep1Radio->isChecked()) in addNetwork()
385 else if (wep2Radio->isEnabled() && wep2Radio->isChecked()) in addNetwork()
387 else if (wep3Radio->isEnabled() && wep3Radio->isChecked()) in addNetwork()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/fakes/
DRoboMenuItem.java170 public boolean isChecked() { in isChecked() method in RoboMenuItem
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/app/
DHelloCanvasAR.java533 item.setChecked(!item.isChecked()); in onOptionsItemSelected()
536 drawManager.drawSmoothPainting = item.isChecked(); in onOptionsItemSelected()

12