/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 | AppWidgetHost.java | 81 public void updateAppWidget(int appWidgetId, RemoteViews views) { in updateAppWidget() argument 89 Message msg = handler.obtainMessage(HANDLE_UPDATE, appWidgetId, 0, views); in updateAppWidget() 93 public void providerChanged(int appWidgetId, AppWidgetProviderInfo info) { in providerChanged() argument 102 appWidgetId, 0, info); in providerChanged() 114 public void viewDataChanged(int appWidgetId, int viewId) { in viewDataChanged() argument 120 appWidgetId, viewId); in viewDataChanged() 220 updateAppWidgetView(update.appWidgetId, update.views); in startListening() 223 onProviderChanged(update.appWidgetId, update.widgetInfo); in startListening() 226 viewDataChanged(update.appWidgetId, update.viewId); in startListening() 284 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 | AppWidgetManager.java | 534 public void updateAppWidgetOptions(int appWidgetId, Bundle options) { in updateAppWidgetOptions() argument 539 mService.updateAppWidgetOptions(mPackageName, appWidgetId, options); in updateAppWidgetOptions() 556 public Bundle getAppWidgetOptions(int appWidgetId) { in getAppWidgetOptions() argument 561 return mService.getAppWidgetOptions(mPackageName, appWidgetId); in getAppWidgetOptions() 586 public void updateAppWidget(int appWidgetId, RemoteViews views) { in updateAppWidget() argument 590 updateAppWidget(new int[] { appWidgetId }, views); in updateAppWidget() 652 public void partiallyUpdateAppWidget(int appWidgetId, RemoteViews views) { in partiallyUpdateAppWidget() argument 656 partiallyUpdateAppWidget(new int[] { appWidgetId }, views); in partiallyUpdateAppWidget() 738 public void notifyAppWidgetViewDataChanged(int appWidgetId, int viewId) { in notifyAppWidgetViewDataChanged() argument 742 notifyAppWidgetViewDataChanged(new int[] { appWidgetId }, viewId); in notifyAppWidgetViewDataChanged() [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 | 142 public void setAppWidget(int appWidgetId, AppWidgetProviderInfo info) { in setAppWidget() argument 143 mAppWidgetId = appWidgetId; in setAppWidget()
|
/frameworks/base/core/java/com/android/internal/appwidget/ |
D | IAppWidgetService.aidl | 42 void deleteAppWidgetId(String callingPackage, int appWidgetId); in deleteAppWidgetId() argument 46 RemoteViews getAppWidgetViews(String callingPackage, int appWidgetId); in getAppWidgetViews() argument 48 IntentSender createAppWidgetConfigIntentSender(String callingPackage, int appWidgetId, in createAppWidgetConfigIntentSender() argument 55 void updateAppWidgetOptions(String callingPackage, int appWidgetId, in Bundle extras); in updateAppWidgetOptions() argument 56 Bundle getAppWidgetOptions(String callingPackage, int appWidgetId); in getAppWidgetOptions() argument 64 AppWidgetProviderInfo getAppWidgetInfo(String callingPackage, int appWidgetId); in getAppWidgetInfo() argument 68 boolean bindAppWidgetId(in String callingPackage, int appWidgetId, in bindAppWidgetId() argument 71 boolean bindRemoteViewsService(String callingPackage, int appWidgetId, in Intent intent, in bindRemoteViewsService() 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 | 656 intent = PendingIntent.getActivity(mContext, widget.appWidgetId, in maskWidgetsViewsLocked() 924 final int appWidgetId = incrementAndGetAppWidgetIdLocked(userId); in allocateAppWidgetId() local 932 widget.appWidgetId = appWidgetId; in allocateAppWidgetId() 941 Slog.i(TAG, "Allocated widget id " + appWidgetId in allocateAppWidgetId() 945 return appWidgetId; in allocateAppWidgetId() 950 public void deleteAppWidgetId(String callingPackage, int appWidgetId) { in deleteAppWidgetId() argument 965 Widget widget = lookupWidgetLocked(appWidgetId, in deleteAppWidgetId() 977 Slog.i(TAG, "Deleted widget id " + appWidgetId in deleteAppWidgetId() 1037 public IntentSender createAppWidgetConfigIntentSender(String callingPackage, int appWidgetId, in createAppWidgetConfigIntentSender() argument 1053 Widget widget = lookupWidgetLocked(appWidgetId, in createAppWidgetConfigIntentSender() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViewsAdapter.java | 257 int appWidgetId = msg.arg1; in handleMessage() local 260 .bindRemoteViewsService(mContext, appWidgetId, intent, sd, flags); in handleMessage()
|
D | RemoteViews.java | 2959 public void setRemoteAdapter(int appWidgetId, int viewId, Intent intent) {
|
/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 | 7871 field public static final String EXTRA_APPWIDGET_ID = "appWidgetId";
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 10476 Landroid/appwidget/PendingHostUpdate;->appWidgetId:I
|