/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetService.java | 202 RemoteViews views = new RemoteViews(mContext.getPackageName(), 204 return views; 215 RemoteViews views = new RemoteViews(mContext.getPackageName(), 219 views.setOnClickFillInIntent(R.id.appwidget_loading, intent); 220 return views; 224 RemoteViews views = new RemoteViews(mContext.getPackageName(), 228 views.setOnClickFillInIntent(R.id.appwidget_no_events, intent); 229 return views; 234 RemoteViews views = new RemoteViews(mContext.getPackageName(), 237 updateTextView(views, R.id.date, View.VISIBLE, dayInfo.mDayLabel); [all …]
|
D | CalendarAppWidgetProvider.java | 132 RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.appwidget); in performUpdate() local 142 views.setTextViewText(R.id.day_of_week, dayOfWeek); in performUpdate() 143 views.setTextViewText(R.id.date, date); in performUpdate() 145 views.setRemoteAdapter(appWidgetId, R.id.events_list, updateIntent); in performUpdate() 156 views.setOnClickPendingIntent(R.id.header, launchCalendarPendingIntent); in performUpdate() 162 views.setPendingIntentTemplate(R.id.events_list, updateEventIntent); in performUpdate() 164 appWidgetManager.updateAppWidget(appWidgetId, views); in performUpdate()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | ViewCache.java | 48 ArrayList<View> views = mViews.get(resId); in putView() local 49 if (views == null) { in putView() 50 views = new ArrayList(); in putView() 51 mViews.put(resId, views); in putView() 53 views.add(view); in putView() 60 ArrayList<View> views = mViews.get(resId); in putView() local 61 if (views == null) { in putView() 62 views = new ArrayList<>(); in putView() 63 mViews.put(resId, views); in putView() 67 views.add(view); in putView() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | CallLogAdapter.java | 778 CallLogListItemViewHolder views = (CallLogListItemViewHolder) viewHolder; in onViewRecycled() local 779 updateCheckMarkedStatusOfEntry(views); in onViewRecycled() 781 if (views.asyncTask != null) { in onViewRecycled() 782 views.asyncTask.cancel(true); in onViewRecycled() 812 CallLogListItemViewHolder views = (CallLogListItemViewHolder) viewHolder; in bindCallLogListViewHolder() local 813 updateCheckMarkedStatusOfEntry(views); in bindCallLogListViewHolder() 815 views.isLoaded = false; in bindCallLogListViewHolder() 818 PhoneCallDetails details = createPhoneCallDetails(c, groupSize, views); in bindCallLogListViewHolder() 819 if (isHiddenRow(views.number, c.getLong(CallLogQuery.ID))) { in bindCallLogListViewHolder() 820 views.callLogEntryView.setVisibility(View.GONE); in bindCallLogListViewHolder() [all …]
|
D | PhoneCallDetailsHelper.java | 154 public void setPhoneCallDetails(PhoneCallDetailsViews views, PhoneCallDetails details) { in setPhoneCallDetails() argument 156 views.callTypeIcons.clear(); in setPhoneCallDetails() 160 views.callTypeIcons.add(details.callTypes[index]); in setPhoneCallDetails() 167 views.callTypeIcons.setShowVideo( in setPhoneCallDetails() 169 views.callTypeIcons.setShowHd( in setPhoneCallDetails() 171 views.callTypeIcons.setShowWifi( in setPhoneCallDetails() 173 views.callTypeIcons.setShowAssistedDialed( in setPhoneCallDetails() 177 views.callTypeIcons.setShowRtt((details.features & Calls.FEATURES_RTT) == Calls.FEATURES_RTT); in setPhoneCallDetails() 179 views.callTypeIcons.requestLayout(); in setPhoneCallDetails() 180 views.callTypeIcons.setVisibility(View.VISIBLE); in setPhoneCallDetails() [all …]
|
D | CallLogListItemHelper.java | 75 public void setPhoneCallDetails(CallLogListItemViewHolder views, PhoneCallDetails details) { in setPhoneCallDetails() argument 76 phoneCallDetailsHelper.setPhoneCallDetails(views.phoneCallDetailsViews, details); in setPhoneCallDetails() 79 views.quickContactView.setContentDescription(getContactBadgeDescription(details)); in setPhoneCallDetails() 82 views.primaryActionView.setContentDescription(details.callDescription); in setPhoneCallDetails() 86 views.nameOrNumber = getNameOrNumber(details); in setPhoneCallDetails() 90 views.callTypeOrLocation = phoneCallDetailsHelper.getCallTypeOrLocation(details); in setPhoneCallDetails() 93 views.countryIso = details.countryIso; in setPhoneCallDetails() 95 views.updatePhoto(); in setPhoneCallDetails() 103 public void setActionContentDescriptions(CallLogListItemViewHolder views) { in setActionContentDescriptions() argument 104 if (views.nameOrNumber == null) { in setActionContentDescriptions() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
D | PhotoAppWidgetProvider.java | 66 RemoteViews views = buildWidget(context, id, entry); in onUpdate() local 67 appWidgetManager.updateAppWidget(id, views); in onUpdate() 81 RemoteViews views = new RemoteViews( in buildStackWidget() local 92 views.setRemoteAdapter(widgetId, R.id.appwidget_stack_view, intent); in buildStackWidget() 94 views.setEmptyView(R.id.appwidget_stack_view, R.id.appwidget_empty_view); in buildStackWidget() 99 views.setPendingIntentTemplate(R.id.appwidget_stack_view, pendingIntent); in buildStackWidget() 101 return views; in buildStackWidget() 105 RemoteViews views = new RemoteViews( in buildFrameWidget() local 110 views.setImageViewBitmap(R.id.photo, bitmap); in buildFrameWidget() 122 views.setOnClickPendingIntent(R.id.photo, pendingClickIntent); in buildFrameWidget() [all …]
|
D | WidgetService.java | 121 RemoteViews views = new RemoteViews( in getViewAt() 124 views.setImageViewBitmap(R.id.appwidget_photo_item, bitmap); in getViewAt() 125 views.setOnClickFillInIntent(R.id.appwidget_photo_item, new Intent() in getViewAt() 128 return views; in getViewAt()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/ |
D | ViewUtils.java | 76 public static void hideViewsAnimated(@Nullable List<View> views, int duration) { 77 for (View view : views) { 115 public static void showViewsAnimated(@Nullable List<View> views, int duration) { 116 for (View view : views) { 131 public static void setVisible(@Nullable List<View> views, boolean visible) { 132 for (View view : views) { 191 List<View> views = new ArrayList<>(viewIds.length()); 197 views.add(view); 202 return views;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | SearchWidgetProvider.java | 163 RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.search_widget); in updateWidget() local 165 setOnClickActivityIntent(context, views, R.id.search_widget_text, in updateWidget() 169 setOnClickActivityIntent(context, views, R.id.search_widget_voice_btn, in updateWidget() 171 views.setViewVisibility(R.id.search_widget_voice_btn, View.VISIBLE); in updateWidget() 173 views.setViewVisibility(R.id.search_widget_voice_btn, View.GONE); in updateWidget() 176 appWidgetMgr.updateAppWidget(mAppWidgetId, views); in updateWidget() 179 private void setOnClickActivityIntent(Context context, RemoteViews views, int viewId, in setOnClickActivityIntent() argument 182 views.setOnClickPendingIntent(viewId, pendingIntent); in setOnClickActivityIntent()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | PhotoAppWidgetProvider.java | 51 RemoteViews views = buildUpdate(context, appWidgetId, helper); in onUpdate() local 53 Log.d(TAG, "sending out views=" + views in onUpdate() 56 appWidgetManager.updateAppWidget(specificAppWidget, views); in onUpdate() 76 RemoteViews views = null; in buildUpdate() local 79 views = new RemoteViews(context.getPackageName(), in buildUpdate() 81 views.setImageViewBitmap(R.id.photo, bitmap); in buildUpdate() 83 return views; in buildUpdate()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/ |
D | RecentsViewStateController.java | 20 import static com.android.quickstep.views.RecentsView.CONTENT_ALPHA; 21 import static com.android.quickstep.views.RecentsView.FULLSCREEN_PROGRESS; 35 import com.android.quickstep.views.ClearAllButton; 36 import com.android.quickstep.views.LauncherRecentsView; 37 import com.android.quickstep.views.RecentsView;
|
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/ |
D | IconRecentsView.java | 16 package com.android.quickstep.views; 613 ArrayList<TaskItemView> views = getTaskViews(); in animateFadeInLayoutAnimation() local 616 for (int i = 0, size = views.size(); i < size; i++) { in animateFadeInLayoutAnimation() 617 TaskItemView view = views.get(i); in animateFadeInLayoutAnimation() 724 final ArrayList<TaskItemView> views = getTaskViews(); in playRemoteTransYAnim() local 729 for (int i = 0, size = views.size(); i < size; i++) { in playRemoteTransYAnim() 730 views.get(i).setTranslationY(totalTransY); in playRemoteTransYAnim() 738 for (int i = 0, size = views.size(); i < size; i++) { in playRemoteTransYAnim() 739 views.get(i).setTranslationY(transY); in playRemoteTransYAnim() 746 for (int i = 0, size = views.size(); i < size; i++) { in playRemoteTransYAnim() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | CellLayout.java | 69 import com.android.launcher3.views.ActivityContext; 70 import com.android.launcher3.views.Transposable; 1311 final ArrayList<View> views; field in CellLayout.ViewCluster 1323 public ViewCluster(ArrayList<View> views, ItemConfiguration config) { in ViewCluster() argument 1324 this.views = (ArrayList<View>) views.clone(); in ViewCluster() 1343 int count = views.size(); in computeEdge() 1345 CellAndSpan cs = config.map.get(views.get(i)); in computeEdge() 1425 for (View v: views) { in shift() 1447 views.add(v); in addView() 1453 config.getBoundingRectForViews(views, boundingRect); in getBoundingRect() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | TrustedCredentialsDialogBuilder.java | 279 final ArrayList<View> views = new ArrayList<View>(); in getCertLayout() local 285 views.add(sslCert.inflateCertificateView(mActivity)); in getCertLayout() 300 for (int i = 0; i < views.size(); i++) { in getCertLayout() 301 views.get(i).setVisibility(i == position ? View.VISIBLE : View.GONE); in getCertLayout() 313 for (int i = 0; i < views.size(); ++i) { in getCertLayout() 314 View certificateView = views.get(i); in getCertLayout()
|
/packages/apps/Settings/src/com/android/settings/ |
D | TrustedCredentialsDialogBuilder.java | 279 final ArrayList<View> views = new ArrayList<View>(); in getCertLayout() local 285 views.add(sslCert.inflateCertificateView(mActivity)); in getCertLayout() 300 for (int i = 0; i < views.size(); i++) { in getCertLayout() 301 views.get(i).setVisibility(i == position ? View.VISIBLE : View.GONE); in getCertLayout() 313 for (int i = 0; i < views.size(); ++i) { in getCertLayout() 314 View certificateView = views.get(i); in getCertLayout()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | ClearAllButton.java | 17 package com.android.quickstep.views; 25 import com.android.quickstep.views.RecentsView.PageCallbacks; 26 import com.android.quickstep.views.RecentsView.ScrollState;
|
D | TaskMenuView.java | 17 package com.android.quickstep.views; 20 import static com.android.quickstep.views.TaskThumbnailView.DIM_ALPHA; 46 import com.android.launcher3.views.BaseDragLayer; 50 import com.android.quickstep.views.IconView.OnScaleUpdateListener;
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | DigitalWellBeingToastTest.java | 19 import com.android.quickstep.views.DigitalWellBeingToast; 20 import com.android.quickstep.views.RecentsView; 21 import com.android.quickstep.views.TaskView;
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/ |
D | RequestPinItemActivity.java | 97 RemoteViews views = new RemoteViews(getPackageName(), layoutId); in requestWidget() local 98 views.setInt(android.R.id.icon, "setBackgroundColor", mRemoteViewColor); in requestWidget() 100 extras.putParcelable(AppWidgetManager.EXTRA_APPWIDGET_PREVIEW, views); in requestWidget()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
D | GalleryGridAdapter.java | 38 @NonNull private final List<GalleryGridItemView> views = new ArrayList<>(); field in GalleryGridAdapter 96 views.add(view); in newView() 102 for (GalleryGridItemView view : views) { in setSelected()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | QuickSwitchTouchController.java | 32 import static com.android.quickstep.views.RecentsView.UPDATE_SYSUI_FLAGS_THRESHOLD; 52 import com.android.quickstep.views.RecentsView; 53 import com.android.quickstep.views.TaskView;
|
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/uioverrides/ |
D | RecentsViewStateController.java | 18 import static com.android.quickstep.views.IconRecentsView.CONTENT_ALPHA; 24 import com.android.quickstep.views.IconRecentsView;
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EditorAnimator.java | 203 private static void translateViews(List<Animator> animators, List<View> views, float fromY, in translateViews() argument 205 for (int i = 0; i < views.size(); i++) { in translateViews() 206 final View child = views.get(i); in translateViews()
|
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/ |
D | RecentsActivity.java | 22 import com.android.launcher3.views.BaseDragLayer; 24 import com.android.quickstep.views.IconRecentsView;
|