Home
last modified time | relevance | path

Searched refs:City (Results 1 – 18 of 18) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/data/
DCityModel.kt28 import com.android.deskclock.data.City.NameComparator
29 import com.android.deskclock.data.City.NameIndexComparator
30 import com.android.deskclock.data.City.UtcOffsetComparator
31 import com.android.deskclock.data.City.UtcOffsetIndexComparator
60 private var mCityMap: Map<String, City>? = null
63 private var mAllCities: List<City>? = null
66 private var mSelectedCities: List<City>? = null
69 private var mUnselectedCities: List<City>? = null
72 private var mHomeCity: City? = null
94 val allCities: List<City>
[all …]
DCity.kt27 class City internal constructor( class
98 class UtcOffsetComparator : Comparator<City> {
99 private val mDelegate1: Comparator<City> = UtcOffsetIndexComparator()
100 private val mDelegate2: Comparator<City> = NameComparator()
102 override fun compare(c1: City, c2: City): Int { in compare()
118 class UtcOffsetIndexComparator : Comparator<City> {
122 override fun compare(c1: City, c2: City): Int { in compare()
136 class NameComparator : Comparator<City> {
137 private val mDelegate: Comparator<City> = NameIndexComparator()
142 override fun compare(c1: City, c2: City): Int { in compare()
[all …]
DCityDAO.kt51 fun getSelectedCities(prefs: SharedPreferences, cityMap: Map<String, City>): List<City> { in getSelectedCities()
53 val selectedCities: MutableList<City> = ArrayList(size) in getSelectedCities()
69 fun setSelectedCities(prefs: SharedPreferences, cities: Collection<City>) { in setSelectedCities()
83 fun getCities(context: Context): Map<String, City> { in getCities()
88 val cities: MutableMap<String, City> = ArrayMap(citiesCount) in getCities()
135 fun createCity(id: String?, formattedName: String, tzId: String?): City? { in createCity()
152 return City(id, index, indexString, name, phoneticName, tz) in createCity()
DCityListener.kt23 fun citiesChanged(oldCities: List<City>, newCities: List<City>)
DDataModel.kt311 val allCities: List<City>
320 val homeCity: City
329 val unselectedCities: List<City>
335 var selectedCities: Collection<City>
354 val cityIndexComparator: Comparator<City>
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DCitySelectionActivity.kt48 import com.android.deskclock.data.City
230 private var mFilteredCities: List<City> = emptyList()
235 private val mUserSelectedCities: MutableSet<City> = ArraySet()
273 override fun getItem(position: Int): City? { in getItem()
359 val city = b.tag as City in onCheckedChanged()
445 val selected = DataModel.dataModel.selectedCities as List<City> in refresh()
462 val query = City.removeSpecialCharacters(queryText.toUpperCase()) in filter()
468 val unselected: List<City> = DataModel.dataModel.unselectedCities in filter()
469 val queriedCities: MutableList<City> = ArrayList(unselected.size) in filter()
486 val selectedCities: Collection<City>
[all …]
/packages/modules/GeoTZ/validation/geonames/src/main/java/com/android/timezone/location/validation/
DCitiesFile.java46 static class City { class in CitiesFile
54 City(String name, S2LatLng latLng, String isoCountryCode, int population, in City() method in CitiesFile.City
88 static Stream<City> read(File file) throws IOException { in read()
95 private static City createCity(String s) { in createCity()
122 return new City(name, latLng, isoCountryCode, population, timeZoneId); in createCity()
DGeonamesComparison.java21 import com.android.timezone.location.validation.CitiesFile.City;
94 Stream<City> cityStream = CitiesFile.read(geoNamesCitiesFile)) { in main()
95 Iterator<City> cityIterator = cityStream.iterator(); in main()
99 City city = cityIterator.next(); in main()
224 City city, in recordResult()
346 private final CitiesFile.City mCity;
349 CityResult(CitiesFile.City city, in CityResult()
355 CitiesFile.City getCity() { in getCity()
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetCityViewsFactory.kt32 import com.android.deskclock.data.City
51 private var mHomeCity: City? = null
53 private var mCities: List<City>? = emptyList()
160 private fun update(rv: RemoteViews, city: City, clockId: Int, labelId: Int, dayId: Int) { in update()
199 var mHomeCity: City? = null
200 var mCities: List<City>? = null
/packages/apps/DeskClock/tests/src/com/android/deskclock/worldclock/
DCitySelectionActivityTest.java28 import com.android.deskclock.data.City;
64 final City city = DataModel.getDataModel().getAllCities().get(0); in setUp()
110 final City city = (City) citiesAdapter.getItem(index); in assertItemContent()
/packages/apps/DeskClock/src/com/android/deskclock/
DClockFragment.kt42 import com.android.deskclock.data.City
333 val city: City in onBindViewHolder()
357 private val homeCity: City
360 private val cities: List<City>
361 get() = DataModel.dataModel.selectedCities as List<City>
369 override fun citiesChanged(oldCities: List<City>, newCities: List<City>) { in citiesChanged()
379 fun bind(context: Context, city: City, position: Int, isPortrait: Boolean) { in bind()
/packages/modules/GeoTZ/validation/geonames/known_diffs/
Dknown_diffs15000.prototxt259 cityName: "Old City"
/packages/providers/TelephonyProvider/assets/sdk28_carrier_id/
Dcarrier_list.textpb10696 carrier_name: "Wireless City Planning"
/packages/providers/TelephonyProvider/assets/sdk29_carrier_id/
Dcarrier_list.textpb10524 carrier_name: "Wireless City Planning"
/packages/providers/TelephonyProvider/assets/latest_carrier_id/
Dcarrier_list.textpb10190 carrier_name: "Wireless City Planning"
/packages/providers/TelephonyProvider/assets/sdk30_carrier_id/
Dcarrier_list.textpb10459 carrier_name: "Wireless City Planning"
/packages/inputmethods/LatinIME/dictionaries/
Dfi_wordlist.combined.gz
Dde_wordlist.combined.gz