/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
D | AppWidgetHostActivity.java | 59 …protected AppWidgetHostView onCreateView(Context context, int appWidgetId, AppWidgetProviderInfo a… in onCreate() 60 return new MyAppWidgetView(appWidgetId); in onCreate() 89 void configureAppWidget(int requestCode, int appWidgetId, ComponentName configure) { in configureAppWidget() argument 92 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); in configureAppWidget() 94 prefs.putInt(PENDING_APPWIDGET_ID, appWidgetId); in configureAppWidget() 102 int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID); in handleAppWidgetPickResult() local 105 AppWidgetProviderInfo appWidget = mAppWidgetManager.getAppWidgetInfo(appWidgetId); in handleAppWidgetPickResult() 109 configureAppWidget(CONFIGURE_APPWIDGET_REQUEST, appWidgetId, appWidget.configure); in handleAppWidgetPickResult() 112 addAppWidgetView(appWidgetId, appWidget); in handleAppWidgetPickResult() 115 mHost.deleteAppWidgetId(appWidgetId); in handleAppWidgetPickResult() [all …]
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetManager.java | 491 public void updateAppWidgetOptions(int appWidgetId, Bundle options) { in updateAppWidgetOptions() argument 496 mService.updateAppWidgetOptions(mPackageName, appWidgetId, options); in updateAppWidgetOptions() 513 public Bundle getAppWidgetOptions(int appWidgetId) { in getAppWidgetOptions() argument 518 return mService.getAppWidgetOptions(mPackageName, appWidgetId); in getAppWidgetOptions() 543 public void updateAppWidget(int appWidgetId, RemoteViews views) { in updateAppWidget() argument 547 updateAppWidget(new int[] { appWidgetId }, views); in updateAppWidget() 609 public void partiallyUpdateAppWidget(int appWidgetId, RemoteViews views) { in partiallyUpdateAppWidget() argument 613 partiallyUpdateAppWidget(new int[] { appWidgetId }, views); in partiallyUpdateAppWidget() 665 public void notifyAppWidgetViewDataChanged(int appWidgetId, int viewId) { in notifyAppWidgetViewDataChanged() argument 669 notifyAppWidgetViewDataChanged(new int[] { appWidgetId }, viewId); in notifyAppWidgetViewDataChanged() [all …]
|
D | AppWidgetHost.java | 75 public void updateAppWidget(int appWidgetId, RemoteViews views) { in updateAppWidget() argument 83 Message msg = handler.obtainMessage(HANDLE_UPDATE, appWidgetId, 0, views); in updateAppWidget() 87 public void providerChanged(int appWidgetId, AppWidgetProviderInfo info) { in providerChanged() argument 96 appWidgetId, 0, info); in providerChanged() 108 public void viewDataChanged(int appWidgetId, int viewId) { in viewDataChanged() argument 114 appWidgetId, viewId); in viewDataChanged() 203 updateAppWidgetView(update.appWidgetId, update.views); in startListening() 206 onProviderChanged(update.appWidgetId, update.widgetInfo); in startListening() 209 viewDataChanged(update.appWidgetId, update.viewId); in startListening() 261 int appWidgetId, int intentFlags, int requestCode, @Nullable Bundle options) { in startAppWidgetConfigureActivityForResult() argument [all …]
|
D | PendingHostUpdate.java | 32 final int appWidgetId; field in PendingHostUpdate 38 public static PendingHostUpdate updateAppWidget(int appWidgetId, RemoteViews views) { in updateAppWidget() argument 39 PendingHostUpdate update = new PendingHostUpdate(appWidgetId, TYPE_VIEWS_UPDATE); in updateAppWidget() 44 public static PendingHostUpdate providerChanged(int appWidgetId, AppWidgetProviderInfo info) { in providerChanged() argument 45 PendingHostUpdate update = new PendingHostUpdate(appWidgetId, TYPE_PROVIDER_CHANGED); in providerChanged() 50 public static PendingHostUpdate viewDataChanged(int appWidgetId, int viewId) { in viewDataChanged() argument 51 PendingHostUpdate update = new PendingHostUpdate(appWidgetId, TYPE_VIEW_DATA_CHANGED); in viewDataChanged() 56 private PendingHostUpdate(int appWidgetId, int type) { in PendingHostUpdate() argument 57 this.appWidgetId = appWidgetId; in PendingHostUpdate() 62 appWidgetId = in.readInt(); in PendingHostUpdate() [all …]
|
D | AppWidgetProvider.java | 72 final int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID); in onReceive() local 73 this.onDeleted(context, new int[] { appWidgetId }); in onReceive() 79 int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID); in onReceive() local 82 appWidgetId, widgetExtras); in onReceive() 139 int appWidgetId, Bundle newOptions) { in onAppWidgetOptionsChanged() argument
|
D | AppWidgetHostView.java | 144 public void setAppWidget(int appWidgetId, AppWidgetProviderInfo info) { in setAppWidget() argument 145 mAppWidgetId = appWidgetId; in setAppWidget()
|
/frameworks/base/core/java/com/android/internal/appwidget/ |
D | IAppWidgetService.aidl | 40 void deleteAppWidgetId(String callingPackage, int appWidgetId); in deleteAppWidgetId() argument 43 RemoteViews getAppWidgetViews(String callingPackage, int appWidgetId); in getAppWidgetViews() argument 45 IntentSender createAppWidgetConfigIntentSender(String callingPackage, int appWidgetId, in createAppWidgetConfigIntentSender() argument 52 void updateAppWidgetOptions(String callingPackage, int appWidgetId, in Bundle extras); in updateAppWidgetOptions() argument 53 Bundle getAppWidgetOptions(String callingPackage, int appWidgetId); in getAppWidgetOptions() argument 60 AppWidgetProviderInfo getAppWidgetInfo(String callingPackage, int appWidgetId); in getAppWidgetInfo() argument 63 boolean bindAppWidgetId(in String callingPackage, int appWidgetId, in bindAppWidgetId() argument 65 void bindRemoteViewsService(String callingPackage, int appWidgetId, in Intent intent, in bindRemoteViewsService() argument 67 void unbindRemoteViewsService(String callingPackage, int appWidgetId, in Intent intent); in unbindRemoteViewsService() argument
|
D | IAppWidgetHost.aidl | 26 void updateAppWidget(int appWidgetId, in RemoteViews views); in updateAppWidget() argument 27 void providerChanged(int appWidgetId, in AppWidgetProviderInfo info); in providerChanged() argument 29 void viewDataChanged(int appWidgetId, int viewId); in viewDataChanged() argument
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 616 intent = PendingIntent.getActivity(mContext, widget.appWidgetId, in maskWidgetsViewsLocked() 829 final int appWidgetId = incrementAndGetAppWidgetIdLocked(userId); in allocateAppWidgetId() local 837 widget.appWidgetId = appWidgetId; in allocateAppWidgetId() 846 Slog.i(TAG, "Allocated widget id " + appWidgetId in allocateAppWidgetId() 850 return appWidgetId; in allocateAppWidgetId() 855 public void deleteAppWidgetId(String callingPackage, int appWidgetId) { in deleteAppWidgetId() argument 870 Widget widget = lookupWidgetLocked(appWidgetId, in deleteAppWidgetId() 882 Slog.i(TAG, "Deleted widget id " + appWidgetId in deleteAppWidgetId() 942 public IntentSender createAppWidgetConfigIntentSender(String callingPackage, int appWidgetId, in createAppWidgetConfigIntentSender() argument 958 Widget widget = lookupWidgetLocked(appWidgetId, in createAppWidgetConfigIntentSender() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViewsAdapter.java | 154 public synchronized void bind(Context context, int appWidgetId, Intent intent) { in bind() argument 160 mgr.bindRemoteViewsService(context.getOpPackageName(), appWidgetId, in bind() local 174 public synchronized void unbind(Context context, int appWidgetId, Intent intent) { in unbind() argument 179 mgr.unbindRemoteViewsService(context.getOpPackageName(), appWidgetId, intent); in unbind() local
|
D | RemoteViews.java | 2797 public void setRemoteAdapter(int appWidgetId, int viewId, Intent intent) {
|
/frameworks/base/docs/html/guide/topics/appwidgets/ |
D | host.jd | 121 int appWidgetId = 126 (AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); 164 int appWidgetId = data.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, -1); 168 mAppWidgetManager.getAppWidgetInfo(appWidgetId); 174 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); 214 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId);
|
D | index.jd | 488 int appWidgetId = appWidgetIds[i]; 500 appWidgetManager.updateAppWidget(appWidgetId, views); 1188 int appWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID,
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 5726 field public static final java.lang.String EXTRA_APPWIDGET_ID = "appWidgetId";
|
/frameworks/base/api/ |
D | current.txt | 6601 field public static final java.lang.String EXTRA_APPWIDGET_ID = "appWidgetId";
|
D | system-current.txt | 6894 field public static final java.lang.String EXTRA_APPWIDGET_ID = "appWidgetId";
|
D | test-current.txt | 6610 field public static final java.lang.String EXTRA_APPWIDGET_ID = "appWidgetId";
|