/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetProvider.java | 61 if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) { in onReceive() 64 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); in onReceive() 66 this.onUpdate(context, AppWidgetManager.getInstance(context), appWidgetIds); in onReceive() 69 } else if (AppWidgetManager.ACTION_APPWIDGET_DELETED.equals(action)) { in onReceive() 71 if (extras != null && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_ID)) { in onReceive() 72 final int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID); in onReceive() 75 } else if (AppWidgetManager.ACTION_APPWIDGET_OPTIONS_CHANGED.equals(action)) { in onReceive() 77 if (extras != null && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_ID) in onReceive() 78 && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_OPTIONS)) { in onReceive() 79 int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID); in onReceive() [all …]
|
D | AppWidgetHostView.java | 304 AppWidgetManager widgetManager = AppWidgetManager.getInstance(mContext); in updateAppWidgetSize() 309 if (newMinWidth != oldOptions.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_WIDTH) || in updateAppWidgetSize() 310 newMinHeight != oldOptions.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_HEIGHT) || in updateAppWidgetSize() 311 newMaxWidth != oldOptions.getInt(AppWidgetManager.OPTION_APPWIDGET_MAX_WIDTH) || in updateAppWidgetSize() 312 newMaxHeight != oldOptions.getInt(AppWidgetManager.OPTION_APPWIDGET_MAX_HEIGHT)) { in updateAppWidgetSize() 317 newOptions.putInt(AppWidgetManager.OPTION_APPWIDGET_MIN_WIDTH, newMinWidth); in updateAppWidgetSize() 318 newOptions.putInt(AppWidgetManager.OPTION_APPWIDGET_MIN_HEIGHT, newMinHeight); in updateAppWidgetSize() 319 newOptions.putInt(AppWidgetManager.OPTION_APPWIDGET_MAX_WIDTH, newMaxWidth); in updateAppWidgetSize() 320 newOptions.putInt(AppWidgetManager.OPTION_APPWIDGET_MAX_HEIGHT, newMaxHeight); in updateAppWidgetSize() 333 AppWidgetManager.getInstance(mContext).updateAppWidgetOptions(mAppWidgetId, options); in updateAppWidgetOptions() [all …]
|
D | AppWidgetManager.java | 60 public class AppWidgetManager { class 473 public static AppWidgetManager getInstance(Context context) { in getInstance() 474 return (AppWidgetManager) context.getSystemService(Context.APPWIDGET_SERVICE); in getInstance() 484 public AppWidgetManager(Context context, IAppWidgetService service) { 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/support/navigation/integration-tests/testapp/src/main/java/androidx/navigation/testapp/ |
D | DeepLinkAppWidgetProvider.java | 20 import android.appwidget.AppWidgetManager; 33 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 36 import android.appwidget.AppWidgetManager; 786 widget.options.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_WIDTH, 0)); in dumpProtoWidget() 788 widget.options.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_HEIGHT, 0)); in dumpProtoWidget() 790 widget.options.getInt(AppWidgetManager.OPTION_APPWIDGET_MAX_WIDTH, 0)); in dumpProtoWidget() 792 widget.options.getInt(AppWidgetManager.OPTION_APPWIDGET_MAX_HEIGHT, 0)); in dumpProtoWidget() 915 return AppWidgetManager.INVALID_APPWIDGET_ID; in allocateAppWidgetId() 921 mNextAppWidgetIds.put(userId, AppWidgetManager.INVALID_APPWIDGET_ID + 1); in allocateAppWidgetId() 1068 Intent intent = new Intent(AppWidgetManager.ACTION_APPWIDGET_CONFIGURE); in createAppWidgetConfigIntentSender() 1069 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); in createAppWidgetConfigIntentSender() 1165 if (!widget.options.containsKey(AppWidgetManager.OPTION_APPWIDGET_HOST_CATEGORY)) { in bindAppWidgetId() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | AppWidgetHostViewTest.java | 25 import android.appwidget.AppWidgetManager; 68 mHostView.setAppWidget(0, AppWidgetManager.getInstance( in setup()
|
D | RemoteViewsAdapterTest.java | 32 import android.appwidget.AppWidgetManager; 67 @Mock AppWidgetManager mAppWidgetManager;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/ |
D | AppWidgetServiceImplTest.java | 30 import android.appwidget.AppWidgetManager; 74 private AppWidgetManager mManager; 88 mManager = new AppWidgetManager(mTestContext, mService); in setUp()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/ |
D | AppRestrictionsHelperTest.java | 29 import android.appwidget.AppWidgetManager; 89 addSystemAppsForIntent(new Intent(AppWidgetManager.ACTION_APPWIDGET_UPDATE), in testFetchAndMergeApps()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | AppRestrictionsHelper.java | 20 import android.appwidget.AppWidgetManager; 178 Intent widgetIntent = new Intent(AppWidgetManager.ACTION_APPWIDGET_UPDATE); in fetchAndMergeApps()
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 34 import android.appwidget.AppWidgetManager; 860 registerService(Context.APPWIDGET_SERVICE, AppWidgetManager.class, in registerService() 861 new CachedServiceFetcher<AppWidgetManager>() { in registerService() 863 public AppWidgetManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService() 865 return new AppWidgetManager(ctx, IAppWidgetService.Stub.asInterface(b)); in registerService()
|
/frameworks/support/compat/src/main/java/androidx/core/content/ |
D | ContextCompat.java | 85 import android.appwidget.AppWidgetManager; 730 SERVICES.put(AppWidgetManager.class, APPWIDGET_SERVICE); in SERVICES.put()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | AppStandbyController.java | 55 import android.appwidget.AppWidgetManager; 256 private AppWidgetManager mAppWidgetManager; 356 mAppWidgetManager = mContext.getSystemService(AppWidgetManager.class); in onBootPhase() 1589 public boolean isBoundWidgetPackage(AppWidgetManager appWidgetManager, String packageName, in isBoundWidgetPackage()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppStandbyControllerTests.java | 50 import android.appwidget.AppWidgetManager; 207 public boolean isBoundWidgetPackage(AppWidgetManager appWidgetManager, String packageName, in isBoundWidgetPackage()
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViewsAdapter.java | 22 import android.appwidget.AppWidgetManager; 249 mBindRequested = AppWidgetManager.getInstance(mContext) in handleMessage()
|
/frameworks/base/core/java/android/content/pm/ |
D | LauncherApps.java | 27 import android.appwidget.AppWidgetManager;
|
/frameworks/base/config/ |
D | hiddenapi-light-greylist.txt | 1035 Landroid/appwidget/AppWidgetManager;->bindAppWidgetId(ILandroid/content/ComponentName;)V 1036 Landroid/appwidget/AppWidgetManager;->bindAppWidgetId(ILandroid/content/ComponentName;Landroid/os/B… 1037 Landroid/appwidget/AppWidgetManager;->bindAppWidgetIdIfAllowed(IILandroid/content/ComponentName;Lan… 1038 Landroid/appwidget/AppWidgetManager;->bindRemoteViewsService(Landroid/content/Context;ILandroid/con… 1039 Landroid/appwidget/AppWidgetManager;->getInstalledProviders(I)Ljava/util/List; 1040 Landroid/appwidget/AppWidgetManager;->getInstalledProvidersForProfile(ILandroid/os/UserHandle;Ljava… 1041 Landroid/appwidget/AppWidgetManager;->mService:Lcom/android/internal/appwidget/IAppWidgetService;
|
D | hiddenapi-public-dex.txt | 4926 Landroid/appwidget/AppWidgetManager; 4927 Landroid/appwidget/AppWidgetManager;->ACTION_APPWIDGET_BIND:Ljava/lang/String; 4928 Landroid/appwidget/AppWidgetManager;->ACTION_APPWIDGET_CONFIGURE:Ljava/lang/String; 4929 Landroid/appwidget/AppWidgetManager;->ACTION_APPWIDGET_DELETED:Ljava/lang/String; 4930 Landroid/appwidget/AppWidgetManager;->ACTION_APPWIDGET_DISABLED:Ljava/lang/String; 4931 Landroid/appwidget/AppWidgetManager;->ACTION_APPWIDGET_ENABLED:Ljava/lang/String; 4932 Landroid/appwidget/AppWidgetManager;->ACTION_APPWIDGET_HOST_RESTORED:Ljava/lang/String; 4933 Landroid/appwidget/AppWidgetManager;->ACTION_APPWIDGET_OPTIONS_CHANGED:Ljava/lang/String; 4934 Landroid/appwidget/AppWidgetManager;->ACTION_APPWIDGET_PICK:Ljava/lang/String; 4935 Landroid/appwidget/AppWidgetManager;->ACTION_APPWIDGET_RESTORED:Ljava/lang/String; [all …]
|
D | preloaded-classes | 576 android.appwidget.AppWidgetManager
|
D | boot-image-profile.txt | 1200 HPLandroid/appwidget/AppWidgetManager;->getInstalledProvidersForPackage(Ljava/lang/String;Landroid/… 1201 HPLandroid/appwidget/AppWidgetManager;->updateAppWidget(ILandroid/widget/RemoteViews;)V 1202 HPLandroid/appwidget/AppWidgetManager;->updateAppWidget([ILandroid/widget/RemoteViews;)V 15383 …emServiceRegistry$78;->createService(Landroid/app/ContextImpl;)Landroid/appwidget/AppWidgetManager; 16408 HSPLandroid/appwidget/AppWidgetManager;->getAppWidgetIds(Landroid/content/ComponentName;)[I 16409 HSPLandroid/appwidget/AppWidgetManager;->getAppWidgetOptions(I)Landroid/os/Bundle; 16410 HSPLandroid/appwidget/AppWidgetManager;->getInstalledProvidersForProfile(ILandroid/os/UserHandle;Lj… 16411 HSPLandroid/appwidget/AppWidgetManager;->getInstalledProvidersForProfile(Landroid/os/UserHandle;)Lj… 16412 HSPLandroid/appwidget/AppWidgetManager;->getInstance(Landroid/content/Context;)Landroid/appwidget/A… 16413 HSPLandroid/appwidget/AppWidgetManager;->isBoundWidgetPackage(Ljava/lang/String;I)Z [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 271 import android.appwidget.AppWidgetManager; 21141 || AppWidgetManager.ACTION_APPWIDGET_CONFIGURE.equals(action) in checkBroadcastFromSystem() 21142 || AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action) in checkBroadcastFromSystem() 21315 } else if (AppWidgetManager.ACTION_APPWIDGET_CONFIGURE.equals(action) in broadcastIntentLocked() 21316 || AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) { in broadcastIntentLocked()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 5698 public class AppWidgetManager { 5707 method public static android.appwidget.AppWidgetManager getInstance(android.content.Context); 5746 …nAppWidgetOptionsChanged(android.content.Context, android.appwidget.AppWidgetManager, int, android… 5752 method public void onUpdate(android.content.Context, android.appwidget.AppWidgetManager, int[]);
|