Lines Matching refs:remoteViews
31 import android.widget.RemoteViews;
87 public void displayFolders(RemoteViews remoteViews) {
94 remoteViews.setViewVisibility(viewId, View.VISIBLE);
97 remoteViews.setImageViewBitmap(viewId, bitmap);
105 remoteViews.setViewVisibility(getFolderViewId(i), View.GONE);
144 public RemoteViews getStyledView(final Context context, final CharSequence date,
183 final RemoteViews remoteViews = new RemoteViews(
185 remoteViews.setTextViewText(R.id.widget_senders, senders);
186 remoteViews.setTextViewText(R.id.widget_date, styledDate);
187 remoteViews.setTextViewText(R.id.widget_subject, styledSubject);
188 remoteViews.setTextViewText(R.id.widget_snippet, styledSnippet);
190 remoteViews.setViewVisibility(R.id.widget_attachment, View.VISIBLE);
191 remoteViews.setImageViewBitmap(R.id.widget_attachment, paperclipBitmap);
193 remoteViews.setViewVisibility(R.id.widget_attachment, View.GONE);
196 remoteViews.setViewVisibility(R.id.widget_unread_background, View.VISIBLE);
197 remoteViews.setViewVisibility(R.id.widget_read_background, View.GONE);
199 remoteViews.setViewVisibility(R.id.widget_unread_background, View.GONE);
200 remoteViews.setViewVisibility(R.id.widget_read_background, View.VISIBLE);
205 mFolderDisplayer.displayFolders(remoteViews);
208 return remoteViews;