Home
last modified time | relevance | path

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

/packages/apps/Music/src/com/android/music/
DMediaAppWidgetProvider.java68 … final RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.album_appwidget); in defaultAppWidget() local
70 views.setViewVisibility(R.id.title, View.GONE); in defaultAppWidget()
71 views.setTextViewText(R.id.artist, res.getText(R.string.widget_initial_text)); in defaultAppWidget()
73 linkButtons(context, views, false /* not playing */); in defaultAppWidget()
74 pushUpdate(context, appWidgetIds, views); in defaultAppWidget()
77 private void pushUpdate(Context context, int[] appWidgetIds, RemoteViews views) { in pushUpdate() argument
81 gm.updateAppWidget(appWidgetIds, views); in pushUpdate()
83 gm.updateAppWidget(new ComponentName(context, this.getClass()), views); in pushUpdate()
114 … final RemoteViews views = new RemoteViews(service.getPackageName(), R.layout.album_appwidget); in performUpdate() local
141 views.setViewVisibility(R.id.title, View.GONE); in performUpdate()
[all …]
DMediaPlaybackService.java1069 RemoteViews views = new RemoteViews(getPackageName(), R.layout.statusbar); in play() local
1070 views.setImageViewResource(R.id.icon, R.drawable.stat_notify_musicplayer); in play()
1073 views.setTextViewText(R.id.trackname, getPath()); in play()
1074 views.setTextViewText(R.id.artistalbum, null); in play()
1077 views.setTextViewText(R.id.trackname, getTrackName()); in play()
1086 views.setTextViewText(R.id.artistalbum, in play()
1092 status.contentView = views; in play()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarAppWidgetService.java161 RemoteViews views = null; in performUpdate() local
194 views = getAppWidgetNoEvents(context); in performUpdate()
196 views = getAppWidgetUpdate(context, cursor, events); in performUpdate()
200 views = getAppWidgetNoEvents(context); in performUpdate()
212 if (views == null) { in performUpdate()
220 gm.updateAppWidget(appWidgetIds, views); in performUpdate()
223 gm.updateAppWidget(thisWidget, views); in performUpdate()
351 private void setNoEventsVisible(RemoteViews views, boolean noEvents) { in setNoEventsVisible() argument
352 views.setViewVisibility(R.id.no_events, noEvents ? View.VISIBLE : View.GONE); in setNoEventsVisible()
355 views.setViewVisibility(R.id.day_of_month, otherViews); in setNoEventsVisible()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DSettingsAppWidgetProvider.java185 public final void setImageViewResources(Context context, RemoteViews views) { in setImageViewResources() argument
191 views.setImageViewResource(buttonId, getButtonImageId(false)); in setImageViewResources()
192 views.setImageViewResource( in setImageViewResources()
196 views.setImageViewResource(buttonId, getButtonImageId(true)); in setImageViewResources()
197 views.setImageViewResource( in setImageViewResources()
207 views.setImageViewResource(buttonId, getButtonImageId(true)); in setImageViewResources()
208 views.setImageViewResource( in setImageViewResources()
211 views.setImageViewResource(buttonId, getButtonImageId(false)); in setImageViewResources()
212 views.setImageViewResource( in setImageViewResources()
617 RemoteViews views = new RemoteViews(context.getPackageName(), in buildUpdate() local
[all …]
/packages/apps/Contacts/src/com/android/contacts/
DRecentCallsListActivity.java593 final RecentCallsListItemViews views = (RecentCallsListItemViews) view.getTag(); in bindGroupView() local
597 views.groupIndicator.setImageResource(groupIndicator); in bindGroupView()
598 views.groupSize.setText("(" + groupSize + ")"); in bindGroupView()
605 RecentCallsListItemViews views = new RecentCallsListItemViews(); in findAndCacheViews() local
606 views.line1View = (TextView) view.findViewById(R.id.line1); in findAndCacheViews()
607 views.labelView = (TextView) view.findViewById(R.id.label); in findAndCacheViews()
608 views.numberView = (TextView) view.findViewById(R.id.number); in findAndCacheViews()
609 views.dateView = (TextView) view.findViewById(R.id.date); in findAndCacheViews()
610 views.iconView = (ImageView) view.findViewById(R.id.call_type_icon); in findAndCacheViews()
611 views.callView = view.findViewById(R.id.call_icon); in findAndCacheViews()
[all …]
DViewContactActivity.java1235 ViewCache views; in getView() local
1240 views = (ViewCache) v.getTag(); in getView()
1246 views = new ViewCache(); in getView()
1247 views.label = (TextView) v.findViewById(android.R.id.text1); in getView()
1248 views.data = (TextView) v.findViewById(android.R.id.text2); in getView()
1249 views.footer = (TextView) v.findViewById(R.id.footer); in getView()
1250 views.actionIcon = (ImageView) v.findViewById(R.id.action_icon); in getView()
1251 views.primaryIcon = (ImageView) v.findViewById(R.id.primary_icon); in getView()
1252 views.presenceIcon = (ImageView) v.findViewById(R.id.presence_icon); in getView()
1253 views.secondaryActionButton = (ImageView) v.findViewById( in getView()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSearchWidgetProvider.java607 RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.search_widget); in updateWidget() local
611 views.setImageViewUri(R.id.corpus_indicator, mCorpusIconUri); in updateWidget()
613 setOnClickActivityIntent(context, views, R.id.corpus_indicator, in updateWidget()
616 views.setCharSequence(R.id.search_widget_text, "setHint", mQueryTextViewHint); in updateWidget()
617 setBackgroundResource(views, R.id.search_widget_text, mQueryTextViewBackgroundResource); in updateWidget()
619 setOnClickActivityIntent(context, views, R.id.search_widget_text, in updateWidget()
623 setOnClickActivityIntent(context, views, R.id.search_widget_voice_btn, in updateWidget()
625 views.setViewVisibility(R.id.search_widget_voice_btn, View.VISIBLE); in updateWidget()
627 views.setViewVisibility(R.id.search_widget_voice_btn, View.GONE); in updateWidget()
632 views.setTextViewText(R.id.voice_search_hint_text, mVoiceSearchHint); in updateWidget()
[all …]
/packages/apps/Gallery3D/src/com/cooliris/media/
DPhotoAppWidgetProvider.java50 RemoteViews views = buildUpdate(context, appWidgetId, helper); in onUpdate() local
52 Log.d(TAG, "sending out views=" + views + " for id=" + appWidgetId); in onUpdate()
54 appWidgetManager.updateAppWidget(specificAppWidget, views); in onUpdate()
73 RemoteViews views = null; in buildUpdate() local
76 views = new RemoteViews(context.getPackageName(), Res.layout.photo_frame); in buildUpdate()
77 views.setImageViewBitmap(Res.id.photo, bitmap); in buildUpdate()
79 return views; in buildUpdate()
DPhotoAppWidgetBind.java69 RemoteViews views = PhotoAppWidgetProvider.buildUpdate(this, appWidgetId, helper); in onCreate() local
70 appWidgetManager.updateAppWidget(new int[] { appWidgetId }, views); in onCreate()
DPhotoAppWidgetConfigure.java96 RemoteViews views = PhotoAppWidgetProvider.buildUpdate(this, mAppWidgetId, helper); in onActivityResult() local
98 appWidgetManager.updateAppWidget(new int[] { mAppWidgetId }, views); in onActivityResult()
/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()
DPhotoAppWidgetBind.java69 RemoteViews views = in onCreate() local
72 appWidgetManager.updateAppWidget(new int[] { appWidgetId }, views); in onCreate()
DPhotoAppWidgetConfigure.java85 RemoteViews views = PhotoAppWidgetProvider.buildUpdate(this, in onActivityResult() local
90 views); in onActivityResult()
/packages/apps/Browser/src/com/android/browser/widget/
DBookmarkWidgetService.java234 RemoteViews views = new RemoteViews(getPackageName(), in updateWidget() local
239 views.setOnClickPendingIntent(R.id.previous, in updateWidget()
245 views.setOnClickPendingIntent(R.id.next, in updateWidget()
254 views.setTextViewText(R.id.title, displayTitle); in updateWidget()
258 views.setImageViewBitmap(R.id.image, res.mBitmap); in updateWidget()
259 views.setViewVisibility(R.id.image, View.VISIBLE); in updateWidget()
260 views.setViewVisibility(R.id.progress, View.GONE); in updateWidget()
262 views.setViewVisibility(R.id.progress, View.VISIBLE); in updateWidget()
263 views.setViewVisibility(R.id.image, View.GONE); in updateWidget()
271 views); in updateWidget()
/packages/apps/DeskClock/src/com/android/alarmclock/
DAnalogAppWidgetProvider.java39 RemoteViews views = new RemoteViews(context.getPackageName(), in onReceive() local
42 views.setOnClickPendingIntent(R.id.analog_appwidget, in onReceive()
51 gm.updateAppWidget(appWidgetIds, views); in onReceive()
/packages/apps/Mms/src/org/w3c/dom/views/
DDocumentView.java13 package org.w3c.dom.views;
DAbstractView.java13 package org.w3c.dom.views;
/packages/apps/Mms/src/org/w3c/dom/smil/
DTimeEvent.java16 import org.w3c.dom.views.AbstractView;
/packages/apps/Settings/src/com/android/settings/
DDeviceAdminAdd.java240 static void setViewVisibility(ArrayList<View> views, int visibility) { in setViewVisibility() argument
241 final int N = views.size(); in setViewVisibility()
243 views.get(i).setVisibility(visibility); in setViewVisibility()
/packages/apps/Launcher2/src/com/android/launcher2/
DWorkspace.java603 public void addFocusables(ArrayList<View> views, int direction, int focusableMode) { in addFocusables() argument
607 getChildAt(mCurrentScreen).addFocusables(views, direction); in addFocusables()
610 getChildAt(mCurrentScreen - 1).addFocusables(views, direction); in addFocusables()
614 getChildAt(mCurrentScreen + 1).addFocusables(views, direction); in addFocusables()
618 openFolder.addFocusables(views, direction); in addFocusables()