Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetManagerHelper.java49 final AppWidgetManager mAppWidgetManager; field in WidgetManagerHelper
54 mAppWidgetManager = AppWidgetManager.getInstance(context); in WidgetManagerHelper()
64 AppWidgetProviderInfo info = mAppWidgetManager.getAppWidgetInfo(appWidgetId); in getLauncherAppWidgetInfo()
81 return mAppWidgetManager.getInstalledProvidersForPackage( in getAllProviders()
96 return mAppWidgetManager.bindAppWidgetIdIfAllowed( in bindAppWidgetIdIfAllowed()
117 return !WidgetsModel.GO_DISABLE_WIDGETS && mAppWidgetManager.getAppWidgetOptions( in isAppWidgetRestored()
/packages/apps/Settings/src/com/android/settings/
DAllowBindAppWidgetActivity.java52 private AppWidgetManager mAppWidgetManager; field in AllowBindAppWidgetActivity
62 final boolean bound = mAppWidgetManager.bindAppWidgetIdIfAllowed(mAppWidgetId, in onClick()
75 if (alwaysAllowBind != mAppWidgetManager.hasBindAppWidgetPermission( in onClick()
77 mAppWidgetManager.setBindAppWidgetPermission(mCallingPackage, in onClick()
144 mAppWidgetManager = AppWidgetManager.getInstance(this); in onCreate()
145 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()
101 assertNotNull(mAppWidgetManager.getAppWidgetInfo(mWidgetId)); in runTest()
107 assertNotNull(mAppWidgetManager.getAppWidgetInfo(mWidgetId)); in runTest()
110 Wait.atMost("", () -> mAppWidgetManager.getAppWidgetInfo(mWidgetId) == null, in runTest()
/packages/apps/Settings/src/com/android/settings/applications/
DClearDefaultsPreference.java54 private AppWidgetManager mAppWidgetManager; field in ClearDefaultsPreference
68 mAppWidgetManager = AppWidgetManager.getInstance(context); in ClearDefaultsPreference()
128 mAppWidgetManager.setBindAppWidgetPermission(mPackageName, false); in onBindViewHolder()
140 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.java106 private WidgetManagerHelper mAppWidgetManager; field in AddItemActivity
258 mAppWidgetManager = new WidgetManagerHelper(this); in setupWidget()
317 boolean success = mAppWidgetManager.bindAppWidgetIdIfAllowed( in onPlaceAutomaticallyClick()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java286 private WidgetManagerHelper mAppWidgetManager; field in Launcher
440 mAppWidgetManager = new WidgetManagerHelper(this); in onCreate()
697 LauncherAppWidgetProviderInfo provider = mAppWidgetManager in completeAdd()
1325 appWidgetInfo = mAppWidgetManager.getLauncherAppWidgetInfo(appWidgetId); in completeAddAppWidget()
1813 boolean success = mAppWidgetManager.bindAppWidgetIdIfAllowed( in addAppWidgetFromDrop()
2381 appWidgetInfo = mAppWidgetManager.findProvider(item.providerName, item.user); in inflateAppWidget()
2391 appWidgetInfo = mAppWidgetManager.getLauncherAppWidgetInfo(item.appWidgetId); in inflateAppWidget()
2442 boolean success = mAppWidgetManager.bindAppWidgetIdIfAllowed( in inflateAppWidget()
2471 if (mAppWidgetManager.isAppWidgetRestored(item.appWidgetId)) { in inflateAppWidget()