/packages/apps/Gallery/src/com/android/camera/ |
PhotoAppWidgetConfigure.java | 35 int mAppWidgetId = -1; 41 // Someone is requesting that we configure the given mAppWidgetId, which 44 mAppWidgetId = getIntent().getIntExtra( 46 if (mAppWidgetId == -1) { 76 if (resultCode == RESULT_OK && mAppWidgetId != -1) { 81 if (helper.setPhoto(mAppWidgetId, bitmap)) { 86 mAppWidgetId, helper); 89 appWidgetManager.updateAppWidget(new int[] {mAppWidgetId}, 97 // Make sure we pass back the original mAppWidgetId 99 resultValue.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/ |
ExampleAppWidgetConfigure.java | 44 int mAppWidgetId = AppWidgetManager.INVALID_APPWIDGET_ID; 72 mAppWidgetId = extras.getInt( 77 if (mAppWidgetId == AppWidgetManager.INVALID_APPWIDGET_ID) { 81 mAppWidgetPrefix.setText(loadTitlePref(ExampleAppWidgetConfigure.this, mAppWidgetId)); 91 saveTitlePref(context, mAppWidgetId, titlePrefix); 96 mAppWidgetId, titlePrefix); 100 resultValue.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId);
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
WidgetPickConversationActivity.java | 34 private int mAppWidgetId = AppWidgetManager.INVALID_APPWIDGET_ID; 49 mAppWidgetId = extras.getInt( 54 if (mAppWidgetId == AppWidgetManager.INVALID_APPWIDGET_ID) { 77 saveConversationidPref(mAppWidgetId, conversationListItemData.getConversationId()); 80 WidgetConversationProvider.rebuildWidget(this, mAppWidgetId); 84 resultValue.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId);
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
WidgetConfigure.java | 62 private int mAppWidgetId = -1; 68 mAppWidgetId = getIntent().getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, -1); 70 if (mAppWidgetId == -1) { 96 RemoteViews views = PhotoAppWidgetProvider.buildWidget(this, mAppWidgetId, entry); 97 manager.updateAppWidget(mAppWidgetId, views); 99 AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId)); 107 AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId)); 130 helper.setPhoto(mAppWidgetId, mPickedItem, bitmap); 131 updateWidgetAndFinish(helper.getEntry(mAppWidgetId)); 180 helper.setWidget(mAppWidgetId, [all...] |
WidgetService.java | 55 private final int mAppWidgetId; 64 mAppWidgetId = id; 79 mAppWidgetId, R.id.appwidget_stack_view); 140 mAppWidgetId, R.id.appwidget_stack_view);
|
/packages/apps/Settings/src/com/android/settings/ |
AllowBindAppWidgetActivity.java | 44 private int mAppWidgetId; 57 if (mAppWidgetId != -1 && mComponentName != null && mCallingPackage != null) { 59 final boolean bound = mAppWidgetManager.bindAppWidgetIdIfAllowed(mAppWidgetId, 63 result.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId); 68 + mAppWidgetId + " and component " + mComponentName); 95 mAppWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, -1); 108 mAppWidgetId = -1;
|
AppWidgetPickActivity.java | 57 private int mAppWidgetId; 77 mAppWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, 161 mAppWidgetManager.bindAppWidgetId(mAppWidgetId, intent.getComponent(), options); 185 result.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId);
|
/cts/hostsidetests/devicepolicy/app/WidgetProvider/src/com/android/cts/widgetprovider/ |
SimpleAppWidgetHostService.java | 71 private int mAppWidgetId; 160 mAppWidgetHost.deleteAppWidgetId(mAppWidgetId); 165 mAppWidgetId = mAppWidgetHost.allocateAppWidgetId(); 166 Log.d(TAG, "Registering app widget with id:" + mAppWidgetId); 167 mAppWidgetManager.bindAppWidgetIdIfAllowed(mAppWidgetId, mUserHandle, info.provider, null); 169 mAppWidgetId, info); 185 mAppWidgetManager.updateAppWidget(mAppWidgetId, mRemoteViews);
|
/developers/samples/android/content/WidgetData/Application/src/main/java/com/example/android/widgetdata/ |
WeatherWidgetService.java | 43 private int mAppWidgetId; 47 mAppWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID,
|
/development/samples/StackWidget/src/com/example/android/stackwidget/ |
StackWidgetService.java | 40 private int mAppWidgetId; 44 mAppWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID,
|
/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
WidgetService.java | 210 private final int mAppWidgetId; 232 mAppWidgetId = intent.getIntExtra( 257 BaseWidgetProvider.updateWidget(mContext, mAppWidgetId, mAccount, mFolderType, 271 saveWidgetInformation(mContext, mAppWidgetId, mAccount, mFolderUri.toString()); 275 if (!mService.isWidgetConfigured(mContext, mAppWidgetId, mAccount)) { 276 BaseWidgetProvider.updateWidget(mContext, mAppWidgetId, mAccount, mFolderType, 529 if (!mService.isWidgetConfigured(mContext, mAppWidgetId, mAccount)) { 530 BaseWidgetProvider.updateWidget(mContext, mAppWidgetId, mAccount, mFolderType, 538 BaseWidgetProvider.updateWidget(mContext, mAppWidgetId, mAccount, mFolderType, 555 mService.configureValidAccountWidget(mContext, remoteViews, mAppWidgetId, [all...] |
/development/apps/WidgetPreview/src/com/android/widgetpreview/ |
WidgetPreviewActivity.java | 58 private int mAppWidgetId = AppWidgetManager.INVALID_APPWIDGET_ID; 98 getBaseContext()).getAppWidgetInfo(mAppWidgetId); 141 if (mAppWidgetId != AppWidgetManager.INVALID_APPWIDGET_ID) { 142 mAppWidgetHost.deleteAppWidgetId(mAppWidgetId); 190 mAppWidgetHost.deleteAppWidgetId(mAppWidgetId); 192 mAppWidgetId = appWidgetId;
|
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
WeatherWidgetService.java | 48 private int mAppWidgetId; 52 mAppWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID,
|
/packages/apps/Messaging/src/com/android/messaging/widget/ |
BaseWidgetFactory.java | 57 protected final int mAppWidgetId; 66 mAppWidgetId = intent.getIntExtra( 70 LogUtil.v(TAG, "BaseWidgetFactory intent: " + intent + "widget id: " + mAppWidgetId); 213 mAppWidgetManager.partiallyUpdateAppWidget(mAppWidgetId, remoteViews);
|
WidgetConversationService.java | 82 LogUtil.v(TAG, "BugleFactory intent: " + intent + "widget id: " + mAppWidgetId); 97 if (!WidgetConversationProvider.isWidgetConfigured(mAppWidgetId)) { 98 WidgetConversationProvider.rebuildWidget(mContext, mAppWidgetId); 220 final Bundle options = mAppWidgetManager.getAppWidgetOptions(mAppWidgetId);
|
WidgetConversationListService.java | 136 final Bundle options = mAppWidgetManager.getAppWidgetOptions(mAppWidgetId);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SearchWidgetProvider.java | 145 private final int mAppWidgetId; 150 mAppWidgetId = appWidgetId; 162 if (DBG) Log.d(TAG, "Updating appwidget " + mAppWidgetId); 176 appWidgetMgr.updateAppWidget(mAppWidgetId, views);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
MailboxSelectionActivity.java | 71 private int mAppWidgetId = AppWidgetManager.INVALID_APPWIDGET_ID; 99 mAppWidgetId = getIntent().getIntExtra( 101 if (mAppWidgetId != AppWidgetManager.INVALID_APPWIDGET_ID) { 125 if (mAppWidgetId != AppWidgetManager.INVALID_APPWIDGET_ID) { 126 icicle.putInt(WIDGET_ID_KEY, mAppWidgetId); 179 mAppWidgetId = icicle.getInt(WIDGET_ID_KEY); 283 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId);
|
FolderSelectionActivity.java | 68 private int mAppWidgetId = AppWidgetManager.INVALID_APPWIDGET_ID; 173 mAppWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, 175 if (mAppWidgetId == AppWidgetManager.INVALID_APPWIDGET_ID) { 253 createWidget(mAppWidgetId, mAccount, mSelectedFolder); 302 createWidget(mAppWidgetId, mAccount, mSelectedFolder);
|
/frameworks/base/core/java/android/appwidget/ |
AppWidgetHostView.java | 84 int mAppWidgetId; 145 mAppWidgetId = appWidgetId; 207 return mAppWidgetId; 223 return id == View.NO_ID ? mAppWidgetId : id; 240 Log.e(TAG, "failed to restoreInstanceState for widget id: " + mAppWidgetId + ", " 310 Bundle oldOptions = widgetManager.getAppWidgetOptions(mAppWidgetId); 336 AppWidgetManager.getInstance(mContext).updateAppWidgetOptions(mAppWidgetId, options); 688 Bundle options = manager.getAppWidgetOptions(mAppWidgetId);
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
CalendarAppWidgetService.java | 133 private int mAppWidgetId; 170 mAppWidgetId = intent.getIntExtra( 385 mLoader.registerListener(mAppWidgetId, this); 547 if (mAppWidgetId == -1) { 553 widgetManager.notifyAppWidgetViewDataChanged(mAppWidgetId, R.id.events_list); 586 mAppWidgetId = -1;
|
/frameworks/base/core/java/android/widget/ |
RemoteViewsAdapter.java | 77 private final int mAppWidgetId; 785 mAppWidgetId = intent.getIntExtra(RemoteViews.EXTRA_REMOTEADAPTER_APPWIDGET_ID, -1); [all...] |
/external/robolectric/v3/runtime/ |
android-all-4.1.2_r1-robolectric-0.jar | |
android-all-4.2.2_r1.2-robolectric-0.jar | |
android-all-4.3_r2-robolectric-0.jar | |