Home
last modified time | relevance | path

Searched refs:checkable (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DListMenuItemView.java129 public void setCheckable(boolean checkable) { in setCheckable() argument
130 if (!checkable && mRadioButton == null && mCheckBox == null) { in setCheckable()
153 if (checkable) { in setCheckable()
156 final int newVisibility = checkable ? VISIBLE : GONE; in setCheckable()
DMenuItemWrapperICS.java157 public MenuItem setCheckable(boolean checkable) { in setCheckable() argument
158 mWrappedObject.setCheckable(checkable); in setCheckable()
327 public void setExclusiveCheckable(boolean checkable) { in setExclusiveCheckable() argument
333 mSetExclusiveCheckableMethod.invoke(mWrappedObject, checkable); in setExclusiveCheckable()
DMenuView.java80 public void setCheckable(boolean checkable); in setCheckable() argument
DMenuWrapperICS.java113 public void setGroupCheckable(int group, boolean checkable, boolean exclusive) { in setGroupCheckable() argument
114 mWrappedObject.setGroupCheckable(group, checkable, exclusive); in setGroupCheckable()
DActionMenuItem.java142 public MenuItem setCheckable(boolean checkable) { in setCheckable() argument
143 mFlags = (mFlags & ~CHECKABLE) | (checkable ? CHECKABLE : 0); in setCheckable()
DMenuItemImpl.java446 public MenuItem setCheckable(boolean checkable) { in setCheckable() argument
448 mFlags = (mFlags & ~CHECKABLE) | (checkable ? CHECKABLE : 0); in setCheckable()
DActionMenuItemView.java161 public void setCheckable(boolean checkable) { in setCheckable() argument
DMenuBuilder.java604 public void setGroupCheckable(int group, boolean checkable, boolean exclusive) { in setGroupCheckable() argument
611 item.setCheckable(checkable); in setGroupCheckable()
/frameworks/base/core/java/com/android/internal/view/menu/
DListMenuItemView.java129 public void setCheckable(boolean checkable) { in setCheckable() argument
130 if (!checkable && mRadioButton == null && mCheckBox == null) { in setCheckable()
153 if (checkable) { in setCheckable()
156 final int newVisibility = checkable ? VISIBLE : GONE; in setCheckable()
DMenuView.java83 public void setCheckable(boolean checkable); in setCheckable() argument
DActionMenuItem.java138 public MenuItem setCheckable(boolean checkable) { in setCheckable() argument
139 mFlags = (mFlags & ~CHECKABLE) | (checkable ? CHECKABLE : 0); in setCheckable()
DActionMenu.java218 public void setGroupCheckable(int group, boolean checkable, in setGroupCheckable() argument
226 item.setCheckable(checkable); in setGroupCheckable()
DMenuItemImpl.java419 public MenuItem setCheckable(boolean checkable) { in setCheckable() argument
421 mFlags = (mFlags & ~CHECKABLE) | (checkable ? CHECKABLE : 0); in setCheckable()
DIconMenuItemView.java294 public void setCheckable(boolean checkable) { in setCheckable() argument
DActionMenuItemView.java157 public void setCheckable(boolean checkable) { in setCheckable() argument
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/util/
DHumanReadables.java194 private static void innerDescribe(Checkable checkable, ToStringHelper helper) { in innerDescribe() argument
195 helper.add("is-checked", checkable.isChecked()); in innerDescribe()
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatIcs.java152 public static void setCheckable(Object info, boolean checkable) { in setCheckable() argument
153 ((AccessibilityNodeInfo) info).setCheckable(checkable); in setCheckable()
/frameworks/base/core/java/android/view/
DMenu.java339 public void setGroupCheckable(int group, boolean checkable, boolean exclusive); in setGroupCheckable() argument
DMenuItem.java331 public MenuItem setCheckable(boolean checkable); in setCheckable() argument
/frameworks/base/docs/html/guide/topics/resources/
Dcolor-list-resource.jd107 …<dd><em>Boolean</em>. "true" if this item should be used when the object is checkable; "false" if …
108 item should be used when the object is not checkable. (Only useful if the object can
109 transition between a checkable and non-checkable widget.)</dd>
Dmenu-resource.jd52 android:checkable=["true" | "false"]
179 <dt><code>android:checkable</code></dt>
180 <dd><em>Boolean</em>. "true" if the item is checkable.</dd>
209 visible, enabled, or checkable). Contains one or more <code>&lt;item&gt;</code> elements. Must be a
219 <dd><em>Keyword</em>. The type of checkable behavior for the group. Valid values:
222 <tr><td><code>none</code></td><td>Not checkable</td></tr>
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompat.java207 public void setCheckable(Object info, boolean checkable); in setCheckable() argument
452 public void setCheckable(Object info, boolean checkable) { in setCheckable() argument
828 public void setCheckable(Object info, boolean checkable) { in setCheckable() argument
829 AccessibilityNodeInfoCompatIcs.setCheckable(info, checkable); in setCheckable()
1897 public void setCheckable(boolean checkable) { in setCheckable() argument
1898 IMPL.setCheckable(mInfo, checkable); in setCheckable()
/frameworks/base/docs/html/guide/topics/ui/
Dmenus.jd30 <li><a href="#checkable">Using checkable menu items</a></li>
832 <li>Specify whether all items are checkable with {@link
866 <h3 id="checkable">Using checkable menu items</h3>
870 <p class="img-caption"><strong>Figure 5.</strong> Screenshot of a submenu with checkable
876 mutually exclusive options. Figure 5 shows a submenu with items that are checkable with radio
880 display a checkbox or radio button. If you choose to make items in the Icon Menu checkable,
884 <p>You can define the checkable behavior for individual menu items using the {@code
885 android:checkable} attribute in the {@code &lt;item&gt;} element, or for an entire group with
887 example, all items in this menu group are checkable with a radio button:</p>
908 <dd>No items are checkable</dd>
[all …]
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/matcher/
DViewMatchers.java471 public boolean matchesSafely(E checkable) {
472 return checkStateMatcher.matches(checkable.isChecked());
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/matcher/
DViewMatchersTest.java241 Checkable checkable = new Checkable() { in testCheckBoxMatchers() local
250 assertFalse(isChecked().matches(checkable)); in testCheckBoxMatchers()
251 assertFalse(isNotChecked().matches(checkable)); in testCheckBoxMatchers()

12