/frameworks/base/core/tests/coretests/src/android/view/ |
D | MenuTest.java | 111 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/support/core/ktx/src/androidTest/java/androidx/core/view/ |
D | MenuTest.kt | 41 val item1 = menu.add("") in <lambda>() constant 42 assertTrue(item1 in menu) in <lambda>() 49 val item1 = menu.add(NONE, 1, NONE, "") in <lambda>() constant 56 assertSame(item1, menu.getItem(0)) in <lambda>() 58 menu -= item1 in <lambda>() 92 val item1 = menu.add("") in <lambda>() constant 99 assertThat(items).containsExactly(item1, item2) in <lambda>() 107 val item1 = menu.add("") in <lambda>() constant 115 assertThat(items).containsExactly(item1, item2) in <lambda>() 119 val item1 = menu.add("") in <lambda>() constant [all …]
|
/frameworks/support/car/src/androidTest/java/androidx/car/widget/ |
D | TextListItemTest.java | 153 TextListItem item1 = new TextListItem(mActivity); in testPrimaryActionVisible() local 154 item1.setPrimaryActionIcon(android.R.drawable.sym_def_app_icon, false); in testPrimaryActionVisible() 156 List<TextListItem> items = Arrays.asList(item0, item1); in testPrimaryActionVisible() 170 TextListItem item1 = new TextListItem(mActivity); in testTextVisible() local 171 item1.setBody("body"); in testTextVisible() 173 List<TextListItem> items = Arrays.asList(item0, item1); in testTextVisible() 187 TextListItem item1 = new TextListItem(mActivity); in testSupplementalActionVisible() local 188 item1.setAction("text", true, v -> { /* Do nothing. */ }); in testSupplementalActionVisible() 195 List<TextListItem> items = Arrays.asList(item0, item1, item2); in testSupplementalActionVisible() 231 TextListItem item1 = new TextListItem(mActivity); in testSwitchVisibleAndCheckedState() local [all …]
|
D | SeekbarListItemTest.java | 100 SeekbarListItem item1 = initSeekbarListItem(); in testPrimaryActionVisible() local 101 item1.setPrimaryActionIcon(new ColorDrawable(Color.BLACK)); in testPrimaryActionVisible() 103 setupPagedListView(Arrays.asList(item0, item1)); in testPrimaryActionVisible() 228 SeekbarListItem item1 = initSeekbarListItem(); in testPrimaryIconIsNotClickableWithoutListener() local 229 item1.setPrimaryActionIcon(new ColorDrawable(Color.BLACK)); in testPrimaryIconIsNotClickableWithoutListener() 231 setupPagedListView(Arrays.asList(item0, item1)); in testPrimaryIconIsNotClickableWithoutListener() 283 SeekbarListItem item1 = initSeekbarListItem(); in testPrimaryActionEmptyIconSpacing() local 284 item1.setPrimaryActionIcon(new ColorDrawable(Color.BLACK)); in testPrimaryActionEmptyIconSpacing() 289 List<ListItem> items = Arrays.asList(item0, item1, item2); in testPrimaryActionEmptyIconSpacing() 304 SeekbarListItem item1 = initSeekbarListItem(); in testSupplementalIconSpacingWithoutDivider() local [all …]
|
D | DividerVisibilityManagerTest.java | 151 TextListItem item1 = new TextListItem(mActivity); in testListItemAdapterAsVisibilityManager() local 152 item1.setHideDivider(false); in testListItemAdapterAsVisibilityManager() 162 item0, item1, item2, item3)); in testListItemAdapterAsVisibilityManager() 176 TextListItem item1 = new TextListItem(mActivity); in testSettingItemDividersHidden() local 178 ListItemProvider provider = new ListItemProvider.ListProvider(Arrays.asList(item0, item1)); in testSettingItemDividersHidden() 184 assertThat(item1.shouldHideDivider(), is(false)); in testSettingItemDividersHidden()
|
/frameworks/support/room/migration/src/main/java/androidx/room/migration/bundle/ |
D | SchemaEqualityUtil.java | 63 for (K item1 : list1) { in checkSchemaEquality() 67 if (checkSchemaEquality(item1, item2)) { in checkSchemaEquality() 81 @Nullable K item1, @Nullable K item2) { in checkSchemaEquality() 82 if (item1 == null) { in checkSchemaEquality() 88 return item1.isSchemaEqual(item2); in checkSchemaEquality()
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/ |
D | DaoNameConflictTest.java | 59 Item1 item1 = new Item1(1, "a"); in readFromItem1() local 60 mDb.item1Dao().insert(item1); in readFromItem1() 63 assertThat(mDb.item1Dao().get(), is(item1)); in readFromItem1() 90 Item1 item1 = (Item1) o; in equals() 93 if (id != item1.id) return false; in equals() 94 return name != null ? name.equals(item1.name) : item1.name == null; in equals()
|
/frameworks/base/cmds/statsd/tests/ |
D | LogEvent_test.cpp | 56 const FieldValue& item1 = event1.getValues()[1]; in TEST() local 57 EXPECT_EQ(0x2010182, item1.mField.getField()); in TEST() 58 EXPECT_EQ(Type::STRING, item1.mValue.getType()); in TEST() 59 EXPECT_EQ("tag1", item1.mValue.str_value); in TEST() 130 const FieldValue& item1 = event1.getValues()[2]; in TEST() local 131 EXPECT_EQ(0x2020182, item1.mField.getField()); in TEST() 132 EXPECT_EQ(Type::STRING, item1.mValue.getType()); in TEST() 133 EXPECT_EQ("tag1", item1.mValue.str_value); in TEST()
|
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/ |
D | SwitchItemTest.java | 116 SwitchItem item1 = new SwitchItem(); in testRebind() local 117 item1.setTitle("TestTitle1"); in testRebind() 118 item1.setSummary("TestSummary1"); in testRebind() 119 item1.setChecked(false); in testRebind() 128 item1.onBindView(view); in testRebind() 136 assertFalse("Item1 should still be unchecked", item1.isChecked()); in testRebind() 141 assertFalse("Item1 should still be unchecked", item1.isChecked()); in testRebind()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/ |
D | InputMethodSubtypeSwitchingControllerTest.java | 423 final ImeSubtypeListItem item1 = items.get(i); in testImeSubtypeListComparator() local 425 assertTrue(item1 + " has the same order of itself", item1.compareTo(item1) == 0); in testImeSubtypeListComparator() 430 assertTrue(item1 + " is less than " + item2, item1.compareTo(item2) < 0); in testImeSubtypeListComparator() 431 assertTrue(item2 + " is greater than " + item1, item2.compareTo(item1) > 0); in testImeSubtypeListComparator()
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
D | SortedList.java | 899 abstract public boolean areItemsTheSame(T2 item1, T2 item2); in areItemsTheSame() argument 919 public Object getChangePayload(T2 item1, T2 item2) { in getChangePayload() argument 992 public boolean areItemsTheSame(T2 item1, T2 item2) { in areItemsTheSame() argument 993 return mWrappedCallback.areItemsTheSame(item1, item2); in areItemsTheSame() 998 public Object getChangePayload(T2 item1, T2 item2) { in getChangePayload() argument 999 return mWrappedCallback.getChangePayload(item1, item2); in getChangePayload()
|
/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/ |
D | OpReorderTest.java | 646 public static void assertIdentical(String logPrefix, Item item1, Item item2) { in assertIdentical() argument 647 assertEquals(logPrefix + "\n" + item1 + " vs " + item2, item1.id, item2.id); in assertIdentical() 648 assertEquals(logPrefix + "\n" + item1 + " vs " + item2, item1.version, item2.version); in assertIdentical()
|
D | SortedListTest.java | 136 public boolean areItemsTheSame(Item item1, Item item2) { in setUp() 137 return item1.id == item2.id; in setUp() 142 public Object getChangePayload(Item item1, Item item2) { in setUp()
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/util/ |
D | SortedListActivity.java | 105 public boolean areItemsTheSame(Item item1, Item item2) { in SortedListAdapter() 106 return item1.id == item2.id; in SortedListAdapter()
|
/frameworks/opt/vcard/tests/res/raw/ |
D | v30_ios_613_multiline.vcf | 11 item1.EMAIL;type=INTERNET;type=pref:bob@smithauto.com
|
/frameworks/support/media/version-compat-tests/previous/client/src/androidTest/java/android/support/mediacompat/client/ |
D | MediaControllerCompatCallbackTest.java | 328 QueueItem item1 = new MediaSessionCompat.QueueItem(description1, TEST_QUEUE_ID_1); in testSetQueueAndSetQueueTitle() local 330 queue.add(item1); in testSetQueueAndSetQueueTitle()
|
/frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/android/support/mediacompat/client/ |
D | MediaControllerCompatCallbackTest.java | 329 QueueItem item1 = new MediaSessionCompat.QueueItem(description1, TEST_QUEUE_ID_1); in testSetQueueAndSetQueueTitle() local 331 queue.add(item1); in testSetQueueAndSetQueueTitle()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
D | GridWidgetTest.java | 2891 View item1 = mGridView.findViewHolderForAdapterPosition(1).itemView; in testVerticalGridRtl() local 2893 assertEquals(item0.getLeft(), item1.getRight() + mGridView.getHorizontalSpacing()); in testVerticalGridRtl()
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
D | databinding-studio-bundle.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/databinding/
android/ ... |