Home
last modified time | relevance | path

Searched refs:views (Results 1 – 25 of 208) sorted by relevance

123456789

/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetService.java202 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 …]
DCalendarAppWidgetProvider.java132 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/
DViewCache.java48 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/
DPhoneCallDetailsHelper.java154 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 …]
DCallLogAdapter.java778 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 …]
DCallLogListItemHelper.java75 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/
DPhotoAppWidgetProvider.java66 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 …]
DWidgetService.java121 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/
DViewUtils.java116 public static void hideViewsAnimated(@Nullable List<View> views, int duration) {
117 if (views == null) {
120 for (View view : views) {
172 public static void showViewsAnimated(@Nullable List<View> views, int duration) {
173 for (View view : views) {
188 public static void setVisible(@Nullable List<View> views, boolean visible) {
189 for (View view : views) {
248 List<View> views = new ArrayList<>(viewIds.length());
254 views.add(view);
259 return views;
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/
DFallbackRecentsStateController.java25 import static com.android.quickstep.views.RecentsView.ADJACENT_PAGE_HORIZONTAL_OFFSET;
26 import static com.android.quickstep.views.RecentsView.FULLSCREEN_PROGRESS;
27 import static com.android.quickstep.views.RecentsView.RECENTS_GRID_PROGRESS;
28 import static com.android.quickstep.views.RecentsView.RECENTS_SCALE_PROPERTY;
29 import static com.android.quickstep.views.RecentsView.TASK_MODALNESS;
30 import static com.android.quickstep.views.RecentsView.TASK_SECONDARY_TRANSLATION;
31 import static com.android.quickstep.views.TaskView.FLAG_UPDATE_ALL;
39 import com.android.quickstep.views.ClearAllButton;
DFallbackRecentsView.java40 import com.android.quickstep.views.OverviewActionsView;
41 import com.android.quickstep.views.RecentsView;
42 import com.android.quickstep.views.SplitPlaceholderView;
43 import com.android.quickstep.views.TaskView;
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DRecentsViewStateController.java24 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.SplitPlaceholderView.ALPHA_FLOAT;
28 import static com.android.quickstep.views.TaskView.FLAG_UPDATE_ALL;
43 import com.android.quickstep.views.ClearAllButton;
44 import com.android.quickstep.views.LauncherRecentsView;
45 import com.android.quickstep.views.RecentsView;
DBaseRecentsViewStateController.java27 import static com.android.quickstep.views.RecentsView.ADJACENT_PAGE_HORIZONTAL_OFFSET;
28 import static com.android.quickstep.views.RecentsView.RECENTS_GRID_PROGRESS;
29 import static com.android.quickstep.views.RecentsView.RECENTS_SCALE_PROPERTY;
30 import static com.android.quickstep.views.RecentsView.TASK_PRIMARY_SPLIT_TRANSLATION;
31 import static com.android.quickstep.views.RecentsView.TASK_SECONDARY_SPLIT_TRANSLATION;
32 import static com.android.quickstep.views.RecentsView.TASK_SECONDARY_TRANSLATION;
44 import com.android.quickstep.views.RecentsView;
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSearchWidgetProvider.java163 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/
DPhotoAppWidgetProvider.java51 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/quickstep/
DTaskOverlayFactory.java22 import static com.android.quickstep.views.OverviewActionsView.DISABLED_NO_THUMBNAIL;
23 import static com.android.quickstep.views.OverviewActionsView.DISABLED_ROTATED;
50 import com.android.quickstep.views.OverviewActionsView;
51 import com.android.quickstep.views.RecentsView;
52 import com.android.quickstep.views.TaskThumbnailView;
53 import com.android.quickstep.views.TaskView;
DLauncherSwipeHandlerV2.java28 import static com.android.launcher3.views.FloatingIconView.SHAPE_PROGRESS_DURATION;
29 import static com.android.launcher3.views.FloatingIconView.getFloatingIconView;
59 import com.android.launcher3.views.FloatingIconView;
60 import com.android.launcher3.views.FloatingView;
66 import com.android.quickstep.views.FloatingWidgetView;
67 import com.android.quickstep.views.RecentsView;
68 import com.android.quickstep.views.TaskView;
DBaseActivityInterface.java27 import static com.android.quickstep.views.RecentsView.ADJACENT_PAGE_HORIZONTAL_OFFSET;
28 import static com.android.quickstep.views.RecentsView.FULLSCREEN_PROGRESS;
29 import static com.android.quickstep.views.RecentsView.RECENTS_SCALE_PROPERTY;
30 import static com.android.quickstep.views.RecentsView.TASK_SECONDARY_TRANSLATION;
57 import com.android.launcher3.views.ScrimView;
62 import com.android.quickstep.views.OverviewActionsView;
63 import com.android.quickstep.views.RecentsView;
64 import com.android.quickstep.views.TaskView;
DRecentsActivity.java68 import com.android.launcher3.views.BaseDragLayer;
69 import com.android.launcher3.views.ScrimView;
76 import com.android.quickstep.views.OverviewActionsView;
77 import com.android.quickstep.views.RecentsView;
78 import com.android.quickstep.views.SplitPlaceholderView;
79 import com.android.quickstep.views.TaskView;
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DViewInflationDuringSwipeUp.java163 RemoteViews views = createMainWidgetViews("List widget title"); in testSwipeUp_with_list_widgets()
164 views.setRemoteAdapter(android.R.id.list, in testSwipeUp_with_list_widgets()
166 AppWidgetManager.getInstance(getContext()).updateAppWidget(widgetId, views); in testSwipeUp_with_list_widgets()
242 RemoteViews views = new RemoteViews(c.getPackageName(), layoutId); in createMainWidgetViews() local
243 views.setTextViewText(android.R.id.text1, title); in createMainWidgetViews()
244 return views; in createMainWidgetViews()
DDigitalWellBeingToastTest.java19 import com.android.quickstep.views.DigitalWellBeingToast;
20 import com.android.quickstep.views.RecentsView;
21 import com.android.quickstep.views.TaskView;
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DQuickSwitchTouchController.java33 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/Settings/src/com/android/settings/
DTrustedCredentialsDialogBuilder.java279 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/tests/src/com/android/launcher3/testcomponent/
DListViewService.java57 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/src/com/android/launcher3/
DCellLayout.java72 import com.android.launcher3.views.ActivityContext;
1374 final ArrayList<View> views; field in CellLayout.ViewCluster
1386 public ViewCluster(ArrayList<View> views, ItemConfiguration config) { in ViewCluster() argument
1387 this.views = (ArrayList<View>) views.clone(); in ViewCluster()
1406 int count = views.size(); in computeEdge()
1408 CellAndSpan cs = config.map.get(views.get(i)); in computeEdge()
1488 for (View v: views) { in shift()
1510 views.add(v); in addView()
1516 config.getBoundingRectForViews(views, boundingRect); in getBoundingRect()
1547 private boolean pushViewsToTempLocation(ArrayList<View> views, Rect rectOccupiedByPotentialDrop, in pushViewsToTempLocation() argument
[all …]

123456789