/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetManagerHelper.java | 56 final AppWidgetManager mAppWidgetManager; field in WidgetManagerHelper 61 mAppWidgetManager = AppWidgetManager.getInstance(context); in WidgetManagerHelper() 76 AppWidgetProviderInfo info = mAppWidgetManager.getAppWidgetInfo(appWidgetId); in getLauncherAppWidgetInfo() 101 return mAppWidgetManager.getInstalledProvidersForPackage( in getAllProviders() 125 return mAppWidgetManager.bindAppWidgetIdIfAllowed( in bindAppWidgetIdIfAllowed() 148 return WIDGETS_ENABLED && mAppWidgetManager.getAppWidgetOptions(appWidgetId) in isAppWidgetRestored() 165 return mAppWidgetManager.getWidgetPreview(info.provider, info.getProfile(), widgetCategory); in loadGeneratedPreview()
|
/packages/apps/Settings/src/com/android/settings/ |
D | AllowBindAppWidgetActivity.java | 53 private AppWidgetManager mAppWidgetManager; field in AllowBindAppWidgetActivity 63 final boolean bound = mAppWidgetManager.bindAppWidgetIdIfAllowed(mAppWidgetId, in onClick() 76 if (alwaysAllowBind != mAppWidgetManager.hasBindAppWidgetPermission( in onClick() 78 mAppWidgetManager.setBindAppWidgetPermission(mCallingPackage, in onClick() 126 mAppWidgetManager = AppWidgetManager.getInstance(this); in onCreate() 150 mAlwaysUse.setChecked(mAppWidgetManager.hasBindAppWidgetPermission(mCallingPackage, in onCreate() 158 for (AppWidgetProviderInfo providerInfo : mAppWidgetManager.getInstalledProviders()) { in getWidgetLabel()
|
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/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | AppWidgetManagerPermissionTest.java | 31 private AppWidgetManager mAppWidgetManager = null; field in AppWidgetManagerPermissionTest 36 mAppWidgetManager = AppWidgetManager.getInstance(getContext()); in setUp() 52 assertNotNull(mAppWidgetManager); in testBindAppWidget() 55 final boolean bound = mAppWidgetManager.bindAppWidgetIdIfAllowed(1, in testBindAppWidget()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
D | TaplAddConfigWidgetTest.java | 61 private AppWidgetManager mAppWidgetManager; field in TaplAddConfigWidgetTest 70 mAppWidgetManager = AppWidgetManager.getInstance(mTargetContext); in setUp() 102 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 | 116 private WidgetManagerHelper mAppWidgetManager; field in AddItemActivity 298 mAppWidgetManager = new WidgetManagerHelper(this); in setupWidget() 357 boolean success = mAppWidgetManager.bindAppWidgetIdIfAllowed( in onPlaceAutomaticallyClick()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Launcher.java | 339 private WidgetManagerHelper mAppWidgetManager; field in Launcher 526 mAppWidgetManager = new WidgetManagerHelper(this); in onCreate() 863 LauncherAppWidgetProviderInfo provider = mAppWidgetManager 1498 appWidgetInfo = mAppWidgetManager.getLauncherAppWidgetInfo(appWidgetId, 1962 boolean success = mAppWidgetManager.bindAppWidgetIdIfAllowed(
|