Home
last modified time | relevance | path

Searched refs:mAppWidgetId (Results 1 – 12 of 12) 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/Settings/src/com/android/settings/
DAllowBindAppWidgetActivity.java47 private int mAppWidgetId; field in AllowBindAppWidgetActivity
60 if (mAppWidgetId != -1 && mComponentName != null && mCallingPackage != null) { in onClick()
62 final boolean bound = mAppWidgetManager.bindAppWidgetIdIfAllowed(mAppWidgetId, in onClick()
66 result.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId); in onClick()
71 + mAppWidgetId + " and component " + mComponentName); in onClick()
102 mAppWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, -1); in onCreate()
117 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/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/Launcher3/tests/src/com/android/launcher3/ui/widget/
DRequestPinItemTest.java67 private int mAppWidgetId; field in RequestPinItemTest
84 ((LauncherAppWidgetInfo) info).appWidgetId == mAppWidgetId && in testPinWidgetNoConfig()
98 ((LauncherAppWidgetInfo) info).appWidgetId == mAppWidgetId && in testPinWidgetNoConfig_customPreview()
107 ((LauncherAppWidgetInfo) info).appWidgetId == mAppWidgetId && in testPinWidgetWithConfig()
165 mAppWidgetId = result.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, -1); in runTest()
167 assertNotSame(-1, mAppWidgetId); in runTest()
/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/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/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetService.java133 private int mAppWidgetId; field in CalendarAppWidgetService.CalendarFactory
170 mAppWidgetId = intent.getIntExtra(
383 mLoader.registerListener(mAppWidgetId, this);
548 if (mAppWidgetId == -1) {
554 widgetManager.notifyAppWidgetViewDataChanged(mAppWidgetId, R.id.events_list);
587 mAppWidgetId = -1;