Home
last modified time | relevance | path

Searched refs:mAppWidgetId (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetConfigure.java62 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 …]
DWidgetService.java55 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/
DPhotoAppWidgetConfigure.java35 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/
DWidgetPickConversationActivity.java34 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/
DAllowBindAppWidgetActivity.java44 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()
DAppWidgetPickActivity.java57 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/
DWidgetService.java210 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/
DMailboxSelectionActivity.java71 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()
DFolderSelectionActivity.java68 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/
DSearchWidgetProvider.java145 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/
DBaseWidgetFactory.java57 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);
DWidgetConversationService.java82 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()
DWidgetConversationListService.java136 final Bundle options = mAppWidgetManager.getAppWidgetOptions(mAppWidgetId); in getViewAt()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetService.java133 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;