Searched refs:CitySort (Results 1 – 10 of 10) sorted by relevance
29 import com.android.deskclock.data.DataModel.CitySort;88 static CitySort getCitySort(SharedPreferences prefs) { in getCitySort()89 final int defaultSortOrdinal = CitySort.NAME.ordinal(); in getCitySort()91 return CitySort.values()[citySortOrdinal]; in getCitySort()98 final CitySort oldSort = getCitySort(prefs); in toggleCitySort()99 final CitySort newSort = oldSort == CitySort.NAME ? CitySort.UTC_OFFSET : CitySort.NAME; in toggleCitySort()
32 import com.android.deskclock.data.DataModel.CitySort188 CitySort.NAME -> NameIndexComparator()189 CitySort.UTC_OFFSET -> UtcOffsetIndexComparator()195 val citySort: CitySort220 CitySort.NAME -> NameComparator()221 CitySort.UTC_OFFSET -> UtcOffsetComparator()
30 import com.android.deskclock.data.DataModel.CitySort77 fun getCitySort(prefs: SharedPreferences): CitySort { in getCitySort()78 val defaultSortOrdinal = CitySort.NAME.ordinal in getCitySort()80 return CitySort.values()[citySortOrdinal] in getCitySort()88 val newSort = if (oldSort == CitySort.NAME) CitySort.UTC_OFFSET else CitySort.NAME in toggleCitySort()
28 import com.android.deskclock.data.DataModel.CitySort;194 final CitySort citySort = mSettingsModel.getCitySort(); in getCityIndexComparator()205 CitySort getCitySort() { in getCitySort()229 final CitySort citySort = mSettingsModel.getCitySort(); in getCitySortComparator()
26 import com.android.deskclock.data.DataModel.CitySort;63 CitySort getCitySort() { in getCitySort()
60 public enum CitySort {NAME, UTC_OFFSET} enum in DataModel380 public CitySort getCitySort() { in getCitySort()
59 enum class CitySort { class in com.android.deskclock.data.DataModel364 val citySort: CitySort
53 val citySort: DataModel.CitySort
327 DataModel.CitySort.NAME -> { in getView()331 DataModel.CitySort.UTC_OFFSET -> { in getView()396 DataModel.CitySort.NAME -> sections.add(city.indexString.orEmpty()) in getSections()397 DataModel.CitySort.UTC_OFFSET -> { in getSections()494 private val citySort: DataModel.CitySort575 item.setTitle(if (DataModel.dataModel.citySort == DataModel.CitySort.NAME) { in onPrepareOptionsItem()
550 private DataModel.CitySort getCitySort() { in getCitySort()633 item.setTitle(DataModel.getDataModel().getCitySort() == DataModel.CitySort.NAME in onPrepareOptionsItem()