/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, int userId);
|
H A D | IAppWidgetService.aidl | 46 void updateAppWidgetIds(in int[] appWidgetIds, in RemoteViews views, int userId); 49 void partiallyUpdateAppWidgetIds(in int[] appWidgetIds, in RemoteViews views, int userId); 50 void updateAppWidgetProvider(in ComponentName provider, in RemoteViews views, int userId);
|
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetHost.java | 66 public void updateAppWidget(int appWidgetId, RemoteViews views, int userId) { argument 67 if (isLocalBinder() && views != null) { 68 views = views.clone(); 69 views.setUser(new UserHandle(userId)); 71 Message msg = mHandler.obtainMessage(HANDLE_UPDATE, appWidgetId, userId, views); 345 RemoteViews views; 347 views = sService.getAppWidgetViews(appWidgetId, userId); 348 if (views != null) { 349 views 402 updateAppWidgetView(int appWidgetId, RemoteViews views, int userId) argument [all...] |
H A D | AppWidgetManager.java | 374 * @param views The RemoteViews object to show. 376 public void updateAppWidget(int[] appWidgetIds, RemoteViews views) { argument 378 sService.updateAppWidgetIds(appWidgetIds, views, mContext.getUserId()); 442 * @param views The RemoteViews object to show. 444 public void updateAppWidget(int appWidgetId, RemoteViews views) { argument 445 updateAppWidget(new int[] { appWidgetId }, views); 454 * level 17, the new properties set within the views objects will be appended to the cached 470 * @param views The RemoteViews object containing the incremental update / command. 472 public void partiallyUpdateAppWidget(int[] appWidgetIds, RemoteViews views) { argument 474 sService.partiallyUpdateAppWidgetIds(appWidgetIds, views, mContex 504 partiallyUpdateAppWidget(int appWidgetId, RemoteViews views) argument 521 updateAppWidget(ComponentName provider, 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 | 57 * a measurement bug that could cause child views to be measured with incorrect 282 * Describes how the child views are positioned. 296 * Describes how the child views are positioned. Defaults to 445 View[] views = mSortedHorizontalChildren; 446 int count = views.length; 449 View child = views[i]; 463 views = mSortedVerticalChildren; 464 count = views.length; 468 View child = views[i]; 1122 * Compares two views i [all...] |
H A D | FastScroller.java | 1415 * Constructs an animator for the specified property on a group of views. 1421 * @param views The target views to animate. 1422 * @return An animator for all the specified views. 1425 Property<View, Float> property, float value, View... views) { 1429 for (int i = views.length - 1; i >= 0; i--) { 1430 final Animator anim = ObjectAnimator.ofFloat(views[i], property, value); 1424 groupAnimatorOfFloat( Property<View, Float> property, float value, View... views) argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SuggestionsAdapter.java | 248 * Cache of the child views of drop-drown list items, to avoid looking up the children 269 ChildViewCache views = (ChildViewCache) view.getTag(); 275 if (views.mText1 != null) { 277 setViewText(views.mText1, text1); 279 if (views.mText2 != null) { 291 if (views.mText1 != null) { 292 views.mText1.setSingleLine(false); 293 views.mText1.setMaxLines(2); 296 if (views.mText1 != null) { 297 views [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
H A D | ProgressBarWrapper.java | 18 package com.android.ex.photo.views;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | DelegateViewHelper.java | 116 * Selects the initial touch region based on a list of views. This is meant to be called by 118 * will compute a minimum bound that contains all specified views. 120 * @param views 122 public void setInitialTouchRegion(View ... views) { argument 125 for (int i = 0; i < views.length; i++) { 126 View view = views[i];
|
/frameworks/base/services/java/com/android/server/ |
H A D | AppWidgetService.java | 284 public void partiallyUpdateAppWidgetIds(int[] appWidgetIds, RemoteViews views, int userId) argument 287 appWidgetIds, views); 303 public void updateAppWidgetIds(int[] appWidgetIds, RemoteViews views, int userId) argument 305 getImplForUser(userId).updateAppWidgetIds(appWidgetIds, views); 309 public void updateAppWidgetProvider(ComponentName provider, RemoteViews views, int userId) argument 311 getImplForUser(userId).updateAppWidgetProvider(provider, views);
|
H A D | AppWidgetServiceImpl.java | 136 RemoteViews views; field in class:AppWidgetServiceImpl.AppWidgetId 383 if (id.views != null) { 384 pw.print(" views="); pw.println(id.views); 910 return cloneIfLocalBinder(id.views); 935 public void updateAppWidgetIds(int[] appWidgetIds, RemoteViews views) { argument 942 if (DBG) log("updateAppWidgetIds views: " + views); 944 if (views != null) { 945 bitmapMemoryUsage = views 1024 partiallyUpdateAppWidgetIds(int[] appWidgetIds, RemoteViews views) argument 1071 updateAppWidgetProvider(ComponentName provider, RemoteViews views) argument 1094 updateAppWidgetInstanceLocked(AppWidgetId id, RemoteViews views) argument 1098 updateAppWidgetInstanceLocked(AppWidgetId id, RemoteViews views, boolean isPartialUpdate) argument [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NotificationCompat.java | 341 public Builder setContent(RemoteViews views) { argument 342 mNotification.contentView = views; 349 * views to be launched when clicked by calling {@link RemoteViews#setOnClickPendingIntent 404 public Builder setTicker(CharSequence tickerText, RemoteViews views) { argument 406 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/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageView.java | 17 package com.android.photos.views; 40 import com.android.photos.views.TiledImageRenderer.TileSource;
|
H A D | BlockingGLTextureView.java | 17 package com.android.photos.views;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | CropView.java | 32 import com.android.photos.views.TiledImageRenderer.TileSource; 33 import com.android.photos.views.TiledImageView;
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/ |
H A D | PhotoViewFragment.java | 52 import com.android.ex.photo.views.PhotoView; 53 import com.android.ex.photo.views.ProgressBarWrapper; 316 // Clean up views and other components 484 * Reset the views to their default states 528 * Sets full-screen mode for the views.
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 312 * to the page views using animation properties. 338 * Used internally to tag special types of child views that should be added as 403 * Set a PagerAdapter that will supply views for this pager as needed. 603 * @param reverseDrawingOrder true if the supplied PageTransformer requires page views 932 // on creating views from the time the user releases their finger to 1367 // adding and removing different arbitrary views and do not 1381 * Make sure all children have been properly measured. Decor views first. 1383 * views won't intersect. We will pin to edges based on gravity. 1439 // Page views next. 1509 // First pass - decor views 2625 addFocusables(ArrayList<View> views, int direction, int focusableMode) argument 2669 addTouchables(ArrayList<View> views) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Notification.java | 1120 * content views using the platform's notification layout template. If your app supports 1341 public Builder setContent(RemoteViews views) { argument 1342 mContentView = views; 1352 * to assign PendingIntents to individual views in that custom layout (i.e., to create 1412 public Builder setTicker(CharSequence tickerText, RemoteViews views) { argument 1414 mTickerView = views;
|