Lines Matching refs:remoteViews
36 import android.widget.RemoteViews;
73 protected void configureValidAccountWidget(Context context, RemoteViews remoteViews,
76 configureValidAccountWidget(context, remoteViews, appWidgetId, account, folderType,
84 public static void configureValidAccountWidget(Context context, RemoteViews remoteViews,
88 remoteViews.setViewVisibility(R.id.widget_folder, View.VISIBLE);
100 remoteViews.setTextViewText(R.id.widget_folder, folderDisplayName);
103 remoteViews.setViewVisibility(R.id.widget_compose, View.VISIBLE);
104 remoteViews.setViewVisibility(R.id.conversation_list, View.VISIBLE);
105 remoteViews.setViewVisibility(R.id.empty_conversation_list, View.VISIBLE);
106 remoteViews.setViewVisibility(R.id.widget_folder_not_synced, View.GONE);
107 remoteViews.setViewVisibility(R.id.widget_configuration, View.GONE);
108 remoteViews.setEmptyView(R.id.conversation_list, R.id.empty_conversation_list);
110 WidgetService.configureValidWidgetIntents(context, remoteViews, appWidgetId, account,
115 public static void configureValidWidgetIntents(Context context, RemoteViews remoteViews,
119 remoteViews.setViewVisibility(R.id.widget_configuration, View.GONE);
133 remoteViews.setRemoteAdapter(R.id.conversation_list, intent);
138 remoteViews.setOnClickPendingIntent(R.id.widget_header, clickIntent);
156 remoteViews.setOnClickPendingIntent(R.id.widget_compose, clickIntent);
163 remoteViews.setPendingIntentTemplate(R.id.conversation_list, clickIntent);
388 * @return the {@link RemoteViews} for a specific position in the list.
391 public RemoteViews getViewAt(int position) {
428 RemoteViews remoteViews = mWidgetConversationListItemViewBuilder.getStyledView(
434 remoteViews.setOnClickFillInIntent(R.id.widget_conversation_list_item,
438 return remoteViews;
488 private RemoteViews getViewMoreConversationsView() {
489 RemoteViews view = new RemoteViews(mContext.getPackageName(), R.layout.widget_loading);
498 public RemoteViews getLoadingView() {
499 RemoteViews view = new RemoteViews(mContext.getPackageName(), R.layout.widget_loading);
523 final RemoteViews remoteViews =
524 new RemoteViews(mContext.getPackageName(), R.layout.widget);
552 mService.configureValidAccountWidget(mContext, remoteViews, mAppWidgetId,
555 appWidgetManager.updateAppWidget(mAppWidgetId, remoteViews);
561 remoteViews.setViewVisibility(R.id.widget_folder, View.VISIBLE);
562 remoteViews.setViewVisibility(R.id.widget_compose, View.VISIBLE);
563 remoteViews.setTextViewText(R.id.widget_folder, folderName);
568 appWidgetManager.partiallyUpdateAppWidget(mAppWidgetId, remoteViews);
583 remoteViews.setTextViewText(R.id.empty_conversation_list,
585 appWidgetManager.partiallyUpdateAppWidget(mAppWidgetId, remoteViews);