Searched refs:BaseTimeZoneAdapter (Results 1 – 12 of 12) sorted by relevance
31 import com.android.settings.datetime.timezone.BaseTimeZoneAdapter.AdapterItem;32 import com.android.settings.datetime.timezone.BaseTimeZoneAdapter.ItemViewHolder;68 BaseTimeZoneAdapter adapter = picker.createAdapter(new TimeZoneData(finder)); in createAdapter_matchRegionName()88 BaseTimeZoneAdapter<RegionItem> adapter = picker.createAdapter(new TimeZoneData(finder)); in clickItemView_duringRegionSearch_shouldNotCrash()91 new LinearLayout(RuntimeEnvironment.application), BaseTimeZoneAdapter.TYPE_ITEM); in clickItemView_duringRegionSearch_shouldNotCrash()108 private final BaseTimeZoneAdapter.ArrayFilter mFilter;110 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()
26 import com.android.settings.datetime.timezone.BaseTimeZoneAdapter.AdapterItem;67 BaseTimeZoneAdapter adapter = picker.createAdapter(new TimeZoneData(mFinder)); in createAdapter_verifyTitleAndOffset()80 public BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData) { in createAdapter()
89 private static class TestTimeZoneAdapter extends BaseTimeZoneAdapter<TestItem> {97 private static class TestItem implements BaseTimeZoneAdapter.AdapterItem {
31 import com.android.settings.datetime.timezone.BaseTimeZoneAdapter.AdapterItem;48 private BaseTimeZoneAdapter<RegionItem> mAdapter;61 protected BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData) { in createAdapter()63 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>
58 private BaseTimeZoneAdapter mAdapter;116 protected abstract BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData); in createAdapter()164 public interface OnListItemClickListener<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 {
31 import com.android.car.developeroptions.datetime.timezone.BaseTimeZoneAdapter.AdapterItem;48 private BaseTimeZoneAdapter<RegionItem> mAdapter;61 protected BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData) { in createAdapter()63 mAdapter = new BaseTimeZoneAdapter<>(createAdapterItem(timeZoneData.getRegionIds()), in createAdapter()