Home
last modified time | relevance | path

Searched refs:BaseTimeZoneAdapter (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/
DRegionSearchPickerTest.java32 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()
DBaseTimeZoneInfoPickerTest.java61 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()
DFixedOffsetPickerTest.java27 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()
DBaseTimeZoneAdapterTest.java89 private static class TestTimeZoneAdapter extends BaseTimeZoneAdapter<TestItem> {
97 private static class TestItem implements BaseTimeZoneAdapter.AdapterItem {
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DRegionSearchPicker.java33 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()
DBaseTimeZoneAdapter.java44 public class BaseTimeZoneAdapter<T extends BaseTimeZoneAdapter.AdapterItem> class
64 public BaseTimeZoneAdapter(List<T> items, OnListItemClickListener<T> onListItemClickListener, in BaseTimeZoneAdapter() method in BaseTimeZoneAdapter
187 public static class ItemViewHolder<T extends BaseTimeZoneAdapter.AdapterItem>
DBaseTimeZoneInfoPicker.java50 protected BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData) { in createAdapter()
75 protected static class ZoneAdapter extends BaseTimeZoneAdapter<TimeZoneInfoItem> {
99 private static class TimeZoneInfoItem implements BaseTimeZoneAdapter.AdapterItem {
DBaseTimeZonePicker.java67 private BaseTimeZoneAdapter mAdapter;
127 protected abstract BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData); in createAdapter()
194 public interface OnListItemClickListener<T extends BaseTimeZoneAdapter.AdapterItem> {