/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewGroupChildrenTest.java | 138 final View[] views = new View[24]; in testRemoveChildren() local 140 for (int i = 0; i < views.length; i++) { in testRemoveChildren() 141 views[i] = createView(String.valueOf(i + 1)); in testRemoveChildren() 142 mGroup.addView(views[i]); in testRemoveChildren() 145 for (int i = views.length - 1; i >= 0; i--) { in testRemoveChildren() 148 ViewAsserts.assertGroupNotContains(mGroup, views[i]); in testRemoveChildren() 149 assertNull(views[i].getParent()); in testRemoveChildren() 159 final View[] views = new View[24]; in testRemoveChildrenBulk() local 161 for (int i = 0; i < views.length; i++) { in testRemoveChildrenBulk() 162 views[i] = createView(String.valueOf(i + 1)); in testRemoveChildrenBulk() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | RemoteViewsTest.java | 170 RemoteViews views = new RemoteViews(landscape, portrait); in parcelSize_differentOrientation() local 171 assertTrue(getParcelSize(views) < (getParcelSize(landscape) + getParcelSize(portrait))); in parcelSize_differentOrientation() argument 172 assertEquals(getParcelSize(views), getParcelSize(views.clone())); in parcelSize_differentOrientation() 185 RemoteViews views = new RemoteViews(mPackage, R.layout.remote_view_test_bad_1); 187 views.applyAsync(mContext, mContainer, AsyncTask.THREAD_POOL_EXECUTOR, listener); 195 RemoteViews views = new RemoteViews(mPackage, R.layout.remote_views_test); 196 views.setTextViewText(R.id.text, "Dummy"); 198 View syncView = views.apply(mContext, mContainer); 201 views.applyAsync(mContext, mContainer, AsyncTask.THREAD_POOL_EXECUTOR, listener); 209 RemoteViews views = new RemoteViews(mPackage, R.layout.remote_views_viewstub); [all …]
|
D | RemoteViewsAdapterTest.java | 128 factory.views[0].set(createViews("updated")); in viewReplaced_after_mainView_loaded() 220 RemoteViews views = new RemoteViews(mContext.getPackageName(), R.layout.remote_views_text); in createViews() local 221 views.setTextViewText(R.id.text, text); in createViews() 222 return views; in createViews() 293 public LockedValue<RemoteViews>[] views; field in RemoteViewsAdapterTest.ViewsFactory 299 views = new LockedValue[count]; in ViewsFactory() 301 views[i] = new LockedValue<>(); in ViewsFactory() 322 return views[position].get(); in getViewAt()
|
/frameworks/base/core/java/android/widget/ |
D | SuggestionsAdapter.java | 317 ChildViewCache views = (ChildViewCache) view.getTag(); in bindView() local 323 if (views.mText1 != null) { in bindView() 325 setViewText(views.mText1, text1); in bindView() 327 if (views.mText2 != null) { in bindView() 339 if (views.mText1 != null) { in bindView() 340 views.mText1.setSingleLine(false); in bindView() 341 views.mText1.setMaxLines(2); in bindView() 344 if (views.mText1 != null) { in bindView() 345 views.mText1.setSingleLine(true); in bindView() 346 views.mText1.setMaxLines(1); in bindView() [all …]
|
/frameworks/base/core/java/android/appwidget/ |
D | PendingHostUpdate.java | 34 RemoteViews views; field in PendingHostUpdate 38 public static PendingHostUpdate updateAppWidget(int appWidgetId, RemoteViews views) { in updateAppWidget() argument 40 update.views = views; in updateAppWidget() 68 views = new RemoteViews(in); in PendingHostUpdate() 92 writeNullParcelable(views, dest, flags); in writeToParcel()
|
D | AppWidgetHost.java | 81 public void updateAppWidget(int appWidgetId, RemoteViews views) { in updateAppWidget() argument 82 if (isLocalBinder() && views != null) { in updateAppWidget() 83 views = views.clone(); in updateAppWidget() 89 Message msg = handler.obtainMessage(HANDLE_UPDATE, appWidgetId, 0, views); in updateAppWidget() 220 updateAppWidgetView(update.appWidgetId, update.views); in startListening() 391 RemoteViews views; in createView() local 393 views = sService.getAppWidgetViews(mContextOpPackageName, appWidgetId); in createView() 397 view.updateAppWidget(views); in createView() 437 void updateAppWidgetView(int appWidgetId, RemoteViews views) { in updateAppWidgetView() argument 443 v.updateAppWidget(views); in updateAppWidgetView()
|
D | AppWidgetManager.java | 512 public void updateAppWidget(int[] appWidgetIds, RemoteViews views) { in updateAppWidget() argument 517 mService.updateAppWidgetIds(mPackageName, appWidgetIds, views); in updateAppWidget() 586 public void updateAppWidget(int appWidgetId, RemoteViews views) { in updateAppWidget() argument 590 updateAppWidget(new int[] { appWidgetId }, views); in updateAppWidget() 617 public void partiallyUpdateAppWidget(int[] appWidgetIds, RemoteViews views) { in partiallyUpdateAppWidget() argument 622 mService.partiallyUpdateAppWidgetIds(mPackageName, appWidgetIds, views); in partiallyUpdateAppWidget() 652 public void partiallyUpdateAppWidget(int appWidgetId, RemoteViews views) { in partiallyUpdateAppWidget() argument 656 partiallyUpdateAppWidget(new int[] { appWidgetId }, views); in partiallyUpdateAppWidget() 672 public void updateAppWidget(ComponentName provider, RemoteViews views) { in updateAppWidget() argument 677 mService.updateAppWidgetProvider(provider, views); in updateAppWidget()
|
/frameworks/base/core/java/android/app/ |
D | FragmentTransition.java | 374 ArrayList<View> views = configureEnteringExitingViews( in scheduleTargetChange() 376 enteringViews.addAll(views); in scheduleTargetChange() 569 private static void addSharedElementsWithMatchingNames(ArrayList<View> views, in addSharedElementsWithMatchingNames() argument 574 views.add(view); in addSharedElementsWithMatchingNames() 922 ArrayList<View> views = new ArrayList<>(); in callSharedElementStartEnd() local 927 views.add(sharedElements.valueAt(i)); in callSharedElementStartEnd() 930 sharedElementCallback.onSharedElementStart(names, views, null); in callSharedElementStartEnd() 932 sharedElementCallback.onSharedElementEnd(names, views, null); in callSharedElementStartEnd() 945 final List<View> views = transition.getTargets(); in setSharedElementTargets() local 946 views.clear(); in setSharedElementTargets() [all …]
|
D | ActivityTransitionCoordinator.java | 413 protected static void removeExcludedViews(Transition transition, ArrayList<View> views) { in removeExcludedViews() argument 415 findIncludedViews(transition, views, included); in removeExcludedViews() 416 views.clear(); in removeExcludedViews() 417 views.addAll(included); in removeExcludedViews() 430 private static void findIncludedViews(Transition transition, ArrayList<View> views, in findIncludedViews() argument 435 final int numViews = views.size(); in findIncludedViews() 437 final View view = views.get(i); in findIncludedViews() 447 final int numViews = views.size(); in findIncludedViews() 449 final View view = views.get(i); in findIncludedViews() 760 protected void hideViews(ArrayList<View> views) { in hideViews() argument [all …]
|
/frameworks/base/tests/appwidgets/AppWidgetProviderTest/src/com/android/tests/appwidgetprovider/ |
D | TestAppWidgetProvider.java | 50 RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.test_appwidget); in onReceive() local 51 views.setTextViewText(R.id.oh_hai_text, "hai: " + SystemClock.elapsedRealtime()); in onReceive() 53 gm.updateAppWidget(appWidgetIds, views); in onReceive() 56 "com.android.tests.appwidgetprovider.TestAppWidgetProvider"), views); in onReceive()
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
D | TestAppWidgetProvider.java | 58 RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.test_appwidget); in onReceive() local 59 views.setTextViewText(R.id.oh_hai_text, prefix + ": " + SystemClock.elapsedRealtime()); in onReceive() 61 gm.updateAppWidget(appWidgetIds, views); in onReceive() 64 "com.android.tests.appwidgethost.TestAppWidgetProvider"), views); in onReceive()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | AdjacentListsWithAdjacentISVsInside.java | 85 private static View combineAdjacent(View... views) { in combineAdjacent() argument 86 if (views.length < 2) { in combineAdjacent() 90 final LinearLayout ll = new LinearLayout(views[0].getContext()); in combineAdjacent() 95 for (View view : views) { in combineAdjacent()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/grid/ |
D | GridTaskView.java | 17 package com.android.systemui.recents.views.grid; 22 import com.android.systemui.recents.views.AnimateableViewBounds; 23 import com.android.systemui.recents.views.TaskView;
|
D | AnimateableGridViewBounds.java | 17 package com.android.systemui.recents.views.grid; 20 import com.android.systemui.recents.views.AnimateableViewBounds;
|
D | TaskGridLayoutAlgorithm.java | 17 package com.android.systemui.recents.views.grid; 19 import static com.android.systemui.recents.views.TaskStackLayoutAlgorithm.*; 31 import com.android.systemui.recents.views.TaskStackLayoutAlgorithm; 32 import com.android.systemui.recents.views.TaskViewTransform;
|
D | TaskViewFocusFrame.java | 17 package com.android.systemui.recents.views.grid; 27 import com.android.systemui.recents.views.TaskStackView;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationCustomViewWrapperTest.java | 52 RemoteViews views = new RemoteViews(mContext.getPackageName(), R.layout.custom_view_dark); in testBackgroundPersists() local 53 View v = views.apply(mContext, null); in testBackgroundPersists() 58 views.reapply(mContext, v); in testBackgroundPersists()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/events/ui/dragndrop/ |
D | DragEndEvent.java | 21 import com.android.systemui.recents.views.DropTarget; 22 import com.android.systemui.recents.views.TaskView;
|
D | DragStartInitializeDropTargetsEvent.java | 21 import com.android.systemui.recents.views.RecentsViewTouchHandler; 22 import com.android.systemui.recents.views.TaskView;
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
D | MainActivityTest.java | 68 List<Map<Short, Object>> views = parser.getViews(); in testTextView() local 71 assertEquals(1, views.size()); in testTextView() 74 Map<Short, Object> textViewProperties = views.get(0); in testTextView()
|
/frameworks/base/core/java/com/android/internal/appwidget/ |
D | IAppWidgetService.aidl | 54 void updateAppWidgetIds(String callingPackage, in int[] appWidgetIds, in RemoteViews views); in updateAppWidgetIds() argument 58 in RemoteViews views); in partiallyUpdateAppWidgetIds() argument 59 void updateAppWidgetProvider(in ComponentName provider, in RemoteViews views); in updateAppWidgetProvider() argument
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/lowram/ |
D | TaskStackLowRamLayoutAlgorithm.java | 17 package com.android.systemui.recents.views.lowram; 28 import com.android.systemui.recents.views.TaskStackLayoutAlgorithm; 29 import com.android.systemui.recents.views.TaskViewTransform; 33 import static com.android.systemui.recents.views.TaskStackLayoutAlgorithm.VisibilityReport;
|
/frameworks/base/core/java/android/view/ |
D | FocusFinder.java | 819 public void sort(View[] views, int start, int end, ViewGroup root, boolean isRtl) { in sort() argument 833 views[i].getDrawingRect(next); in sort() 834 root.offsetDescendantRectToMyCoords(views[i], next); in sort() 835 mRectByView.put(views[i], next); in sort() 839 Arrays.sort(views, start, count, mTopsComparator); in sort() 841 int sweepBottom = mRectByView.get(views[start]).bottom; in sort() 845 Rect currRect = mRectByView.get(views[sweepIdx]); in sort() 849 Arrays.sort(views, rowStart, sweepIdx, mSidesComparator); in sort() 860 Arrays.sort(views, rowStart, sweepIdx, mSidesComparator); in sort() 874 public static void sort(View[] views, int start, int end, ViewGroup root, boolean isRtl) { in sort() argument [all …]
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | DropTarget.java | 17 package com.android.systemui.recents.views;
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/events/ui/ |
D | DismissAllTaskViewsEvent.java | 20 import com.android.systemui.recents.views.TaskView;
|