Searched refs:widgetRect (Results 1 – 3 of 3) sorted by relevance
| /packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/board/ |
| D | TestWorkspaceBuilder.kt | 45 widgetRect: WidgetRect, in fillWithWidgets() 49 val initX = widgetRect.cellX in fillWithWidgets() 50 val initY = widgetRect.cellY in fillWithWidgets() 51 for (x in initX until initX + widgetRect.spanX) { in fillWithWidgets() 52 for (y in initY until initY + widgetRect.spanY) { in fillWithWidgets() 93 widgetRect: WidgetRect, in addCorrespondingWidgetRect() 97 if (widgetRect.type == 'x') { in addCorrespondingWidgetRect() 98 fillWithWidgets(widgetRect, transaction, screenId) in addCorrespondingWidgetRect() 100 transaction.addItem(createWidgetInCell(widgetRect, screenId)) in addCorrespondingWidgetRect() 127 private fun createWidgetInCell(widgetRect: WidgetRect, paramScreenId: Int): Supplier<ItemInfo> { in createWidgetInCell() [all …]
|
| D | CellLayoutBoard.java | 91 .filter(widgetRect -> widgetRect.getType() == type).findFirst().orElse(null); 96 .filter(widgetRect -> pointInsideRect(x, y, widgetRect)).findFirst().orElse(null); in getWidgetAt() 218 WidgetRect widgetRect = new WidgetRect(type, rect); in addWidget() local 219 mWidgetsRects.add(widgetRect); in addWidget() 229 .filter(widgetRect -> widgetRect.getType() == type) in removeItem() 230 .forEach(widgetRect -> removeOverlappingItems( in removeItem() 231 new Point(widgetRect.getCellX(), widgetRect.getCellY()))); in removeItem() 261 Rect widgetRect = new Rect(INFINITE, -INFINITE, -INFINITE, INFINITE); in getWidgetRect() local 264 widgetRect.top = Math.max(widgetRect.top, current.y); in getWidgetRect() 265 widgetRect.right = Math.max(widgetRect.right, current.x); in getWidgetRect() [all …]
|
| /packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/models/ |
| D | FormWidgetInfo.java | 98 @NonNull Rect widgetRect, in FormWidgetInfo() argument 110 this.mWidgetRect = widgetRect; in FormWidgetInfo() 354 @NonNull Rect widgetRect, in Builder() argument 359 mWidgetRect = Preconditions.checkNotNull(widgetRect, "widgetRect cannot be null"); in Builder()
|