Searched refs:appFilter (Results 1 – 7 of 7) sorted by relevance
57 public int compareTo(AppFilterItem appFilter) { in compareTo() argument58 if (appFilter == null) { in compareTo()61 if (this == appFilter) { in compareTo()64 return mFilterType - appFilter.mFilterType; in compareTo()
1256 AppFilterItem appFilter, Bundle savedInstanceState) { in ApplicationsAdapter() argument1268 mAppFilter = appFilter; in ApplicationsAdapter()1338 public void setFilter(AppFilterItem appFilter) { in setFilter() argument1339 mAppFilter = appFilter; in setFilter()1340 final int filterType = appFilter.getFilterType(); in setFilter()
41 private lateinit var appFilter: AppFilter variable in com.android.launcher3.AppFilterTest49 appFilter = AppFilter(mockContext) in setUp()55 assertThat(appFilter.shouldShowApp(appToShow)).isTrue() in shouldShowApp_notFiltered_returnsTrue()61 assertThat(appFilter.shouldShowApp(appToHide)).isFalse() in shouldShowApp_filtered_returnsFalse()
128 public void startLoading(ApplicationsState.AppFilter appFilter, in startLoading() argument134 mAppFilter = appFilter; in startLoading()144 public void rebuildWithFilter(ApplicationsState.AppFilter appFilter) { in rebuildWithFilter() argument145 mAppFilter = appFilter; in rebuildWithFilter()
144 ApplicationsState.AppFilter appFilter = mock(ApplicationsState.AppFilter.class); in loadingFinished_rebuildsSession() local145 when(mMockFilterProvider.getAppFilter()).thenReturn(appFilter); in loadingFinished_rebuildsSession()150 verify(mMockSession).rebuild(eq(appFilter), in loadingFinished_rebuildsSession()
93 public AllAppsList(IconCache iconCache, AppFilter appFilter) { in AllAppsList() argument95 mAppFilter = appFilter; in AllAppsList()
157 @NonNull final IconCache iconCache, @NonNull final AppFilter appFilter, in LauncherModel() argument162 mBgAllAppsList = new AllAppsList(iconCache, appFilter); in LauncherModel()