Home
last modified time | relevance | path

Searched refs:remoteViews (Results 1 – 16 of 16) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/widget/
DWidgetConversationListItemViewBuilder.java87 public void displayFolders(RemoteViews remoteViews) { in displayFolders() argument
94 remoteViews.setViewVisibility(viewId, View.VISIBLE); in displayFolders()
98 remoteViews.setImageViewBitmap(viewId, bitmap); in displayFolders()
106 remoteViews.setViewVisibility(getFolderViewId(i), View.GONE); in displayFolders()
188 final RemoteViews remoteViews = new RemoteViews( in getStyledView() local
190 remoteViews.setTextViewText(R.id.widget_senders, senders); in getStyledView()
191 remoteViews.setTextViewText(R.id.widget_date, dateBuilder); in getStyledView()
192 remoteViews.setTextViewText(R.id.widget_subject, styledSubject); in getStyledView()
193 remoteViews.setTextViewText(R.id.widget_snippet, styledSnippet); in getStyledView()
195 remoteViews.setViewVisibility(R.id.widget_attachment, View.VISIBLE); in getStyledView()
[all …]
DWidgetService.java93 protected void configureValidAccountWidget(Context context, RemoteViews remoteViews, in configureValidAccountWidget() argument
96 configureValidAccountWidget(context, remoteViews, appWidgetId, account, folderType, in configureValidAccountWidget()
104 public static void configureValidAccountWidget(Context context, RemoteViews remoteViews, in configureValidAccountWidget() argument
108 remoteViews.setViewVisibility(R.id.widget_folder, View.VISIBLE); in configureValidAccountWidget()
120 remoteViews.setTextViewText(R.id.widget_folder, folderDisplayName); in configureValidAccountWidget()
123 remoteViews.setViewVisibility(R.id.widget_compose, View.VISIBLE); in configureValidAccountWidget()
124 remoteViews.setViewVisibility(R.id.conversation_list, View.VISIBLE); in configureValidAccountWidget()
125 remoteViews.setViewVisibility(R.id.empty_conversation_list, View.VISIBLE); in configureValidAccountWidget()
126 remoteViews.setViewVisibility(R.id.widget_folder_not_synced, View.GONE); in configureValidAccountWidget()
127 remoteViews.setViewVisibility(R.id.widget_configuration, View.GONE); in configureValidAccountWidget()
[all …]
DBaseWidgetProvider.java340 final RemoteViews remoteViews = new RemoteViews(context.getPackageName(), R.layout.widget); in updateWidgetInternal() local
344 remoteViews.setViewVisibility(R.id.widget_folder, View.GONE); in updateWidgetInternal()
345 remoteViews.setViewVisibility(R.id.widget_compose, View.GONE); in updateWidgetInternal()
346 remoteViews.setViewVisibility(R.id.conversation_list, View.GONE); in updateWidgetInternal()
347 remoteViews.setViewVisibility(R.id.empty_conversation_list, View.GONE); in updateWidgetInternal()
348 remoteViews.setViewVisibility(R.id.widget_folder_not_synced, View.GONE); in updateWidgetInternal()
349 remoteViews.setViewVisibility(R.id.widget_configuration, View.VISIBLE); in updateWidgetInternal()
351 remoteViews.setTextViewText(R.id.empty_conversation_list, in updateWidgetInternal()
360 remoteViews.setOnClickPendingIntent(R.id.widget_configuration, clickIntent); in updateWidgetInternal()
363 configureValidAccountWidget(context, remoteViews, appWidgetId, account, folderType, in updateWidgetInternal()
[all …]
/packages/apps/Messaging/src/com/android/messaging/widget/
DWidgetConversationListService.java104 final RemoteViews remoteViews = new RemoteViews( in getViewAt() local
116 remoteViews.setTextViewText(R.id.date, in getViewAt()
120 remoteViews.setTextViewText(R.id.from, in getViewAt()
124 remoteViews.setViewVisibility(R.id.conversation_notification_bell, in getViewAt()
131 remoteViews.setOnClickFillInIntent(R.id.widget_conversation_list_item, intent); in getViewAt()
149 remoteViews.setViewVisibility(R.id.avatarView, includeAvatar ? in getViewAt()
156 remoteViews.setImageViewBitmap(R.id.avatarView, includeAvatar ? in getViewAt()
166 remoteViews.setViewVisibility(R.id.conversation_failed_status_icon, in getViewAt()
171 remoteViews.setViewVisibility(R.id.snippet, View.GONE); in getViewAt()
172 remoteViews.setViewVisibility(R.id.errorBlock, View.VISIBLE); in getViewAt()
[all …]
DWidgetConversationProvider.java82 final RemoteViews remoteViews = new RemoteViews(context.getPackageName(), in rebuildWidget() local
89 remoteViews.setViewVisibility(R.id.widget_label, View.GONE); in rebuildWidget()
90 remoteViews.setViewVisibility(R.id.message_list, View.GONE); in rebuildWidget()
91 remoteViews.setViewVisibility(R.id.launcher_icon, View.VISIBLE); in rebuildWidget()
92 remoteViews.setViewVisibility(R.id.widget_configuration, View.VISIBLE); in rebuildWidget()
94 remoteViews.setOnClickPendingIntent(R.id.widget_configuration, in rebuildWidget()
99 remoteViews.setOnClickPendingIntent(R.id.widget_header, clickIntent); in rebuildWidget()
106 remoteViews.setViewVisibility(R.id.widget_label, View.VISIBLE); in rebuildWidget()
107 remoteViews.setViewVisibility(R.id.message_list, View.VISIBLE); in rebuildWidget()
108 remoteViews.setViewVisibility(R.id.launcher_icon, View.GONE); in rebuildWidget()
[all …]
DWidgetConversationService.java144 final RemoteViews remoteViews = new RemoteViews( in getViewAt() local
152 remoteViews.setTextViewText(R.id.date, boldifyIfUnread( in getViewAt()
163 remoteViews.setViewVisibility(R.id.attachmentFrame, View.GONE); in getViewAt()
187 remoteViews.setViewVisibility(R.id.attachmentFrame, View.VISIBLE); in getViewAt()
188 remoteViews.setViewVisibility(R.id.playButton, part.isVideo() ? in getViewAt()
190 remoteViews.setImageViewBitmap(R.id.attachment, in getViewAt()
212 remoteViews.setOnClickFillInIntent(message.getIsIncoming() ? in getViewAt()
233 remoteViews.setViewVisibility(R.id.avatarView, includeAvatar ? in getViewAt()
235 remoteViews.setViewVisibility(R.id.avatarShadow, includeAvatar ? in getViewAt()
244 remoteViews.setImageViewBitmap(R.id.avatarView, includeAvatar ? in getViewAt()
[all …]
DBugleWidgetProvider.java71 final RemoteViews remoteViews = new RemoteViews(context.getPackageName(), in rebuildWidget() local
79 remoteViews.setRemoteAdapter(appWidgetId, R.id.conversation_list, intent); in rebuildWidget()
81 remoteViews.setTextViewText(R.id.widget_label, context.getString(R.string.app_name)); in rebuildWidget()
85 remoteViews.setOnClickPendingIntent(R.id.widget_header, clickIntent); in rebuildWidget()
90 remoteViews.setOnClickPendingIntent(R.id.widget_compose, clickIntent); in rebuildWidget()
98 remoteViews.setPendingIntentTemplate(R.id.conversation_list, clickIntent); in rebuildWidget()
100 AppWidgetManager.getInstance(context).updateAppWidget(appWidgetId, remoteViews); in rebuildWidget()
DBaseWidgetFactory.java211 final RemoteViews remoteViews = new RemoteViews(mContext.getPackageName(),
213 mAppWidgetManager.partiallyUpdateAppWidget(mAppWidgetId, remoteViews);
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestNotificationService.java192 private ProgressBar getProgresssBar(RemoteViews remoteViews) { in getProgresssBar() argument
193 if (remoteViews == null) { in getProgresssBar()
197 View view = remoteViews.apply(getBaseContext(), mFrameLayout); in getProgresssBar()
/packages/apps/Launcher3/src/com/android/launcher3/qsb/
DQsbWidgetHostView.java45 public void updateAppWidget(RemoteViews remoteViews) { in updateAppWidget() argument
48 super.updateAppWidget(remoteViews); in updateAppWidget()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DLauncherAppWidgetHostView.java122 public void updateAppWidget(RemoteViews remoteViews) { in updateAppWidget() argument
123 super.updateAppWidget(remoteViews); in updateAppWidget()
DDeferredAppWidgetHostView.java53 public void updateAppWidget(RemoteViews remoteViews) { in updateAppWidget() argument
/packages/services/Car/car-lib/api/released/
D1.txt92 field public static final java.lang.String KEY_REMOTEVIEWS = "android.car.app.menu.remoteViews";
D2.txt92 field public static final java.lang.String KEY_REMOTEVIEWS = "android.car.app.menu.remoteViews";
/packages/services/Car/car-lib/api/system-released/
Dsystem-2.txt204 field public static final java.lang.String KEY_REMOTEVIEWS = "android.car.app.menu.remoteViews";
Dsystem-1.txt199 field public static final java.lang.String KEY_REMOTEVIEWS = "android.car.app.menu.remoteViews";