Searched defs:views (Results 1 - 16 of 16) sorted by relevance

/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.java171 /** Instance of helper class for managing views. */
445 // Get the views to bind to.
446 CallLogListItemViews views = CallLogListItemViews.fromView(view);
447 views.primaryActionView.setOnClickListener(mPrimaryActionListener);
448 views.secondaryActionView.setOnClickListener(mSecondaryActionListener);
449 view.setTag(views);
453 * Binds the views in the entry to the data in the call log.
460 final CallLogListItemViews views = (CallLogListItemViews) view.getTag();
466 views.primaryActionView.setVisibility(View.GONE);
467 views
698 setPhoto(CallLogListItemViews views, long photoId, Uri contactUri) argument
[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);
128 views.nameView.setText(nameText);
129 views.numberView.setText(numberText);
165 private void setCallCountAndDate(PhoneCallDetailsViews views, Intege argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/socialwidget/
H A DSocialWidgetProvider.java133 final RemoteViews views = new RemoteViews(context.getPackageName(),
137 setDisplayNameAndSnippet(context, views,
139 setPhoto(views, ContactBadgeUtil.loadDefaultAvatarPhoto(context, false, false));
142 setPhoto(views, photo != null
159 views.setOnClickPendingIntent(R.id.border, pendingIntent);
161 setDisplayNameAndSnippet(context, views, contactData.getDisplayName(),
166 widgetManager.updateAppWidget(widgetId, views);
170 private static void setPhoto(RemoteViews views, Bitmap photo) { argument
171 views.setImageViewBitmap(R.id.image, photo);
177 private static void setDisplayNameAndSnippet(Context context, RemoteViews views, 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/Launcher2/src/com/android/launcher2/
H A DFocusHelper.java573 ArrayList<View> views = new ArrayList<View>();
575 views.add(parent.getChildAt(j));
577 Collections.sort(views, new Comparator<View>() {
587 return views;
595 private static View findIndexOfIcon(ArrayList<View> views, int i, int delta) { argument
597 final int count = views.size();
600 View newV = views.get(newI);
610 final ArrayList<View> views = getCellLayoutChildrenSortedSpatially(layout, parent);
611 return findIndexOfIcon(views, i, delta);
615 final ArrayList<View> views
[all...]
H A DPagedView.java817 public void addFocusables(ArrayList<View> views, int direction, int focusableMode) { argument
819 getPageAt(mCurrentPage).addFocusables(views, direction);
823 getPageAt(mCurrentPage - 1).addFocusables(views, direction);
827 getPageAt(mCurrentPage + 1).addFocusables(views, direction);
833 * If one of our descendant views decides that it could be focused now, only
1699 * This method is called to synchronize the items that are on a particular page. If views on
1740 // Load any pages that are necessary for the current window of views
H A DWorkspace.java542 // TODO: This branch occurs when the workspace is adding views
1363 public void addFocusables(ArrayList<View> views, int direction, int focusableMode) { argument
1367 openFolder.addFocusables(views, direction);
1369 super.addFocusables(views, direction, focusableMode);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DSearchWidgetProvider.java164 RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.search_widget);
166 setOnClickActivityIntent(context, views, R.id.search_icon,
169 setOnClickActivityIntent(context, views, R.id.search_widget_text,
173 setOnClickActivityIntent(context, views, R.id.search_widget_voice_btn,
175 views.setViewVisibility(R.id.search_widget_voice_btn, View.VISIBLE);
177 views.setViewVisibility(R.id.search_widget_voice_btn, View.GONE);
180 appWidgetMgr.updateAppWidget(mAppWidgetId, views);
183 private void setOnClickActivityIntent(Context context, RemoteViews views, int viewId, argument
186 views.setOnClickPendingIntent(viewId, pendingIntent);
/packages/apps/Settings/src/com/android/settings/
H A DDeviceAdminAdd.java262 static void setViewVisibility(ArrayList<View> views, int visibility) { argument
263 final int N = views.size();
265 views.get(i).setVisibility(visibility);
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetService.java191 RemoteViews views = new RemoteViews(mContext.getPackageName(),
193 return views;
204 RemoteViews views = new RemoteViews(mContext.getPackageName(),
208 views.setOnClickFillInIntent(R.id.appwidget_loading, intent);
209 return views;
213 RemoteViews views = new RemoteViews(mContext.getPackageName(),
217 views.setOnClickFillInIntent(R.id.appwidget_no_events, intent);
218 return views;
223 RemoteViews views = new RemoteViews(mContext.getPackageName(),
226 updateTextView(views,
449 updateTextView(RemoteViews views, int id, int visibility, String string) 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 numberLabel) argument
[all...]
/packages/apps/Email/src/com/android/email/widget/
H A DEmailWidget.java199 * @param views The RemoteViews we're inflating
203 private void setActivityIntent(RemoteViews views, int buttonId, Intent intent) { argument
208 views.setOnClickPendingIntent(buttonId, pendingIntent);
215 * @param views the RemoteViews we are inflating
220 private void setFillInIntent(RemoteViews views, int viewId, Uri baseUri, String ... args) { argument
227 views.setOnClickFillInIntent(viewId, intent);
232 * handle intents created by remote views.
273 private void setTextViewTextAndDesc(RemoteViews views, final int id, String text) { argument
274 views.setTextViewText(id, text);
275 views
278 setupTitleAndCount(RemoteViews views) argument
[all...]
/packages/apps/Settings/src/com/android/settings/widget/
H A DSettingsAppWidgetProvider.java190 * Updates the remote views depending on the state (off, on,
193 public final void setImageViewResources(Context context, RemoteViews views) { argument
199 views.setImageViewResource(buttonId, getButtonImageId(false));
200 views.setImageViewResource(
204 views.setImageViewResource(buttonId, getButtonImageId(true));
205 views.setImageViewResource(
215 views.setImageViewResource(buttonId, getButtonImageId(true));
216 views.setImageViewResource(
219 views.setImageViewResource(buttonId, getButtonImageId(false));
220 views
673 updateButtons(RemoteViews views, Context context) argument
[all...]

Completed in 1429 milliseconds