Searched refs:CitySort (Results 1 – 5 of 5) sorted by relevance
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()
53 val citySort: DataModel.CitySort
59 enum class CitySort { class in com.android.deskclock.data.DataModel364 val citySort: CitySort
326 DataModel.CitySort.NAME -> { in getView()330 DataModel.CitySort.UTC_OFFSET -> { in getView()395 DataModel.CitySort.NAME -> sections.add(city.indexString.orEmpty()) in getSections()396 DataModel.CitySort.UTC_OFFSET -> { in getSections()493 private val citySort: DataModel.CitySort574 item.setTitle(if (DataModel.dataModel.citySort == DataModel.CitySort.NAME) { in onPrepareOptionsItem()