Home
last modified time | relevance | path

Searched refs:item2 (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/
DAppFilterItemTest.java40 final AppFilterItem item2 = new AppFilterItem( in equals_sameContent_true() local
50 assertThat(item).isEqualTo(item2); in equals_sameContent_true()
56 final AppFilterItem item2 = new AppFilterItem( in compare_sameContent_return0() local
62 assertThat(item.compareTo(item2)).isEqualTo(0); in compare_sameContent_return0()
63 assertThat(item2.compareTo(item)).isEqualTo(0); in compare_sameContent_return0()
75 final AppFilterItem item2 = new AppFilterItem( in compare_differentFilter_returnFilterDiff() local
79 assertThat(item.compareTo(item2)).isNotEqualTo(0); in compare_differentFilter_returnFilterDiff()
85 final AppFilterItem item2 = AppFilterRegistry.getInstance().get(FILTER_APPS_ENABLED); in hash_differentItem_differentHash() local
87 assertThat(item.hashCode()).isNotEqualTo(item2.hashCode()); in hash_differentItem_differentHash()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/
DAlertDialogBuilderTest.java105 CarUiRadioButtonListItem item2 = new CarUiRadioButtonListItem(); in test_showSingleListChoiceItem_CarUiRadioButtonListItemAdapter_forcesDefaultButton() local
106 item2.setTitle("Item 2"); in test_showSingleListChoiceItem_CarUiRadioButtonListItemAdapter_forcesDefaultButton()
111 Arrays.asList(item1, item2, item3)); in test_showSingleListChoiceItem_CarUiRadioButtonListItemAdapter_forcesDefaultButton()
156 CarUiContentListItem item2 = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in test_setAdapter_hidesDefaultButton() local
157 item2.setTitle("Item 2"); in test_setAdapter_hidesDefaultButton()
162 Arrays.asList(item1, item2, item3)); in test_setAdapter_hidesDefaultButton()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/
DBaseTimeZoneInfoPickerTest.java70 BaseTimeZoneAdapter.AdapterItem item2 = adapter.getDataItem(1); in createAdapter_matchTimeZoneInfoAndOrder() local
71 Truth.assertThat(item2.getTitle().toString()).isEqualTo("New York"); in createAdapter_matchTimeZoneInfoAndOrder()
72 Truth.assertThat(item2.getSummary().toString()).isEqualTo("Eastern Time (GMT-05:00)"); in createAdapter_matchTimeZoneInfoAndOrder()
73 Truth.assertThat(item2.getCurrentTime()) in createAdapter_matchTimeZoneInfoAndOrder()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DFinancedDeviceLandingActivity.java97 final ViewGroup item2 = layout.findViewById(R.id.item2); in initializeUi() local
100 setupItem(item2, R.string.financed_restrict_device_subheader_title, in initializeUi()
DProvisioningActivityBridgeImpl.java172 ViewGroup item2 = layout.findViewById(R.id.item2); in setupTransitionAnimationHelper() local
179 header, description, item1, item2, drawable, drawableContainer, in setupTransitionAnimationHelper()
DTransitionAnimationHelper.java305 ViewGroup item2, LottieAnimationView animationView, ViewGroup imageContainer,
310 this.mItem2 = requireNonNull(item2);
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDataManager.java94 public int compare(MediaItem item1, MediaItem item2) { in compare() argument
95 return -Utils.compare(item1.getDateInMs(), item2.getDateInMs()); in compare()
DTimeClustering.java88 public int compare(SmallItem item1, SmallItem item2) { in compare() argument
89 return -Utils.compare(item1.dateInMs, item2.dateInMs); in compare()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityTest.java451 onView(withId(R.id.item2)).check(matches(not(isDisplayed()))); in testInitializeUi_deviceOwnerPermissionGrantOptOut()
474 onView(allOf(withId(R.id.sud_items_title), withParent(withId(R.id.item2)))) in testInitializeUi_deviceOwnerDefault()
477 onView(allOf(withId(R.id.sud_items_summary), withParent(withId(R.id.item2)))) in testInitializeUi_deviceOwnerDefault()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java335 public boolean areItemsTheSame(ListItem item1, ListItem item2) { in VerticalListAdapter()
336 return item1.equals(item2); in VerticalListAdapter()
/packages/services/Telephony/tests/src/com/android/phone/
DSimPhonebookProviderTest.java540 Cursor item2 = mResolver.query(SimRecords.getItemUri(1, ElementaryFiles.EF_ADN, 3), in query_itemUri_returnsCorrectRow() argument
551 assertThat(item2).hasSingleRow(1, ElementaryFiles.EF_ADN, 3, "Name@Adn1[3]", in query_itemUri_returnsCorrectRow()