OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cities
(Results
1 - 4
of
4
) sorted by null
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
Cities.java
26
public class
Cities
{
32
SharedPreferences prefs, HashMap<String, CityObj>
cities
) {
34
editor.putInt(NUMBER_OF_CITIES,
cities
.size());
35
Collection<CityObj> col =
cities
.values();
62
Log.d("
Cities
", "Selected
Cities
List " + title);
63
Log.d("
Cities
", "Number of
cities
" + size);
69
Log.d("
Cities
", "Name " + o.mCityName + " tz " + o.mTimeZone);
WorldClockAdapter.java
68
mCitiesList =
Cities
.readCitiesFromSharedPrefs(prefs).values().toArray();
75
// Read the
cities
DB so that the names and timezones will be taken from the DB
78
CityObj[]
cities
= Utils.loadCitiesDataBase(context);
local
79
if (
cities
!= null) {
80
for (int i = 0; i <
cities
.length; i ++) {
81
mCitiesDb.put(
cities
[i].mCityId,
cities
[i]);
89
* return the list of
cities
.
198
// Index in
cities
list
249
// Home city or city not in DB , use data from the save selected
cities
lis
[
all
...]
/packages/apps/DeskClock/src/com/android/deskclock/
Utils.java
437
String[]
cities
= r.getStringArray(R.array.cities_names);
local
440
if (
cities
.length != timezones.length || ids.length !=
cities
.length) {
444
CityObj[] tempList = new CityObj[
cities
.length];
445
for (int i = 0; i <
cities
.length; i++) {
446
tempList[i] = new CityObj(
cities
[i], timezones[i], ids[i]);
ClockFragment.java
77
// Reloading the
cities
list with new localized names
108
mList = (ListView)v.findViewById(R.id.
cities
);
177
// Resume can invoked after changing the
cities
list or a change in locale
Completed in 188 milliseconds