/packages/apps/TV/src/com/android/tv/util/ |
H A D | ViewCache.java | 12 * A cache for the views. 42 ArrayList<View> views = mViews.get(resId); 43 if (views == null) { 44 views = new ArrayList(); 45 mViews.put(resId, views); 47 views.add(view); 51 * Stores multi specific views into the view cache. 56 ArrayList<View> views = mViews.get(resId); 57 if (views == null) { 58 views [all...] |
/packages/apps/Music/src/com/android/music/ |
H A D | MediaAppWidgetProvider.java | 68 final RemoteViews views = 71 views.setViewVisibility(R.id.title, View.GONE); 72 views.setTextViewText(R.id.artist, res.getText(R.string.widget_initial_text)); 74 linkButtons(context, views, false /* not playing */); 75 pushUpdate(context, appWidgetIds, views); 78 private void pushUpdate(Context context, int[] appWidgetIds, RemoteViews views) { argument 82 gm.updateAppWidget(appWidgetIds, views); 84 gm.updateAppWidget(new ComponentName(context, this.getClass()), views); 115 final RemoteViews views = 142 views 173 linkButtons(Context context, RemoteViews views, boolean playerActive) argument [all...] |
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
H A D | CallLogAdapter.java | 130 /** Instance of helper class for managing views. */ 714 * Binds the views in the entry to the data in the call log. TODO: This gets called 20-30 times 738 CallLogListItemViewHolder views = (CallLogListItemViewHolder) viewHolder; 739 updateCheckMarkedStatusOfEntry(views); 741 if (views.asyncTask != null) { 742 views.asyncTask.cancel(true); 772 CallLogListItemViewHolder views = (CallLogListItemViewHolder) viewHolder; 773 updateCheckMarkedStatusOfEntry(views); 775 views.isLoaded = false; 778 PhoneCallDetails details = createPhoneCallDetails(c, groupSize, views); 793 updateCheckMarkedStatusOfEntry(CallLogListItemViewHolder views) argument 804 loadAndRender( final CallLogListItemViewHolder views, final long rowId, final PhoneCallDetails details, final CallDetailsEntries callDetailsEntries) argument 929 createPhoneCallDetails( Cursor cursor, int count, final CallLogListItemViewHolder views) argument 1005 loadData(CallLogListItemViewHolder views, long rowId, PhoneCallDetails details) argument 1097 render(CallLogListItemViewHolder views, PhoneCallDetails details, long rowId) argument [all...] |
H A D | CallLogListItemHelper.java | 31 /** Helper class to fill in the views of a call log entry. */ 73 * @param views the views to populate 76 public void setPhoneCallDetails(CallLogListItemViewHolder views, PhoneCallDetails details) { argument 77 mPhoneCallDetailsHelper.setPhoneCallDetails(views.phoneCallDetailsViews, details); 80 views.quickContactView.setContentDescription(getContactBadgeDescription(details)); 83 views.primaryActionView.setContentDescription(details.callDescription); 87 views.nameOrNumber = getNameOrNumber(details); 91 views.callTypeOrLocation = mPhoneCallDetailsHelper.getCallTypeOrLocation(details); 94 views 104 setActionContentDescriptions(CallLogListItemViewHolder views) argument [all...] |
H A D | PhoneCallDetailsHelper.java | 42 /** Helper class to fill in the views in {@link PhoneCallDetailsViews}. */ 74 /** Fills the call details views with content. */ 75 public void setPhoneCallDetails(PhoneCallDetailsViews views, PhoneCallDetails details) { argument 77 views.callTypeIcons.clear(); 81 views.callTypeIcons.add(details.callTypes[index]); 88 views.callTypeIcons.setShowVideo( 90 views.callTypeIcons.setShowHd( 92 views.callTypeIcons.setShowWifi( 94 views.callTypeIcons.requestLayout(); 95 views 347 setDetailText( PhoneCallDetailsViews views, Integer callCount, PhoneCallDetails details) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
H A D | PhotoAppWidgetProvider.java | 66 RemoteViews views = buildWidget(context, id, entry); 67 appWidgetManager.updateAppWidget(id, views); 81 RemoteViews views = new RemoteViews( 92 views.setRemoteAdapter(widgetId, R.id.appwidget_stack_view, intent); 94 views.setEmptyView(R.id.appwidget_stack_view, R.id.appwidget_empty_view); 99 views.setPendingIntentTemplate(R.id.appwidget_stack_view, pendingIntent); 101 return views; 105 RemoteViews views = new RemoteViews( 110 views.setImageViewBitmap(R.id.photo, bitmap); 122 views [all...] |
H A D | WidgetService.java | 121 RemoteViews views = new RemoteViews( 124 views.setImageViewBitmap(R.id.appwidget_photo_item, bitmap); 125 views.setOnClickFillInIntent(R.id.appwidget_photo_item, new Intent() 128 return views;
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
H A D | CalendarAppWidgetService.java | 202 RemoteViews views = new RemoteViews(mContext.getPackageName(), 204 return views; 215 RemoteViews views = new RemoteViews(mContext.getPackageName(), 219 views.setOnClickFillInIntent(R.id.appwidget_loading, intent); 220 return views; 224 RemoteViews views = new RemoteViews(mContext.getPackageName(), 228 views.setOnClickFillInIntent(R.id.appwidget_no_events, intent); 229 return views; 234 RemoteViews views = new RemoteViews(mContext.getPackageName(), 237 updateTextView(views, 462 updateTextView(RemoteViews views, int id, int visibility, String string) argument [all...] |
H A D | CalendarAppWidgetProvider.java | 132 RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.appwidget); 142 views.setTextViewText(R.id.day_of_week, dayOfWeek); 143 views.setTextViewText(R.id.date, date); 145 views.setRemoteAdapter(appWidgetId, R.id.events_list, updateIntent); 156 views.setOnClickPendingIntent(R.id.header, launchCalendarPendingIntent); 162 views.setPendingIntentTemplate(R.id.events_list, updateEventIntent); 164 appWidgetManager.updateAppWidget(appWidgetId, views);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | SettingsAppWidgetProvider.java | 196 * Updates the remote views depending on the state (off, on, 199 public final void setImageViewResources(Context context, RemoteViews views) { argument 206 views.setContentDescription(containerId, 208 views.setImageViewResource(buttonId, getButtonImageId(false)); 209 views.setImageViewResource( 213 views.setContentDescription(containerId, 215 views.setImageViewResource(buttonId, getButtonImageId(true)); 216 views.setImageViewResource( 226 views.setContentDescription(containerId, 228 views 733 updateButtons(RemoteViews views, Context context) argument [all...] |
/packages/apps/Gallery2/src/com/android/photos/ |
H A D | FullscreenViewer.java | 21 import com.android.photos.views.TiledImageView;
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | PhotoAppWidgetBind.java | 69 RemoteViews views = 72 appWidgetManager.updateAppWidget(new int[] { appWidgetId }, views);
|
H A D | PhotoAppWidgetProvider.java | 51 RemoteViews views = buildUpdate(context, appWidgetId, helper); 53 Log.d(TAG, "sending out views=" + views 56 appWidgetManager.updateAppWidget(specificAppWidget, views); 76 RemoteViews views = null; 79 views = new RemoteViews(context.getPackageName(), 81 views.setImageViewBitmap(R.id.photo, bitmap); 83 return views;
|
H A D | PhotoAppWidgetConfigure.java | 85 RemoteViews views = PhotoAppWidgetProvider.buildUpdate(this, 90 views);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | SearchWidgetProvider.java | 163 RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.search_widget); 165 setOnClickActivityIntent(context, views, R.id.search_widget_text, 169 setOnClickActivityIntent(context, views, R.id.search_widget_voice_btn, 171 views.setViewVisibility(R.id.search_widget_voice_btn, View.VISIBLE); 173 views.setViewVisibility(R.id.search_widget_voice_btn, View.GONE); 176 appWidgetMgr.updateAppWidget(mAppWidgetId, views); 179 private void setOnClickActivityIntent(Context context, RemoteViews views, int viewId, argument 182 views.setOnClickPendingIntent(viewId, pendingIntent);
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/ |
H A D | RequestPinItemActivity.java | 97 RemoteViews views = new RemoteViews(getPackageName(), layoutId); 98 views.setInt(android.R.id.icon, "setBackgroundColor", mRemoteViewColor); 100 extras.putParcelable(AppWidgetManager.EXTRA_APPWIDGET_PREVIEW, views);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
H A D | ContactFragment.java | 643 /** Cache of the children views of a row */ 668 ViewCache views; 673 views = (ViewCache) v.getTag(); 679 views = new ViewCache(); 680 views.label = (TextView) v.findViewById(android.R.id.text1); 681 views.data = (TextView) v.findViewById(android.R.id.text2); 682 views.footer = (TextView) v.findViewById(R.id.footer); 683 views.actionIcon = (ImageView) v.findViewById(R.id.action_icon); 684 views.primaryIcon = (ImageView) v.findViewById(R.id.primary_icon); 685 views [all...] |
/packages/apps/Gallery2/src/com/android/photos/views/ |
H A D | SquareImageView.java | 17 package com.android.photos.views;
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
H A D | LandscapeFastScroller.java | 23 import com.android.launcher3.views.RecyclerViewFastScroller;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
H A D | EditorPlaceHolder.java | 64 public void setOldViews(Vector<ImageShow> views) { argument 65 mOldViews = views;
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | ConversationOverlayItem.java | 199 public void registerOnKeyListeners(View... views) { argument 202 for (View v : views) {
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
H A D | GalleryGridAdapter.java | 38 @NonNull private final List<GalleryGridItemView> views = new ArrayList<>(); field in class:GalleryGridAdapter 96 views.add(view); 102 for (GalleryGridItemView view : views) {
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
H A D | LivePreviewWidgetCell.java | 53 * Generates a bitmap by inflating {@param views}. 58 public static Bitmap generateFromRemoteViews(BaseActivity activity, RemoteViews views, argument 67 v = views.apply(activity, new FrameLayout(activity));
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | FocusHelper.java | 572 ArrayList<View> views = new ArrayList<View>(); 574 views.add(parent.getChildAt(j)); 576 Collections.sort(views, new Comparator<View>() { 586 return views; 594 private static View findIndexOfIcon(ArrayList<View> views, int i, int delta) { argument 596 final int count = views.size(); 599 View newV = views.get(newI); 609 final ArrayList<View> views = getCellLayoutChildrenSortedSpatially(layout, parent); 610 return findIndexOfIcon(views, i, delta); 614 final ArrayList<View> views [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
H A D | ButtonPreference.java | 16 package com.android.launcher3.views;
|