Home
last modified time | relevance | path

Searched refs:rv (Results 1 – 4 of 4) sorted by relevance

/development/samples/StackWidget/src/com/example/android/stackwidget/
DStackWidgetProvider.java71 RemoteViews rv = new RemoteViews(context.getPackageName(), R.layout.widget_layout); in onUpdate() local
72 rv.setRemoteAdapter(appWidgetIds[i], R.id.stack_view, intent); in onUpdate()
76 rv.setEmptyView(R.id.stack_view, R.id.empty_view); in onUpdate()
88 rv.setPendingIntentTemplate(R.id.stack_view, toastPendingIntent); in onUpdate()
90 appWidgetManager.updateAppWidget(appWidgetIds[i], rv); in onUpdate()
DStackWidgetService.java81 RemoteViews rv = new RemoteViews(mContext.getPackageName(), R.layout.widget_item); in getViewAt() local
82 rv.setTextViewText(R.id.widget_item, mWidgetItems.get(position).text); in getViewAt()
90 rv.setOnClickFillInIntent(R.id.widget_item, fillInIntent); in getViewAt()
104 return rv; in getViewAt()
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
DWeatherWidgetProvider.java153 RemoteViews rv; in buildLayout() local
160 rv = new RemoteViews(context.getPackageName(), R.layout.widget_layout); in buildLayout()
161 rv.setRemoteAdapter(appWidgetId, R.id.weather_list, intent); in buildLayout()
165 rv.setEmptyView(R.id.weather_list, R.id.empty_view); in buildLayout()
176 rv.setPendingIntentTemplate(R.id.weather_list, onClickPendingIntent); in buildLayout()
183 rv.setOnClickPendingIntent(R.id.refresh, refreshPendingIntent); in buildLayout()
186 rv.setTextViewText(R.id.city_name, context.getString(R.string.city_name)); in buildLayout()
188 rv = new RemoteViews(context.getPackageName(), R.layout.widget_layout_small); in buildLayout()
199 rv.setTextViewText(R.id.city_name, header); in buildLayout()
203 return rv; in buildLayout()
DWeatherWidgetService.java86 RemoteViews rv = new RemoteViews(mContext.getPackageName(), itemId); in getViewAt() local
87 rv.setTextViewText(R.id.widget_item, String.format(formatStr, temp, day)); in getViewAt()
94 rv.setOnClickFillInIntent(R.id.widget_item, fillInIntent); in getViewAt()
96 return rv; in getViewAt()