Home
last modified time | relevance | path

Searched refs:INVALID_RESOURCE_HANDLE (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java21 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 …]
DDeviceProfile.java32 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 …]
/packages/apps/Launcher3/tests/multivalentTests/shared/com/android/launcher3/testing/shared/
DResourceUtils.java26 public static final int INVALID_RESOURCE_HANDLE = -1; field in ResourceUtils
78 return size < 0 ? INVALID_RESOURCE_HANDLE : roundPxValueFromFloat(value); in pxFromDp()
/packages/apps/Launcher3/src/com/android/launcher3/util/window/
DWindowManagerProxy.java22 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()