Searched refs:views (Results 1 - 25 of 58) sorted by relevance

123

/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DCallLogListItemHelper.java31 * Helper class to fill in the views of a call log entry.
61 * @param views the views to populate
65 CallLogListItemViewHolder views,
67 mPhoneCallDetailsHelper.setPhoneCallDetails(views.phoneCallDetailsViews, details);
70 views.quickContactView.setContentDescription(getContactBadgeDescription(details));
73 views.primaryActionView.setContentDescription(getCallDescription(details));
77 views.nameOrNumber = getNameOrNumber(details);
81 views.callTypeOrLocation = mPhoneCallDetailsHelper.getCallTypeOrLocation(details);
84 views
64 setPhoneCallDetails( CallLogListItemViewHolder views, PhoneCallDetails details) argument
92 setActionContentDescriptions(CallLogListItemViewHolder views) argument
[all...]
H A DPhoneCallDetailsHelper.java46 * Helper class to fill in the views in {@link PhoneCallDetailsViews}.
87 /** Fills the call details views with content. */
88 public void setPhoneCallDetails(PhoneCallDetailsViews views, PhoneCallDetails details) { argument
90 views.callTypeIcons.clear();
94 views.callTypeIcons.add(details.callTypes[index]);
101 views.callTypeIcons.setShowVideo(
103 views.callTypeIcons.requestLayout();
104 views.callTypeIcons.setVisibility(View.VISIBLE);
115 setDetailText(views, callCount, details);
129 views
325 setDetailText(PhoneCallDetailsViews views, Integer callCount, PhoneCallDetails details) argument
[all...]
H A DCallLogAdapter.java147 /** Instance of helper class for managing views. */
236 // function on clicks causes the action views to lose the focus indicator.
441 * Binds the views in the entry to the data in the call log.
550 final CallLogListItemViewHolder views = (CallLogListItemViewHolder) viewHolder;
551 views.info = info;
552 views.rowId = c.getLong(CallLogQuery.ID);
554 views.number = number;
555 views.postDialDigits = details.postDialDigits;
556 views.displayNumber = details.displayNumber;
557 views
[all...]
/packages/apps/Music/src/com/android/music/
H A DMediaAppWidgetProvider.java68 final RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.album_appwidget);
70 views.setViewVisibility(R.id.title, View.GONE);
71 views.setTextViewText(R.id.artist, res.getText(R.string.widget_initial_text));
73 linkButtons(context, views, false /* not playing */);
74 pushUpdate(context, appWidgetIds, views);
77 private void pushUpdate(Context context, int[] appWidgetIds, RemoteViews views) { argument
81 gm.updateAppWidget(appWidgetIds, views);
83 gm.updateAppWidget(new ComponentName(context, this.getClass()), views);
114 final RemoteViews views = new RemoteViews(service.getPackageName(), R.layout.album_appwidget);
141 views
172 linkButtons(Context context, RemoteViews views, boolean playerActive) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
H A DPhotoAppWidgetProvider.java66 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 DWidgetService.java121 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 DCalendarAppWidgetService.java202 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 DCalendarAppWidgetProvider.java132 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/DeskClock/src/com/android/alarmclock/
H A DAnalogAppWidgetProvider.java40 final RemoteViews views = new RemoteViews(packageName, R.layout.analog_appwidget);
45 views.setOnClickPendingIntent(R.id.analog_appwidget, pendingIntent);
48 AppWidgetManager.getInstance(context).updateAppWidget(appWidgetIds, views);
/packages/apps/Settings/src/com/android/settings/widget/
H A DSettingsAppWidgetProvider.java196 * 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
730 updateButtons(RemoteViews views, Context context) argument
[all...]
/packages/apps/Gallery2/src/com/android/photos/
H A DFullscreenViewer.java21 import com.android.photos.views.TiledImageView;
/packages/apps/Gallery/src/com/android/camera/
H A DPhotoAppWidgetBind.java69 RemoteViews views =
72 appWidgetManager.updateAppWidget(new int[] { appWidgetId }, views);
H A DPhotoAppWidgetProvider.java51 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 DPhotoAppWidgetConfigure.java85 RemoteViews views = PhotoAppWidgetProvider.buildUpdate(this,
90 views);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DSearchWidgetProvider.java163 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/experimental/LoaderApp/src/com/android/loaderapp/fragments/
H A DContactFragment.java643 /** 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 DSquareImageView.java17 package com.android.photos.views;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
H A DEditorPlaceHolder.java64 public void setOldViews(Vector<ImageShow> views) { argument
65 mOldViews = views;
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationOverlayItem.java199 public void registerOnKeyListeners(View... views) { argument
202 for (View v : views) {
/packages/apps/Launcher2/src/com/android/launcher2/
H A DFocusHelper.java572 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/Settings/src/com/android/settings/
H A DTrustedCredentialsDialogBuilder.java273 final ArrayList<View> views = new ArrayList<View>();
279 views.add(sslCert.inflateCertificateView(mActivity));
294 for (int i = 0; i < views.size(); i++) {
295 views.get(i).setVisibility(i == position ? View.VISIBLE : View.GONE);
307 for (int i = 0; i < views.size(); ++i) {
308 View certificateView = views.get(i);
/packages/services/Car/car-support-lib/src/android/support/car/app/menu/
H A DCarMenu.java342 public Builder setRemoteViews(RemoteViews views) { argument
343 mBundle.putParcelable(MenuItemConstants.KEY_REMOTEVIEWS, views);
/packages/apps/Gallery2/src/com/android/photos/adapters/
H A DPhotoThumbnailAdapter.java31 import com.android.photos.views.GalleryThumbnailView.GalleryThumbnailAdapter;
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
H A DDrawableTileSource.java27 import com.android.photos.views.TiledImageRenderer;
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DEditorAnimator.java200 * Creates a translation-animation for the given views
202 private static void translateViews(List<Animator> animators, List<View> views, float fromY, argument
204 for (int i = 0; i < views.size(); i++) {
205 final View child = views.get(i);
215 * Traverses up the view hierarchy and returns all views physically below this item.
217 * @return List of views that are below the given view. Empty list if parent of view is null.

Completed in 753 milliseconds

123