/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
WidgetConversationListItemViewBuilder.java | 31 import android.widget.RemoteViews; 87 public void displayFolders(RemoteViews remoteViews) { 94 remoteViews.setViewVisibility(viewId, View.VISIBLE); 98 remoteViews.setImageViewBitmap(viewId, bitmap); 106 remoteViews.setViewVisibility(getFolderViewId(i), View.GONE); 145 public RemoteViews getStyledView(final Context context, final CharSequence date, 188 final RemoteViews remoteViews = new RemoteViews( [all...] |
WidgetService.java | 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) [all...] |
BaseWidgetProvider.java | 32 import android.widget.RemoteViews; 326 final RemoteViews remoteViews = new RemoteViews(context.getPackageName(), R.layout.widget); 330 remoteViews.setViewVisibility(R.id.widget_folder, View.GONE); 331 remoteViews.setViewVisibility(R.id.widget_compose, View.GONE); 332 remoteViews.setViewVisibility(R.id.conversation_list, View.GONE); 333 remoteViews.setViewVisibility(R.id.empty_conversation_list, View.GONE); 334 remoteViews.setViewVisibility(R.id.widget_folder_not_synced, View.GONE); 335 remoteViews.setViewVisibility(R.id.widget_configuration, View.VISIBLE) [all...] |
/packages/apps/Messaging/src/com/android/messaging/widget/ |
BugleWidgetProvider.java | 24 import android.widget.RemoteViews; 71 final RemoteViews remoteViews = new RemoteViews(context.getPackageName(), 79 remoteViews.setRemoteAdapter(appWidgetId, R.id.conversation_list, intent); 81 remoteViews.setTextViewText(R.id.widget_label, context.getString(R.string.app_name)); 85 remoteViews.setOnClickPendingIntent(R.id.widget_header, clickIntent); 90 remoteViews.setOnClickPendingIntent(R.id.widget_compose, clickIntent); 98 remoteViews.setPendingIntentTemplate(R.id.conversation_list, clickIntent); 100 AppWidgetManager.getInstance(context).updateAppWidget(appWidgetId, remoteViews); [all...] |
WidgetConversationListService.java | 33 import android.widget.RemoteViews; 79 * @return the {@link RemoteViews} for a specific position in the list. 82 public RemoteViews getViewAt(int position) { 104 final RemoteViews remoteViews = new RemoteViews( 116 remoteViews.setTextViewText(R.id.date, 120 remoteViews.setTextViewText(R.id.from, 124 remoteViews.setViewVisibility(R.id.conversation_notification_bell, 131 remoteViews.setOnClickFillInIntent(R.id.widget_conversation_list_item, intent) [all...] |
WidgetConversationProvider.java | 29 import android.widget.RemoteViews; 82 final RemoteViews remoteViews = new RemoteViews(context.getPackageName(), 89 remoteViews.setViewVisibility(R.id.widget_label, View.GONE); 90 remoteViews.setViewVisibility(R.id.message_list, View.GONE); 91 remoteViews.setViewVisibility(R.id.launcher_icon, View.VISIBLE); 92 remoteViews.setViewVisibility(R.id.widget_configuration, View.VISIBLE); 94 remoteViews.setOnClickPendingIntent(R.id.widget_configuration, 99 remoteViews.setOnClickPendingIntent(R.id.widget_header, clickIntent) [all...] |
WidgetConversationService.java | 32 import android.widget.RemoteViews; 121 * @return the {@link RemoteViews} for a specific position in the list. 124 public RemoteViews getViewAt(final int originalPosition) { 144 final RemoteViews remoteViews = new RemoteViews( 152 remoteViews.setTextViewText(R.id.date, boldifyIfUnread( 163 remoteViews.setViewVisibility(R.id.attachmentFrame, View.GONE); 187 remoteViews.setViewVisibility(R.id.attachmentFrame, View.VISIBLE); 188 remoteViews.setViewVisibility(R.id.playButton, part.isVideo() [all...] |
BaseWidgetFactory.java | 30 import android.widget.RemoteViews; 195 abstract protected RemoteViews getViewMoreItemsView(); 211 final RemoteViews remoteViews = new RemoteViews(mContext.getPackageName(), 213 mAppWidgetManager.partiallyUpdateAppWidget(mAppWidgetId, remoteViews);
|
/frameworks/base/core/java/android/widget/ |
RemoteViewsListAdapter.java | 31 private ArrayList<RemoteViews> mRemoteViewsList; 35 public RemoteViewsListAdapter(Context context, ArrayList<RemoteViews> remoteViews, 38 mRemoteViewsList = remoteViews; 43 public void setViewsList(ArrayList<RemoteViews> remoteViews) { 44 mRemoteViewsList = remoteViews; 53 for (RemoteViews rv: mRemoteViewsList) { 87 RemoteViews rv = mRemoteViewsList.get(position);
|
RemoteViewsAdapter.java | 46 import android.widget.RemoteViews.OnClickHandler; 52 * An adapter to a RemoteViewsService which fetches and caches RemoteViews 89 // The set of requested views that are to be notified when the associated RemoteViews are 288 * A FrameLayout which contains a loading view, and manages the re/applying of RemoteViews when 301 * @param view the RemoteViews that was loaded. If null, the RemoteViews was not loaded 304 public void onRemoteViewsLoaded(RemoteViews view, OnClickHandler handler) { 328 * adapter that have not yet had their RemoteViews loaded. 355 * the associated RemoteViews has loaded. 357 public void notifyOnRemoteViewsLoaded(int position, RemoteViews view) [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherAppWidgetHostView.java | 25 import android.widget.RemoteViews; 51 public void updateAppWidget(RemoteViews remoteViews) { 54 super.updateAppWidget(remoteViews);
|
/device/sample/apps/LeanbackWidget/src/com/google/android/leanbacklauncher/partnerwidget/ |
ClockWidgetProvider.java | 11 import android.widget.RemoteViews; 58 private RemoteViews getRemoteViews(Context context) { 59 RemoteViews remoteViews = new RemoteViews(context.getPackageName(), R.layout.clock_widget); 60 remoteViews.setImageViewResource(R.id.connectivity_indicator, getConnectedResId(context)); 62 return remoteViews;
|
/frameworks/base/core/java/android/appwidget/ |
AppWidgetHostView.java | 49 import android.widget.RemoteViews; 50 import android.widget.RemoteViews.OnClickHandler; 59 * {@link RemoteViews}. 74 // views that are allowed in RemoteViews. 77 return clazz.isAnnotationPresent(RemoteViews.RemoteView.class); 114 * {@link #updateAppWidget(RemoteViews)}. 129 * Pass the given handler to RemoteViews when updating this widget. Unless this 130 * is done immediatly after construction, a call to {@link #updateAppWidget(RemoteViews)} 350 * Sets an executor which can be used for asynchronously inflating and applying the remoteviews. 351 * @see {@link RemoteViews#applyAsync(Context, ViewGroup, RemoteViews.OnViewAppliedListener, Executor) [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
AppWidgetManagerTest.java | 9 import android.widget.RemoteViews; 73 appWidgetManager.updateAppWidget(widgetId, new RemoteViews("whatevs", R.layout.main)); 76 appWidgetManager.updateAppWidget(widgetId, new RemoteViews("whatevs", R.layout.media)); 103 RemoteViews remoteViews = new RemoteViews(context.getPackageName(), R.layout.main); 104 remoteViews.setTextViewText(R.id.subtitle, "Hola"); 105 appWidgetManager.updateAppWidget(appWidgetIds, remoteViews);
|
/frameworks/support/customtabs/src/android/support/customtabs/ |
CustomTabsSession.java | 29 import android.widget.RemoteViews; 98 * Updates the {@link RemoteViews} of the secondary toolbar in an existing custom tab session. 99 * @param remoteViews The updated {@link RemoteViews} that will be shown in secondary toolbar. 106 public boolean setSecondaryToolbarViews(@Nullable RemoteViews remoteViews, 109 bundle.putParcelable(CustomTabsIntent.EXTRA_REMOTEVIEWS, remoteViews); 127 * CustomTabsSession#setSecondaryToolbarViews(RemoteViews, int[], PendingIntent)
|
CustomTabsIntent.java | 35 import android.widget.RemoteViews; 183 * Extra that specifies the {@link RemoteViews} showing on the secondary toolbar. If this extra 185 * {@link RemoteViews} should not exceed 56dp. 186 * @see CustomTabsIntent.Builder#setSecondaryToolbarViews(RemoteViews, int[], PendingIntent). 197 * {@link RemoteViews#setOnClickPendingIntent(int, PendingIntent)} instead. 198 * @see CustomTabsIntent.Builder#setSecondaryToolbarViews(RemoteViews, int[], PendingIntent). 210 * @see CustomTabsIntent.Builder#setSecondaryToolbarViews(RemoteViews, int[], PendingIntent). 217 * {@link PendingIntent} sent from Custom Tabs when a view in the {@link RemoteViews} is clicked 218 * @see CustomTabsIntent.Builder#setSecondaryToolbarViews(RemoteViews, int[], PendingIntent). 420 * CustomTabsIntent.Builder#setSecondaryToolbarViews(RemoteViews, int[], PendingIntent) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
NotificationCompat.java | 37 import android.widget.RemoteViews; 93 private static RemoteViews addStyleGetContentViewLollipop( 111 RemoteViews contentViewMedia = NotificationCompatImplBase.overrideContentViewMedia( 131 private static RemoteViews addStyleGetContentViewJellybean( 225 private static RemoteViews addStyleGetContentViewIcs( 232 RemoteViews contentViewMedia = NotificationCompatImplBase.overrideContentViewMedia( 252 RemoteViews innerView = b.getBigContentView() != null 271 private static RemoteViews getDecoratedContentView( 277 RemoteViews remoteViews = NotificationCompatImplBase.applyStandardTemplateWithActions [all...] |
NotificationCompatImplBase.java | 37 import android.widget.RemoteViews; 53 public static <T extends NotificationCompatBase.Action> RemoteViews overrideContentViewMedia( 60 RemoteViews views = generateContentViewMedia(context, contentTitle, contentText, contentInfo, 71 private static <T extends NotificationCompatBase.Action> RemoteViews generateContentViewMedia( 77 RemoteViews view = applyStandardTemplate(context, contentTitle, contentText, contentInfo, 98 final RemoteViews button = generateMediaActionButton(context, action); 129 public static <T extends NotificationCompatBase.Action> RemoteViews generateMediaBigView( 136 RemoteViews big = applyStandardTemplate(context, contentTitle, contentText, contentInfo, 144 final RemoteViews button = generateMediaActionButton(context, actions.get(i)); 159 private static RemoteViews generateMediaActionButton(Context context [all...] |
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/ |
NotificationStudioActivity.java | 43 import android.widget.RemoteViews; 182 private View refreshRemoteViews(ViewGroup parent, RemoteViews remoteViews) { 184 if (remoteViews != null) { 187 View v = remoteViews.apply(this, parent);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherAppWidgetHostView.java | 29 import android.widget.RemoteViews; 74 public void updateAppWidget(RemoteViews remoteViews) { 77 super.updateAppWidget(remoteViews); 285 updateAppWidget(new RemoteViews(getAppWidgetInfo().provider.getPackageName(), 0));
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
AppWidgetTest.java | 55 import android.widget.RemoteViews; 791 }).when(secondAppHostViewListener).onUpdateAppWidget(any(RemoteViews.class)); 795 final RemoteViews content = new RemoteViews( [all...] |
/frameworks/base/core/java/android/app/ |
Notification.java | 66 import android.widget.RemoteViews; 280 public RemoteViews tickerView; 287 * to {@link Notification.Builder}; a custom RemoteViews can optionally be 288 * supplied with {@link Notification.Builder#setCustomContentView(RemoteViews)}. 291 public RemoteViews contentView; 299 * inputs to {@link Notification.Builder}; a custom RemoteViews can optionally be 300 * supplied with {@link Notification.Builder#setCustomBigContentView(RemoteViews)}. 303 public RemoteViews bigContentView; 313 * inputs to {@link Notification.Builder}; a custom RemoteViews can optionally be 314 * supplied with {@link Notification.Builder#setCustomHeadsUpContentView(RemoteViews)} [all...] |
/frameworks/support/samples/SupportLeanbackShowcase/libs/ |
picasso-2.5.2.jar | |
/prebuilts/sdk/current/support/customtabs/libs/ |
android-support-customtabs.jar | |
/external/libgdx/backends/gdx-backend-android/libs/ |
android-4.4.jar | |