Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DToggleSlider.java100 mListener.onChanged(this, mTracking, mToggle.isChecked(), progress); in onProgressChanged()
107 mListener.onChanged(this, mTracking, mToggle.isChecked(), mSlider.getProgress()); in onStartTrackingTouch()
115 mListener.onChanged(this, mTracking, mToggle.isChecked(), mSlider.getProgress()); in onStopTrackingTouch()
127 public boolean isChecked() { in isChecked() method in ToggleSlider
128 return mToggle.isChecked(); in isChecked()
/frameworks/base/services/java/com/android/server/am/
DCompatModeDialog.java54 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in CompatModeDialog()
58 mCompatEnabled.isChecked() ? ActivityManager.COMPAT_MODE_ENABLED in CompatModeDialog()
67 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in CompatModeDialog()
70 mAppInfo.packageName, mAlwaysShow.isChecked()); in CompatModeDialog()
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityRecordCompat.java37 public boolean isChecked(Object record); in isChecked() method
38 public void setChecked(Object record, boolean isChecked); in setChecked() argument
156 public boolean isChecked(Object record) { in isChecked() method in AccessibilityRecordCompat.AccessibilityRecordStubImpl
188 public void setChecked(Object record, boolean isChecked) { in setChecked() argument
340 public boolean isChecked(Object record) { in isChecked() method in AccessibilityRecordCompat.AccessibilityRecordIcsImpl
341 return AccessibilityRecordCompatIcs.isChecked(record); in isChecked()
372 public void setChecked(Object record, boolean isChecked) { in setChecked() argument
373 AccessibilityRecordCompatIcs.setChecked(record, isChecked); in setChecked()
535 public boolean isChecked() { in isChecked() method in AccessibilityRecordCompat
536 return IMPL.isChecked(mRecord); in isChecked()
[all …]
DAccessibilityNodeInfoCompat.java53 public boolean isChecked(Object info); in isChecked() method
155 public boolean isChecked(Object info) { in isChecked() method in AccessibilityNodeInfoCompat.AccessibilityNodeInfoStubImpl
364 public boolean isChecked(Object info) { in isChecked() method in AccessibilityNodeInfoCompat.AccessibilityNodeInfoIcsImpl
365 return AccessibilityNodeInfoCompatIcs.isChecked(info); in isChecked()
823 public boolean isChecked() { in isChecked() method in AccessibilityNodeInfoCompat
824 return IMPL.isChecked(mInfo); in isChecked()
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DClientTest.java74 act.isChecked() ? WapPushManagerParams.APP_TYPE_ACTIVITY : in onCreate()
76 sig.isChecked(), ftr.isChecked())) { in onCreate()
84 act.isChecked() ? WapPushManagerParams.APP_TYPE_ACTIVITY : in onCreate()
86 sig.isChecked(), ftr.isChecked()); in onCreate()
/frameworks/base/core/tests/coretests/src/android/widget/
DRadioGroupPreCheckedTest.java39 assertTrue("The first radio button should be checked", radio.isChecked()); in testRadioButtonPreChecked()
55 assertFalse("The first radio button should not be checked", old.isChecked()); in testRadioButtonChangePreChecked()
56 assertTrue("The second radio button should be checked", radio.isChecked()); in testRadioButtonChangePreChecked()
/frameworks/base/core/java/android/preference/
DSwitchPreference.java46 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() argument
47 if (!callChangeListener(isChecked)) { in onCheckedChanged()
50 buttonView.setChecked(!isChecked); in onCheckedChanged()
54 SwitchPreference.this.setChecked(isChecked); in onCheckedChanged()
DTwoStatePreference.java60 boolean newValue = !isChecked(); in onClick()
90 public boolean isChecked() { in isChecked() method in TwoStatePreference
107 if (isChecked()) { in setSummaryOn()
135 if (!isChecked()) { in setSummaryOff()
248 myState.checked = isChecked(); in onSaveInstanceState()
/frameworks/base/core/tests/coretests/src/android/view/
DMenuTest.java199 Assert.assertTrue("Item did not get checked", item1.isChecked()); in testCheckable()
200 Assert.assertFalse("Item was not unchecked due to exclusive checkable", item2.isChecked()); in testCheckable()
202 Assert.assertTrue("Item did not get checked", item2.isChecked()); in testCheckable()
203 Assert.assertFalse("Item was not unchecked due to exclusive checkable", item1.isChecked()); in testCheckable()
209 Assert.assertFalse("Item did not get unchecked", item1.isChecked()); in testCheckable()
211 Assert.assertTrue("Item did not get checked", item1.isChecked()); in testCheckable()
213 Assert.assertTrue("Item did not get checked", item2.isChecked()); in testCheckable()
214 Assert.assertTrue("Item was unchecked when it shouldnt have been", item1.isChecked()); in testCheckable()
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
DBatteryWaster.java75 if (((CheckBox)findViewById(R.id.checkbox)).isChecked()) { in onResume()
78 if (((CheckBox)findViewById(R.id.checkbox_wake)).isChecked()) { in onResume()
96 if (checkbox.isChecked()) {
107 if (checkbox.isChecked()) {
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
DAccessibilityRecordCompatIcs.java107 public static boolean isChecked(Object record) { in isChecked() method in AccessibilityRecordCompatIcs
108 return ((AccessibilityRecord) record).isChecked(); in isChecked()
139 public static void setChecked(Object record, boolean isChecked) { in setChecked() argument
140 ((AccessibilityRecord) record).setChecked(isChecked); in setChecked()
/frameworks/base/core/java/android/widget/
DRadioButton.java74 if (!isChecked()) { in toggle()
82 if (isChecked()) { in onPopulateAccessibilityEvent()
DCompoundButton.java104 public boolean isChecked() { in isChecked() method in CompoundButton
167 void onCheckedChanged(CompoundButton buttonView, boolean isChecked); in onCheckedChanged() argument
252 if (isChecked()) { in onCreateDrawableState()
334 ss.checked = isChecked(); in onSaveInstanceState()
DCheckedTextView.java81 public boolean isChecked() { in isChecked() method in CheckedTextView
200 if (isChecked()) { in onCreateDrawableState()
229 if (isChecked()) { in onPopulateAccessibilityEvent()
DCheckable.java35 boolean isChecked(); in isChecked() method
DToggleButton.java78 boolean checked = isChecked(); in syncTextState()
158 if (isChecked()) { in onPopulateAccessibilityEvent()
DSwitch.java165 setChecked(isChecked()); in Switch()
369 if (isChecked()) { in onPopulateAccessibilityEvent()
500 animateThumbToCheckedState(isChecked()); in stopDrag()
526 mThumbPosition = isChecked() ? getThumbScrollRange() : 0; in onLayout()
623 if (isChecked()) { in onCreateDrawableState()
DCheckBox.java75 if (isChecked()) { in onPopulateAccessibilityEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbPermissionActivity.java130 if (mAlwaysUse.isChecked()) { in onDestroy()
139 if (mAlwaysUse.isChecked()) { in onDestroy()
165 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() argument
168 if(isChecked) { in onCheckedChanged()
DUsbConfirmActivity.java121 boolean alwaysUse = mAlwaysUse.isChecked(); in onClick()
163 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() argument
166 if(isChecked) { in onCheckedChanged()
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
DHugeBackupActivity.java152 boolean isChecked) { in populateUI()
183 boolean addMayo = mAddMayoCheckbox.isChecked(); in recordNewUIState()
184 boolean addTomato = mAddTomatoCheckbox.isChecked(); in recordNewUIState()
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java206 boolean isChecked) {
207 if (mForceScoOn != isChecked) {
208 mForceScoOn = isChecked;
211 if (box.isChecked()) {
233 boolean isChecked) {
234 if (mVoiceDialerOn != isChecked) {
235 mVoiceDialerOn = isChecked;
251 boolean isChecked) {
252 mTtsToFile = isChecked;
/frameworks/base/core/java/android/content/
DDialogInterface.java137 public void onClick(DialogInterface dialog, int which, boolean isChecked); in onClick() argument
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityRecord.java162 public boolean isChecked() { in isChecked() method in AccessibilityRecord
173 public void setChecked(boolean isChecked) { in setChecked() argument
175 setBooleanProperty(PROPERTY_CHECKED, isChecked); in setChecked()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DMockAccessibilityService.java185 TestCase.assertEquals("checked has incorrect value", expectedEvent.isChecked(), in assertEqualsAccessiblityEvent()
186 receivedEvent.isChecked()); in assertEqualsAccessiblityEvent()

12