Searched defs:views (Results 1 - 25 of 26) 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/Gallery2/src/com/android/photos/views/
H A DSquareImageView.java17 package com.android.photos.views;
H A DHeaderGridView.java17 package com.android.photos.views;
94 * called more than once, the views will appear in the order they were
98 * the supplied cursor with one that will also account for header views.
130 * called more than once, the views will appear in the order they were
134 * the supplied cursor with one that will also account for header views.
208 * ListAdapter used when a HeaderGridView has header views. This ListAdapter
209 * wraps another one and also keeps track of the header views and their
H A DTiledImageView.java17 package com.android.photos.views;
32 import com.android.photos.views.TiledImageRenderer.TileSource;
H A DBlockingGLTextureView.java17 package com.android.photos.views;
H A DGalleryThumbnailView.java17 package com.android.photos.views;
235 * @return Number of views added
433 * Important: this method will leave offscreen views attached if they
444 // There may be other offscreen views, but we need to maintain
461 // There may be other offscreen views, but we need to maintain
648 // and onscreen views if they have changed instead of removing all of the state here.
667 // Clear all layout records and views
H A DTiledImageRenderer.java17 package com.android.photos.views;
/packages/apps/Dialer/src/com/android/dialer/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/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/Dialer/src/com/android/dialer/
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);
119 views.nameView.setTextDirection(View.TEXT_DIRECTION_LTR);
125 views.numberView.setTextDirection(View.TEXT_DIRECTION_LTR);
128 views
168 setCallCountAndDate(PhoneCallDetailsViews views, Integer callCount, CharSequence dateText, Integer highlightColor) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
H A DEditorPlaceHolder.java70 public void setOldViews(Vector<ImageShow> views) { argument
71 mOldViews = views;
/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/Contacts/src/com/android/contacts/editor/
H A DEditorAnimator.java219 * Creates a translation-animation for the given views
221 private static void translateViews(List<Animator> animators, List<View> views, float fromY, argument
223 for (int i = 0; i < views.size(); i++) {
224 final View child = views.get(i);
234 * Traverses up the view hierarchy and returns all views physically below this item.
236 * @return List of views that are below the given view. Empty list if parent of view is null.
/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...]
H A DPagedView.java903 public void addFocusables(ArrayList<View> views, int direction, int focusableMode) { argument
906 getPageAt(mCurrentPage).addFocusables(views, direction, focusableMode);
910 getPageAt(mCurrentPage - 1).addFocusables(views, direction, focusableMode);
914 getPageAt(mCurrentPage + 1).addFocusables(views, direction, focusableMode);
920 * If one of our descendant views decides that it could be focused now, only
1729 * This method is called to synchronize the items that are on a particular page. If views on
1770 // Load any pages that are necessary for the current window of views
H A DCellLayout.java1507 * @param direction The favored direction in which the views should move from x, y
1512 * cellY, spanX, spanY) are occupied. This is used when try to move a group of views.
1589 * This helper class defines a cluster of views. It helps with defining complex edges
1590 * of the cluster and determining how those edges interact with other views. The edges
1591 * essentially define a fine-grained boundary around the cluster of views -- like a more
1600 ArrayList<View> views; field in class:CellLayout.ViewCluster
1611 public ViewCluster(ArrayList<View> views, ItemConfiguration config) { argument
1612 this.views = (ArrayList<View>) views.clone();
1634 int count = views
1823 pushViewsToTempLocation(ArrayList<View> views, Rect rectOccupiedByPotentialDrop, int[] direction, View dragView, ItemConfiguration currentState) argument
1918 addViewsToTempLocation(ArrayList<View> views, Rect rectOccupiedByPotentialDrop, int[] direction, View dragView, ItemConfiguration currentState) argument
[all...]
/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/Settings/src/com/android/settings/
H A DDeviceAdminAdd.java298 static void setViewVisibility(ArrayList<View> views, int visibility) { argument
299 final int N = views.size();
301 views.get(i).setVisibility(visibility);
/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...]
/packages/apps/Dialer/tests/src/com/android/dialer/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/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/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
701 updateButtons(RemoteViews views, Context context) argument
[all...]
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DPhotoTable.java495 public View doInBackground(View... views) { argument
498 mParent = views[0];

Completed in 562 milliseconds

12