Searched refs:mFilterAdapter (Results 1 – 3 of 3) sorted by relevance
469 mFragment.mFilterAdapter = new ManageApplications.FilterSpinnerAdapter(mFragment); in updateFilterView_hasFilterSet_shouldShowFilterAndHavePaddingTop()471 mFragment.mFilterAdapter.updateFilterView(true); in updateFilterView_hasFilterSet_shouldShowFilterAndHavePaddingTop()480 mFragment.mFilterAdapter = new ManageApplications.FilterSpinnerAdapter(mFragment); in updateFilterView_noFilterSet_shouldHideFilterAndNoPaddingTop()482 mFragment.mFilterAdapter.updateFilterView(false); in updateFilterView_noFilterSet_shouldHideFilterAndNoPaddingTop()531 assertThat(mFragment.mFilterAdapter.getCount()).isEqualTo(2); in createHeader_batteryListType_hasCorrectItems()532 assertThat(mFragment.mFilterAdapter.getItem(0)).isEqualTo( in createHeader_batteryListType_hasCorrectItems()534 assertThat(mFragment.mFilterAdapter.getItem(1)).isEqualTo( in createHeader_batteryListType_hasCorrectItems()551 assertThat(mFragment.mFilterAdapter.getCount()).isEqualTo(4); in createHeader_notificationListType_hasCorrectItems()552 assertThat(mFragment.mFilterAdapter.getItem(0)).isEqualTo( in createHeader_notificationListType_hasCorrectItems()554 assertThat(mFragment.mFilterAdapter.getItem(1)).isEqualTo( in createHeader_notificationListType_hasCorrectItems()[all …]
61 private ArrayAdapter<String> mFilterAdapter; field in ProcessStatsBase108 mFilterAdapter = new SettingsSpinnerAdapter<String>(mFilterSpinner.getContext()); in onViewCreated()111 mFilterAdapter.add(getString(sDurationLabels[i])); in onViewCreated()113 mFilterSpinner.setAdapter(mFilterAdapter); in onViewCreated()
243 FilterSpinnerAdapter mFilterAdapter; field in ManageApplications443 mFilterAdapter = new FilterSpinnerAdapter(this); in createHeader()444 mFilterSpinner.setAdapter(mFilterAdapter); in createHeader()450 mFilterAdapter.enableFilter(filterType); in createHeader()455 mFilterAdapter.enableFilter(FILTER_APPS_PERSONAL); in createHeader()456 mFilterAdapter.enableFilter(FILTER_APPS_WORK); in createHeader()460 mFilterAdapter.enableFilter(FILTER_APPS_RECENT); in createHeader()461 mFilterAdapter.enableFilter(FILTER_APPS_FREQUENT); in createHeader()462 mFilterAdapter.enableFilter(FILTER_APPS_BLOCKED); in createHeader()463 mFilterAdapter.enableFilter(FILTER_APPS_ALL); in createHeader()[all …]