/frameworks/base/core/java/android/appwidget/ |
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) {
|
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/ |
ExampleAppWidgetProvider.java | 60 int appWidgetId = appWidgetIds[i]; 61 String titlePrefix = ExampleAppWidgetConfigure.loadTitlePref(context, appWidgetId); 62 updateAppWidget(context, appWidgetManager, appWidgetId, titlePrefix); 103 int appWidgetId, String titlePrefix) { 104 Log.d(TAG, "updateAppWidget appWidgetId=" + appWidgetId + " titlePrefix=" + titlePrefix); 108 ExampleAppWidgetConfigure.loadTitlePref(context, appWidgetId), 118 appWidgetManager.updateAppWidget(appWidgetId, views);
|
/packages/apps/Gallery/src/com/android/camera/ |
PhotoAppWidgetBind.java | 42 // appWidgetId, which probably is happening during a Launcher upgrade. 65 int appWidgetId = appWidgetIds[i]; 66 helper.setPhoto(appWidgetId, bitmaps.get(i)); 70 PhotoAppWidgetProvider.buildUpdate(this, appWidgetId, 72 appWidgetManager.updateAppWidget(new int[] { appWidgetId }, views);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherAppWidgetInfo.java | 37 int appWidgetId = NO_ID; 53 LauncherAppWidgetInfo(int appWidgetId, ComponentName providerName) { 55 this.appWidgetId = appWidgetId; 67 values.put(LauncherSettings.Favorites.APPWIDGET_ID, appWidgetId); 90 return "AppWidget(id=" + Integer.toString(appWidgetId) + ")";
|
LauncherProvider.java | 287 "appWidgetId INTEGER NOT NULL DEFAULT -1," + 417 // upgrade 1,2 -> 3 added appWidgetId column 422 "ADD COLUMN appWidgetId INTEGER NOT NULL DEFAULT -1;"); 711 // Allocate and update database with new appWidgetId 713 int appWidgetId = mAppWidgetHost.allocateAppWidgetId(); 716 Log.d(TAG, "allocated appWidgetId=" + appWidgetId 721 values.put(Favorites.APPWIDGET_ID, appWidgetId); 737 appWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId, 742 appWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId, [all...] |
LauncherModel.java | [all...] |
Launcher.java | 611 int appWidgetId = args.intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, -1); 612 completeAddAppWidget(appWidgetId, args.container, args.screen, null, null); 634 int appWidgetId = data != null ? 637 completeTwoStageWidgetDrop(RESULT_CANCELED, appWidgetId); 639 addAppWidgetImpl(appWidgetId, mPendingAddInfo, null, mPendingAddWidgetInfo); 650 final int appWidgetId; 654 appWidgetId = pendingAddWidgetId; 656 appWidgetId = widgetId; 659 if (appWidgetId < 0) { 660 Log.e(TAG, "Error: appWidgetId (EXTRA_APPWIDGET_ID) was not returned from the \\" [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherAppWidgetInfo.java | 37 int appWidgetId = NO_ID; 53 LauncherAppWidgetInfo(int appWidgetId, ComponentName providerName) { 55 this.appWidgetId = appWidgetId; 67 values.put(LauncherSettings.Favorites.APPWIDGET_ID, appWidgetId); 91 return "AppWidget(id=" + Integer.toString(appWidgetId) + ")";
|
LauncherProvider.java | 350 "appWidgetId INTEGER NOT NULL DEFAULT -1," + 542 // upgrade 1,2 -> 3 added appWidgetId column 547 "ADD COLUMN appWidgetId INTEGER NOT NULL DEFAULT -1;"); [all...] |
LauncherModel.java | [all...] |
Launcher.java | 694 int appWidgetId = args.intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, -1); 695 completeAddAppWidget(appWidgetId, args.container, args.screenId, null, null); 713 int appWidgetId = data != null ? 716 completeTwoStageWidgetDrop(RESULT_CANCELED, appWidgetId); 718 addAppWidgetImpl(appWidgetId, mPendingAddInfo, null, mPendingAddWidgetInfo); 734 int appWidgetId = data != null ? 736 if (appWidgetId < 0) { 737 Log.e(TAG, "Error: appWidgetId (EXTRA_APPWIDGET_ID) was not returned from the \\" + 739 completeTwoStageWidgetDrop(RESULT_CANCELED, appWidgetId); 742 completeTwoStageWidgetDrop(resultCode, appWidgetId); [all...] |
/development/samples/StackWidget/src/com/example/android/stackwidget/ |
StackWidgetProvider.java | 51 int appWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID,
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
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) { 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); [all...] |
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
WeatherWidgetProvider.java | 138 final int appWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, 142 final int appWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, 152 private RemoteViews buildLayout(Context context, int appWidgetId, boolean largeLayout) { 156 // embed the appWidgetId via the data otherwise it will be ignored. 158 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); 161 rv.setRemoteAdapter(appWidgetId, R.id.weather_list, intent); 172 onClickIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); 218 int appWidgetId, Bundle newOptions) { 231 layout = buildLayout(context, appWidgetId, mIsLargeLayout); 232 appWidgetManager.updateAppWidget(appWidgetId, layout) [all...] |
/development/apps/WidgetPreview/src/com/android/widgetpreview/ |
WidgetPreviewActivity.java | 113 int appWidgetId = AppWidgetManager.INVALID_APPWIDGET_ID; 115 appWidgetId = data.getExtras().getInt(AppWidgetManager.EXTRA_APPWIDGET_ID); 119 setAppWidget(appWidgetId); 121 mAppWidgetHost.deleteAppWidgetId(appWidgetId); 129 int appWidgetId = data.getExtras().getInt( 132 finishSetAppWidget(appWidgetId); 134 mAppWidgetHost.deleteAppWidgetId(appWidgetId); 140 private void setAppWidget(int appWidgetId) { 147 AppWidgetManager.getInstance(getBaseContext()).getAppWidgetInfo(appWidgetId); 152 configureIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardWidgetPager.java | 282 final int appWidgetId = ((KeyguardWidgetFrame) v).getContentAppWidgetId(); 289 mLockPatternUtils.removeAppWidget(appWidgetId); 302 final int appWidgetId = ((KeyguardWidgetFrame) v).getContentAppWidgetId(); 314 mLockPatternUtils.addAppWidget(appWidgetId, index - pagesRange[0]); [all...] |
KeyguardHostView.java | 236 int appWidgetId = appWidgetIdsBoundToHost[i]; 237 if (!contains(appWidgetIdsInKeyguardSettings, appWidgetId)) { 238 Log.d(TAG, "Found a appWidgetId that's not being used by keyguard, deleting id " 239 + appWidgetId); 240 mAppWidgetHost.deleteAppWidgetId(appWidgetId); 529 final int appWidgetId = ((KeyguardWidgetFrame) v).getContentAppWidgetId(); 530 if (appWidgetId != AppWidgetManager.INVALID_APPWIDGET_ID && 531 appWidgetId != LockPatternUtils.ID_DEFAULT_STATUS_WIDGET) { 532 mAppWidgetHost.deleteAppWidgetId(appWidgetId); [all...] |
/packages/apps/Settings/src/com/android/settings/ |
KeyguardAppWidgetPickActivity.java | 101 // Read the appWidgetId passed our direction, otherwise bail if not found 557 int appWidgetId; 559 appWidgetId = AppWidgetManager.INVALID_APPWIDGET_ID ; 561 appWidgetId = data.getIntExtra( 568 appWidget = appWidgetManager.getAppWidgetInfo(appWidgetId); 575 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); 583 mLockPatternUtils.addAppWidget(appWidgetId, 0); 584 finishDelayedAndShowLockScreen(appWidgetId); 596 private void finishDelayedAndShowLockScreen(int appWidgetId) { 600 if (appWidgetId != AppWidgetManager.INVALID_APPWIDGET_ID) [all...] |
/frameworks/base/services/java/com/android/server/ |
AppWidgetServiceImpl.java | 106 ArrayList<AppWidgetId> instances = new ArrayList<AppWidgetId>(); 117 ArrayList<AppWidgetId> instances = new ArrayList<AppWidgetId>(); 133 static class AppWidgetId { 134 int appWidgetId; 192 final ArrayList<AppWidgetId> mAppWidgetIds = new ArrayList<AppWidgetId>(); 369 private void dumpAppWidgetId(AppWidgetId id, int index, PrintWriter pw) { 371 pw.println(id.appWidgetId); [all...] |
/prebuilts/sdk/17/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/16/ |
android.jar | |
/prebuilts/sdk/12/ |
android.jar | |