Home
last modified time | relevance | path

Searched refs:mCitiesList (Results 1 – 3 of 3) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DWorldClockAdapter.java44 protected Object [] mCitiesList; field in WorldClockAdapter
68 mCitiesList = Cities.readCitiesFromSharedPrefs(prefs).values().toArray(); in loadData()
70 mCitiesList = addHomeCity(); in loadData()
97 Object[] temp = new Object[mCitiesList.length + 1]; in addHomeCity()
99 for (int i = 0; i < mCitiesList.length; i++) { in addHomeCity()
100 temp[i + 1] = mCitiesList[i]; in addHomeCity()
104 return mCitiesList; in addHomeCity()
110 if (needHomeCity() && mCitiesList.length > 0) { in updateHomeLabel()
111 ((CityObj) mCitiesList[0]).mCityName = in updateHomeLabel()
130 return (mCitiesList != null) && mCitiesList.length > 0 in hasHomeCity()
[all …]
DCitiesActivity.java63 private ListView mCitiesList; field in CitiesActivity
222 mCitiesList = (ListView) findViewById(R.id.cities_list); in updateLayout()
223 mCitiesList.setFastScrollAlwaysVisible(true); in updateLayout()
224 mCitiesList.setScrollBarStyle(View.SCROLLBARS_INSIDE_INSET); in updateLayout()
225 mCitiesList.setFastScrollEnabled(true); in updateLayout()
229 mCitiesList.setAdapter(mAdapter); in updateLayout()
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalWidgetViewsFactory.java70 if (index < 0 || index >= mCitiesList.length) { in getViewAt()
78 updateView(views, (CityObj) mCitiesList[index], R.id.leftClock1, R.id.leftClock2, in getViewAt()
83 if (index + 1 < mCitiesList.length) { in getViewAt()
84 updateView(views, (CityObj) mCitiesList[index + 1], R.id.rightClock1, in getViewAt()