Searched refs:PendingHostUpdate (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/appwidget/ |
D | PendingHostUpdate.java | 26 public class PendingHostUpdate implements Parcelable { class 38 public static PendingHostUpdate updateAppWidget(int appWidgetId, RemoteViews views) { in updateAppWidget() 39 PendingHostUpdate update = new PendingHostUpdate(appWidgetId, TYPE_VIEWS_UPDATE); in updateAppWidget() 44 public static PendingHostUpdate providerChanged(int appWidgetId, AppWidgetProviderInfo info) { in providerChanged() 45 PendingHostUpdate update = new PendingHostUpdate(appWidgetId, TYPE_PROVIDER_CHANGED); in providerChanged() 50 public static PendingHostUpdate viewDataChanged(int appWidgetId, int viewId) { in viewDataChanged() 51 PendingHostUpdate update = new PendingHostUpdate(appWidgetId, TYPE_VIEW_DATA_CHANGED); in viewDataChanged() 56 private PendingHostUpdate(int appWidgetId, int type) { in PendingHostUpdate() method in PendingHostUpdate 61 private PendingHostUpdate(Parcel in) { in PendingHostUpdate() method in PendingHostUpdate 115 public static final Parcelable.Creator<PendingHostUpdate> CREATOR [all …]
|
D | AppWidgetHost.java | 201 List<PendingHostUpdate> updates; in startListening() 212 PendingHostUpdate update = updates.get(i); in startListening() 214 case PendingHostUpdate.TYPE_VIEWS_UPDATE: in startListening() 217 case PendingHostUpdate.TYPE_PROVIDER_CHANGED: in startListening() 220 case PendingHostUpdate.TYPE_VIEW_DATA_CHANGED: in startListening()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/ |
D | AppWidgetServiceImplTest.java | 32 import android.appwidget.PendingHostUpdate; 172 List<PendingHostUpdate> updates = mService.startListening( in testNoUpdatesReceived_queueEmpty() 203 List<PendingHostUpdate> updates = mService.startListening( in testNoUpdatesReceived_queueNonEmpty_noWidgetId() 216 List<PendingHostUpdate> updates = mService.startListening( in testUpdatesReceived_queueNotEmpty_widgetIdProvided() 230 List<PendingHostUpdate> updates = mService.startListening( in testUpdatesReceived_queueNotEmpty_widgetIdProvided2() 244 List<PendingHostUpdate> updates = mService.startListening( in testUpdatesReceived_queueNotEmpty_multipleWidgetIdProvided() 258 List<PendingHostUpdate> updates = mService.startListening( in testUpdatesReceived_queueEmptyAfterStartListening() 290 List<PendingHostUpdate> updates = mService.startListening( in setupHostAndWidget()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 39 import android.appwidget.PendingHostUpdate; 828 public ParceledListSlice<PendingHostUpdate> startListening(IAppWidgetHost callbacks, in startListening() 856 ArrayList<PendingHostUpdate> outUpdates = new ArrayList<>(N); in startListening() 857 LongSparseArray<PendingHostUpdate> updatesMap = new LongSparseArray<>(); in startListening() 4021 LongSparseArray<PendingHostUpdate> outUpdates) { in getPendingUpdatesForId() 4034 final PendingHostUpdate update; in getPendingUpdatesForId() 4037 update = PendingHostUpdate.providerChanged( in getPendingUpdatesForId() 4041 update = PendingHostUpdate.updateAppWidget(appWidgetId, in getPendingUpdatesForId() 4045 update = PendingHostUpdate.viewDataChanged(appWidgetId, id); in getPendingUpdatesForId()
|