Searched refs:BaseTimeZoneAdapter (Results 1 – 8 of 8) sorted by relevance
32 import com.android.settings.datetime.timezone.BaseTimeZoneAdapter.AdapterItem;33 import com.android.settings.datetime.timezone.BaseTimeZoneAdapter.ItemViewHolder;67 BaseTimeZoneAdapter adapter = picker.createAdapter(new TimeZoneData(finder)); in createAdapter_matchRegionName()87 BaseTimeZoneAdapter<RegionItem> adapter = picker.createAdapter(new TimeZoneData(finder)); in clickItemView_duringRegionSearch_shouldNotCrash()90 new LinearLayout(RuntimeEnvironment.application), BaseTimeZoneAdapter.TYPE_ITEM); in clickItemView_duringRegionSearch_shouldNotCrash()107 private final BaseTimeZoneAdapter.ArrayFilter mFilter;109 private FilterWrapper(BaseTimeZoneAdapter.ArrayFilter filter) { in FilterWrapper()
61 BaseTimeZoneAdapter adapter = picker.createAdapter(mock(TimeZoneData.class)); in createAdapter_matchTimeZoneInfoAndOrder()64 BaseTimeZoneAdapter.AdapterItem item1 = adapter.getDataItem(0); in createAdapter_matchTimeZoneInfoAndOrder()70 BaseTimeZoneAdapter.AdapterItem item2 = adapter.getDataItem(1); in createAdapter_matchTimeZoneInfoAndOrder()107 public BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData) { in createAdapter()
27 import com.android.settings.datetime.timezone.BaseTimeZoneAdapter.AdapterItem;66 BaseTimeZoneAdapter adapter = picker.createAdapter(new TimeZoneData(mFinder)); in createAdapter_verifyTitleAndOffset()79 public BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData) { in createAdapter()
89 private static class TestTimeZoneAdapter extends BaseTimeZoneAdapter<TestItem> {97 private static class TestItem implements BaseTimeZoneAdapter.AdapterItem {
33 import com.android.settings.datetime.timezone.BaseTimeZoneAdapter.AdapterItem;50 private BaseTimeZoneAdapter<RegionItem> mAdapter;63 protected BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData) { in createAdapter()65 mAdapter = new BaseTimeZoneAdapter<>(createAdapterItem(timeZoneData.getRegionIds()), in createAdapter()
44 public class BaseTimeZoneAdapter<T extends BaseTimeZoneAdapter.AdapterItem> class64 public BaseTimeZoneAdapter(List<T> items, OnListItemClickListener<T> onListItemClickListener, in BaseTimeZoneAdapter() method in BaseTimeZoneAdapter187 public static class ItemViewHolder<T extends BaseTimeZoneAdapter.AdapterItem>
50 protected BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData) { in createAdapter()75 protected static class ZoneAdapter extends BaseTimeZoneAdapter<TimeZoneInfoItem> {99 private static class TimeZoneInfoItem implements BaseTimeZoneAdapter.AdapterItem {
67 private BaseTimeZoneAdapter mAdapter;127 protected abstract BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData); in createAdapter()194 public interface OnListItemClickListener<T extends BaseTimeZoneAdapter.AdapterItem> {