/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/UnifiedEmail/src/com/android/mail/widget/ |
D | WidgetService.java | 230 private final int mAppWidgetId; field in WidgetService.MailFactory 252 mAppWidgetId = intent.getIntExtra( in MailFactory() 277 BaseWidgetProvider.updateWidget(mContext, mAppWidgetId, mAccount, mFolderType, in MailFactory() 291 saveWidgetInformation(mContext, mAppWidgetId, mAccount, mFolderUri.toString()); in onCreate() 295 if (!mService.isWidgetConfigured(mContext, mAppWidgetId, mAccount)) { in onCreate() 296 BaseWidgetProvider.updateWidget(mContext, mAppWidgetId, mAccount, mFolderType, in onCreate() 549 if (!mService.isWidgetConfigured(mContext, mAppWidgetId, mAccount)) { in onLoadComplete() 550 BaseWidgetProvider.updateWidget(mContext, mAppWidgetId, mAccount, mFolderType, in onLoadComplete() 558 BaseWidgetProvider.updateWidget(mContext, mAppWidgetId, mAccount, mFolderType, in onLoadComplete() 575 mService.configureValidAccountWidget(mContext, remoteViews, mAppWidgetId, in onLoadComplete() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | AllowBindAppWidgetActivity.java | 45 private int mAppWidgetId; field in AllowBindAppWidgetActivity 58 if (mAppWidgetId != -1 && mComponentName != null && mCallingPackage != null) { in onClick() 60 final boolean bound = mAppWidgetManager.bindAppWidgetIdIfAllowed(mAppWidgetId, in onClick() 64 result.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId); in onClick() 69 + mAppWidgetId + " and component " + mComponentName); in onClick() 99 mAppWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, -1); in onCreate() 114 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/Settings/src/com/android/settings/ |
D | AllowBindAppWidgetActivity.java | 45 private int mAppWidgetId; field in AllowBindAppWidgetActivity 58 if (mAppWidgetId != -1 && mComponentName != null && mCallingPackage != null) { in onClick() 60 final boolean bound = mAppWidgetManager.bindAppWidgetIdIfAllowed(mAppWidgetId, in onClick() 64 result.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId); in onClick() 69 + mAppWidgetId + " and component " + mComponentName); in onClick() 99 mAppWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, -1); in onCreate() 114 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/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/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
D | RequestPinItemTest.java | 66 private int mAppWidgetId; field in RequestPinItemTest 82 ((LauncherAppWidgetInfo) info).appWidgetId == mAppWidgetId && in testPinWidgetNoConfig() 95 ((LauncherAppWidgetInfo) info).appWidgetId == mAppWidgetId && in testPinWidgetNoConfig_customPreview() 104 ((LauncherAppWidgetInfo) info).appWidgetId == mAppWidgetId && in testPinWidgetWithConfig() 167 mAppWidgetId = result.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, -1); in runTest() 169 assertNotSame(-1, mAppWidgetId); in runTest()
|
/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/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/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/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetService.java | 133 private int mAppWidgetId; field in CalendarAppWidgetService.CalendarFactory 170 mAppWidgetId = intent.getIntExtra( 383 mLoader.registerListener(mAppWidgetId, this); 545 if (mAppWidgetId == -1) { 551 widgetManager.notifyAppWidgetViewDataChanged(mAppWidgetId, R.id.events_list); 584 mAppWidgetId = -1;
|