/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/core/java/com/android/internal/appwidget/ |
H A D | IAppWidgetHost.aidl | 25 void updateAppWidget(int appWidgetId, in RemoteViews views);
|
H A D | IAppWidgetService.aidl | 42 void updateAppWidgetIds(in int[] appWidgetIds, in RemoteViews views); 43 void updateAppWidgetProvider(in ComponentName provider, in RemoteViews views);
|
/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/android/appwidget/ |
H A D | AppWidgetHost.java | 50 public void updateAppWidget(int appWidgetId, RemoteViews views) { argument 53 msg.obj = views; 212 RemoteViews views; 214 views = sService.getAppWidgetViews(appWidgetId); 218 view.updateAppWidget(views); 244 void updateAppWidgetView(int appWidgetId, RemoteViews views) { argument 250 v.updateAppWidget(views);
|
H A D | AppWidgetManager.java | 242 * @param views The RemoteViews object to show. 244 public void updateAppWidget(int[] appWidgetIds, RemoteViews views) { argument 246 sService.updateAppWidgetIds(appWidgetIds, views); 262 * @param views The RemoteViews object to show. 264 public void updateAppWidget(int appWidgetId, RemoteViews views) { argument 265 updateAppWidget(new int[] { appWidgetId }, views); 279 * @param views The RemoteViews object to show. 281 public void updateAppWidget(ComponentName provider, RemoteViews views) { argument 283 sService.updateAppWidgetProvider(provider, views);
|
H A D | AppWidgetHostView.java | 40 * Provides the glue to show AppWidget views. This class offers automatic animation 41 * between updates, and will try recycling old views for each incoming 57 // views that are allowed in RemoteViews. 160 * AppWidget provider. Will animate into these new views as needed 264 private Context getRemoteContext(RemoteViews views) { argument 266 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/app/ |
H A D | SuggestionsAdapter.java | 265 * Cache of the child views of drop-drown list items, to avoid looking up the children 284 ChildViewCache views = (ChildViewCache) view.getTag(); 293 if (views.mText1 != null) { 295 setViewText(views.mText1, text1); 297 if (views.mText2 != null) { 309 if (views.mText1 != null) { 310 views.mText1.setSingleLine(false); 311 views.mText1.setMaxLines(2); 314 if (views.mText1 != null) { 315 views [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | AppWidgetService.java | 106 RemoteViews views; field in class:AppWidgetService.AppWidgetId 203 if (id.views != null) { 204 pw.print(" views="); pw.println(id.views); 392 return id.views; 412 public void updateAppWidgetIds(int[] appWidgetIds, RemoteViews views) { argument 424 updateAppWidgetInstanceLocked(id, views); 429 public void updateAppWidgetProvider(ComponentName provider, RemoteViews views) { argument 440 updateAppWidgetInstanceLocked(id, views); 445 void updateAppWidgetInstanceLocked(AppWidgetId id, RemoteViews views) { argument [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | AlertController.java | 566 * on how many views they are and where they appear. 569 View[] views = new View[4]; 576 views[pos] = topPanel; 586 views[pos] = (contentPanel.getVisibility() == View.GONE) 591 views[pos] = customPanel; 596 views[pos] = buttonPanel; 601 for (pos=0; pos<views.length; pos++) { 602 View v = views[pos];
|
/frameworks/base/core/java/android/widget/ |
H A D | RelativeLayout.java | 57 * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-relativelayout.html">Relative 206 * Describes how the child views are positioned. Defaults to 357 View[] views = mSortedHorizontalChildren; 358 int count = views.length; 360 View child = views[i]; 372 views = mSortedVerticalChildren; 373 count = views.length; 376 View child = views[i]; 967 * Compares two views in left-to-right and top-to-bottom fashion. 1191 * List of all views i [all...] |
H A D | AbsListView.java | 165 * the views from there. The top is specified by mSpecificTop. 211 * The data set used to store unused views that should be reused during the next layout 2722 public void addTouchables(ArrayList<View> views) { argument 2734 views.add(child); 2736 child.addTouchables(views); 3075 // No new views, let things keep going. 3107 // No new views, let things keep going. 3133 // No new views, let things keep going. 3163 // No new views, let things keep going. 3301 // Update our guesses for where the first and last views ar 4179 reclaimViews(List<View> views) argument 4616 reclaimScrapViews(List<View> views) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewGroup.java | 47 * A <code>ViewGroup</code> is a special view that can contain other views 48 * (called children.) The view group is the base class for layouts and views 268 // Child views of this ViewGroup 277 // Used to draw cached views 617 public void addFocusables(ArrayList<View> views, int direction) { argument 618 addFocusables(views, direction, FOCUSABLES_TOUCH_MODE); 625 public void addFocusables(ArrayList<View> views, int direction, int focusableMode) { argument 626 final int focusableCount = views.size(); 637 child.addFocusables(views, direction, focusableMode); 649 (focusableCount == views 671 addTouchables(ArrayList<View> views) argument [all...] |
H A D | View.java | 106 * All of the views in a window are arranged in a single tree. You can add views 107 * either from code or by specifying a tree of views in one or more XML layout 108 * files. There are many specialized subclasses of views that act as controls or 112 * Once you have created a tree of views, there are typically a few types of 117 * that set them will vary among the different subclasses of views. Note that 125 * example, all views will let you set a listener to be notified when the view 130 * <li><strong>Set visibility:</strong> You can hide or show views using 136 * drawing views. You should not call methods that perform these actions on 137 * views yoursel 3571 addFocusables(ArrayList<View> views, int direction) argument 3590 addFocusables(ArrayList<View> views, int direction, int focusableMode) argument 3623 addTouchables(ArrayList<View> views) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | StatusBarService.java | 196 // First set up our views and stuff. 455 Slog.w(TAG, "Couldn't reapply views for package " + contentView.getPackage(), e); 553 final View[] views = makeNotificationView(notification, parent); 554 if (views == null) { 559 final View row = views[0]; 560 final View content = views[1]; 561 final View expanded = views[2];
|