Home
last modified time | relevance | path

Searched refs:formatStr (Results 1 – 2 of 2) sorted by relevance

/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
DWeatherWidgetProvider.java145 final String formatStr = ctx.getResources().getString(R.string.toast_format_string); in onReceive() local
146 Toast.makeText(ctx, String.format(formatStr, day), Toast.LENGTH_SHORT).show(); in onReceive()
196 String formatStr = context.getResources().getString(R.string.header_format_string); in buildLayout() local
197 String header = String.format(formatStr, temp, in buildLayout()
DWeatherWidgetService.java84 final String formatStr = mContext.getResources().getString(R.string.item_format_string); in getViewAt() local
87 rv.setTextViewText(R.id.widget_item, String.format(formatStr, temp, day)); in getViewAt()