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

12

/packages/apps/Mms/src/org/w3c/dom/views/
H A DAbstractView.java13 package org.w3c.dom.views;
16 * A base interface that all views shall derive from.
H A DDocumentView.java13 package org.w3c.dom.views;
/packages/apps/Contacts/src/com/android/contacts/calllog/
H A DCallLogListItemHelper.java29 * Helper class to fill in the views of a call log entry.
55 * @param views the views to populate
59 public void setPhoneCallDetails(CallLogListItemViews views, PhoneCallDetails details, argument
61 mPhoneCallDetailsHelper.setPhoneCallDetails(views.phoneCallDetailsViews, details,
68 configurePlaySecondaryAction(views, isHighlighted);
69 views.dividerView.setVisibility(View.VISIBLE);
72 configureCallSecondaryAction(views, details);
73 views.dividerView.setVisibility(View.VISIBLE);
76 views
82 configureCallSecondaryAction(CallLogListItemViews views, PhoneCallDetails details) argument
102 configurePlaySecondaryAction(CallLogListItemViews views, boolean isHighlighted) argument
[all...]
H A DCallLogAdapter.java168 /** Instance of helper class for managing views. */
487 // Get the views to bind to.
488 CallLogListItemViews views = CallLogListItemViews.fromView(view);
489 views.primaryActionView.setOnClickListener(mPrimaryActionListener);
490 views.secondaryActionView.setOnClickListener(mSecondaryActionListener);
491 view.setTag(views);
495 * Binds the views in the entry to the data in the call log.
502 final CallLogListItemViews views = (CallLogListItemViews) view.getTag();
508 views.primaryActionView.setVisibility(View.GONE);
509 views
737 setPhoto(CallLogListItemViews views, long photoId, Uri contactUri) argument
[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/DeskClock/src/com/android/alarmclock/
H A DAnalogAppWidgetProvider.java40 RemoteViews views = new RemoteViews(context.getPackageName(),
43 views.setOnClickPendingIntent(R.id.analog_appwidget,
51 gm.updateAppWidget(appWidgetIds, views);
/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.java156 RemoteViews views = new RemoteViews(
159 views.setImageViewBitmap(R.id.appwidget_photo_item, bitmap);
160 views.setOnClickFillInIntent(R.id.appwidget_photo_item, new Intent()
163 return views;
/packages/apps/Email/src/com/android/email/widget/
H A DEmailWidget.java203 * @param views The RemoteViews we're inflating
207 private void setActivityIntent(RemoteViews views, int buttonId, Intent intent) { argument
212 views.setOnClickPendingIntent(buttonId, pendingIntent);
219 * @param views the RemoteViews we are inflating
224 private void setFillInIntent(RemoteViews views, int viewId, Uri baseUri, String messageId, argument
236 views.setOnClickFillInIntent(viewId, intent);
246 private void setTextViewTextAndDesc(RemoteViews views, final int id, String text) { argument
247 views.setTextViewText(id, text);
248 views.setContentDescription(id, text);
251 private void setupTitleAndCount(RemoteViews views) { argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetService.java201 RemoteViews views = new RemoteViews(mContext.getPackageName(),
203 return views;
214 RemoteViews views = new RemoteViews(mContext.getPackageName(),
218 views.setOnClickFillInIntent(R.id.appwidget_loading, intent);
219 return views;
223 RemoteViews views = new RemoteViews(mContext.getPackageName(),
227 views.setOnClickFillInIntent(R.id.appwidget_no_events, intent);
228 return views;
233 RemoteViews views = new RemoteViews(mContext.getPackageName(),
236 updateTextView(views,
461 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/Mms/src/org/w3c/dom/smil/
H A DTimeEvent.java16 import org.w3c.dom.views.AbstractView;
/packages/apps/Contacts/src/com/android/contacts/socialwidget/
H A DSocialWidgetProvider.java134 final RemoteViews views = new RemoteViews(context.getPackageName(),
138 setDisplayNameAndSnippet(context, views,
140 setPhoto(views, ContactBadgeUtil.loadDefaultAvatarPhoto(context, false, false));
143 setPhoto(views, photo != null
153 views.setOnClickPendingIntent(R.id.border, pendingIntent);
155 setDisplayNameAndSnippet(context, views, contactData.getDisplayName(),
160 widgetManager.updateAppWidget(widgetId, views);
164 private static void setPhoto(RemoteViews views, Bitmap photo) { argument
165 views.setImageViewBitmap(R.id.image, photo);
171 private static void setDisplayNameAndSnippet(Context context, RemoteViews views, argument
[all...]
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/
H A DCallLogFragmentTest.java98 // The list of views representing the data in the DB. View are in
137 * Use 2 passes, one where new views are created and one where
138 * half of the total views are updated and the other half created.
154 // views around so they get updated and not built from
201 CallLogListItemViews views = (CallLogListItemViews) view.getTag();
202 assertNameIs(views, TEST_NUMBER);
214 CallLogListItemViews views = (CallLogListItemViews) view.getTag();
215 assertNameIs(views, TEST_FORMATTED_NUMBER);
226 CallLogListItemViews views = (CallLogListItemViews) view.getTag();
227 assertNameIs(views, "Joh
615 assertNameIs(CallLogListItemViews views, String name) argument
621 assertNumberAndLabelAre(CallLogListItemViews views, CharSequence number, CharSequence label) argument
[all...]
/packages/apps/Browser/src/com/android/browser/widget/
H A DBookmarkThumbnailWidgetProvider.java91 RemoteViews views = new RemoteViews(context.getPackageName(),
93 views.setOnClickPendingIntent(R.id.app_shortcut, launchBrowser);
94 views.setRemoteAdapter(R.id.bookmarks_list, updateIntent);
97 views.setPendingIntentTemplate(R.id.bookmarks_list,
100 appWidgetManager.updateAppWidget(appWidgetId, views);
H A DBookmarkThumbnailWidgetService.java226 RemoteViews views;
229 views = new RemoteViews(mContext.getPackageName(),
232 views = new RemoteViews(mContext.getPackageName(),
241 views.setTextViewText(R.id.label, displayTitle);
245 views.setImageViewResource(R.id.thumb, R.drawable.thumb_bookmark_widget_folder_back_holo);
247 views.setImageViewResource(R.id.thumb, R.drawable.thumb_bookmark_widget_folder_holo);
249 views.setImageViewResource(R.id.favicon, R.drawable.ic_bookmark_widget_bookmark_holo_dark);
250 views.setDrawableParameters(R.id.thumb, true, 0, -1, null, -1);
257 views.setDrawableParameters(R.id.thumb, true, 255, -1, null, -1);
261 views
[all...]
/packages/apps/Contacts/src/com/android/contacts/
H A DPhoneCallDetailsHelper.java37 * Helper class to fill in the views in {@link PhoneCallDetailsViews}.
64 /** Fills the call details views with content. */
65 public void setPhoneCallDetails(PhoneCallDetailsViews views, PhoneCallDetails details, argument
68 views.callTypeIcons.clear();
71 views.callTypeIcons.add(details.callTypes[index]);
73 views.callTypeIcons.setVisibility(View.VISIBLE);
94 setCallCountAndDate(views, callCount, dateText, highlightColor);
124 views.nameView.setText(nameText);
125 views.numberView.setText(numberText);
126 views
164 setCallCountAndDate(PhoneCallDetailsViews views, Integer callCount, CharSequence dateText, Integer highlightColor) argument
[all...]
/packages/apps/Settings/src/com/android/settings/widget/
H A DSettingsAppWidgetProvider.java195 * Updates the remote views depending on the state (off, on,
198 public final void setImageViewResources(Context context, RemoteViews views) { argument
205 views.setContentDescription(containerId,
207 views.setImageViewResource(buttonId, getButtonImageId(false));
208 views.setImageViewResource(
212 views.setContentDescription(containerId,
214 views.setImageViewResource(buttonId, getButtonImageId(true));
215 views.setImageViewResource(
225 views.setContentDescription(containerId,
227 views
694 updateButtons(RemoteViews views, Context context) argument
[all...]
/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/apps/Contacts/tests/src/com/android/contacts/
H A DCallDetailActivityTest.java130 // Before the fix, this was failing reproducibly with at least 3 "Buffering" views.
200 List<TextView> views = mTestUtils.getTextViewsWithString(mActivityUnderTest, "00:00");
201 assertEquals(1, views.size());
202 TextView timeDisplay = views.get(0);
310 List<TextView> views = mTestUtils.getTextViewsWithString(mActivityUnderTest, text);
312 + views, 1, views.size());
313 return views.get(0);
318 List<TextView> views = mTestUtils.getTextViewsWithString(mActivityUnderTest, text);
320 + views,
[all...]
/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/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...]

Completed in 385 milliseconds

12