Home
last modified time | relevance | path

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

/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
DWeatherWidgetProvider.java98 r.registerContentObserver(WeatherDataProvider.CONTENT_URI, true, sDataObserver); in onEnabled()
116 final Cursor c = r.query(WeatherDataProvider.CONTENT_URI, null, null, null, in onReceive()
124 … final Uri uri = ContentUris.withAppendedId(WeatherDataProvider.CONTENT_URI, i); in onReceive()
126 values.put(WeatherDataProvider.Columns.TEMPERATURE, in onReceive()
130 r.registerContentObserver(WeatherDataProvider.CONTENT_URI, true, sDataObserver); in onReceive()
191 Cursor c = context.getContentResolver().query(WeatherDataProvider.CONTENT_URI, null, in buildLayout()
194 int tempColIndex = c.getColumnIndex(WeatherDataProvider.Columns.TEMPERATURE); in buildLayout()
DWeatherWidgetService.java76 final int dayColIndex = mCursor.getColumnIndex(WeatherDataProvider.Columns.DAY); in getViewAt()
78 WeatherDataProvider.Columns.TEMPERATURE); in getViewAt()
121 mCursor = mContext.getContentResolver().query(WeatherDataProvider.CONTENT_URI, null, null, in onDataSetChanged()
DWeatherDataProvider.java51 public class WeatherDataProvider extends ContentProvider { class