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

12

/frameworks/base/core/tests/coretests/src/android/view/
H A DViewGroupChildrenTest.java140 final View[] views = new View[24];
142 for (int i = 0; i < views.length; i++) {
143 views[i] = createView(String.valueOf(i + 1));
144 mGroup.addView(views[i]);
147 for (int i = views.length - 1; i >= 0; i--) {
150 ViewAsserts.assertGroupNotContains(mGroup, views[i]);
151 assertNull(views[i].getParent());
161 final View[] views = new View[24];
163 for (int i = 0; i < views.length; i++) {
164 views[
[all...]
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
H A DTestAppWidgetProvider.java58 RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.test_appwidget);
59 views.setTextViewText(R.id.oh_hai_text, prefix + ": " + SystemClock.elapsedRealtime());
61 gm.updateAppWidget(appWidgetIds, views);
64 "com.android.tests.appwidgethost.TestAppWidgetProvider"), views);
/frameworks/base/tests/appwidgets/AppWidgetProviderTest/src/com/android/tests/appwidgetprovider/
H A DTestAppWidgetProvider.java50 RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.test_appwidget);
51 views.setTextViewText(R.id.oh_hai_text, "hai: " + SystemClock.elapsedRealtime());
53 gm.updateAppWidget(appWidgetIds, views);
56 "com.android.tests.appwidgetprovider.TestAppWidgetProvider"), views);
/frameworks/base/core/java/com/android/internal/appwidget/
H A DIAppWidgetHost.aidl25 void updateAppWidget(int appWidgetId, in RemoteViews views);
H A DIAppWidgetService.aidl45 void updateAppWidgetIds(in int[] appWidgetIds, in RemoteViews views);
48 void partiallyUpdateAppWidgetIds(in int[] appWidgetIds, in RemoteViews views);
49 void updateAppWidgetProvider(in ComponentName provider, in RemoteViews views);
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetManager.java360 * @param views The RemoteViews object to show.
362 public void updateAppWidget(int[] appWidgetIds, RemoteViews views) { argument
364 sService.updateAppWidgetIds(appWidgetIds, views);
428 * @param views The RemoteViews object to show.
430 public void updateAppWidget(int appWidgetId, RemoteViews views) { argument
431 updateAppWidget(new int[] { appWidgetId }, views);
440 * level 17, the new properties set within the views objects will be appended to the cached
456 * @param views The RemoteViews object containing the incremental update / command.
458 public void partiallyUpdateAppWidget(int[] appWidgetIds, RemoteViews views) { argument
460 sService.partiallyUpdateAppWidgetIds(appWidgetIds, views);
490 partiallyUpdateAppWidget(int appWidgetId, RemoteViews views) argument
507 updateAppWidget(ComponentName provider, RemoteViews views) argument
[all...]
H A DAppWidgetHost.java60 public void updateAppWidget(int appWidgetId, RemoteViews views) { argument
61 if (isLocalBinder() && views != null) {
62 views = views.clone();
66 msg.obj = views;
316 RemoteViews views;
318 views = sService.getAppWidgetViews(appWidgetId);
322 view.updateAppWidget(views);
370 void updateAppWidgetView(int appWidgetId, RemoteViews views) { argument
376 v.updateAppWidget(views);
[all...]
H A DAppWidgetHostView.java52 * Provides the glue to show AppWidget views. This class offers automatic animation
53 * between updates, and will try recycling old views for each incoming
69 // views that are allowed in RemoteViews.
335 * AppWidget provider. Will animate into these new views as needed
438 * set of {@link RemoteViews} views.
461 private Context getRemoteContext(RemoteViews views) { argument
463 final String packageName = views.getPackage();
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DAdjacentListsWithAdjacentISVsInside.java85 private static View combineAdjacent(View... views) { argument
86 if (views.length < 2) {
87 throw new IllegalArgumentException("you should pass at least 2 views in");
90 final LinearLayout ll = new LinearLayout(views[0].getContext());
95 for (View view : views) {
/frameworks/base/core/java/android/widget/
H A DSuggestionsAdapter.java288 * Cache of the child views of drop-drown list items, to avoid looking up the children
309 ChildViewCache views = (ChildViewCache) view.getTag();
315 if (views.mText1 != null) {
317 setViewText(views.mText1, text1);
319 if (views.mText2 != null) {
331 if (views.mText1 != null) {
332 views.mText1.setSingleLine(false);
333 views.mText1.setMaxLines(2);
336 if (views.mText1 != null) {
337 views
[all...]
H A DRelativeLayout.java248 * Describes how the child views are positioned.
262 * Describes how the child views are positioned. Defaults to
417 View[] views = mSortedHorizontalChildren;
418 int count = views.length;
420 View child = views[i];
432 views = mSortedVerticalChildren;
433 count = views.length;
436 View child = views[i];
1052 * Compares two views in left-to-right and top-to-bottom fashion.
1414 * List of all views i
[all...]
H A DAbsListView.java186 * the views from there. The top is specified by mSpecificTop.
305 * The data set used to store unused views that should be reused during the next layout
1108 * on all visible item views. This should only be called when a valid
3856 public void addTouchables(ArrayList<View> views) { argument
3868 views.add(child);
3870 child.addTouchables(views);
4432 // No new views, let things keep going.
4465 // No new views, let things keep going.
4491 // No new views, let things keep going.
4522 // No new views, le
5825 reclaimViews(List<View> views) argument
6462 reclaimScrapViews(List<View> views) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DDelegateViewHelper.java109 * Selects the initial touch region based on a list of views. This is meant to be called by
111 * will compute a minimum bound that contains all specified views.
113 * @param views
115 public void setInitialTouchRegion(View ... views) { argument
118 for (int i = 0; i < views.length; i++) {
119 View view = views[i];
/frameworks/ex/photoviewer/src/com/android/ex/photo/views/
H A DProgressBarWrapper.java18 package com.android.ex.photo.views;
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DProgressBarWrapper.java18 package com.android.ex.photo.views;
/frameworks/base/services/java/com/android/server/
H A DAppWidgetService.java283 public void partiallyUpdateAppWidgetIds(int[] appWidgetIds, RemoteViews views) argument
286 appWidgetIds, views);
301 public void updateAppWidgetIds(int[] appWidgetIds, RemoteViews views) throws RemoteException { argument
302 getImplForUser(getCallingOrCurrentUserId()).updateAppWidgetIds(appWidgetIds, views);
306 public void updateAppWidgetProvider(ComponentName provider, RemoteViews views) argument
308 getImplForUser(getCallingOrCurrentUserId()).updateAppWidgetProvider(provider, views);
H A DAppWidgetServiceImpl.java121 RemoteViews views; field in class:AppWidgetServiceImpl.AppWidgetId
360 if (id.views != null) {
361 pw.print(" views="); pw.println(id.views);
844 return cloneIfLocalBinder(id.views);
866 public void updateAppWidgetIds(int[] appWidgetIds, RemoteViews views) { argument
870 if (DBG) log("updateAppWidgetIds views: " + views);
872 if (views != null) {
873 bitmapMemoryUsage = views
932 partiallyUpdateAppWidgetIds(int[] appWidgetIds, RemoteViews views) argument
971 updateAppWidgetProvider(ComponentName provider, RemoteViews views) argument
991 updateAppWidgetInstanceLocked(AppWidgetId id, RemoteViews views) argument
995 updateAppWidgetInstanceLocked(AppWidgetId id, RemoteViews views, boolean isPartialUpdate) argument
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DNotificationCompat.java319 public Builder setContent(RemoteViews views) { argument
320 mNotification.contentView = views;
327 * views to be launched when clicked by calling {@link RemoteViews#setOnClickPendingIntent
382 public Builder setTicker(CharSequence tickerText, RemoteViews views) { argument
384 mTickerView = views;
/frameworks/base/core/java/com/android/internal/app/
H A DAlertController.java629 * on how many views they are and where they appear.
632 View[] views = new View[4];
639 views[pos] = topPanel;
649 views[pos] = (contentPanel.getVisibility() == View.GONE)
654 views[pos] = customPanel;
659 views[pos] = buttonPanel;
664 for (pos=0; pos<views.length; pos++) {
665 View v = views[pos];
/frameworks/ex/photoviewer/src/com/android/ex/photo/fragments/
H A DPhotoViewFragment.java48 import com.android.ex.photo.views.PhotoView;
49 import com.android.ex.photo.views.ProgressBarWrapper;
228 // Clean up views and other components
360 * Reset the views to their default states
406 * Sets full-screen mode for the views.
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
H A DPhotoViewFragment.java48 import com.android.ex.photo.views.PhotoView;
49 import com.android.ex.photo.views.ProgressBarWrapper;
235 // Clean up views and other components
361 * Reset the views to their default states
407 * Sets full-screen mode for the views.
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java305 * to the page views using animation properties.
331 * Used internally to tag special types of child views that should be added as
398 * Set a PagerAdapter that will supply views for this pager as needed.
574 * @param reverseDrawingOrder true if the supplied PageTransformer requires page views
896 // on creating views from the time the user releases their finger to
1297 // adding and removing different arbitrary views and do not
1311 * Make sure all children have been properly measured. Decor views first.
1313 * views won't intersect. We will pin to edges based on gravity.
1369 // Page views next.
1441 // First pass - decor views
2509 addFocusables(ArrayList<View> views, int direction, int focusableMode) argument
2553 addTouchables(ArrayList<View> views) argument
[all...]
/frameworks/base/core/java/android/app/
H A DNotification.java917 * content views using the platform's notification layout template. If your app supports
1137 public Builder setContent(RemoteViews views) { argument
1138 mContentView = views;
1148 * to assign PendingIntents to individual views in that custom layout (i.e., to create
1208 public Builder setTicker(CharSequence tickerText, RemoteViews views) { argument
1210 mTickerView = views;
/frameworks/base/core/java/android/animation/
H A DLayoutTransition.java44 * "disappearing"). Setting the visibility of views (between GONE and VISIBLE) will trigger
700 * This function sets up animations on all of the views that change during layout.
703 * target view. We add layout listeners to all child views and listen for changes. For
704 * those views that change, we populate the end values for those animations and start them.
705 * Animations are not run on unchanging views.
758 // only animate the views not being added or removed
786 Collection<View> views = layoutChangeListenerMap.keySet();
787 for (View view : views) {
801 * containers of transitioning views to also transition, which may be necessary in situations
807 * target views
[all...]
/frameworks/base/core/java/android/view/
H A DViewGroup.java55 * A <code>ViewGroup</code> is a special view that can contain other views
56 * (called children.) The view group is the base class for layouts and views
321 * to children when adding new views. This is used to prevent multiple
385 // Child views of this ViewGroup
400 // Used to draw cached views
406 // The set of views that are currently being transitioned. This list is used to track views
412 // views during a transition when they otherwise would have become gone/invisible
865 public void addFocusables(ArrayList<View> views, int direction, int focusableMode) { argument
866 final int focusableCount = views
942 addTouchables(ArrayList<View> views) argument
[all...]

Completed in 391 milliseconds

12