Home
last modified time | relevance | path

Searched refs:PendingAddWidgetInfo (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingAddWidgetInfo.java38 public class PendingAddWidgetInfo extends PendingAddItemInfo { class
48 public PendingAddWidgetInfo( in PendingAddWidgetInfo() method in PendingAddWidgetInfo
56 public PendingAddWidgetInfo(LauncherAppWidgetProviderInfo i, int container) { in PendingAddWidgetInfo() method in PendingAddWidgetInfo
DPendingItemDragHelper.java111 if (mAddInfo instanceof PendingAddWidgetInfo) { in startDrag()
112 PendingAddWidgetInfo createWidgetInfo = (PendingAddWidgetInfo) mAddInfo; in startDrag()
121 ((PendingAddWidgetInfo) mAddInfo).info); in startDrag()
DWidgetHostViewLoader.java28 @Thunk final PendingAddWidgetInfo mInfo;
39 mInfo = (PendingAddWidgetInfo) view.getTag(); in WidgetHostViewLoader()
DWidgetInflater.kt116 val pendingInfo = PendingAddWidgetInfo(appWidgetInfo, item.sourceContainer) in inflateAppWidget()
DWidgetCell.java267 setTag(new PendingAddWidgetInfo(item.widgetInfo, mSourceContainer)); in applyFromCellItem()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/
DWidgetUtils.java29 import com.android.launcher3.widget.PendingAddWidgetInfo;
57 PendingAddWidgetInfo pendingInfo = in createWidgetInfo()
58 new PendingAddWidgetInfo( in createWidgetInfo()
/packages/apps/Launcher3/quickstep/tests/src/com/android/launcher3/model/
DWidgetsPredicationUpdateTaskTest.java58 import com.android.launcher3.widget.PendingAddWidgetInfo;
173 List<PendingAddWidgetInfo> recommendedWidgets = mCallback.mRecommendedWidgets.items in widgetsRecommendationRan_shouldOnlyReturnNotAddedWidgetsInAppPredictionOrder()
175 .map(itemInfo -> (PendingAddWidgetInfo) itemInfo) in widgetsRecommendationRan_shouldOnlyReturnNotAddedWidgetsInAppPredictionOrder()
208 List<PendingAddWidgetInfo> recommendedWidgets = mCallback.mRecommendedWidgets.items in widgetsRecommendationRan_shouldReturnEmptyWidgetsWhenEmpty()
210 .map(itemInfo -> (PendingAddWidgetInfo) itemInfo) in widgetsRecommendationRan_shouldReturnEmptyWidgetsWhenEmpty()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPendingRequestArgs.java25 import com.android.launcher3.widget.PendingAddWidgetInfo;
114 if (info instanceof PendingAddWidgetInfo) { in forWidgetInfo()
115 sourceContainer = ((PendingAddWidgetInfo) info).sourceContainer; in forWidgetInfo()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DWidgetsPredictionUpdateTask.java33 import com.android.launcher3.widget.PendingAddWidgetInfo;
93 .map(it -> new PendingAddWidgetInfo(it.widgetInfo, CONTAINER_WIDGETS_PREDICTION, in execute()
98 .map(it -> new PendingAddWidgetInfo(it.widgetInfo, in execute()
DWidgetPredictionsRequester.java44 import com.android.launcher3.widget.PendingAddWidgetInfo;
216 .map(it -> new PendingAddWidgetInfo(it.widgetInfo, CONTAINER_WIDGETS_PREDICTION, in mapWidgetItemsToItemInfo()
220 items = widgetItems.stream().map(it -> new PendingAddWidgetInfo(it.widgetInfo, in mapWidgetItemsToItemInfo()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupDataProvider.java34 import com.android.launcher3.widget.PendingAddWidgetInfo;
236 .filter(itemInfo -> itemInfo instanceof PendingAddWidgetInfo
237 && ((PendingAddWidgetInfo) itemInfo).recommendationCategory != null)
239 it -> ((PendingAddWidgetInfo) it).recommendationCategory,
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DPinItemDragListener.java37 import com.android.launcher3.widget.PendingAddWidgetInfo;
86 item = new PendingAddWidgetInfo(providerInfo, CONTAINER_PIN_WIDGETS) { in createDragHelper()
DAddItemActivity.java80 import com.android.launcher3.widget.PendingAddWidgetInfo;
301 PendingAddWidgetInfo pendingInfo = in setupWidget()
302 new PendingAddWidgetInfo(widgetInfo, CONTAINER_PIN_WIDGETS); in setupWidget()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemClickHandler.java73 import com.android.launcher3.widget.PendingAddWidgetInfo;
135 } else if (tag instanceof PendingAddWidgetInfo) { in onClick()
137 String targetPackage = ((PendingAddWidgetInfo) tag).getTargetPackage(); in onClick()
/packages/apps/Launcher3/src/com/android/launcher3/
DModelCallbacks.kt29 import com.android.launcher3.widget.PendingAddWidgetInfo in <lambda>()
309 PendingAddWidgetInfo( in <lambda>()
DWorkspace.java126 import com.android.launcher3.widget.PendingAddWidgetInfo;
1810 if (d.dragInfo instanceof PendingAddWidgetInfo) { in acceptDrop()
1811 minSpanX = ((PendingAddWidgetInfo) d.dragInfo).minSpanX; in acceptDrop()
1812 minSpanY = ((PendingAddWidgetInfo) d.dragInfo).minSpanY; in acceptDrop()
2434 d.dragInfo instanceof PendingAddWidgetInfo);
2854 ((PendingAddWidgetInfo) pendingInfo).boundWidget : null;
2861 if (isWidget && ((PendingAddWidgetInfo) pendingInfo).info != null &&
2862 ((PendingAddWidgetInfo) pendingInfo).getHandler().needsConfigure()) {
DLauncher.java261 import com.android.launcher3.widget.PendingAddWidgetInfo;
1544 if (itemInfo instanceof PendingAddWidgetInfo) {
1545 launcherInfo.sourceContainer = ((PendingAddWidgetInfo) itemInfo).sourceContainer;
1913 if (info instanceof PendingAddWidgetInfo) {
1914 addAppWidgetFromDrop((PendingAddWidgetInfo) info);
1935 private void addAppWidgetFromDrop(PendingAddWidgetInfo info) {
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java60 import com.android.launcher3.widget.PendingAddWidgetInfo;
421 if (info instanceof PendingAddWidgetInfo widgetInfo in addToWorkspace()