Home
last modified time | relevance | path

Searched refs:rv (Results 1 – 6 of 6) 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()
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/
DRecyclerViewActivity.java45 final RecyclerView rv = new RecyclerView(this); in onCreate() local
46 rv.setLayoutManager(new MyLayoutManager(this)); in onCreate()
47 rv.setHasFixedSize(true); in onCreate()
48 rv.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
50 rv.setAdapter(new SimpleStringAdapter(this, Cheeses.sCheeseStrings) { in onCreate()
71 rv.addItemDecoration(new DividerItemDecoration(this, DividerItemDecoration.VERTICAL_LIST)); in onCreate()
72 setContentView(rv); in onCreate()
73 mRecyclerView = rv; in onCreate()
/development/ndk/platforms/android-21/include/linux/
Ddlm_plock.h45 __s32 rv; member