Home
last modified time | relevance | path

Searched refs:WidgetCell (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetTableRow.java26 public class WidgetTableRow extends TableRow implements WidgetCell.PreviewReadyListener {
52 WidgetCell widgetCell = (WidgetCell) getChildAt(i); in resize()
60 WidgetCell widgetCell = (WidgetCell) getChildAt(i); in resize()
DBaseWidgetSheet.java79 @Nullable private WidgetCell mWidgetCellWithAddButton = null;
132 WidgetCell wc; in onClick()
133 if (v instanceof WidgetCell view) { in onClick()
135 } else if (v.getParent() instanceof WidgetCell parent) { in onClick()
218 private void scrollToWidgetCell(@NonNull WidgetCell wc) { in scrollToWidgetCell()
250 protected abstract void scrollCellContainerByY(WidgetCell wc, int scrollByY); in scrollCellContainerByY()
256 protected int getHeaderTopClip(@NonNull WidgetCell cell) { in getHeaderTopClip()
274 if (v instanceof WidgetCell) { in onLongClick()
276 } else if (v.getParent() instanceof WidgetCell wc) { in onLongClick()
DWidgetsBottomSheet.java143 WidgetCell widget = addItemCell(tableRow); in onWidgetsBound()
166 protected WidgetCell addItemCell(WidgetTableRow parent) { in addItemCell()
167 WidgetCell widget = (WidgetCell) LayoutInflater.from(getContext()) in addItemCell()
240 protected void scrollCellContainerByY(WidgetCell wc, int scrollByY) { in scrollCellContainerByY()
DWidgetCell.java81 public class WidgetCell extends LinearLayout { class
125 public WidgetCell(Context context) { in WidgetCell() method in WidgetCell
129 public WidgetCell(Context context, AttributeSet attrs) { in WidgetCell() method in WidgetCell
133 public WidgetCell(Context context, AttributeSet attrs, int defStyle) { in WidgetCell() method in WidgetCell
499 return WidgetCell.class.getName();
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsListTableViewHolderBinder.java42 import com.android.launcher3.widget.WidgetCell;
121 WidgetCell widget = (WidgetCell) row.getChildAt(j); in bindViewHolder()
168 WidgetCell widget = (WidgetCell) mLayoutInflater.inflate( in recycleTableBeforeBinding()
191 WidgetCell widget = (WidgetCell) tableRow.getChildAt(j); in unbindViewHolder()
DWidgetsRecommendationTableLayout.java38 import com.android.launcher3.widget.WidgetCell;
111 WidgetCell widgetCell = addItemCell(tableRow); in bindData()
124 private WidgetCell addItemCell(WidgetTableRow parent) { in addItemCell()
125 WidgetCell widget = (WidgetCell) LayoutInflater.from( in addItemCell()
DWidgetsTwoPaneSheet.java49 import com.android.launcher3.widget.WidgetCell;
441 WidgetCell cell = Utilities.findViewByPredicate(parent, v -> v instanceof WidgetCell wc
450 WidgetCell cell = Utilities.findViewByPredicate(parent, v -> v instanceof WidgetCell wc
481 protected int getHeaderTopClip(@NonNull WidgetCell cell) {
486 protected void scrollCellContainerByY(WidgetCell wc, int scrollByY) {
DWidgetsFullSheet.java69 import com.android.launcher3.widget.WidgetCell;
937 protected int getHeaderTopClip(@NonNull WidgetCell cell) { in getHeaderTopClip()
961 protected void scrollCellContainerByY(WidgetCell wc, int scrollByY) { in scrollCellContainerByY()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DWidgetPickerActivity.java48 import com.android.launcher3.widget.WidgetCell;
168 (v instanceof WidgetCell) ? ((WidgetCell) v).getWidgetItem().widgetInfo : null; in getItemOnClickListener()
184 if (!(view instanceof WidgetCell widgetCell)) return false; in getAllAppsItemLongClickListener()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemLongClickListener.java49 import com.android.launcher3.widget.WidgetCell;
102 private static boolean onWidgetItemLongClick(WidgetCell v) { in onWidgetItemLongClick()
139 if (view instanceof WidgetCell wc) { in onAllAppsItemLongClick()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/widget/
DGeneratedPreviewTest.kt50 private lateinit var widgetCell: WidgetCell
68 .inflate(com.android.launcher3.R.layout.widget_cell, null) as WidgetCell in setup()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/widget/picker/
DWidgetsListTableViewHolderBinderTest.java56 import com.android.launcher3.widget.WidgetCell;
160 assertThat(view).isInstanceOf(WidgetCell.class); in assertWidgetCellWithLabel()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DAddItemActivity.java81 import com.android.launcher3.widget.WidgetCell;
95 WidgetCell.PreviewReadyListener {
111 private WidgetCell mWidgetCell;