/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 …]
|
D | RelativeLayout.java | 471 View[] views = mSortedHorizontalChildren; in onMeasure() local 472 int count = views.length; in onMeasure() 475 View child = views[i]; in onMeasure() 489 views = mSortedVerticalChildren; in onMeasure() 490 count = views.length; in onMeasure() 494 final View child = views[i]; in onMeasure() 545 final View child = views[i]; in onMeasure() 571 final View child = views[i]; in onMeasure() 601 final View child = views[i]; in onMeasure() 630 final View child = views[i]; in onMeasure() [all …]
|
/frameworks/base/core/java/android/appwidget/ |
D | PendingHostUpdate.java | 35 RemoteViews views; field in PendingHostUpdate 39 public static PendingHostUpdate updateAppWidget(int appWidgetId, RemoteViews views) { in updateAppWidget() argument 41 update.views = views; in updateAppWidget() 76 views = new RemoteViews(in); in PendingHostUpdate() 100 writeNullParcelable(views, dest, flags); in writeToParcel()
|
D | AppWidgetHost.java | 82 public void updateAppWidget(int appWidgetId, RemoteViews views) { in updateAppWidget() argument 83 if (isLocalBinder() && views != null) { in updateAppWidget() 84 views = views.clone(); in updateAppWidget() 90 Message msg = handler.obtainMessage(HANDLE_UPDATE, appWidgetId, 0, views); in updateAppWidget() 233 updateAppWidgetView(update.appWidgetId, update.views); in startListening() 408 RemoteViews views; in createView() local 410 views = sService.getAppWidgetViews(mContextOpPackageName, appWidgetId); in createView() 414 view.updateAppWidget(views); in createView() 469 void updateAppWidgetView(int appWidgetId, RemoteViews views) { in updateAppWidgetView() argument 475 v.updateAppWidget(views); in updateAppWidgetView()
|
D | AppWidgetManager.java | 526 public void updateAppWidget(int[] appWidgetIds, RemoteViews views) { in updateAppWidget() argument 531 mService.updateAppWidgetIds(mPackageName, appWidgetIds, views); in updateAppWidget() 600 public void updateAppWidget(int appWidgetId, RemoteViews views) { in updateAppWidget() argument 604 updateAppWidget(new int[] { appWidgetId }, views); in updateAppWidget() 631 public void partiallyUpdateAppWidget(int[] appWidgetIds, RemoteViews views) { in partiallyUpdateAppWidget() argument 636 mService.partiallyUpdateAppWidgetIds(mPackageName, appWidgetIds, views); in partiallyUpdateAppWidget() 666 public void partiallyUpdateAppWidget(int appWidgetId, RemoteViews views) { in partiallyUpdateAppWidget() argument 670 partiallyUpdateAppWidget(new int[] { appWidgetId }, views); in partiallyUpdateAppWidget() 686 public void updateAppWidget(ComponentName provider, RemoteViews views) { in updateAppWidget() argument 691 mService.updateAppWidgetProvider(provider, views); in updateAppWidget()
|
/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/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 …]
|
D | EnterTransitionCoordinator.java | 453 private static void removeNullViews(ArrayList<View> views) { in removeNullViews() argument 454 if (views != null) { in removeNullViews() 455 for (int i = views.size() - 1; i >= 0; i--) { in removeNullViews() 456 if (views.get(i) == null) { in removeNullViews() 457 views.remove(i); in removeNullViews()
|
/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 | 88 private static View combineAdjacent(View... views) { in combineAdjacent() argument 89 if (views.length < 2) { in combineAdjacent() 93 final LinearLayout ll = new LinearLayout(views[0].getContext()); in combineAdjacent() 98 for (View view : views) { in combineAdjacent()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationCustomViewWrapperTest.java | 56 RemoteViews views = new RemoteViews(mContext.getPackageName(), R.layout.custom_view_dark); in testBackgroundPersists() local 57 View v = views.apply(mContext, null); in testBackgroundPersists() 62 views.reapply(mContext, v); in testBackgroundPersists()
|
D | NotificationMediaTemplateViewWrapperTest.java | 107 RemoteViews views = new RemoteViews(mContext.getPackageName(), in makeTestNotification() local 109 mView = views.apply(mContext, null); in makeTestNotification()
|
/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
|
D | IAppWidgetHost.aidl | 26 void updateAppWidget(int appWidgetId, in RemoteViews views); in updateAppWidget() argument
|
/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/docs/ |
D | plugin_hooks.md | 17 …S Tiles and their views, can used to add or change system QS tiles, can also be used to change the… 52 Use: Control over swipes/input for notification views, can be used to control what happens when you…
|
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/ |
D | .gitignore | 6 # We need the built .class files to load custom views and R class.
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 599 RemoteViews views = new RemoteViews(mContext.getPackageName(), in createMaskedWidgetRemoteViews() local 602 views.setImageViewBitmap(R.id.work_widget_app_icon, icon); in createMaskedWidgetRemoteViews() 605 views.setViewVisibility(R.id.work_widget_badge_icon, View.INVISIBLE); in createMaskedWidgetRemoteViews() 608 views.setOnClickPendingIntent(R.id.work_widget_mask_frame, onClickIntent); in createMaskedWidgetRemoteViews() 610 return views; in createMaskedWidgetRemoteViews() 671 RemoteViews views = createMaskedWidgetRemoteViews(iconBitmap, showBadge, intent); in maskWidgetsViewsLocked() local 672 if (widget.replaceWithMaskedViewsLocked(views)) { in maskWidgetsViewsLocked() 1525 RemoteViews views) { in updateAppWidgetIds() argument 1530 updateAppWidgetIds(callingPackage, appWidgetIds, views, false); in updateAppWidgetIds() 1535 RemoteViews views) { in partiallyUpdateAppWidgetIds() argument [all …]
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | ProgressBarWrapper.java | 18 package com.android.ex.photo.views;
|
/frameworks/base/core/proto/android/app/ |
D | notificationmanager.proto | 90 // in notification list views like the notification shade or lockscreen 91 // on devices that support those views.
|