Home
last modified time | relevance | path

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

12

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
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()
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()
DShadowCheckBoxTest.java16 assertThat(checkBox.isChecked()).isFalse(); in testWorks()
19 assertThat(checkBox.isChecked()).isTrue(); in testWorks()
22 assertThat(checkBox.isChecked()).isFalse(); in testWorks()
DShadowLayoutInflaterTest.java269 assertThat(((CheckBox) mediaView.findViewById(R.id.true_checkbox)).isChecked()).isTrue(); in testCheckBoxCheckedIsSet()
270 assertThat(((CheckBox) mediaView.findViewById(R.id.false_checkbox)).isChecked()).isFalse(); in testCheckBoxCheckedIsSet()
271 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/setupdesign/main/src/com/google/android/setupdesign/view/
DCheckableLinearLayout.java77 public boolean isChecked() { in isChecked() method in CheckableLinearLayout
83 setChecked(!isChecked()); in toggle()
/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/droiddriver/src/io/appium/droiddriver/instrumentation/
DViewElement.java137 put(Attribute.CHECKED, isChecked()); in call()
193 private boolean isChecked() { in isChecked() method in ViewElement.AttributesSnapshot
194 return view instanceof Checkable && ((Checkable) view).isChecked(); in isChecked()
/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/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/droiddriver/src/io/appium/droiddriver/
DUiElement.java100 boolean isChecked(); in isChecked() method
/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()
Dwpagui.cpp1287 if (!enableRadioButton->isChecked()) in updateNetworkDisabledStatus()
1291 if (!disableRadioButton->isChecked()) in updateNetworkDisabledStatus()
/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/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()
/external/skia/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()
/external/droiddriver/src/io/appium/droiddriver/uiautomation/
DUiAutomationElement.java82 put(attribs, Attribute.CHECKED, node.isChecked()); in UiAutomationElement()
/external/droiddriver/src/io/appium/droiddriver/finders/
DByXPath.java152 setAttribute(element, Attribute.CHECKED, uiElement.isChecked()); in buildDomNode()
/external/droiddriver/src/io/appium/droiddriver/base/
DBaseUiElement.java102 public boolean isChecked() { in isChecked() method in BaseUiElement

12