Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java75 public final int edgeMarginPx; field in DeviceProfile
179 edgeMarginPx = res.getDimensionPixelSize(R.dimen.dynamic_grid_edge_margin); in DeviceProfile()
180 desiredWorkspaceLeftRightMarginPx = isVerticalBarLayout() ? 0 : edgeMarginPx; in DeviceProfile()
379 - verticalDragHandleSizePx - edgeMarginPx; in updateIconSize()
402 int folderMargin = edgeMarginPx * 2; in updateAvailableFolderCellDimensions()
480 padding.bottom = edgeMarginPx; in updateWorkspacePadding()
499 int availablePaddingY = Math.max(0, heightPx - edgeMarginPx - paddingBottom in updateWorkspacePadding()
502 padding.set(availablePaddingX / 2, edgeMarginPx + availablePaddingY / 2, in updateWorkspacePadding()
507 edgeMarginPx, in updateWorkspacePadding()
547 return new Rect(mInsets.left + dropTargetBarSizePx + edgeMarginPx, in getAbsoluteOpenFolderBounds()
[all …]
DDropTargetBar.java94 lp.height = grid.availableHeightPx - 2 * grid.edgeMarginPx; in setInsets()
102 gap = ((grid.widthPx - 2 * grid.edgeMarginPx in setInsets()
105 + grid.edgeMarginPx; in setInsets()
111 lp.topMargin += grid.edgeMarginPx; in setInsets()
DShortcutAndWidgetContainer.java129 : (int) (profile.edgeMarginPx / 2f); in measureChild()
DWorkspace.java306 setPageSpacing(grid.edgeMarginPx); in setInsets()
311 setPageSpacing(Math.max(grid.edgeMarginPx, padding.left + 1)); in setInsets()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DWorkspaceTouchListener.java98 mTempRect.inset(dp.edgeMarginPx, dp.edgeMarginPx); in onTouch()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsFullSheet.java134 int heightUsed = mInsets.top + mLauncher.getDeviceProfile().edgeMarginPx; in onMeasure()