/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 | 26 void updateAppWidget(int appWidgetId, in RemoteViews views);
|
H A D | IAppWidgetService.aidl | 50 void updateAppWidgetIds(String callingPackage, in int[] appWidgetIds, in RemoteViews views); 54 in RemoteViews views); 55 void updateAppWidgetProvider(in ComponentName provider, in RemoteViews views);
|
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetHost.java | 68 public void updateAppWidget(int appWidgetId, RemoteViews views) { argument 69 if (isLocalBinder() && views != null) { 70 views = views.clone(); 72 Message msg = mHandler.obtainMessage(HANDLE_UPDATE, appWidgetId, 0, views); 319 RemoteViews views; 321 views = sService.getAppWidgetViews(mContextOpPackageName, appWidgetId); 325 view.updateAppWidget(views); 373 void updateAppWidgetView(int appWidgetId, RemoteViews views) { argument 379 v.updateAppWidget(views); [all...] |
H A D | AppWidgetManager.java | 466 * @param views The RemoteViews object to show. 468 public void updateAppWidget(int[] appWidgetIds, RemoteViews views) { argument 473 mService.updateAppWidgetIds(mPackageName, appWidgetIds, views); 543 * @param views The RemoteViews object to show. 545 public void updateAppWidget(int appWidgetId, RemoteViews views) { argument 549 updateAppWidget(new int[] { appWidgetId }, views); 558 * level 17, the new properties set within the views objects will be appended to the cached 574 * @param views The RemoteViews object containing the incremental update / command. 576 public void partiallyUpdateAppWidget(int[] appWidgetIds, RemoteViews views) { argument 581 mService.partiallyUpdateAppWidgetIds(mPackageName, appWidgetIds, views); 611 partiallyUpdateAppWidget(int appWidgetId, RemoteViews views) argument 631 updateAppWidget(ComponentName provider, RemoteViews views) argument [all...] |
/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/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | ViewAnimation.java | 17 package com.android.systemui.recents.views; 44 // The total number of task views
|
H A D | FixedSizeImageView.java | 17 package com.android.systemui.recents.views;
|
H A D | ViewPool.java | 17 package com.android.systemui.recents.views; 25 /* A view pool to manage more views than we can visibly handle */ 79 /** Returns an iterator to the list of the views in the pool. */
|
H A D | AnimateableViewBounds.java | 17 package com.android.systemui.recents.views;
|
H A D | SystemBarScrimViews.java | 17 package com.android.systemui.recents.views; 44 * Prepares the scrim views for animating when entering Recents. This will be called before 60 * Starts animating the scrim views when entering Recents. 100 * Starts animating the scrim views when leaving Recents (either via launching a task, or
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | ActivityOptionsCompat.java | 161 View[] views = null; 164 views = new View[sharedElements.length]; 167 views[i] = sharedElements[i].first; 172 ActivityOptionsCompat21.makeSceneTransitionAnimation(activity, views, names));
|
/frameworks/base/core/java/android/widget/ |
H A D | SuggestionsAdapter.java | 295 * Cache of the child views of drop-drown list items, to avoid looking up the children 316 ChildViewCache views = (ChildViewCache) view.getTag(); 322 if (views.mText1 != null) { 324 setViewText(views.mText1, text1); 326 if (views.mText2 != null) { 338 if (views.mText1 != null) { 339 views.mText1.setSingleLine(false); 340 views.mText1.setMaxLines(2); 343 if (views.mText1 != null) { 344 views [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SuggestionsAdapter.java | 254 * Cache of the child views of drop-drown list items, to avoid looking up the children 275 ChildViewCache views = (ChildViewCache) view.getTag(); 281 if (views.mText1 != null) { 283 setViewText(views.mText1, text1); 285 if (views.mText2 != null) { 297 if (views.mText1 != null) { 298 views.mText1.setSingleLine(false); 299 views.mText1.setMaxLines(2); 302 if (views.mText1 != null) { 303 views [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
H A D | ProgressBarWrapper.java | 18 package com.android.ex.photo.views;
|
/frameworks/support/v4/api21/android/support/v4/app/ |
H A D | FragmentTransitionCompat21.java | 90 * We will add to the views before the end state of the transition is captured so that the 91 * views will appear. At the start of the transition, we clear the list of targets so that 161 // views to be targeted regardless of excluded views. If that happens, then the 162 // excluded fragments views (hidden fragments) will still be in the transition. 312 * This method removes the views from transitions that target ONLY those views. 313 * The views list should match those added in addTargets and should contain 316 public static void removeTargets(Object transitionObject, ArrayList<View> views) { argument 323 removeTargets(child, views); 345 addTargets(Object transitionObject, ArrayList<View> views) argument [all...] |
/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/core/java/android/app/ |
H A D | BackStackRecord.java | 982 * <p>The shared element transition operates against all views and comes either 1004 // any views by default. They'll only target the views we tell add. If we don't 1005 // add any, then no views will be targeted. 1106 * We will add to the views before the end state of the transition is captured so that the 1107 * views will appear. At the start of the transition, we clear the list of targets so that 1158 // We added this earlier to prevent any views being targeted. 1176 ArrayList<View> views = new ArrayList<View>(namedViews.values()); 1177 sharedElementCallback.onSharedElementEnd(names, views, null); 1220 // views t 1397 removeTargets(Transition transition, ArrayList<View> views) argument 1425 addTargets(Transition transition, ArrayList<View> views) argument [all...] |
H A D | EnterTransitionCoordinator.java | 136 // Ensure the views have been laid out before capturing the views -- we need the epicenter. 370 private static void removeNullViews(ArrayList<View> views) { argument 371 if (views != null) { 372 for (int i = views.size() - 1; i >= 0; i--) { 373 if (views.get(i) == null) { 374 views.remove(i);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | PlaybackOverlayFragment.java | 379 void getViews(ArrayList<View> views) { 382 views.add(view); 415 void getViews(ArrayList<View> views) { 423 views.add(view); 531 // views slide in from below. 737 abstract void getViews(ArrayList<View> views); argument
|
H A D | PlaybackOverlaySupportFragment.java | 381 void getViews(ArrayList<View> views) { 384 views.add(view); 417 void getViews(ArrayList<View> views) { 425 views.add(view); 533 // views slide in from below. 739 abstract void getViews(ArrayList<View> views); argument
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | AlertController.java | 776 * on how many views they are and where they appear. 779 final View[] views = new View[4]; 786 views[pos] = topPanel; 796 views[pos] = contentPanel.getVisibility() == View.GONE ? null : contentPanel; 801 views[pos] = customPanel; 807 views[pos] = buttonPanel; 812 for (pos = 0; pos < views.length; pos++) { 813 final View v = views[pos];
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
H A D | AppWidgetServiceImpl.java | 512 updatedViews.add(cloneIfLocalBinder(widget.views)); 1119 return cloneIfLocalBinder(widget.views); 1188 RemoteViews views) { 1193 updateAppWidgetIds(callingPackage, appWidgetIds, views, false); 1198 RemoteViews views) { 1203 updateAppWidgetIds(callingPackage, appWidgetIds, views, true); 1242 public void updateAppWidgetProvider(ComponentName componentName, RemoteViews views) { argument 1269 updateAppWidgetInstanceLocked(widget, views, false); 1320 RemoteViews views, boolean partially) { 1330 final int bitmapMemoryUsage = (views ! 1187 updateAppWidgetIds(String callingPackage, int[] appWidgetIds, RemoteViews views) argument 1197 partiallyUpdateAppWidgetIds(String callingPackage, int[] appWidgetIds, RemoteViews views) argument 1319 updateAppWidgetIds(String callingPackage, int[] appWidgetIds, RemoteViews views, boolean partially) argument 1535 updateAppWidgetInstanceLocked(Widget widget, RemoteViews views, boolean isPartialUpdate) argument 1637 handleNotifyUpdateAppWidget(Host host, IAppWidgetHost callbacks, int appWidgetId, RemoteViews views) argument 3393 RemoteViews views; field in class:AppWidgetServiceImpl.Widget [all...] |