/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowCheckedTextView.java | 11 private boolean checked; field in class:ShadowCheckedTextView 15 checked = !checked; 20 return checked; 24 public void setChecked(boolean checked) { 25 this.checked = checked;
|
ShadowCompoundButton.java | 11 * Keeps track of whether or not its "checked" state is set and deals with listeners in an appropriate way. 16 private boolean checked; field in class:ShadowCompoundButton 21 setChecked(this.attributeSet.getAttributeBooleanValue("android", "checked", false)); 26 setChecked(!checked); 37 return checked; 41 @Override public void setChecked(boolean checked) { 42 if (this.checked != checked) { 43 this.checked = checked; [all...] |
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
CheckableLinearLayout.java | 28 * A LinearLayout which is checkable. This will set the checked state when 65 final int[] checked = new int[] { android.R.attr.state_checked }; local 66 return mergeDrawableStates(superStates, checked); 73 public void setChecked(boolean checked) { 74 mChecked = checked;
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
PhotosDeletionPreference.java | 82 boolean checked = (boolean) newValue; 83 MetricsLogger.action(getContext(), MetricsEvent.ACTION_DELETION_SELECTION_PHOTOS, checked); local
|
CollapsibleCheckboxPreferenceGroup.java | 129 * Returns the checked state of the preference. 136 * Sets the checked state and notifies listeners of the state change. 138 public void setChecked(boolean checked) { 139 if (mChecked != checked) { 140 mChecked = checked; 142 callChangeListener(checked); 160 myState.checked = isChecked(); 175 setChecked(myState.checked); 197 boolean checked; field in class:CollapsibleCheckboxPreferenceGroup.SavedState 202 checked = source.readInt() != 0 [all...] |
DownloadsDeletionPreferenceGroup.java | 90 boolean checked = (boolean) newValue; 91 if (!checked) { 92 // Temporarily stop listening to avoid propagating the checked change to children. 108 mDeletionType.setFileChecked(p.getFile(), checked); local 109 p.setChecked(checked); 116 checked); local 122 mDeletionType.setFileChecked(p.getFile(), checked); local
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
ns_name.c | 283 int n, len, checked;
local 286 checked = 0;
304 checked += n + 1;
323 checked += 2;
329 if (checked >= eom - msg) {
|
/external/libunwind_llvm/src/ |
libunwind.cpp | 354 static bool checked = false; local 356 if (!checked) { 358 checked = true; 366 static bool checked = false; local 368 if (!checked) { 370 checked = true;
|
/external/libxml2/include/libxml/ |
entities.h | 59 int checked; /* was the entity content checked */ member in struct:_xmlEntity
|
/frameworks/base/core/java/android/preference/ |
TwoStatePreference.java | 71 * Sets the checked state and saves it to the {@link SharedPreferences}. 73 * @param checked The checked state. 75 public void setChecked(boolean checked) { 77 final boolean changed = mChecked != checked; 79 mChecked = checked; 81 persistBoolean(checked); 90 * Returns the checked state. 92 * @return The checked state. 105 * Sets the summary to be shown when checked 255 boolean checked; field in class:TwoStatePreference.SavedState [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/Unwind/ |
libunwind.cpp | 355 static bool checked = false; local 357 if (!checked) { 359 checked = true; 367 static bool checked = false; local 369 if (!checked) { 371 checked = true;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
ColumnDialog.java | 81 Object[] checked = mViewer.getCheckedElements(); local 82 mSelectedColumns = new LintColumn[checked.length]; 83 for (int i = 0, n = checked.length; i < n; i++) { 84 mSelectedColumns[i] = (LintColumn) checked[i];
|
/external/swiftshader/src/Main/ |
SwiftConfig.cpp | 235 const std::string checked = "checked='checked'"; local 394 html += "<tr><td>Enable SSE:</td><td><input name = 'enableSSE' type='checkbox'" + (config.enableSSE ? checked : empty) + " disabled='disabled' title='If checked enables the use of SSE instruction set extentions if supported by the CPU.'></td></tr>"; 395 html += "<tr><td>Enable SSE2:</td><td><input name = 'enableSSE2' type='checkbox'" + (config.enableSSE2 ? checked : empty) + " title='If checked enables the use of SSE2 instruction set extentions if supported by the CPU.'></td></tr>"; 396 html += "<tr><td>Enable SSE3:</td><td><input name = 'enableSSE3' type='checkbox'" + (config.enableSSE3 ? checked : empty) + " title='If checked enables the use of SSE3 instruction set extentions if supported by the CPU.'></td></tr>"; 397 html += "<tr><td>Enable SSSE3:</td><td><input name = 'enableSSSE3' type='checkbox'" + (config.enableSSSE3 ? checked : empty) + " title='If checked enables the use of SSSE3 instruction set extentions if supported by (…) [all...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
TwoWayBindingObject.java | 42 public final ObservableBoolean checked = new ObservableBoolean(); field in class:TwoWayBindingObject
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
TwoStatePreference.java | 72 * Sets the checked state and saves it to the {@link android.content.SharedPreferences}. 74 * @param checked The checked state. 76 public void setChecked(boolean checked) { 78 final boolean changed = mChecked != checked; 80 mChecked = checked; 82 persistBoolean(checked); 91 * Returns the checked state. 93 * @return The checked state. 106 * Sets the summary to be shown when checked 264 boolean checked; field in class:TwoStatePreference.SavedState [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
SimImportActivityTest.java | 212 * <li>Verify that previously imported contacts are disabled and not checked 272 assertTrue(mDevice.hasObject(By.text("Skip Two").checked(false))); method 273 assertTrue(mDevice.hasObject(By.text("Skip Five").checked(false))); method 327 assertTrue(mDevice.wait(Until.hasObject(By.text("Import One").checked(false).enabled(false)), TIMEOUT)); 328 assertTrue(mDevice.hasObject(By.text("Import Three").checked(false).enabled(false))); 329 assertTrue(mDevice.hasObject(By.text("Import Six").checked(false).enabled(false)));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
FlagXmlPropertyDialog.java | 95 Object[] checked = null; local 97 checked = new String[] { current }; 103 checked = flags.toArray(new String[flags.size()]); 105 mViewer.setCheckedElements(checked); 205 // Let space toggle checked state
|
/bionic/libc/dns/nameser/ |
ns_name.c | 428 int n, len, checked, l; local 431 checked = 0; 454 checked += l + 1; 478 checked += 2; 484 if (checked >= eom - msg) {
|
/packages/apps/Settings/src/com/android/settings/widget/ |
SwitchBar.java | 51 * Called when the checked state of the Switch has changed. 54 * @param isChecked The new checked state of switchView. 165 public void setChecked(boolean checked) { 166 setTextViewLabel(checked); 167 mSwitch.setChecked(checked); 170 public void setCheckedInternal(boolean checked) { 171 setTextViewLabel(checked); 172 mSwitch.setCheckedInternal(checked); 275 boolean checked; field in class:SwitchBar.SavedState 287 checked = (Boolean)in.readValue(null) [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
Action.java | 123 public Builder checked(boolean checked) { method in class:Action.Builder 124 mChecked = checked; 155 int drawableResource, boolean checked, boolean multilineDescription, 162 mChecked = checked; 202 builder.checked(true); 204 builder.checked(false); 240 * that action becomes checked while all the other actions become unchecked. 256 public void setChecked(boolean checked) { 257 mChecked = checked; [all...] |
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
UiSelector.java | 448 * are currently checked (usually for checkboxes). 462 public UiSelector checked(boolean val) { method in class:UiSelector [all...] |
/frameworks/base/core/java/android/widget/ |
CheckedTextView.java | 108 final boolean checked = a.getBoolean(R.styleable.CheckedTextView_checked, false); 109 setChecked(checked); 126 * Sets the checked state of this view. 128 * @param checked {@code true} set the state to checked, {@code false} to 131 public void setChecked(boolean checked) { 132 if (mChecked != checked) { 133 mChecked = checked; 143 * When this view is checked, the drawable's state set will include 164 * When this view is checked, the drawable's state set will includ 456 boolean checked; field in class:CheckedTextView.SavedState [all...] |
/developers/build/prebuilts/gradle/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/ |
AppRestrictionEnforcerFragment.java | 148 public void onCheckedChanged(CompoundButton compoundButton, boolean checked) { 151 saveCanSayHello(getActivity(), checked); local 155 if (checked) {
|
/developers/samples/android/admin/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/ |
AppRestrictionEnforcerFragment.java | 148 public void onCheckedChanged(CompoundButton compoundButton, boolean checked) { 151 saveCanSayHello(getActivity(), checked); local 155 if (checked) {
|
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/ |
AppRestrictionEnforcerFragment.java | 148 public void onCheckedChanged(CompoundButton compoundButton, boolean checked) { 151 saveCanSayHello(getActivity(), checked); local 155 if (checked) {
|