Home
last modified time | relevance | path

Searched refs:widgetSize (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/picker/util/
DWidgetsTableUtilsTest.java154 widgetSize -> { in initTestWidgets()
158 ".WidgetProvider_" + widgetSize.x + "x" + widgetSize.y); in initTestWidgets()
161 widgetInfo.spanX = widgetSize.x; in initTestWidgets()
162 widgetInfo.spanY = widgetSize.y; in initTestWidgets()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsListAdapter.java299 Size widgetSize = WidgetSizes.getWidgetItemSizePx(mContext, deviceProfile, in ensureAllPreviewsReady() local
302 widgetSize = in ensureAllPreviewsReady()
304 widgetSize.getWidth() + mShortcutPreviewPadding, in ensureAllPreviewsReady()
305 widgetSize.getHeight() + mShortcutPreviewPadding); in ensureAllPreviewsReady()
309 || mCachingPreviewLoader.isPreviewLoaded(widgetItem, widgetSize)) { in ensureAllPreviewsReady()
320 widgetSize, in ensureAllPreviewsReady()
DWidgetsRecommendationTableLayout.java158 Size widgetSize = WidgetSizes.getWidgetItemSizePx(getContext(), deviceProfile, in fitRecommendedWidgetsToTableSpace() local
160 float previewHeight = widgetSize.getHeight() * previewScale; in fitRecommendedWidgetsToTableSpace()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetCell.java366 Size widgetSize = WidgetSizes.getWidgetItemSizePx(getContext(), deviceProfile, widgetItem); in setPreviewSize() local
367 mPreviewWidth = widgetSize.getWidth(); in setPreviewSize()
368 mPreviewHeight = widgetSize.getHeight(); in setPreviewSize()
370 return widgetSize; in setPreviewSize()
DDatabaseWidgetPreviewLoader.java420 Size widgetSize = WidgetSizes.getWidgetPaddedSizePx(mContext, info.provider, dp, spanX, in generateWidgetPreview() local
422 previewWidth = widgetSize.getWidth(); in generateWidgetPreview()
423 previewHeight = widgetSize.getHeight(); in generateWidgetPreview()
/packages/apps/Messaging/src/com/android/messaging/widget/
DBaseWidgetProvider.java161 final int widgetSize = getWidgetSize(appWidgetManager, appWidgetId); in onAppWidgetOptionsChanged() local
165 widgetSize); in onAppWidgetOptionsChanged()