/packages/apps/Launcher2/src/com/android/launcher2/ |
D | InstallWidgetReceiver.java | 63 public AppWidgetProviderInfo widgetInfo; field in InstallWidgetReceiver.WidgetMimeTypeHandlerData 67 widgetInfo = wInfo; in WidgetMimeTypeHandlerData() 142 final AppWidgetProviderInfo widgetInfo = data.widgetInfo; in getView() local 152 mTargetLayout.rectToCell(widgetInfo.minWidth, widgetInfo.minHeight, widgetSpan); in getView() 187 final AppWidgetProviderInfo widgetInfo = mActivities.get(which).widgetInfo; in onClick() local 189 final PendingAddWidgetInfo createInfo = new PendingAddWidgetInfo(widgetInfo, mMimeType, in onClick()
|
D | Workspace.java | 3183 public Bitmap createWidgetBitmap(ItemInfo widgetInfo, View layout) { 3184 int[] unScaledSize = mLauncher.getWorkspace().estimateItemSize(widgetInfo.spanX, 3185 widgetInfo.spanY, widgetInfo, false);
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | WidgetsModel.java | 74 for (AppWidgetProviderInfo widgetInfo : widgetManager.getAllProviders(packageUser)) { in update() 76 .fromProviderInfo(context, widgetInfo), pm, idp)); in update() 141 if (item.widgetInfo != null) { in setWidgetsAndShortcuts() 143 int minSpanX = Math.min(item.widgetInfo.spanX, item.widgetInfo.minSpanX); in setWidgetsAndShortcuts() 144 int minSpanY = Math.min(item.widgetInfo.spanY, item.widgetInfo.minSpanY); in setWidgetsAndShortcuts()
|
D | PackageUpdatedTask.java | 277 LauncherAppWidgetInfo widgetInfo = (LauncherAppWidgetInfo) info; in execute() local 278 if (mUser.equals(widgetInfo.user) in execute() 279 … && widgetInfo.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_PROVIDER_NOT_READY) in execute() 280 && packageSet.contains(widgetInfo.providerName.getPackageName())) { in execute() 281 widgetInfo.restoreStatus &= in execute() 288 widgetInfo.restoreStatus |= LauncherAppWidgetInfo.FLAG_UI_NOT_READY; in execute() 290 widgets.add(widgetInfo); in execute() 291 getModelWriter().updateItemInDatabase(widgetInfo); in execute()
|
D | WidgetItem.java | 26 public final LauncherAppWidgetProviderInfo widgetInfo; field in WidgetItem 37 widgetInfo = info; in WidgetItem() 47 widgetInfo = null; in WidgetItem()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | AddItemActivity.java | 194 LauncherAppWidgetProviderInfo widgetInfo = LauncherAppWidgetProviderInfo in setupWidget() local 196 if (widgetInfo.minSpanX > mIdp.numColumns || widgetInfo.minSpanY > mIdp.numRows) { in setupWidget() 205 mPendingWidgetInfo = new PendingAddWidgetInfo(widgetInfo); in setupWidget() 206 mPendingWidgetInfo.spanX = Math.min(mIdp.numColumns, widgetInfo.spanX); in setupWidget() 207 mPendingWidgetInfo.spanY = Math.min(mIdp.numRows, widgetInfo.spanY); in setupWidget() 210 WidgetItem item = new WidgetItem(widgetInfo, getPackageManager(), mIdp); in setupWidget()
|
D | LivePreviewWidgetCell.java | 44 mActivity, mPreview, mItem.widgetInfo, mPresetPreviewSize, new int[1]); in ensurePreview()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
D | AddWidgetTest.java | 39 private LauncherAppWidgetProviderInfo widgetInfo; field in AddWidgetTest 46 widgetInfo = findWidgetProvider(false /* hasConfigureScreen */); in setUp() 69 .hasDescendant(By.text(widgetInfo.getLabel(mTargetContext.getPackageManager())))); in performTest() 76 ((LauncherAppWidgetInfo) info).providerName.equals(widgetInfo.provider); in performTest()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InstallShortcutReceiver.java | 470 LauncherAppWidgetInfo widgetInfo = new LauncherAppWidgetInfo( in getItemInfo() local 474 widgetInfo.minSpanX = info.minSpanX; in getItemInfo() 475 widgetInfo.minSpanY = info.minSpanY; in getItemInfo() 476 widgetInfo.spanX = Math.min(info.spanX, idp.numColumns); in getItemInfo() 477 widgetInfo.spanY = Math.min(info.spanY, idp.numRows); in getItemInfo() 478 return widgetInfo; in getItemInfo()
|
D | Launcher.java | 685 LauncherAppWidgetInfo widgetInfo = in completeAdd() local 687 if (widgetInfo != null) { in completeAdd() 693 … .startConfigActivity(this, widgetInfo, REQUEST_RECONFIGURE_APPWIDGET); in completeAdd() 2177 final LauncherAppWidgetInfo widgetInfo = (LauncherAppWidgetInfo) itemInfo; in removeItem() local 2180 deleteWidgetInfo(widgetInfo); in removeItem() 2191 private void deleteWidgetInfo(final LauncherAppWidgetInfo widgetInfo) { in deleteWidgetInfo() argument 2193 … if (appWidgetHost != null && !widgetInfo.isCustomWidget() && widgetInfo.isWidgetIdAllocated()) { in deleteWidgetInfo() 2198 appWidgetHost.deleteAppWidgetId(widgetInfo.appWidgetId); in deleteWidgetInfo() 2203 getModelWriter().deleteItemFromDatabase(widgetInfo); in deleteWidgetInfo()
|
D | WidgetPreviewLoader.java | 294 if (item.widgetInfo != null) { in generatePreview() 295 return generateWidgetPreview(launcher, item.widgetInfo, in generatePreview()
|
D | Workspace.java | 3412 public Bitmap createWidgetBitmap(ItemInfo widgetInfo, View layout) { 3413 int[] unScaledSize = mLauncher.getWorkspace().estimateItemSize(widgetInfo, false, true); 4060 final AppWidgetProviderInfo widgetInfo; 4062 widgetInfo = AppWidgetManagerCompat 4065 widgetInfo = AppWidgetManagerCompat.getInstance(mLauncher) 4069 if (widgetInfo != null) {
|
/packages/apps/Launcher3/src/com/android/launcher3/qsb/ |
D | QsbContainerView.java | 120 AppWidgetProviderInfo widgetInfo = widgetManager.getAppWidgetInfo(widgetId); in createQsb() local 121 boolean isWidgetBound = (widgetInfo != null) && in createQsb() 122 widgetInfo.provider.equals(mWidgetInfo.provider); in createQsb()
|
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
D | ShortcutsItemView.java | 173 SystemShortcut widgetInfo = new SystemShortcut.Widgets(); in enableWidgetsIfExist() local 174 View.OnClickListener onClickListener = widgetInfo.getOnClickListener(mLauncher, itemInfo); in enableWidgetsIfExist() 188 PopupPopulator.initializeSystemShortcut(getContext(), widgetsView, widgetInfo); in enableWidgetsIfExist() local
|
/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
D | BaseWidgetProvider.java | 102 final String[][] widgetInfo = new String[widgetIds.length][2]; in getWidgetInfo() local 110 widgetInfo[i] = TextUtils.split(accountFolder, ACCOUNT_FOLDER_PREFERENCE_SEPARATOR); in getWidgetInfo() 113 return widgetInfo; in getWidgetInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetCell.java | 145 setTag(new PendingAddWidgetInfo(item.widgetInfo)); in applyFromCellItem()
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | EmailProvider.java | 6153 for (String[] widgetInfo: widgetInfos) { in notifyWidgets() 6155 if (widgetInfo == null || TextUtils.isEmpty(widgetInfo[1])) continue; in notifyWidgets() 6156 long id = Long.parseLong(Uri.parse(widgetInfo[1]).getLastPathSegment()); in notifyWidgets()
|