/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetManagerHelper.java | 49 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/ |
D | AllowBindAppWidgetActivity.java | 52 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()
|
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() 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/ |
D | ClearDefaultsPreference.java | 54 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/ |
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 | 106 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/ |
D | Launcher.java | 286 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()
|