Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/appwidget/
DExampleAppWidgetConfigure.java44 int mAppWidgetId = AppWidgetManager.INVALID_APPWIDGET_ID; field in ExampleAppWidgetConfigure
72 mAppWidgetId = extras.getInt( in onCreate()
77 if (mAppWidgetId == AppWidgetManager.INVALID_APPWIDGET_ID) { in onCreate()
81 mAppWidgetPrefix.setText(loadTitlePref(ExampleAppWidgetConfigure.this, mAppWidgetId)); in onCreate()
91 saveTitlePref(context, mAppWidgetId, titlePrefix);
96 mAppWidgetId, titlePrefix);
100 resultValue.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId);
/development/apps/WidgetPreview/src/com/android/widgetpreview/
DWidgetPreviewActivity.java58 private int mAppWidgetId = AppWidgetManager.INVALID_APPWIDGET_ID; field in WidgetPreviewActivity
98 getBaseContext()).getAppWidgetInfo(mAppWidgetId); in onRetainNonConfigurationInstance()
141 if (mAppWidgetId != AppWidgetManager.INVALID_APPWIDGET_ID) { in setAppWidget()
142 mAppWidgetHost.deleteAppWidgetId(mAppWidgetId); in setAppWidget()
190 mAppWidgetHost.deleteAppWidgetId(mAppWidgetId); in finishSetAppWidget()
192 mAppWidgetId = appWidgetId; in finishSetAppWidget()
/development/samples/StackWidget/src/com/example/android/stackwidget/
DStackWidgetService.java40 private int mAppWidgetId; field in StackRemoteViewsFactory
44 mAppWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, in StackRemoteViewsFactory()
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
DWeatherWidgetService.java48 private int mAppWidgetId; field in StackRemoteViewsFactory
52 mAppWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, in StackRemoteViewsFactory()