Searched refs:AppWidgetManager (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetProvider.java | 56 if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) { in onReceive() 59 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); in onReceive() 61 this.onUpdate(context, AppWidgetManager.getInstance(context), appWidgetIds); in onReceive() 65 else if (AppWidgetManager.ACTION_APPWIDGET_DELETED.equals(action)) { in onReceive() 67 if (extras != null && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_ID)) { in onReceive() 68 final int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID); in onReceive() 72 else if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) { in onReceive() 75 else if (AppWidgetManager.ACTION_APPWIDGET_DISABLED.equals(action)) { in onReceive() 98 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate()
|
D | AppWidgetManager.java | 39 public class AppWidgetManager { class 187 static WeakHashMap<Context, WeakReference<AppWidgetManager>> sManagerCache = 188 new WeakHashMap<Context, WeakReference<AppWidgetManager>>(); 199 public static AppWidgetManager getInstance(Context context) { in getInstance() 206 WeakReference<AppWidgetManager> ref = sManagerCache.get(context); in getInstance() 207 AppWidgetManager result = null; in getInstance() 212 result = new AppWidgetManager(context); in getInstance() 213 sManagerCache.put(context, new WeakReference<AppWidgetManager>(result)); in getInstance() 219 private AppWidgetManager(Context context) { in AppWidgetManager() method in AppWidgetManager
|
/frameworks/base/tests/appwidgets/AppWidgetProviderTest/src/com/android/tests/appwidgetprovider/ |
D | TestAppWidgetProvider.java | 23 import android.appwidget.AppWidgetManager; 37 if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) { in onReceive() 40 else if (AppWidgetManager.ACTION_APPWIDGET_DISABLED.equals(action)) { in onReceive() 43 else if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) { in onReceive() 47 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); in onReceive() 49 AppWidgetManager gm = AppWidgetManager.getInstance(context); in onReceive()
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
D | TestAppWidgetProvider.java | 24 import android.appwidget.AppWidgetManager; 40 if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) { in onReceive() 43 else if (AppWidgetManager.ACTION_APPWIDGET_DISABLED.equals(action)) { in onReceive() 46 else if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) { in onReceive() 50 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); in onReceive() 57 AppWidgetManager gm = AppWidgetManager.getInstance(context); in onReceive()
|
D | AppWidgetHostActivity.java | 27 import android.appwidget.AppWidgetManager; 45 AppWidgetManager mAppWidgetManager; 54 mAppWidgetManager = AppWidgetManager.getInstance(this); in onCreate() 84 Intent intent = new Intent(AppWidgetManager.ACTION_APPWIDGET_PICK); in discoverAppWidget() 85 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mHost.allocateAppWidgetId()); in discoverAppWidget() 90 Intent intent = new Intent(AppWidgetManager.ACTION_APPWIDGET_CONFIGURE); in configureAppWidget() 92 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); in configureAppWidget() 102 int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID); in handleAppWidgetPickResult()
|
/frameworks/base/docs/html/guide/topics/appwidgets/ |
D | index.jd | 51 <li>{@link android.appwidget.AppWidgetManager}</li> 139 android.appwidget.AppWidgetManager#ACTION_APPWIDGET_UPDATE 142 android.appwidget.AppWidgetManager} 222 …ppWidgetProvider#onUpdate(android.content.Context,android.appwidget.AppWidgetManager,int[]) onUpda… 398 …ppWidgetProvider#onUpdate(android.content.Context,android.appwidget.AppWidgetManager,int[]) onUpda… 454 …pWidgetProvider#onUpdate(android.content.Context, android.appwidget.AppWidgetManager, int[]) onUpd… 460 …pWidgetProvider#onUpdate(android.content.Context, android.appwidget.AppWidgetManager, int[]) onUpd… 469 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { 485 // Tell the AppWidgetManager to perform an update on the current app widget 494 …pWidgetProvider#onUpdate(android.content.Context, android.appwidget.AppWidgetManager, int[]) onUpd… [all …]
|
/frameworks/base/services/java/com/android/server/ |
D | AppWidgetService.java | 21 import android.appwidget.AppWidgetManager; 167 int mNextAppWidgetId = AppWidgetManager.INVALID_APPWIDGET_ID + 1; 411 Intent intent = new Intent(AppWidgetManager.ACTION_APPWIDGET_DELETED); in deleteAppWidgetLocked() 413 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, id.appWidgetId); in deleteAppWidgetLocked() 420 intent = new Intent(AppWidgetManager.ACTION_APPWIDGET_DISABLED); in deleteAppWidgetLocked() 918 Intent intent = new Intent(AppWidgetManager.ACTION_APPWIDGET_UPDATE); in loadAppWidgetList() 969 Intent intent = new Intent(AppWidgetManager.ACTION_APPWIDGET_ENABLED); in sendEnableIntentLocked() 976 Intent intent = new Intent(AppWidgetManager.ACTION_APPWIDGET_UPDATE); in sendUpdateIntentLocked() 977 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_IDS, appWidgetIds); in sendUpdateIntentLocked() 989 Intent intent = new Intent(AppWidgetManager.ACTION_APPWIDGET_UPDATE); in registerForBroadcastsLocked() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViewsAdapter.java | 24 import android.appwidget.AppWidgetManager; 124 final AppWidgetManager mgr = AppWidgetManager.getInstance(context); in bind() 137 final AppWidgetManager mgr = AppWidgetManager.getInstance(context); in unbind()
|
/frameworks/base/ |
D | preloaded-classes | 171 android.appwidget.AppWidgetManager
|
/frameworks/base/docs/html/ |
D | sitemap.txt | 1695 http://developer.android.com/reference/android/appwidget/AppWidgetManager.html
|
/frameworks/base/api/ |
D | current.txt | 4153 public class AppWidgetManager { 4158 method public static android.appwidget.AppWidgetManager getInstance(android.content.Context); 4186 method public void onUpdate(android.content.Context, android.appwidget.AppWidgetManager, int[]);
|
D | 14.txt | 4153 public class AppWidgetManager { 4158 method public static android.appwidget.AppWidgetManager getInstance(android.content.Context); 4186 method public void onUpdate(android.content.Context, android.appwidget.AppWidgetManager, int[]);
|