Searched refs:item0 (Results 1 – 5 of 5) sorted by relevance
/frameworks/support/car/src/androidTest/java/androidx/car/widget/ |
D | TextListItemTest.java | 150 TextListItem item0 = new TextListItem(mActivity); in testPrimaryActionVisible() local 151 item0.setPrimaryActionIcon(android.R.drawable.sym_def_app_icon, true); in testPrimaryActionVisible() 156 List<TextListItem> items = Arrays.asList(item0, item1); in testPrimaryActionVisible() 167 TextListItem item0 = new TextListItem(mActivity); in testTextVisible() local 168 item0.setTitle("title"); in testTextVisible() 173 List<TextListItem> items = Arrays.asList(item0, item1); in testTextVisible() 184 TextListItem item0 = new TextListItem(mActivity); in testSupplementalActionVisible() local 185 item0.setSupplementalIcon(android.R.drawable.sym_def_app_icon, true); in testSupplementalActionVisible() 195 List<TextListItem> items = Arrays.asList(item0, item1, item2); in testSupplementalActionVisible() 228 TextListItem item0 = new TextListItem(mActivity); in testSwitchVisibleAndCheckedState() local [all …]
|
D | SeekbarListItemTest.java | 97 SeekbarListItem item0 = initSeekbarListItem(); in testPrimaryActionVisible() local 98 item0.setPrimaryActionIcon(android.R.drawable.sym_def_app_icon); in testPrimaryActionVisible() 103 setupPagedListView(Arrays.asList(item0, item1)); in testPrimaryActionVisible() 225 SeekbarListItem item0 = initSeekbarListItem(); in testPrimaryIconIsNotClickableWithoutListener() local 226 item0.setPrimaryActionIcon(android.R.drawable.sym_def_app_icon); in testPrimaryIconIsNotClickableWithoutListener() 231 setupPagedListView(Arrays.asList(item0, item1)); in testPrimaryIconIsNotClickableWithoutListener() 280 SeekbarListItem item0 = initSeekbarListItem(); in testPrimaryActionEmptyIconSpacing() local 281 item0.setPrimaryActionIcon(android.R.drawable.sym_def_app_icon); in testPrimaryActionEmptyIconSpacing() 289 List<ListItem> items = Arrays.asList(item0, item1, item2); in testPrimaryActionEmptyIconSpacing() 301 SeekbarListItem item0 = initSeekbarListItem(); in testSupplementalIconSpacingWithoutDivider() local [all …]
|
D | DividerVisibilityManagerTest.java | 148 TextListItem item0 = new TextListItem(mActivity); in testListItemAdapterAsVisibilityManager() local 149 item0.setHideDivider(true); in testListItemAdapterAsVisibilityManager() 162 item0, item1, item2, item3)); in testListItemAdapterAsVisibilityManager() 173 TextListItem item0 = new TextListItem(mActivity); in testSettingItemDividersHidden() local 174 item0.setHideDivider(true); in testSettingItemDividersHidden() 178 ListItemProvider provider = new ListItemProvider.ListProvider(Arrays.asList(item0, item1)); in testSettingItemDividersHidden() 183 assertThat(item0.shouldHideDivider(), is(true)); in testSettingItemDividersHidden() 195 item0.setHideDivider(false); in testSettingItemDividersHidden()
|
/frameworks/base/cmds/statsd/tests/ |
D | LogEvent_test.cpp | 51 const FieldValue& item0 = event1.getValues()[0]; in TEST() local 52 EXPECT_EQ(0x2010101, item0.mField.getField()); in TEST() 53 EXPECT_EQ(Type::INT, item0.mValue.getType()); in TEST() 54 EXPECT_EQ(1000, item0.mValue.int_value); in TEST() 125 const FieldValue& item0 = event1.getValues()[1]; in TEST() local 126 EXPECT_EQ(0x2020101, item0.mField.getField()); in TEST() 127 EXPECT_EQ(Type::INT, item0.mValue.getType()); in TEST() 128 EXPECT_EQ(1000, item0.mValue.int_value); in TEST()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
D | GridWidgetTest.java | 2890 View item0 = mGridView.findViewHolderForAdapterPosition(0).itemView; in testVerticalGridRtl() local 2892 assertEquals(mGridView.getWidth() - mGridView.getPaddingRight(), item0.getRight()); in testVerticalGridRtl() 2893 assertEquals(item0.getLeft(), item1.getRight() + mGridView.getHorizontalSpacing()); in testVerticalGridRtl()
|