Searched refs:mSuggestedLocaleAdapter (Results 1 – 3 of 3) sorted by relevance
67 private SuggestedLocaleAdapter mSuggestedLocaleAdapter; field in LocalePreferenceProvider72 mSuggestedLocaleAdapter = localeAdapter; in LocalePreferenceProvider()97 for (int position = 0; position < mSuggestedLocaleAdapter.getCount(); position++) { in populateBasePreference()118 int type = mSuggestedLocaleAdapter.getItemViewType(position); in getPreference()129 (LocaleStore.LocaleInfo) mSuggestedLocaleAdapter.getItem(position); in getPreference()
77 private SuggestedLocaleAdapter mSuggestedLocaleAdapter; field in LocalePreferenceProviderTest83 mLocalePreferenceProvider = new LocalePreferenceProvider(mContext, mSuggestedLocaleAdapter); in setUp()176 when(mSuggestedLocaleAdapter.getItemViewType(i)).thenReturn(itemType); in prepareSuggestedLocaleAdapterMock()177 when(mSuggestedLocaleAdapter.getItem(i)).thenReturn(localeInfo); in prepareSuggestedLocaleAdapterMock()180 when(mSuggestedLocaleAdapter.getCount()).thenReturn(mLocaleAdapterExpectedValues.size()); in prepareSuggestedLocaleAdapterMock()
87 private SuggestedLocaleAdapter mSuggestedLocaleAdapter; field in LanguageBasePreferenceControllerTest98 mController.setAdapter(mSuggestedLocaleAdapter); in setUp()118 when(mSuggestedLocaleAdapter.getCount()).thenReturn(1); in testRefreshUi_groupConstructed()119 when(mSuggestedLocaleAdapter.getItemViewType(0)).thenReturn( in testRefreshUi_groupConstructed()121 when(mSuggestedLocaleAdapter.getItem(0)).thenReturn(TEST_LOCALE_INFO); in testRefreshUi_groupConstructed()