/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | ViewGroupChildrenTest.java | 140 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 D | TestAppWidgetProvider.java | 58 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 D | TestAppWidgetProvider.java | 50 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 D | IAppWidgetHost.aidl | 25 void updateAppWidget(int appWidgetId, in RemoteViews views);
|
H A D | IAppWidgetService.aidl | 49 void updateAppWidgetIds(in int[] appWidgetIds, in RemoteViews views); 52 void partiallyUpdateAppWidgetIds(in int[] appWidgetIds, in RemoteViews views); 53 void updateAppWidgetProvider(in ComponentName provider, in RemoteViews views);
|
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetManager.java | 361 * @param views The RemoteViews object to show. 363 public void updateAppWidget(int[] appWidgetIds, RemoteViews views) { argument 365 sService.updateAppWidgetIds(appWidgetIds, views); 429 * @param views The RemoteViews object to show. 431 public void updateAppWidget(int appWidgetId, RemoteViews views) { argument 432 updateAppWidget(new int[] { appWidgetId }, views); 441 * level 17, the new properties set within the views objects will be appended to the cached 457 * @param views The RemoteViews object containing the incremental update / command. 459 public void partiallyUpdateAppWidget(int[] appWidgetIds, RemoteViews views) { argument 461 sService.partiallyUpdateAppWidgetIds(appWidgetIds, views); 491 partiallyUpdateAppWidget(int appWidgetId, RemoteViews views) argument 508 updateAppWidget(ComponentName provider, RemoteViews views) argument [all...] |
H A D | AppWidgetHost.java | 60 public void updateAppWidget(int appWidgetId, RemoteViews views) { argument 61 if (isLocalBinder() && views != null) { 62 views = views.clone(); 63 views.setUser(mUser); 67 msg.obj = views; 223 // Also clear the views 371 RemoteViews views; 373 views = sService.getAppWidgetViews(appWidgetId); 374 if (views ! 428 updateAppWidgetView(int appWidgetId, RemoteViews views) argument [all...] |
H A D | AppWidgetHostView.java | 54 * Provides the glue to show AppWidget views. This class offers automatic animation 55 * between updates, and will try recycling old views for each incoming 71 // views that are allowed in RemoteViews. 343 * AppWidget provider. Will animate into these new views as needed 446 * set of {@link RemoteViews} views. 469 private Context getRemoteContext(RemoteViews views) { argument 471 final String packageName = views.getPackage();
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | AdjacentListsWithAdjacentISVsInside.java | 85 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 D | SuggestionsAdapter.java | 288 * 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 D | RelativeLayout.java | 248 * 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; 425 View child = views[i]; 456 View child = views[i]; 468 views = mSortedVerticalChildren; 469 count = views.length; 472 View child = views[i]; 1088 * Compares two views i [all...] |
H A D | AbsListView.java | 186 * 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 D | DelegateViewHelper.java | 109 * 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 D | ProgressBarWrapper.java | 18 package com.android.ex.photo.views;
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
H A D | ProgressBarWrapper.java | 18 package com.android.ex.photo.views;
|
/frameworks/base/services/java/com/android/server/ |
H A D | AppWidgetService.java | 313 public void partiallyUpdateAppWidgetIds(int[] appWidgetIds, RemoteViews views) argument 316 appWidgetIds, views); 347 public void updateAppWidgetIds(int[] appWidgetIds, RemoteViews views) throws RemoteException { argument 348 getImplForUser(getCallingOrCurrentUserId()).updateAppWidgetIds(appWidgetIds, views); 352 public void updateAppWidgetProvider(ComponentName provider, RemoteViews views) argument 354 getImplForUser(getCallingOrCurrentUserId()).updateAppWidgetProvider(provider, views);
|
H A D | AppWidgetServiceImpl.java | 133 RemoteViews views; field in class:AppWidgetServiceImpl.AppWidgetId 376 if (id.views != null) { 377 pw.print(" views="); pw.println(id.views); 862 return cloneIfLocalBinder(id.views); 884 public void updateAppWidgetIds(int[] appWidgetIds, RemoteViews views) { argument 888 if (DBG) log("updateAppWidgetIds views: " + views); 890 if (views != null) { 891 bitmapMemoryUsage = views 964 partiallyUpdateAppWidgetIds(int[] appWidgetIds, RemoteViews views) argument 1005 updateAppWidgetProvider(ComponentName provider, RemoteViews views) argument 1025 updateAppWidgetInstanceLocked(AppWidgetId id, RemoteViews views) argument 1029 updateAppWidgetInstanceLocked(AppWidgetId id, RemoteViews views, boolean isPartialUpdate) argument [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NotificationCompat.java | 339 public Builder setContent(RemoteViews views) { argument 340 mNotification.contentView = views; 347 * views to be launched when clicked by calling {@link RemoteViews#setOnClickPendingIntent 402 public Builder setTicker(CharSequence tickerText, RemoteViews views) { argument 404 mTickerView = views;
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | AlertController.java | 629 * 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 D | PhotoViewFragment.java | 48 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 D | PhotoViewFragment.java | 48 import com.android.ex.photo.views.PhotoView; 49 import com.android.ex.photo.views.ProgressBarWrapper; 235 // Clean up views and other components 385 * Reset the views to their default states 431 * Sets full-screen mode for the views.
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 306 * to the page views using animation properties. 332 * Used internally to tag special types of child views that should be added as 397 * Set a PagerAdapter that will supply views for this pager as needed. 573 * @param reverseDrawingOrder true if the supplied PageTransformer requires page views 895 // on creating views from the time the user releases their finger to 1305 // adding and removing different arbitrary views and do not 1319 * Make sure all children have been properly measured. Decor views first. 1321 * views won't intersect. We will pin to edges based on gravity. 1377 // Page views next. 1449 // First pass - decor views 2507 addFocusables(ArrayList<View> views, int direction, int focusableMode) argument 2551 addTouchables(ArrayList<View> views) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Notification.java | 917 * 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 D | LayoutTransition.java | 44 * "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 D | ViewGroup.java | 55 * 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...] |