Searched refs:INVALID_RESOURCE_HANDLE (Results 1 – 4 of 4) sorted by relevance
21 import static com.android.launcher3.testing.shared.ResourceUtils.INVALID_RESOURCE_HANDLE;184 public int devicePaddingId = INVALID_RESOURCE_HANDLE;186 public int workspaceSpecsId = INVALID_RESOURCE_HANDLE;188 public int workspaceSpecsTwoPanelId = INVALID_RESOURCE_HANDLE;190 public int allAppsSpecsId = INVALID_RESOURCE_HANDLE;192 public int allAppsSpecsTwoPanelId = INVALID_RESOURCE_HANDLE;194 public int folderSpecsId = INVALID_RESOURCE_HANDLE;196 public int folderSpecsTwoPanelId = INVALID_RESOURCE_HANDLE;198 public int hotseatSpecsId = INVALID_RESOURCE_HANDLE;200 public int hotseatSpecsTwoPanelId = INVALID_RESOURCE_HANDLE;[all …]
32 import static com.android.launcher3.testing.shared.ResourceUtils.INVALID_RESOURCE_HANDLE;343 mIsResponsiveGrid = inv.workspaceSpecsId != INVALID_RESOURCE_HANDLE in DeviceProfile()344 && inv.allAppsSpecsId != INVALID_RESOURCE_HANDLE in DeviceProfile()345 && inv.folderSpecsId != INVALID_RESOURCE_HANDLE in DeviceProfile()346 && inv.hotseatSpecsId != INVALID_RESOURCE_HANDLE in DeviceProfile()347 && inv.workspaceCellSpecsId != INVALID_RESOURCE_HANDLE in DeviceProfile()348 && inv.allAppsCellSpecsId != INVALID_RESOURCE_HANDLE; in DeviceProfile()468 if (mIsScalableGrid && inv.folderStyle != INVALID_RESOURCE_HANDLE) { in DeviceProfile()504 if (inv.cellStyle != INVALID_RESOURCE_HANDLE) { in DeviceProfile()855 } else if (mIsScalableGrid && inv.devicePaddingId != INVALID_RESOURCE_HANDLE) { in calculateAndSetWorkspaceVerticalPadding()[all …]
26 public static final int INVALID_RESOURCE_HANDLE = -1; field in ResourceUtils78 return size < 0 ? INVALID_RESOURCE_HANDLE : roundPxValueFromFloat(value); in pxFromDp()
22 import static com.android.launcher3.testing.shared.ResourceUtils.INVALID_RESOURCE_HANDLE;388 context.getResources(), INVALID_RESOURCE_HANDLE) == 2; in isGestureNav()470 context.getResources(), INVALID_RESOURCE_HANDLE); in getNavigationMode()472 if (modeInt == INVALID_RESOURCE_HANDLE) { in getNavigationMode()