Home
last modified time | relevance | path

Searched refs:item1 (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DMenuTest.java111 final MenuItem item1 = mMenu.add(groupId, 1, 0, "item1"); in testCheckable() local
116 Assert.assertTrue("Item was not set to checkable", item1.isCheckable()); in testCheckable()
117 item1.setChecked(true); in testCheckable()
118 Assert.assertTrue("Item did not get checked", item1.isChecked()); in testCheckable()
122 Assert.assertFalse("Item was not unchecked due to exclusive checkable", item1.isChecked()); in testCheckable()
126 Assert.assertTrue("Item was not set to checkable", item1.isCheckable()); in testCheckable()
127 item1.setChecked(false); in testCheckable()
128 Assert.assertFalse("Item did not get unchecked", item1.isChecked()); in testCheckable()
129 item1.setChecked(true); in testCheckable()
130 Assert.assertTrue("Item did not get checked", item1.isChecked()); in testCheckable()
[all …]
/frameworks/opt/setupwizard/library/eclair-mr1/test/robotest/src/com/android/setupwizardlib/items/
DSwitchItemTest.java104 SwitchItem item1 = new SwitchItem(); in testRebind() local
105 item1.setTitle("TestTitle1"); in testRebind()
106 item1.setSummary("TestSummary1"); in testRebind()
107 item1.setChecked(false); in testRebind()
116 item1.onBindView(view); in testRebind()
124 assertFalse("Item1 should still be unchecked", item1.isChecked()); in testRebind()
129 assertFalse("Item1 should still be unchecked", item1.isChecked()); in testRebind()
/frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/
DInputMethodSubtypeSwitchingControllerTest.java412 final ImeSubtypeListItem item1 = items.get(i); in testImeSubtypeListComparator() local
414 assertTrue(item1 + " has the same order of itself", item1.compareTo(item1) == 0); in testImeSubtypeListComparator()
419 assertTrue(item1 + " is less than " + item2, item1.compareTo(item2) < 0); in testImeSubtypeListComparator()
420 assertTrue(item2 + " is greater than " + item1, item2.compareTo(item1) > 0); in testImeSubtypeListComparator()
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/
DOpReorderTest.java645 public static void assertIdentical(String logPrefix, Item item1, Item item2) { in assertIdentical() argument
646 assertEquals(logPrefix + "\n" + item1 + " vs " + item2, item1.id, item2.id); in assertIdentical()
647 assertEquals(logPrefix + "\n" + item1 + " vs " + item2, item1.version, item2.version); in assertIdentical()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/util/
DSortedListActivity.java104 public boolean areItemsTheSame(Item item1, Item item2) { in SortedListAdapter()
105 return item1.id == item2.id; in SortedListAdapter()
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
DSortedList.java743 abstract public boolean areItemsTheSame(T2 item1, T2 item2); in areItemsTheSame() argument
809 public boolean areItemsTheSame(T2 item1, T2 item2) { in areItemsTheSame() argument
810 return mWrappedCallback.areItemsTheSame(item1, item2); in areItemsTheSame()
/frameworks/opt/vcard/tests/res/raw/
Dv30_ios_613_multiline.vcf11 item1.EMAIL;type=INTERNET;type=pref:bob@smithauto.com
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/
DSortedListTest.java105 public boolean areItemsTheSame(Item item1, Item item2) { in setUp()
106 return item1.id == item2.id; in setUp()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...