Home
last modified time | relevance | path

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

/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/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/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DAddConfigWidgetTest.java61 private AppWidgetManager mAppWidgetManager; field in AddConfigWidgetTest
70 mAppWidgetManager = AppWidgetManager.getInstance(mTargetContext); in setUp()
127 assertNotNull(mAppWidgetManager.getAppWidgetInfo(mWidgetId)); in runTest()
132 assertNotNull(mAppWidgetManager.getAppWidgetInfo(mWidgetId)); in runTest()
135 Wait.atMost(null, () -> mAppWidgetManager.getAppWidgetInfo(mWidgetId) == null, in runTest()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DAppWidgetManagerCompatVL.java59 providers.addAll(mAppWidgetManager.getInstalledProvidersForProfile(user)); in getAllProviders()
68 List<AppWidgetProviderInfo> providers = new ArrayList<>(mAppWidgetManager in getAllProviders()
95 return mAppWidgetManager.bindAppWidgetIdIfAllowed( in bindAppWidgetIdIfAllowed()
130 mAppWidgetManager.getInstalledProvidersForProfile(user)) { in getAllProvidersMap()
DAppWidgetManagerCompat.java57 final AppWidgetManager mAppWidgetManager; field in AppWidgetManagerCompat
62 mAppWidgetManager = AppWidgetManager.getInstance(context); in AppWidgetManagerCompat()
71 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.java85 private AppWidgetManagerCompat mAppWidgetManager; field in AddItemActivity
210 mAppWidgetManager = AppWidgetManagerCompat.getInstance(this); in setupWidget()
260 boolean success = mAppWidgetManager.bindAppWidgetIdIfAllowed( in onPlaceAutomaticallyClick()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java226 private AppWidgetManagerCompat mAppWidgetManager; field in Launcher
326 mAppWidgetManager = AppWidgetManagerCompat.getInstance(this); in onCreate()
644 LauncherAppWidgetProviderInfo provider = mAppWidgetManager in completeAdd()
1234 appWidgetInfo = mAppWidgetManager.getLauncherAppWidgetInfo(appWidgetId); in completeAddAppWidget()
1652 boolean success = mAppWidgetManager.bindAppWidgetIdIfAllowed( in addAppWidgetFromDrop()
2137 appWidgetInfo = mAppWidgetManager.findProvider(item.providerName, item.user); in inflateAppWidget()
2139 appWidgetInfo = mAppWidgetManager.getLauncherAppWidgetInfo(item.appWidgetId); in inflateAppWidget()
2178 boolean success = mAppWidgetManager.bindAppWidgetIdIfAllowed( in inflateAppWidget()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderTask.java108 private final AppWidgetManagerCompat mAppWidgetManager; field in LoaderTask
124 mAppWidgetManager = AppWidgetManagerCompat.getInstance(mApp.getContext()); in LoaderTask()
592 widgetProvidersMap = mAppWidgetManager.getAllProvidersMap(); in loadWorkspace()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java6136 private AppWidgetManager mAppWidgetManager; field in EmailProvider
6142 if (mAppWidgetManager == null) { in notifyWidgets()
6146 mAppWidgetManager = AppWidgetManager.getInstance(context); in notifyWidgets()
6151 int[] widgetIds = mAppWidgetManager.getAppWidgetIds(mEmailComponent); in notifyWidgets()