/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | CallLogAdapter.java | 561 CallLogListItemViewHolder views = (CallLogListItemViewHolder) viewHolder; in onViewRecycled() local 562 if (views.asyncTask != null) { in onViewRecycled() 563 views.asyncTask.cancel(true); in onViewRecycled() 593 CallLogListItemViewHolder views = (CallLogListItemViewHolder) viewHolder; in bindCallLogListViewHolder() local 594 views.isLoaded = false; in bindCallLogListViewHolder() 597 PhoneCallDetails details = createPhoneCallDetails(c, groupSize, views); in bindCallLogListViewHolder() 599 views.callLogEntryView.setVisibility(View.GONE); in bindCallLogListViewHolder() 600 views.dayGroupHeader.setVisibility(View.GONE); in bindCallLogListViewHolder() 603 views.callLogEntryView.setVisibility(View.VISIBLE); in bindCallLogListViewHolder() 606 if (mCurrentlyExpandedRowId == views.rowId) { in bindCallLogListViewHolder() [all …]
|
D | PhoneCallDetailsHelper.java | 75 public void setPhoneCallDetails(PhoneCallDetailsViews views, PhoneCallDetails details) { in setPhoneCallDetails() argument 77 views.callTypeIcons.clear(); in setPhoneCallDetails() 81 views.callTypeIcons.add(details.callTypes[index]); in setPhoneCallDetails() 88 views.callTypeIcons.setShowVideo( in setPhoneCallDetails() 90 views.callTypeIcons.setShowHd( in setPhoneCallDetails() 92 views.callTypeIcons.setShowWifi( in setPhoneCallDetails() 94 views.callTypeIcons.requestLayout(); in setPhoneCallDetails() 95 views.callTypeIcons.setVisibility(View.VISIBLE); in setPhoneCallDetails() 106 setDetailText(views, callCount, details); in setPhoneCallDetails() 120 views.callAccountLabel.setVisibility(View.VISIBLE); in setPhoneCallDetails() [all …]
|
D | CallLogListItemHelper.java | 76 public void setPhoneCallDetails(CallLogListItemViewHolder views, PhoneCallDetails details) { in setPhoneCallDetails() argument 77 mPhoneCallDetailsHelper.setPhoneCallDetails(views.phoneCallDetailsViews, details); in setPhoneCallDetails() 80 views.quickContactView.setContentDescription(getContactBadgeDescription(details)); in setPhoneCallDetails() 83 views.primaryActionView.setContentDescription(details.callDescription); in setPhoneCallDetails() 87 views.nameOrNumber = getNameOrNumber(details); in setPhoneCallDetails() 91 views.callTypeOrLocation = mPhoneCallDetailsHelper.getCallTypeOrLocation(details); in setPhoneCallDetails() 94 views.countryIso = details.countryIso; in setPhoneCallDetails() 96 views.updatePhoto(); in setPhoneCallDetails() 104 public void setActionContentDescriptions(CallLogListItemViewHolder views) { in setActionContentDescriptions() argument 105 if (views.nameOrNumber == null) { in setActionContentDescriptions() [all …]
|
/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/Music/src/com/android/music/ |
D | MediaAppWidgetProvider.java | 68 final RemoteViews views = in defaultAppWidget() local 71 views.setViewVisibility(R.id.title, View.GONE); in defaultAppWidget() 72 views.setTextViewText(R.id.artist, res.getText(R.string.widget_initial_text)); in defaultAppWidget() 74 linkButtons(context, views, false /* not playing */); in defaultAppWidget() 75 pushUpdate(context, appWidgetIds, views); in defaultAppWidget() 78 private void pushUpdate(Context context, int[] appWidgetIds, RemoteViews views) { in pushUpdate() argument 82 gm.updateAppWidget(appWidgetIds, views); in pushUpdate() 84 gm.updateAppWidget(new ComponentName(context, this.getClass()), views); in pushUpdate() 115 final RemoteViews views = in performUpdate() local 142 views.setViewVisibility(R.id.title, View.GONE); in performUpdate() [all …]
|
D | MediaPlaybackService.java | 1180 RemoteViews views = new RemoteViews(getPackageName(), R.layout.statusbar); in updateNotification() local 1181 views.setImageViewResource(R.id.icon, R.drawable.stat_notify_musicplayer); in updateNotification() 1184 views.setTextViewText(R.id.trackname, getPath()); in updateNotification() 1185 views.setTextViewText(R.id.artistalbum, null); in updateNotification() 1188 views.setTextViewText(R.id.trackname, getTrackName()); in updateNotification() 1197 views.setTextViewText( in updateNotification() 1201 status.contentView = views; in updateNotification()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | SettingsAppWidgetProvider.java | 199 public final void setImageViewResources(Context context, RemoteViews views) { in setImageViewResources() argument 206 views.setContentDescription(containerId, in setImageViewResources() 208 views.setImageViewResource(buttonId, getButtonImageId(false)); in setImageViewResources() 209 views.setImageViewResource( in setImageViewResources() 213 views.setContentDescription(containerId, in setImageViewResources() 215 views.setImageViewResource(buttonId, getButtonImageId(true)); in setImageViewResources() 216 views.setImageViewResource( in setImageViewResources() 226 views.setContentDescription(containerId, in setImageViewResources() 228 views.setImageViewResource(buttonId, getButtonImageId(true)); in setImageViewResources() 229 views.setImageViewResource( in setImageViewResources() [all …]
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
D | ContactFragment.java | 668 ViewCache views; in getView() local 673 views = (ViewCache) v.getTag(); in getView() 679 views = new ViewCache(); in getView() 680 views.label = (TextView) v.findViewById(android.R.id.text1); in getView() 681 views.data = (TextView) v.findViewById(android.R.id.text2); in getView() 682 views.footer = (TextView) v.findViewById(R.id.footer); in getView() 683 views.actionIcon = (ImageView) v.findViewById(R.id.action_icon); in getView() 684 views.primaryIcon = (ImageView) v.findViewById(R.id.primary_icon); in getView() 685 views.presenceIcon = (ImageView) v.findViewById(R.id.presence_icon); in getView() 686 views.secondaryActionButton = (ImageView) v.findViewById( in getView() [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/Launcher2/src/com/android/launcher2/ |
D | FocusHelper.java | 572 ArrayList<View> views = new ArrayList<View>(); in getCellLayoutChildrenSortedSpatially() local 574 views.add(parent.getChildAt(j)); in getCellLayoutChildrenSortedSpatially() 576 Collections.sort(views, new Comparator<View>() { in getCellLayoutChildrenSortedSpatially() 586 return views; in getCellLayoutChildrenSortedSpatially() 594 private static View findIndexOfIcon(ArrayList<View> views, int i, int delta) { in findIndexOfIcon() argument 596 final int count = views.size(); in findIndexOfIcon() 599 View newV = views.get(newI); in findIndexOfIcon() 609 final ArrayList<View> views = getCellLayoutChildrenSortedSpatially(layout, parent); in getIconInDirection() local 610 return findIndexOfIcon(views, i, delta); in getIconInDirection() 614 final ArrayList<View> views = getCellLayoutChildrenSortedSpatially(layout, parent); in getIconInDirection() local [all …]
|
D | CellLayout.java | 1600 ArrayList<View> views; field in CellLayout.ViewCluster 1611 public ViewCluster(ArrayList<View> views, ItemConfiguration config) { in ViewCluster() argument 1612 this.views = (ArrayList<View>) views.clone(); in ViewCluster() 1634 int count = views.size(); in computeEdge() 1636 CellAndSpan cs = config.map.get(views.get(i)); in computeEdge() 1713 for (View v: views) { in shift() 1735 views.add(v); in addView() 1742 for (View v: views) { in getBoundingRect() 1823 private boolean pushViewsToTempLocation(ArrayList<View> views, Rect rectOccupiedByPotentialDrop, in pushViewsToTempLocation() argument 1826 ViewCluster cluster = new ViewCluster(views, currentState); in pushViewsToTempLocation() [all …]
|
/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()
|
D | PhotoAppWidgetBind.java | 69 RemoteViews views = in onCreate() local 72 appWidgetManager.updateAppWidget(new int[] { appWidgetId }, views); in onCreate()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | CellLayout.java | 1352 ArrayList<View> views; field in CellLayout.ViewCluster 1364 public ViewCluster(ArrayList<View> views, ItemConfiguration config) { in ViewCluster() argument 1365 this.views = (ArrayList<View>) views.clone(); in ViewCluster() 1384 int count = views.size(); in computeEdge() 1386 CellAndSpan cs = config.map.get(views.get(i)); in computeEdge() 1466 for (View v: views) { in shift() 1488 views.add(v); in addView() 1494 config.getBoundingRectForViews(views, boundingRect); in getBoundingRect() 1525 private boolean pushViewsToTempLocation(ArrayList<View> views, Rect rectOccupiedByPotentialDrop, in pushViewsToTempLocation() argument 1528 ViewCluster cluster = new ViewCluster(views, currentState); in pushViewsToTempLocation() [all …]
|
/packages/apps/Car/Media/src/com/android/car/media/util/widgets/ |
D | MusicPanelLayout.java | 35 public void addFocusables(ArrayList<View> views, int direction, int focusMode) { in addFocusables() argument 38 views.add(mDefaultFocus); in addFocusables() 40 super.addFocusables(views, direction, focusMode); in addFocusables() 44 Log.d(TAG, "addFocusables views=" + views + " dir=" + direction + " mode = " in addFocusables()
|
/packages/apps/Settings/src/com/android/settings/ |
D | TrustedCredentialsDialogBuilder.java | 278 final ArrayList<View> views = new ArrayList<View>(); in getCertLayout() local 284 views.add(sslCert.inflateCertificateView(mActivity)); in getCertLayout() 299 for (int i = 0; i < views.size(); i++) { in getCertLayout() 300 views.get(i).setVisibility(i == position ? View.VISIBLE : View.GONE); in getCertLayout() 312 for (int i = 0; i < views.size(); ++i) { in getCertLayout() 313 View certificateView = views.get(i); in getCertLayout()
|
/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/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/src/com/android/launcher3/folder/ |
D | Folder.java | 936 ArrayList<View> views = getItemsInReadingOrder(); in onDropCompleted() local 937 views.add(info.rank, icon); in onDropCompleted() 938 mContent.arrangeChildren(views, views.size()); in onDropCompleted() 1167 ArrayList<View> views = getItemsInReadingOrder(); in rearrangeChildren() local 1168 mContent.arrangeChildren(views, Math.max(itemCount, views.size())); in rearrangeChildren()
|
D | FolderPagedView.java | 194 ArrayList<View> views = new ArrayList<>(mFolder.getItemsInReadingOrder()); in allocateRankForNewItem() local 195 views.add(rank, null); in allocateRankForNewItem() 196 arrangeChildren(views, views.size(), false); in allocateRankForNewItem()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationOverlayItem.java | 199 public void registerOnKeyListeners(View... views) { in registerOnKeyListeners() argument 202 for (View v : views) { in registerOnKeyListeners()
|