Lines Matching refs:remoteViews
32 import android.widget.RemoteViews;
203 * @return the {@link RemoteViews} for a specific position in the list.
206 public RemoteViews getViewAt(int position) {
227 RemoteViews remoteViews = new RemoteViews(
231 remoteViews.setViewVisibility(R.id.widget_unread_background, View.VISIBLE);
232 remoteViews.setViewVisibility(R.id.widget_read_background, View.GONE);
234 remoteViews.setViewVisibility(R.id.widget_unread_background, View.GONE);
235 remoteViews.setViewVisibility(R.id.widget_read_background, View.VISIBLE);
238 remoteViews.setViewVisibility(R.id.attachment, hasAttachment ? View.VISIBLE :
242 remoteViews.setTextViewText(R.id.date,
270 remoteViews.setTextViewText(R.id.from, from);
273 remoteViews.setTextViewText(R.id.subject,
283 remoteViews.setOnClickFillInIntent(R.id.widget_conversation, clickIntent);
285 return remoteViews;
293 private RemoteViews getViewMoreConversationsView() {
297 RemoteViews view = new RemoteViews(mContext.getPackageName(), R.layout.widget_loading);
309 public RemoteViews getLoadingView() {
310 RemoteViews view = new RemoteViews(mContext.getPackageName(), R.layout.widget_loading);
335 RemoteViews remoteViews = new RemoteViews(mContext.getPackageName(), R.layout.widget);
337 remoteViews.setViewVisibility(R.id.widget_unread_count, mUnreadConvCount > 0 ?
340 remoteViews.setTextViewText(
344 mAppWidgetManager.partiallyUpdateAppWidget(mAppWidgetId, remoteViews);