Lines Matching defs:intent
101 // If a new RemoteViewsAdapter with the same intent / widget id isn't constructed within this
146 public synchronized void bind(Context context, int appWidgetId, Intent intent) {
150 mgr.bindRemoteViewsService(appWidgetId, intent, asBinder());
160 public synchronized void unbind(Context context, int appWidgetId, Intent intent) {
163 mgr.unbindRemoteViewsService(appWidgetId, intent);
754 public RemoteViewsAdapter(Context context, Intent intent, RemoteAdapterConnectionCallback callback) {
756 mIntent = intent;
757 mAppWidgetId = intent.getIntExtra(RemoteViews.EXTRA_REMOTEADAPTER_APPWIDGET_ID, -1);
764 // Strip the previously injected app widget id from service intent
765 if (intent.hasExtra(RemoteViews.EXTRA_REMOTEADAPTER_APPWIDGET_ID)) {
766 intent.removeExtra(RemoteViews.EXTRA_REMOTEADAPTER_APPWIDGET_ID);