/frameworks/base/core/java/com/android/internal/appwidget/ |
H A D | IAppWidgetHost.aidl | 25 void updateAppWidget(int appWidgetId, in RemoteViews views); 26 void providerChanged(int appWidgetId, in AppWidgetProviderInfo info); 28 void viewDataChanged(int appWidgetId, int viewId);
|
H A D | IAppWidgetService.aidl | 37 void deleteAppWidgetId(int appWidgetId); 40 RemoteViews getAppWidgetViews(int appWidgetId); 46 void updateAppWidgetOptions(int appWidgetId, in Bundle extras); 47 Bundle getAppWidgetOptions(int appWidgetId); 52 AppWidgetProviderInfo getAppWidgetInfo(int appWidgetId); 55 void bindAppWidgetId(int appWidgetId, in ComponentName provider, in Bundle options); 57 in String packageName, int appWidgetId, in ComponentName provider, in Bundle options); 58 void bindRemoteViewsService(int appWidgetId, in Intent intent, in IBinder connection); 59 void unbindRemoteViewsService(int appWidgetId, in Intent intent);
|
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetManager.java | 57 * <td>A newly allocated appWidgetId, which will be bound to the AppWidget provider 68 * <td>The appWidgetId that you supplied in the original intent.</td> 76 * the appWidgetId. 97 * <td>A newly allocated appWidgetId, which will be bound to the AppWidget provider 113 * <td>The appWidgetId that you supplied in the original intent.</td> 122 * the appWidgetId. 139 * <td>The appWidgetId to configure.</td> 152 * An intent extra that contains one appWidgetId. 157 public static final String EXTRA_APPWIDGET_ID = "appWidgetId"; 241 * A sentiel value that the AppWidget manager will never return as a appWidgetId 382 updateAppWidgetOptions(int appWidgetId, Bundle options) argument 402 getAppWidgetOptions(int appWidgetId) argument 430 updateAppWidget(int appWidgetId, RemoteViews views) argument 490 partiallyUpdateAppWidget(int appWidgetId, RemoteViews views) argument 539 notifyAppWidgetViewDataChanged(int appWidgetId, int viewId) argument 573 getAppWidgetInfo(int appWidgetId) argument 606 bindAppWidgetId(int appWidgetId, ComponentName provider) argument 630 bindAppWidgetId(int appWidgetId, ComponentName provider, Bundle options) argument 652 bindAppWidgetIdIfAllowed(int appWidgetId, ComponentName provider) argument 681 bindAppWidgetIdIfAllowed(int appWidgetId, ComponentName provider, Bundle options) argument 743 bindRemoteViewsService(int appWidgetId, Intent intent, IBinder connection) argument 763 unbindRemoteViewsService(int appWidgetId, Intent intent) argument [all...] |
H A D | AppWidgetHost.java | 60 public void updateAppWidget(int appWidgetId, RemoteViews views) { argument 65 msg.arg1 = appWidgetId; 70 public void providerChanged(int appWidgetId, AppWidgetProviderInfo info) { argument 75 msg.arg1 = appWidgetId; 85 public void viewDataChanged(int appWidgetId, int viewId) { argument 87 msg.arg1 = appWidgetId; 190 * Get a appWidgetId for a host in the calling process. 192 * @return a appWidgetId 207 * Get a appWidgetId for a host in the calling process. 209 * @return a appWidgetId 242 deleteAppWidgetId(int appWidgetId) argument 258 deleteAppWidgetIdForSystem(int appWidgetId) argument 308 createView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget) argument 331 onCreateView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget) argument 339 onProviderChanged(int appWidgetId, AppWidgetProviderInfo appWidget) argument 370 updateAppWidgetView(int appWidgetId, RemoteViews views) argument 380 viewDataChanged(int appWidgetId, int viewId) argument [all...] |
H A D | AppWidgetProvider.java | 73 final int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID); 74 this.onDeleted(context, new int[] { appWidgetId }); 81 int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID); 84 appWidgetId, widgetExtras); 126 * @param appWidgetId The appWidgetId of the widget who's size changed. 127 * @param newOptions The appWidgetId of the widget who's size changed. 132 int appWidgetId, Bundle newOptions) { 131 onAppWidgetOptionsChanged(Context context, AppWidgetManager appWidgetManager, int appWidgetId, Bundle newOptions) argument
|
H A D | AppWidgetHostView.java | 137 public void setAppWidget(int appWidgetId, AppWidgetProviderInfo info) { argument 138 mAppWidgetId = appWidgetId;
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
H A D | AppWidgetHostActivity.java | 59 protected AppWidgetHostView onCreateView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget) { 60 return new MyAppWidgetView(appWidgetId); 89 void configureAppWidget(int requestCode, int appWidgetId, ComponentName configure) { argument 92 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); 94 prefs.putInt(PENDING_APPWIDGET_ID, appWidgetId); 102 int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID); 105 AppWidgetProviderInfo appWidget = mAppWidgetManager.getAppWidgetInfo(appWidgetId); 109 configureAppWidget(CONFIGURE_APPWIDGET_REQUEST, appWidgetId, appWidget.configure); 112 addAppWidgetView(appWidgetId, appWidget); 115 mHost.deleteAppWidgetId(appWidgetId); 134 addAppWidgetView(int appWidgetId, AppWidgetProviderInfo appWidget) argument 187 int appWidgetId; field in class:AppWidgetHostActivity.MyAppWidgetView 189 MyAppWidgetView(int appWidgetId) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | AppWidgetService.java | 143 public void deleteAppWidgetId(int appWidgetId) throws RemoteException { argument 144 getImplForUser(getCallingOrCurrentUserId()).deleteAppWidgetId(appWidgetId); 158 public void bindAppWidgetId(int appWidgetId, ComponentName provider, Bundle options) argument 160 getImplForUser(getCallingOrCurrentUserId()).bindAppWidgetId(appWidgetId, provider, 166 String packageName, int appWidgetId, ComponentName provider, Bundle options) 169 packageName, appWidgetId, provider, options); 186 public void bindRemoteViewsService(int appWidgetId, Intent intent, IBinder connection) argument 189 appWidgetId, intent, connection); 251 public AppWidgetProviderInfo getAppWidgetInfo(int appWidgetId) throws RemoteException { argument 252 return getImplForUser(getCallingOrCurrentUserId()).getAppWidgetInfo(appWidgetId); 165 bindAppWidgetIdIfAllowed( String packageName, int appWidgetId, ComponentName provider, Bundle options) argument 256 getAppWidgetViews(int appWidgetId) argument 261 updateAppWidgetOptions(int appWidgetId, Bundle options) argument 266 getAppWidgetOptions(int appWidgetId) argument 295 unbindRemoteViewsService(int appWidgetId, Intent intent) argument [all...] |
H A D | AppWidgetServiceImpl.java | 119 int appWidgetId; field in class:AppWidgetServiceImpl.AppWidgetId 348 pw.println(id.appWidgetId); 423 int appWidgetId = mNextAppWidgetId++; 428 id.appWidgetId = appWidgetId; 436 + " id=" + appWidgetId); 437 return appWidgetId; 441 public void deleteAppWidgetId(int appWidgetId) { argument 444 AppWidgetId id = lookupAppWidgetIdLocked(appWidgetId); 510 // send the broacast saying that this appWidgetId ha 542 bindAppWidgetIdImpl(int appWidgetId, ComponentName provider, Bundle options) argument 601 bindAppWidgetId(int appWidgetId, ComponentName provider, Bundle options) argument 607 bindAppWidgetIdIfAllowed( String packageName, int appWidgetId, ComponentName provider, Bundle options) argument 663 bindRemoteViewsService(int appWidgetId, Intent intent, IBinder connection) argument 715 unbindRemoteViewsService(int appWidgetId, Intent intent) argument 798 incrementAppWidgetServiceRefCount(int appWidgetId, FilterComparison fc) argument 827 getAppWidgetInfo(int appWidgetId) argument 838 getAppWidgetViews(int appWidgetId) argument 896 updateAppWidgetOptions(int appWidgetId, Bundle options) argument 920 getAppWidgetOptions(int appWidgetId) argument 1161 lookupAppWidgetIdLocked(int appWidgetId) argument [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardHostView.java | 1157 int appWidgetId; 1164 appWidgetId = mAppWidgetHost.allocateAppWidgetId(); 1167 mAppWidgetManager.bindAppWidgetId(appWidgetId, defaultAppWidget); 1171 mAppWidgetHost.deleteAppWidgetId(appWidgetId); 1172 appWidgetId = AppWidgetManager.INVALID_APPWIDGET_ID; 1174 return appWidgetId; 1199 int appWidgetId = allocateIdForDefaultAppWidget(); 1200 if (appWidgetId != AppWidgetManager.INVALID_APPWIDGET_ID) { 1201 addedDefaultAppWidget = addWidget(appWidgetId, insertPageIndex, true); 1206 int appWidgetId 1471 goToWidget(int appWidgetId) argument [all...] |
H A D | KeyguardWidgetPager.java | 249 final int appWidgetId = ((KeyguardWidgetFrame) v).getContentAppWidgetId(); 256 mLockPatternUtils.removeAppWidget(appWidgetId); 262 final int appWidgetId = ((KeyguardWidgetFrame) v).getContentAppWidgetId(); 274 mLockPatternUtils.addAppWidget(appWidgetId, index - pagesRange[0]);
|
H A D | KeyguardActivityLauncher.java | 118 public void launchWidgetPicker(int appWidgetId) { argument 121 pickIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId);
|
/frameworks/base/core/java/android/widget/ |
H A D | RemoteViewsAdapter.java | 146 public synchronized void bind(Context context, int appWidgetId, Intent intent) { argument 150 mgr.bindRemoteViewsService(appWidgetId, intent, asBinder()); 160 public synchronized void unbind(Context context, int appWidgetId, Intent intent) { argument 163 mgr.unbindRemoteViewsService(appWidgetId, intent);
|
H A D | RemoteViews.java | 68 * The intent extra that contains the appWidgetId. 1983 * @param appWidgetId The id of the app widget which contains the specified view. (This 1992 public void setRemoteAdapter(int appWidgetId, int viewId, Intent intent) { argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternUtils.java | 1119 public void writeFallbackAppWidgetId(int appWidgetId) { argument 1122 appWidgetId,
|