Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DMenuTest.java112 final MenuItem item1 = mMenu.add(groupId, 1, 0, "item1"); in testCheckable() local
117 Assert.assertTrue("Item was not set to checkable", item1.isCheckable()); in testCheckable()
118 item1.setChecked(true); in testCheckable()
119 Assert.assertTrue("Item did not get checked", item1.isChecked()); in testCheckable()
123 Assert.assertFalse("Item was not unchecked due to exclusive checkable", item1.isChecked()); in testCheckable()
127 Assert.assertTrue("Item was not set to checkable", item1.isCheckable()); in testCheckable()
128 item1.setChecked(false); in testCheckable()
129 Assert.assertFalse("Item did not get unchecked", item1.isChecked()); in testCheckable()
130 item1.setChecked(true); in testCheckable()
131 Assert.assertTrue("Item did not get checked", item1.isChecked()); in testCheckable()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DListGridLayoutTest.java257 View item1 = new View(mContext, null); in testRemoveAllItems() local
261 row1.addView(item1); in testRemoveAllItems()
283 View item1 = new View(mContext, null); in testAddItem() local
288 mListGridLayout.addItem(item1); in testAddItem()
297 mListGridLayout.addItem(item1); in testAddItem()
308 View item1 = new View(mContext, null); in testAddItem_reverseItems() local
312 mListGridLayout.addItem(item1); in testAddItem_reverseItems()
318 assertEquals(item1, sublist.getChildAt(0)); in testAddItem_reverseItems()
326 mListGridLayout.addItem(item1); in testAddItem_reverseItems()
332 assertEquals(item1, sublist.getChildAt(2)); in testAddItem_reverseItems()
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/
DSwitchItemTest.java129 SwitchItem item1 = new SwitchItem(); in testRebind() local
130 item1.setTitle("TestTitle1"); in testRebind()
131 item1.setSummary("TestSummary1"); in testRebind()
132 item1.setChecked(false); in testRebind()
141 item1.onBindView(view); in testRebind()
149 assertFalse("Item1 should still be unchecked", item1.isChecked()); in testRebind()
154 assertFalse("Item1 should still be unchecked", item1.isChecked()); in testRebind()
/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/
DInputMethodSubtypeSwitchingControllerTest.java435 final ImeSubtypeListItem item1 = items.get(i); in testImeSubtypeListComparator() local
437 assertTrue(item1 + " has the same order of itself", item1.compareTo(item1) == 0); in testImeSubtypeListComparator()
442 assertTrue(item1 + " is less than " + item2, item1.compareTo(item2) < 0); in testImeSubtypeListComparator()
443 assertTrue(item2 + " is greater than " + item1, item2.compareTo(item1) > 0); in testImeSubtypeListComparator()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyItemControllerTest.kt133 val item1 = PrivacyItem(PrivacyType.TYPE_CAMERA, in testPrivacyItemsAggregated() constant
137 doReturn(listOf(item1)) in testPrivacyItemsAggregated()
146 assertTrue(argCaptor.value.contains(item1)) in testPrivacyItemsAggregated()
/frameworks/av/media/libaudioclient/include/media/
DAidlConversionUtil.h142 for (const auto& item1 : input1) { in convertContainers() local
144 *ins = VALUE_OR_RETURN(itemConversion(item1, *iter2++)); in convertContainers()
/frameworks/opt/vcard/tests/res/raw/
Dv30_ios_613_multiline.vcf11 item1.EMAIL;type=INTERNET;type=pref:bob@smithauto.com