OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Cities
(Results
1 - 5
of
5
) 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);
CitiesActivity.java
64
*
Cities
chooser for the world clock
102
* Adapter for a list of
cities
with the respected time zone. The Adapter
118
// A map that caches names of
cities
in local memory. The names in this map are
119
// preferred over the names of the selected
cities
stored in SharedPreferences, which could
152
// If the search query is empty, add in the selected
cities
253
// Load the
cities
from xml.
257
// selected language for use with selected
cities
.
263
// Re-organize the selected
cities
into an array.
342
// Header view: A CityObj with nothing but the "selected
cities
" label
480
mUserSelectedCities =
Cities
.readCitiesFromSharedPrefs
[
all
...]
WorldClockAdapter.java
70
mCitiesList =
Cities
.readCitiesFromSharedPrefs(prefs).values().toArray();
77
// Read the
cities
DB so that the names and timezones will be taken from the DB
80
CityObj[]
cities
= Utils.loadCitiesFromXml(context);
local
81
if (
cities
!= null) {
82
for (int i = 0; i <
cities
.length; i ++) {
83
mCitiesDb.put(
cities
[i].mCityId,
cities
[i]);
91
* return the list of
cities
.
205
// Index in
cities
list
238
// Home city or city not in DB , use data from the save selected
cities
lis
[
all
...]
/packages/apps/DeskClock/src/com/android/alarmclock/
DigitalAppWidgetProvider.java
40
import com.android.deskclock.worldclock.
Cities
;
120
} else if (
Cities
.WORLDCLOCK_UPDATE_INTENT.equals(action)) {
121
// Refresh the world
cities
list
187
// Set up the click on any world clock to start the
Cities
Activity
/packages/apps/DeskClock/src/com/android/deskclock/
SettingsActivity.java
34
import com.android.deskclock.worldclock.
Cities
;
201
Intent i = new Intent(
Cities
.WORLDCLOCK_UPDATE_INTENT);
Completed in 112 milliseconds