/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/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetService.kt | 210 val views = RemoteViews(mContext?.getPackageName(), R.layout.appwidget_loading) in getLoadingView() constant 211 return views in getLoadingView() 221 val views = RemoteViews( in getViewAt() constant 232 views.setOnClickFillInIntent(R.id.appwidget_loading, intent) in getViewAt() 233 return views in getViewAt() 236 val views = RemoteViews( in getViewAt() constant 247 views.setOnClickFillInIntent(R.id.appwidget_no_events, intent) in getViewAt() 248 return views in getViewAt() 252 val views = RemoteViews( in getViewAt() constant 257 updateTextView(views, R.id.date, View.VISIBLE, dayInfo!!.mDayLabel) in getViewAt() [all …]
|
D | CalendarAppWidgetProvider.kt | 123 val views = RemoteViews(context.getPackageName(), R.layout.appwidget) in performUpdate() constant 137 views.setTextViewText(R.id.day_of_week, dayOfWeek) in performUpdate() 138 views.setTextViewText(R.id.date, date) in performUpdate() 140 views.setRemoteAdapter(appWidgetId, R.id.events_list, updateIntent) in performUpdate() 151 views.setOnClickPendingIntent(R.id.header, launchCalendarPendingIntent) in performUpdate() 157 views.setPendingIntentTemplate(R.id.events_list, updateEventIntent) in performUpdate() 158 appWidgetManager.updateAppWidget(appWidgetId, views) in performUpdate()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
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 …]
|
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 …]
|
/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/Launcher3/quickstep/src/com/android/quickstep/fallback/ |
D | FallbackRecentsStateController.java | 28 import static com.android.quickstep.views.RecentsView.ADJACENT_PAGE_HORIZONTAL_OFFSET; 29 import static com.android.quickstep.views.RecentsView.FULLSCREEN_PROGRESS; 30 import static com.android.quickstep.views.RecentsView.RECENTS_GRID_PROGRESS; 31 import static com.android.quickstep.views.RecentsView.RECENTS_SCALE_PROPERTY; 32 import static com.android.quickstep.views.RecentsView.TASK_MODALNESS; 33 import static com.android.quickstep.views.RecentsView.TASK_PRIMARY_SPLIT_TRANSLATION; 34 import static com.android.quickstep.views.RecentsView.TASK_SECONDARY_SPLIT_TRANSLATION; 35 import static com.android.quickstep.views.RecentsView.TASK_SECONDARY_TRANSLATION; 36 import static com.android.quickstep.views.RecentsView.TASK_THUMBNAIL_SPLASH_ALPHA; 37 import static com.android.quickstep.views.TaskView.FLAG_UPDATE_ALL; [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | TaskOverlayFactory.java | 19 import static com.android.quickstep.views.OverviewActionsView.DISABLED_NO_THUMBNAIL; 20 import static com.android.quickstep.views.OverviewActionsView.DISABLED_ROTATED; 39 import com.android.launcher3.views.ActivityContext; 40 import com.android.launcher3.views.Snackbar; 42 import com.android.quickstep.views.DesktopTaskView; 43 import com.android.quickstep.views.GroupedTaskView; 44 import com.android.quickstep.views.OverviewActionsView; 45 import com.android.quickstep.views.RecentsView; 46 import com.android.quickstep.views.RecentsViewContainer; 47 import com.android.quickstep.views.TaskThumbnailViewDeprecated; [all …]
|
D | LauncherSwipeHandlerV2.java | 24 import static com.android.launcher3.views.FloatingIconView.SHAPE_PROGRESS_DURATION; 25 import static com.android.launcher3.views.FloatingIconView.getFloatingIconView; 46 import com.android.launcher3.views.ClipIconView; 47 import com.android.launcher3.views.FloatingIconView; 48 import com.android.launcher3.views.FloatingView; 54 import com.android.quickstep.views.FloatingWidgetView; 55 import com.android.quickstep.views.RecentsView; 56 import com.android.quickstep.views.TaskView;
|
D | BaseActivityInterface.java | 26 import static com.android.quickstep.views.RecentsView.ADJACENT_PAGE_HORIZONTAL_OFFSET; 27 import static com.android.quickstep.views.RecentsView.FULLSCREEN_PROGRESS; 28 import static com.android.quickstep.views.RecentsView.RECENTS_SCALE_PROPERTY; 29 import static com.android.quickstep.views.RecentsView.TASK_SECONDARY_TRANSLATION; 50 import com.android.quickstep.views.RecentsView; 51 import com.android.quickstep.views.RecentsViewContainer;
|
D | DesktopSystemShortcut.kt | 24 import com.android.quickstep.views.RecentsView 25 import com.android.quickstep.views.RecentsViewContainer 26 import com.android.quickstep.views.TaskView.TaskContainer
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | RecentsViewStateController.java | 24 import static com.android.quickstep.views.RecentsView.CONTENT_ALPHA; 25 import static com.android.quickstep.views.RecentsView.FULLSCREEN_PROGRESS; 26 import static com.android.quickstep.views.RecentsView.TASK_MODALNESS; 27 import static com.android.quickstep.views.RecentsView.TASK_PRIMARY_SPLIT_TRANSLATION; 28 import static com.android.quickstep.views.RecentsView.TASK_SECONDARY_SPLIT_TRANSLATION; 29 import static com.android.quickstep.views.TaskView.FLAG_UPDATE_ALL; 51 import com.android.quickstep.views.ClearAllButton; 52 import com.android.quickstep.views.LauncherRecentsView; 53 import com.android.quickstep.views.RecentsView;
|
D | BaseRecentsViewStateController.java | 33 import static com.android.quickstep.views.RecentsView.ADJACENT_PAGE_HORIZONTAL_OFFSET; 34 import static com.android.quickstep.views.RecentsView.RECENTS_GRID_PROGRESS; 35 import static com.android.quickstep.views.RecentsView.RECENTS_SCALE_PROPERTY; 36 import static com.android.quickstep.views.RecentsView.TASK_SECONDARY_TRANSLATION; 37 import static com.android.quickstep.views.RecentsView.TASK_THUMBNAIL_SPLASH_ALPHA; 49 import com.android.quickstep.views.RecentsView;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | SearchWidgetProvider.kt | 59 val views = RemoteViews(context!!.getPackageName(), R.layout.search_widget) in updateWidget() constant 60 setOnClickActivityIntent(context, views, R.id.search_widget_text, mQueryTextViewIntent) in updateWidget() 63 setOnClickActivityIntent(context, views, R.id.search_widget_voice_btn, mVoiceSearchIntent) in updateWidget() 64 views.setViewVisibility(R.id.search_widget_voice_btn, View.VISIBLE) in updateWidget() 66 views.setViewVisibility(R.id.search_widget_voice_btn, View.GONE) in updateWidget() 68 appWidgetMgr.updateAppWidget(mAppWidgetId, views) in updateWidget() 73 views: RemoteViews, in setOnClickActivityIntent() 79 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/src/com/android/launcher3/taskbar/ |
D | TaskbarUIController.java | 45 import com.android.quickstep.views.RecentsView; 46 import com.android.quickstep.views.TaskView; 47 import com.android.quickstep.views.TaskView.TaskContainer; 339 View[] views = mControllers.taskbarViewController.getIconViews(); in findMatchingView() local 340 for (int i = views.length - 1; i >= 0; --i) { in findMatchingView() 341 if (views[i] != null in findMatchingView() 342 && views[i].getTag() instanceof ItemInfo in findMatchingView() 343 && ((ItemInfo) views[i].getTag()).screenId == screenId) { in findMatchingView() 344 return views[i]; in findMatchingView()
|
/packages/apps/Launcher3/src/com/android/launcher3/celllayout/ |
D | ViewCluster.kt | 31 views: ArrayList<View>, in <lambda>() 35 @JvmField val views = ArrayList<View>(views) in <lambda>() constant 65 views in <lambda>() 132 views in <lambda>() 147 views.add(v) in <lambda>() 153 config.getBoundingRectForViews(views, boundingRect) in <lambda>()
|
D | ReorderAlgorithm.java | 151 List<View> views = solution.map.keySet().stream().sorted(comparator).toList(); in rearrangementExists() local 152 for (View child : views) { in rearrangementExists() 209 private boolean pushViewsToTempLocation(ArrayList<View> views, Rect rectOccupiedByPotentialDrop, in pushViewsToTempLocation() argument 212 ViewCluster cluster = new ViewCluster(mCellLayout, views, currentState); in pushViewsToTempLocation() 240 for (View v : views) { in pushViewsToTempLocation() 260 if (!cluster.views.contains(v) && v != dragView) { in pushViewsToTempLocation() 296 for (View v : cluster.views) { in pushViewsToTempLocation() 351 private boolean addViewsToTempLocation(ArrayList<View> views, Rect rectOccupiedByPotentialDrop, in addViewsToTempLocation() argument 353 if (views.isEmpty()) return true; in addViewsToTempLocation() 358 currentState.getBoundingRectForViews(views, boundingRect); in addViewsToTempLocation() [all …]
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/ |
D | AppWidgetWithDialog.java | 34 RemoteViews views = new RemoteViews(context.getPackageName(), layoutId); in onUpdate() local 38 views.setOnClickPendingIntent(android.R.id.content, pi); in onUpdate() 39 AppWidgetManager.getInstance(context).updateAppWidget(appWidgetIds, views); in onUpdate()
|
D | ListViewService.java | 57 RemoteViews views = new RemoteViews("android", android.R.layout.simple_list_item_1); in getViewAt() local 58 views.setTextViewText(android.R.id.text1, getLabel(i)); in getViewAt() 59 return views; in getViewAt()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | RecentsAtomicAnimationFactory.java | 18 import static com.android.quickstep.views.RecentsView.ADJACENT_PAGE_HORIZONTAL_OFFSET; 28 import com.android.quickstep.views.RecentsView; 29 import com.android.quickstep.views.RecentsViewContainer;
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | QuickSwitchTouchController.java | 33 import static com.android.quickstep.views.RecentsView.ADJACENT_PAGE_HORIZONTAL_OFFSET; 34 import static com.android.quickstep.views.RecentsView.RECENTS_SCALE_PROPERTY; 35 import static com.android.quickstep.views.RecentsView.UPDATE_SYSUI_FLAGS_THRESHOLD; 51 import com.android.quickstep.views.RecentsView; 52 import com.android.quickstep.views.TaskView;
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/ |
D | CellLayoutTestUtils.java | 25 import com.android.launcher3.views.DoubleShadowBubbleTextView; 63 public static CellLayoutBoard viewsToBoard(List<View> views, int width, int height) { in viewsToBoard() argument 66 for (View callView : views) { in viewsToBoard()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | RecentsViewContainer.java | 17 package com.android.quickstep.views; 32 import com.android.launcher3.views.ActivityContext; 33 import com.android.launcher3.views.ScrimView;
|