/packages/apps/Mms/src/com/android/mms/widget/ |
MmsWidgetProvider.java | 28 import android.widget.RemoteViews; 84 RemoteViews remoteViews = new RemoteViews(context.getPackageName(), R.layout.widget); 91 remoteViews.setRemoteAdapter(appWidgetId, R.id.conversation_list, intent); 93 remoteViews.setTextViewText(R.id.widget_label, context.getString(R.string.app_label)); 99 remoteViews.setOnClickPendingIntent(R.id.widget_header, clickIntent); 106 remoteViews.setOnClickPendingIntent(R.id.widget_compose, clickIntent); 114 remoteViews.setPendingIntentTemplate(R.id.conversation_list, 117 AppWidgetManager.getInstance(context).updateAppWidget(appWidgetId, remoteViews); [all...] |
MmsWidgetService.java | 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) [all...] |
/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...] |
/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;
|
/external/robolectric/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);
|
/external/chromium_org/base/android/java/src/org/chromium/base/ |
ApiCompatibilityUtils.java | 21 import android.widget.RemoteViews; 285 * @see android.widget.RemoteViews#setContentDescription(int, CharSequence) 287 public static void setContentDescriptionForRemoteView(RemoteViews remoteViews, int viewId, 290 remoteViews.setContentDescription(viewId, contentDescription);
|
/frameworks/base/core/java/android/appwidget/ |
AppWidgetHostView.java | 48 import android.widget.RemoteViews; 49 import android.widget.RemoteViews.OnClickHandler; 56 * {@link RemoteViews}. 71 // views that are allowed in RemoteViews. 74 return clazz.isAnnotationPresent(RemoteViews.RemoteView.class); 108 * {@link #updateAppWidget(RemoteViews)}. 123 * Pass the given handler to RemoteViews when updating this widget. Unless this 124 * is done immediatly after construction, a call to {@link #updateAppWidget(RemoteViews)} 335 * Process a set of {@link RemoteViews} coming in as an update from the 338 public void updateAppWidget(RemoteViews remoteViews) [all...] |
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
AppWidgetTest.java | 55 import android.widget.RemoteViews; 733 }).when(secondAppHostViewListener).onUpdateAppWidget(any(RemoteViews.class)); 737 final RemoteViews content = new RemoteViews( [all...] |
/frameworks/base/core/java/android/widget/ |
RemoteViewsAdapter.java | 43 import android.widget.RemoteViews.OnClickHandler; 49 * An adapter to a RemoteViewsService which fetches and caches RemoteViews 86 // 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 298 * @param view the RemoteViews that was loaded. If null, the RemoteViews was not loaded 301 public void onRemoteViewsLoaded(RemoteViews view, OnClickHandler handler) { 307 Log.e(TAG, "Failed to apply RemoteViews."); 314 * adapter that have not yet had their RemoteViews loaded. 349 * the associated RemoteViews has loaded [all...] |
/external/chromium_org/third_party/libaddressinput/src/java/ |
android.jar | |
/external/robolectric/lib/main/ |
android.jar | |
/prebuilts/sdk/10/ |
android.jar | |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |
/prebuilts/sdk/16/ |
android.jar | |
/prebuilts/sdk/17/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/21/ |
android.jar | |
/prebuilts/sdk/4/ |
android.jar | |
/prebuilts/sdk/5/ |
android.jar | |
/prebuilts/sdk/6/ |
android.jar | |