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/
DCityModel.kt32 import com.android.deskclock.data.DataModel.CitySort
188 CitySort.NAME -> NameIndexComparator()
189 CitySort.UTC_OFFSET -> UtcOffsetIndexComparator()
195 val citySort: CitySort
220 CitySort.NAME -> NameComparator()
221 CitySort.UTC_OFFSET -> UtcOffsetComparator()
DSettingsDAO.kt30 import com.android.deskclock.data.DataModel.CitySort
77 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()
DSettingsModel.kt53 val citySort: DataModel.CitySort
DDataModel.kt59 enum class CitySort { class in com.android.deskclock.data.DataModel
364 val citySort: CitySort
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DCitySelectionActivity.kt326 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.CitySort
574 item.setTitle(if (DataModel.dataModel.citySort == DataModel.CitySort.NAME) { in onPrepareOptionsItem()