/frameworks/base/core/tests/coretests/src/android/widget/ |
D | RemoteViewsTest.java | 80 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_doesNotCopyBitmap() 84 RemoteViews clone = original.clone(); in clone_doesNotCopyBitmap() 93 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_originalCanStillBeApplied() 95 RemoteViews clone = original.clone(); in clone_originalCanStillBeApplied() 102 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_clones() 104 RemoteViews clone = original.clone(); in clone_clones() 114 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_child_fails() 115 RemoteViews child = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_child_fails() 120 RemoteViews clone = child.clone(); in clone_child_fails() 125 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_repeatedly() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViewsListAdapter.java | 31 private ArrayList<RemoteViews> mRemoteViewsList; 34 private RemoteViews.ColorResources mColorResources; 36 public RemoteViewsListAdapter(Context context, ArrayList<RemoteViews> remoteViews, in RemoteViewsListAdapter() 37 int viewTypeCount, RemoteViews.ColorResources colorResources) { in RemoteViewsListAdapter() 45 public void setViewsList(ArrayList<RemoteViews> remoteViews) { in setViewsList() 55 for (RemoteViews rv: mRemoteViewsList) { in init() 89 RemoteViews rv = mRemoteViewsList.get(position); in getView() 90 rv.addFlags(RemoteViews.FLAG_WIDGET_IS_COLLECTION_CHILD); in getView()
|
D | RemoteViewsService.java | 94 public RemoteViews getViewAt(int position); in getViewAt() 103 public RemoteViews getLoadingView(); in getLoadingView() 161 public synchronized RemoteViews getViewAt(int position) { in getViewAt() 162 RemoteViews rv = null; in getViewAt() 166 rv.addFlags(RemoteViews.FLAG_WIDGET_IS_COLLECTION_CHILD); in getViewAt() 174 public synchronized RemoteViews getLoadingView() { in getLoadingView() 175 RemoteViews rv = null; in getLoadingView()
|
D | RemoteCollectionItemsAdapter.java | 24 import android.widget.RemoteViews.ColorResources; 25 import android.widget.RemoteViews.InteractionHandler; 26 import android.widget.RemoteViews.RemoteCollectionItems; 150 public RemoteViews getItem(int position) { in getItem() 179 RemoteViews item = mItems.getItemView(position); in getView() 180 item.addFlags(RemoteViews.FLAG_WIDGET_IS_COLLECTION_CHILD); in getView() 209 private static View getViewToReapply(@Nullable View convertView, @NonNull RemoteViews item) { in getViewToReapply()
|
D | RemoteViewsAdapter.java | 19 import static android.widget.RemoteViews.EXTRA_REMOTEADAPTER_APPWIDGET_ID; 20 import static android.widget.RemoteViews.EXTRA_REMOTEADAPTER_ON_LIGHT_BACKGROUND; 50 import android.widget.RemoteViews.InteractionHandler; 389 public void onRemoteViewsLoaded(RemoteViews view, InteractionHandler handler, in onRemoteViewsLoaded() 450 public void notifyOnRemoteViewsLoaded(int position, RemoteViews view) { in notifyOnRemoteViewsLoaded() 547 public RemoteViewsIndexMetaData(RemoteViews v, long itemId) { in RemoteViewsIndexMetaData() 551 public void set(RemoteViews v, long id) { in set() 590 private final SparseArray<RemoteViews> mIndexRemoteViews = new SparseArray<>(); 627 public void insert(int position, RemoteViews v, long itemId, int[] visibleWindow) { in insert() 668 public RemoteViews getRemoteViewsAt(int position) { in getRemoteViewsAt() [all …]
|
D | RemoteViews.java | 168 public class RemoteViews implements Parcelable, Filter { class 308 (clazz) -> clazz.isAnnotationPresent(RemoteViews.RemoteView.class); 361 private RemoteViews mLandscape = null; 363 private RemoteViews mPortrait = null; 369 private List<RemoteViews> mSizedRemoteViews = null; 656 public void mergeRemoteViews(RemoteViews newRv) { in mergeRemoteViews() 661 RemoteViews copy = new RemoteViews(newRv); in mergeRemoteViews() 862 public SetRemoteViewsAdapterList(@IdRes int id, ArrayList<RemoteViews> list, in SetRemoteViewsAdapterList() 872 list = parcel.createTypedArrayList(RemoteViews.CREATOR); in SetRemoteViewsAdapterList() 927 ArrayList<RemoteViews> list; [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotifRemoteViewCacheImpl.java | 21 import android.widget.RemoteViews; 38 private final Map<NotificationEntry, SparseArray<RemoteViews>> mNotifCachedContentViews = 52 public @Nullable RemoteViews getCachedView(NotificationEntry entry, @InflationFlag int flag) { in getCachedView() 53 SparseArray<RemoteViews> contentViews = mNotifCachedContentViews.get(entry); in getCachedView() 64 RemoteViews remoteView) { in putCachedView() 70 SparseArray<RemoteViews> contentViews = mNotifCachedContentViews.get(entry); in putCachedView() 79 SparseArray<RemoteViews> contentViews = mNotifCachedContentViews.get(entry); in removeCachedView() 88 SparseArray<RemoteViews> contentViews = mNotifCachedContentViews.get(entry); in clearCache()
|
D | NotificationContentInflater.java | 37 import android.widget.RemoteViews; 331 RemoteViews.InteractionHandler remoteViewClickHandler, in apply() 349 public RemoteViews getRemoteView() { in apply() 374 public RemoteViews getRemoteView() { in apply() 400 public RemoteViews getRemoteView() { in apply() 425 public RemoteViews getRemoteView() { in apply() 456 RemoteViews.InteractionHandler remoteViewClickHandler, in applyRemoteView() 463 RemoteViews newContentView = applyCallback.getRemoteView(); in applyRemoteView() 488 RemoteViews.OnViewAppliedListener listener = new RemoteViews.OnViewAppliedListener() { in applyRemoteView() 663 private static RemoteViews createExpandedView(Notification.Builder builder, in createExpandedView() [all …]
|
D | NotifRemoteViewCache.java | 19 import android.widget.RemoteViews; 47 @Nullable RemoteViews getCachedView(NotificationEntry entry, @InflationFlag int flag); in getCachedView() 59 RemoteViews remoteView); in putCachedView()
|
/frameworks/base/core/java/android/service/autofill/ |
D | FillResponse.java | 35 import android.widget.RemoteViews; 78 private final @Nullable RemoteViews mPresentation; 81 private final @Nullable RemoteViews mHeader; 82 private final @Nullable RemoteViews mFooter; 131 public @Nullable RemoteViews getPresentation() { in getPresentation() 146 public @Nullable RemoteViews getHeader() { in getHeader() 151 public @Nullable RemoteViews getFooter() { in getFooter() 228 private RemoteViews mPresentation; 231 private RemoteViews mHeader; 232 private RemoteViews mFooter; [all …]
|
D | Dataset.java | 32 import android.widget.RemoteViews; 108 private final ArrayList<RemoteViews> mFieldPresentations; 113 private final RemoteViews mPresentation; 149 public RemoteViews getFieldPresentation(int index) { in getFieldPresentation() 150 final RemoteViews customPresentation = mFieldPresentations.get(index); in getFieldPresentation() 265 private ArrayList<RemoteViews> mFieldPresentations; 270 private RemoteViews mPresentation; 282 public Builder(@NonNull RemoteViews presentation) { in Builder() 541 @NonNull RemoteViews presentation) { in setValue() 614 @Nullable Pattern filter, @NonNull RemoteViews presentation) { in setValue() [all …]
|
D | BatchUpdates.java | 26 import android.widget.RemoteViews; 50 private final RemoteViews mUpdates; 65 public RemoteViews getUpdates() { in getUpdates() 73 private RemoteViews mUpdates; 95 public Builder updateTemplate(@NonNull RemoteViews updates) { in updateTemplate() 207 final RemoteViews updates = parcel.readParcelable(null);
|
D | InternalTransformation.java | 25 import android.widget.RemoteViews; 49 abstract void apply(@NonNull ValueFinder finder, @NonNull RemoteViews template, in apply() 61 public static boolean batchApply(@NonNull ValueFinder finder, @NonNull RemoteViews template, in batchApply()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
D | PeopleTileViewHelper.java | 68 import android.widget.RemoteViews; 207 public static RemoteViews createRemoteViews(Context context, @Nullable PeopleSpaceTile tile, in createRemoteViews() 210 Map<SizeF, RemoteViews> sizeToRemoteView = in createRemoteViews() 222 return new RemoteViews(sizeToRemoteView); in createRemoteViews() 248 RemoteViews getViews() { in getViews() 249 RemoteViews viewsForTile = getViewForTile(); in getViews() 251 RemoteViews views = setCommonRemoteViewsFields(viewsForTile, maxAvatarSize); in getViews() 259 private RemoteViews getViewForTile() { in getViewForTile() 333 private RemoteViews createSuppressedView() { in createSuppressedView() 334 RemoteViews views; in createSuppressedView() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | IRemoteViewsFactory.aidl | 20 import android.widget.RemoteViews; 31 RemoteViews getViewAt(int position); in getViewAt() 33 RemoteViews getLoadingView(); in getLoadingView()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationTest.java | 43 import android.widget.RemoteViews; 240 .setContent(mock(RemoteViews.class)); in testRemoteViews_nullChange() 246 .setContent(mock(RemoteViews.class)); in testRemoteViews_nullChange() 250 .setCustomBigContentView(mock(RemoteViews.class)); in testRemoteViews_nullChange() 256 .setCustomBigContentView(mock(RemoteViews.class)); in testRemoteViews_nullChange() 266 RemoteViews a = mock(RemoteViews.class); in testRemoteViews_layoutChange() 268 RemoteViews b = mock(RemoteViews.class); in testRemoteViews_layoutChange() 286 RemoteViews a = mock(RemoteViews.class); in testRemoteViews_layoutSame() 288 RemoteViews b = mock(RemoteViews.class); in testRemoteViews_layoutSame() 306 RemoteViews a = mock(RemoteViews.class); in testRemoteViews_sequenceChange() [all …]
|
/frameworks/base/core/java/com/android/internal/appwidget/ |
D | IAppWidgetService.aidl | 28 import android.widget.RemoteViews; 46 RemoteViews getAppWidgetViews(String callingPackage, int appWidgetId); in getAppWidgetViews() 54 void updateAppWidgetIds(String callingPackage, in int[] appWidgetIds, in RemoteViews views); in updateAppWidgetIds() 58 in RemoteViews views); in partiallyUpdateAppWidgetIds() 59 void updateAppWidgetProvider(in ComponentName provider, in RemoteViews views); in updateAppWidgetProvider()
|
D | IAppWidgetHost.aidl | 22 import android.widget.RemoteViews; 26 void updateAppWidget(int appWidgetId, in RemoteViews views); in updateAppWidget()
|
/frameworks/base/core/java/android/appwidget/ |
D | PendingHostUpdate.java | 21 import android.widget.RemoteViews; 35 RemoteViews views; 39 public static PendingHostUpdate updateAppWidget(int appWidgetId, RemoteViews views) { in updateAppWidget() 76 views = new RemoteViews(in); in PendingHostUpdate()
|
D | AppWidgetHostView.java | 54 import android.widget.RemoteViews; 55 import android.widget.RemoteViews.InteractionHandler; 88 (clazz) -> clazz.isAnnotationPresent(RemoteViews.RemoteView.class); 103 private RemoteViews.ColorResources mColorResources = null; 106 private RemoteViews mLastInflatedRemoteViews = null; 299 RemoteViews toApply = mLastInflatedRemoteViews.getRemoteViewsToApplyIfDifferent( in onLayout() 505 public void updateAppWidget(RemoteViews remoteViews) { in updateAppWidget() 523 protected void applyRemoteViews(@Nullable RemoteViews remoteViews, boolean useAsyncIfPossible) { in applyRemoteViews() 546 RemoteViews rvToApply = remoteViews.getRemoteViewsToApply(mContext, mCurrentSize); in applyRemoteViews() 612 private void inflateAsync(@NonNull RemoteViews remoteViews) { in inflateAsync() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/ |
D | AppWidgetServiceImplTest.java | 47 import android.widget.RemoteViews; 168 RemoteViews view = new RemoteViews(mPkgName, android.R.layout.simple_list_item_1); in testProviderUpdatesReceived() 175 verify(mMockHost, times(4)).updateAppWidget(eq(widgetId), any(RemoteViews.class)); in testProviderUpdatesReceived() 186 RemoteViews view = new RemoteViews(mPkgName, android.R.layout.simple_list_item_1); in testProviderUpdatesNotReceived() 191 verify(mMockHost, times(0)).updateAppWidget(anyInt(), any(RemoteViews.class)); in testProviderUpdatesNotReceived() 197 RemoteViews view = new RemoteViews(mPkgName, android.R.layout.simple_list_item_1); in testNoUpdatesReceived_queueEmpty() 215 RemoteViews view = new RemoteViews(mPkgName, android.R.layout.simple_list_item_1); in sendDummyUpdates()
|
/frameworks/base/tests/appwidgets/AppWidgetProviderTest/src/com/android/tests/appwidgetprovider/ |
D | TestAppWidgetProvider.java | 27 import android.widget.RemoteViews; 50 RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.test_appwidget); in onReceive()
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 95 import android.widget.RemoteViews; 403 public RemoteViews tickerView; 414 public RemoteViews contentView; 426 public RemoteViews bigContentView; 440 public RemoteViews headsUpContentView; 2532 tickerView = RemoteViews.CREATOR.createFromParcel(parcel); in readFromParcelImpl() 2535 contentView = RemoteViews.CREATOR.createFromParcel(parcel); in readFromParcelImpl() 2574 bigContentView = RemoteViews.CREATOR.createFromParcel(parcel); in readFromParcelImpl() 2578 headsUpContentView = RemoteViews.CREATOR.createFromParcel(parcel); in readFromParcelImpl() 3227 private static boolean areRemoteViewsChanged(RemoteViews first, RemoteViews second) { in areRemoteViewsChanged() [all …]
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
D | TestAppWidgetProvider.java | 28 import android.widget.RemoteViews; 58 RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.test_appwidget); in onReceive()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationCustomViewWrapperTest.java | 23 import android.widget.RemoteViews; 56 RemoteViews views = new RemoteViews(mContext.getPackageName(), R.layout.custom_view_dark); in testBackgroundPersists()
|