/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
D | WidgetConfigure.java | 62 private int mAppWidgetId = -1; field in WidgetConfigure 68 mAppWidgetId = getIntent().getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, -1); in onCreate() 70 if (mAppWidgetId == -1) { in onCreate() 96 RemoteViews views = PhotoAppWidgetProvider.buildWidget(this, mAppWidgetId, entry); in updateWidgetAndFinish() 97 manager.updateAppWidget(mAppWidgetId, views); in updateWidgetAndFinish() 99 AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId)); in updateWidgetAndFinish() 107 AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId)); in onActivityResult() 130 helper.setPhoto(mAppWidgetId, mPickedItem, bitmap); in setPhotoWidget() 131 updateWidgetAndFinish(helper.getEntry(mAppWidgetId)); in setPhotoWidget() 180 helper.setWidget(mAppWidgetId, in setChoosenAlbum() [all …]
|
D | WidgetService.java | 55 private final int mAppWidgetId; field in WidgetService.PhotoRVFactory 64 mAppWidgetId = id; in PhotoRVFactory() 79 mAppWidgetId, R.id.appwidget_stack_view); in onCreate() 140 mAppWidgetId, R.id.appwidget_stack_view); in onContentDirty()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | PhotoAppWidgetConfigure.java | 35 int mAppWidgetId = -1; field in PhotoAppWidgetConfigure 44 mAppWidgetId = getIntent().getIntExtra( in onCreate() 46 if (mAppWidgetId == -1) { in onCreate() 76 if (resultCode == RESULT_OK && mAppWidgetId != -1) { in onActivityResult() 81 if (helper.setPhoto(mAppWidgetId, bitmap)) { in onActivityResult() 86 mAppWidgetId, helper); in onActivityResult() 89 appWidgetManager.updateAppWidget(new int[] {mAppWidgetId}, in onActivityResult() 99 resultValue.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId); in onActivityResult()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | WidgetPickConversationActivity.java | 34 private int mAppWidgetId = AppWidgetManager.INVALID_APPWIDGET_ID; field in WidgetPickConversationActivity 49 mAppWidgetId = extras.getInt( in onCreate() 54 if (mAppWidgetId == AppWidgetManager.INVALID_APPWIDGET_ID) { in onCreate() 77 saveConversationidPref(mAppWidgetId, conversationListItemData.getConversationId()); in onConversationClick() 80 WidgetConversationProvider.rebuildWidget(this, mAppWidgetId); in onConversationClick() 84 resultValue.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId); in onConversationClick()
|
/packages/apps/Settings/src/com/android/settings/ |
D | AllowBindAppWidgetActivity.java | 44 private int mAppWidgetId; field in AllowBindAppWidgetActivity 57 if (mAppWidgetId != -1 && mComponentName != null && mCallingPackage != null) { in onClick() 59 final boolean bound = mAppWidgetManager.bindAppWidgetIdIfAllowed(mAppWidgetId, in onClick() 63 result.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId); in onClick() 68 + mAppWidgetId + " and component " + mComponentName); in onClick() 95 mAppWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, -1); in onCreate() 108 mAppWidgetId = -1; in onCreate()
|
D | AppWidgetPickActivity.java | 57 private int mAppWidgetId; field in AppWidgetPickActivity 77 mAppWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, in onCreate() 161 mAppWidgetManager.bindAppWidgetId(mAppWidgetId, intent.getComponent(), options); in onClick() 185 result.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId); in setResultData()
|
/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
D | WidgetService.java | 210 private final int mAppWidgetId; field in WidgetService.MailFactory 232 mAppWidgetId = intent.getIntExtra( in MailFactory() 257 BaseWidgetProvider.updateWidget(mContext, mAppWidgetId, mAccount, mFolderType, in MailFactory() 271 saveWidgetInformation(mContext, mAppWidgetId, mAccount, mFolderUri.toString()); in onCreate() 275 if (!mService.isWidgetConfigured(mContext, mAppWidgetId, mAccount)) { in onCreate() 276 BaseWidgetProvider.updateWidget(mContext, mAppWidgetId, mAccount, mFolderType, in onCreate() 529 if (!mService.isWidgetConfigured(mContext, mAppWidgetId, mAccount)) { in onLoadComplete() 530 BaseWidgetProvider.updateWidget(mContext, mAppWidgetId, mAccount, mFolderType, in onLoadComplete() 538 BaseWidgetProvider.updateWidget(mContext, mAppWidgetId, mAccount, mFolderType, in onLoadComplete() 555 mService.configureValidAccountWidget(mContext, remoteViews, mAppWidgetId, in onLoadComplete() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | MailboxSelectionActivity.java | 71 private int mAppWidgetId = AppWidgetManager.INVALID_APPWIDGET_ID; field in MailboxSelectionActivity 99 mAppWidgetId = getIntent().getIntExtra( in onCreate() 101 if (mAppWidgetId != AppWidgetManager.INVALID_APPWIDGET_ID) { in onCreate() 125 if (mAppWidgetId != AppWidgetManager.INVALID_APPWIDGET_ID) { in onSaveInstanceState() 126 icicle.putInt(WIDGET_ID_KEY, mAppWidgetId); in onSaveInstanceState() 179 mAppWidgetId = icicle.getInt(WIDGET_ID_KEY); in restoreState() 283 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId); in selectAccount()
|
D | FolderSelectionActivity.java | 68 private int mAppWidgetId = AppWidgetManager.INVALID_APPWIDGET_ID; field in FolderSelectionActivity 173 mAppWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, in onCreate() 175 if (mAppWidgetId == AppWidgetManager.INVALID_APPWIDGET_ID) { in onCreate() 253 createWidget(mAppWidgetId, mAccount, mSelectedFolder); in onClick() 302 createWidget(mAppWidgetId, mAccount, mSelectedFolder); in onFolderChanged()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | SearchWidgetProvider.java | 145 private final int mAppWidgetId; field in SearchWidgetProvider.SearchWidgetState 150 mAppWidgetId = appWidgetId; in SearchWidgetState() 162 if (DBG) Log.d(TAG, "Updating appwidget " + mAppWidgetId); in updateWidget() 176 appWidgetMgr.updateAppWidget(mAppWidgetId, views); in updateWidget()
|
/packages/apps/Messaging/src/com/android/messaging/widget/ |
D | BaseWidgetFactory.java | 57 protected final int mAppWidgetId; field in BaseWidgetFactory 66 mAppWidgetId = intent.getIntExtra( in BaseWidgetFactory() 70 LogUtil.v(TAG, "BaseWidgetFactory intent: " + intent + "widget id: " + mAppWidgetId); in BaseWidgetFactory() 213 mAppWidgetManager.partiallyUpdateAppWidget(mAppWidgetId, remoteViews);
|
D | WidgetConversationService.java | 82 LogUtil.v(TAG, "BugleFactory intent: " + intent + "widget id: " + mAppWidgetId); in WidgetConversationFactory() 97 if (!WidgetConversationProvider.isWidgetConfigured(mAppWidgetId)) { in onCreate() 98 WidgetConversationProvider.rebuildWidget(mContext, mAppWidgetId); in onCreate() 220 final Bundle options = mAppWidgetManager.getAppWidgetOptions(mAppWidgetId); in getViewAt()
|
D | WidgetConversationListService.java | 136 final Bundle options = mAppWidgetManager.getAppWidgetOptions(mAppWidgetId); in getViewAt()
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetService.java | 133 private int mAppWidgetId; field in CalendarAppWidgetService.CalendarFactory 170 mAppWidgetId = intent.getIntExtra( 385 mLoader.registerListener(mAppWidgetId, this); 547 if (mAppWidgetId == -1) { 553 widgetManager.notifyAppWidgetViewDataChanged(mAppWidgetId, R.id.events_list); 586 mAppWidgetId = -1;
|