Home
last modified time | relevance | path

Searched refs:CitySort (Results 1 – 5 of 5) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/data/
DSettingsDAO.java26 import com.android.deskclock.data.DataModel.CitySort;
50 static CitySort getCitySort(Context context) { in getCitySort()
51 final int defaultSortOrdinal = CitySort.NAME.ordinal(); in getCitySort()
54 return CitySort.values()[citySortOrdinal]; in getCitySort()
61 final CitySort oldSort = getCitySort(context); in toggleCitySort()
62 final CitySort newSort = oldSort == CitySort.NAME ? CitySort.UTC_OFFSET : CitySort.NAME; in toggleCitySort()
DCityModel.java29 import com.android.deskclock.data.DataModel.CitySort;
195 final CitySort citySort = mSettingsModel.getCitySort(); in getCityIndexComparator()
206 CitySort getCitySort() { in getCitySort()
230 final CitySort citySort = mSettingsModel.getCitySort(); in getCitySortComparator()
DSettingsModel.java24 import com.android.deskclock.data.DataModel.CitySort;
46 CitySort getCitySort() { in getCitySort()
DDataModel.java41 public enum CitySort {NAME, UTC_OFFSET} enum in DataModel
228 public CitySort getCitySort() { in getCitySort()
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DCitySelectionActivity.java498 private DataModel.CitySort getCitySort() { in getCitySort()
577 if (DataModel.getDataModel().getCitySort() == DataModel.CitySort.NAME) { in showMenuItem()