/packages/apps/Settings/src/com/android/settings/ |
D | AllowBindAppWidgetActivity.java | 50 private AppWidgetManager mAppWidgetManager; field in AllowBindAppWidgetActivity 60 final boolean bound = mAppWidgetManager.bindAppWidgetIdIfAllowed(mAppWidgetId, in onClick() 73 if (alwaysAllowBind != mAppWidgetManager.hasBindAppWidgetPermission( in onClick() 75 mAppWidgetManager.setBindAppWidgetPermission(mCallingPackage, in onClick() 141 mAppWidgetManager = AppWidgetManager.getInstance(this); in onCreate() 142 mAlwaysUse.setChecked(mAppWidgetManager.hasBindAppWidgetPermission(mCallingPackage, in onCreate()
|
D | AppWidgetPickActivity.java | 59 private AppWidgetManager mAppWidgetManager; field in AppWidgetPickActivity 65 mAppWidgetManager = AppWidgetManager.getInstance(this); in onCreate() 67 (this, mAppWidgetManager, this); in onCreate() 161 mAppWidgetManager.bindAppWidgetId(mAppWidgetId, intent.getComponent(), options); in onClick()
|
D | AppWidgetLoader.java | 38 private AppWidgetManager mAppWidgetManager; field in AppWidgetLoader 48 mAppWidgetManager = appWidgetManager; in AppWidgetLoader() 180 mAppWidgetManager.getInstalledProviders(categoryFilter); in putInstalledAppWidgets()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | AllowBindAppWidgetActivity.java | 50 private AppWidgetManager mAppWidgetManager; field in AllowBindAppWidgetActivity 60 final boolean bound = mAppWidgetManager.bindAppWidgetIdIfAllowed(mAppWidgetId, in onClick() 73 if (alwaysAllowBind != mAppWidgetManager.hasBindAppWidgetPermission( in onClick() 75 mAppWidgetManager.setBindAppWidgetPermission(mCallingPackage, in onClick() 141 mAppWidgetManager = AppWidgetManager.getInstance(this); in onCreate() 142 mAlwaysUse.setChecked(mAppWidgetManager.hasBindAppWidgetPermission(mCallingPackage, in onCreate()
|
D | AppWidgetPickActivity.java | 59 private AppWidgetManager mAppWidgetManager; field in AppWidgetPickActivity 65 mAppWidgetManager = AppWidgetManager.getInstance(this); in onCreate() 67 (this, mAppWidgetManager, this); in onCreate() 161 mAppWidgetManager.bindAppWidgetId(mAppWidgetId, intent.getComponent(), options); in onClick()
|
D | AppWidgetLoader.java | 38 private AppWidgetManager mAppWidgetManager; field in AppWidgetLoader 48 mAppWidgetManager = appWidgetManager; in AppWidgetLoader() 180 mAppWidgetManager.getInstalledProviders(categoryFilter); in putInstalledAppWidgets()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
D | AddConfigWidgetTest.java | 59 private AppWidgetManager mAppWidgetManager; field in AddConfigWidgetTest 68 mAppWidgetManager = AppWidgetManager.getInstance(mTargetContext); in setUp() 102 assertNotNull(mAppWidgetManager.getAppWidgetInfo(mWidgetId)); in runTest() 107 assertNotNull(mAppWidgetManager.getAppWidgetInfo(mWidgetId)); in runTest() 110 Wait.atMost(null, () -> mAppWidgetManager.getAppWidgetInfo(mWidgetId) == null, in runTest()
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | AppWidgetManagerCompatVL.java | 60 providers.addAll(mAppWidgetManager.getInstalledProvidersForProfile(user)); in getAllProviders() 66 List<AppWidgetProviderInfo> providers = new ArrayList<>(mAppWidgetManager in getAllProviders() 91 return mAppWidgetManager.bindAppWidgetIdIfAllowed( in bindAppWidgetIdIfAllowed() 125 mAppWidgetManager.getInstalledProvidersForProfile(user)) { in getAllProvidersMap()
|
D | AppWidgetManagerCompat.java | 56 final AppWidgetManager mAppWidgetManager; field in AppWidgetManagerCompat 61 mAppWidgetManager = AppWidgetManager.getInstance(context); in AppWidgetManagerCompat() 68 AppWidgetProviderInfo info = mAppWidgetManager.getAppWidgetInfo(appWidgetId); in getLauncherAppWidgetInfo()
|
D | AppWidgetManagerCompatVO.java | 44 return mAppWidgetManager.getInstalledProvidersForPackage(packageUser.mPackageName, in getAllProviders()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | ClearDefaultsPreference.java | 50 private AppWidgetManager mAppWidgetManager; field in ClearDefaultsPreference 62 mAppWidgetManager = AppWidgetManager.getInstance(context); in ClearDefaultsPreference() 109 mAppWidgetManager.setBindAppWidgetPermission(mPackageName, false); in onBindViewHolder() 121 mAppWidgetManager.hasBindAppWidgetPermission(mAppEntry.info.packageName); in updateUI()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ClearDefaultsPreference.java | 50 private AppWidgetManager mAppWidgetManager; field in ClearDefaultsPreference 62 mAppWidgetManager = AppWidgetManager.getInstance(context); in ClearDefaultsPreference() 109 mAppWidgetManager.setBindAppWidgetPermission(mPackageName, false); in onBindViewHolder() 121 mAppWidgetManager.hasBindAppWidgetPermission(mAppEntry.info.packageName); in updateUI()
|
/packages/apps/Messaging/src/com/android/messaging/widget/ |
D | BaseWidgetFactory.java | 60 protected final AppWidgetManager mAppWidgetManager; field in BaseWidgetFactory 68 mAppWidgetManager = AppWidgetManager.getInstance(context); in BaseWidgetFactory() 213 mAppWidgetManager.partiallyUpdateAppWidget(mAppWidgetId, remoteViews);
|
D | WidgetConversationListService.java | 136 final Bundle options = mAppWidgetManager.getAppWidgetOptions(mAppWidgetId); in getViewAt()
|
D | WidgetConversationService.java | 220 final Bundle options = mAppWidgetManager.getAppWidgetOptions(mAppWidgetId); in getViewAt()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | AddItemActivity.java | 84 private AppWidgetManagerCompat mAppWidgetManager; field in AddItemActivity 211 mAppWidgetManager = AppWidgetManagerCompat.getInstance(this); in setupWidget() 261 boolean success = mAppWidgetManager.bindAppWidgetIdIfAllowed( in onPlaceAutomaticallyClick()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Launcher.java | 231 private AppWidgetManagerCompat mAppWidgetManager; field in Launcher 335 mAppWidgetManager = AppWidgetManagerCompat.getInstance(this); in onCreate() 659 LauncherAppWidgetProviderInfo provider = mAppWidgetManager in completeAdd() 1262 appWidgetInfo = mAppWidgetManager.getLauncherAppWidgetInfo(appWidgetId); in completeAddAppWidget() 1685 boolean success = mAppWidgetManager.bindAppWidgetIdIfAllowed( in addAppWidgetFromDrop() 2174 appWidgetInfo = mAppWidgetManager.findProvider(item.providerName, item.user); in inflateAppWidget() 2176 appWidgetInfo = mAppWidgetManager.getLauncherAppWidgetInfo(item.appWidgetId); in inflateAppWidget() 2216 boolean success = mAppWidgetManager.bindAppWidgetIdIfAllowed( in inflateAppWidget()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | LoaderTask.java | 111 private final AppWidgetManagerCompat mAppWidgetManager; field in LoaderTask 127 mAppWidgetManager = AppWidgetManagerCompat.getInstance(mApp.getContext()); in LoaderTask() 610 widgetProvidersMap = mAppWidgetManager.getAllProvidersMap(); in loadWorkspace()
|