Home
last modified time | relevance | path

Searched refs:mAppWidgetManager (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Settings/src/com/android/settings/
DAllowBindAppWidgetActivity.java50 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()
DAppWidgetPickActivity.java59 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()
DAppWidgetLoader.java38 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/
DAllowBindAppWidgetActivity.java50 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()
DAppWidgetPickActivity.java59 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()
DAppWidgetLoader.java38 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/
DAddConfigWidgetTest.java59 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/
DAppWidgetManagerCompatVL.java60 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()
DAppWidgetManagerCompat.java56 final AppWidgetManager mAppWidgetManager; field in AppWidgetManagerCompat
61 mAppWidgetManager = AppWidgetManager.getInstance(context); in AppWidgetManagerCompat()
68 AppWidgetProviderInfo info = mAppWidgetManager.getAppWidgetInfo(appWidgetId); in getLauncherAppWidgetInfo()
DAppWidgetManagerCompatVO.java44 return mAppWidgetManager.getInstalledProvidersForPackage(packageUser.mPackageName, in getAllProviders()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DClearDefaultsPreference.java50 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/
DClearDefaultsPreference.java50 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/
DBaseWidgetFactory.java60 protected final AppWidgetManager mAppWidgetManager; field in BaseWidgetFactory
68 mAppWidgetManager = AppWidgetManager.getInstance(context); in BaseWidgetFactory()
213 mAppWidgetManager.partiallyUpdateAppWidget(mAppWidgetId, remoteViews);
DWidgetConversationListService.java136 final Bundle options = mAppWidgetManager.getAppWidgetOptions(mAppWidgetId); in getViewAt()
DWidgetConversationService.java220 final Bundle options = mAppWidgetManager.getAppWidgetOptions(mAppWidgetId); in getViewAt()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DAddItemActivity.java84 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/
DLauncher.java231 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/
DLoaderTask.java111 private final AppWidgetManagerCompat mAppWidgetManager; field in LoaderTask
127 mAppWidgetManager = AppWidgetManagerCompat.getInstance(mApp.getContext()); in LoaderTask()
610 widgetProvidersMap = mAppWidgetManager.getAllProvidersMap(); in loadWorkspace()