Loading res/values/attrs.xml +6 −0 Original line number Diff line number Diff line Loading @@ -223,26 +223,32 @@ <!-- File that contains the specs for the workspace. Needs FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE enabled --> <attr name="workspaceSpecsId" format="reference" /> <!-- defaults to workspaceSpecsId, if not specified --> <attr name="workspaceSpecsTwoPanelId" format="reference" /> <!-- File that contains the specs for all apps. Needs FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE enabled --> <attr name="allAppsSpecsId" format="reference" /> <!-- defaults to allAppsSpecsId, if not specified --> <attr name="allAppsSpecsTwoPanelId" format="reference" /> <!-- File that contains the specs for the workspace. Needs FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE enabled --> <attr name="folderSpecsId" format="reference" /> <!-- defaults to folderSpecsId, if not specified --> <attr name="folderSpecsTwoPanelId" format="reference" /> <!-- File that contains the specs for hotseat bar. Needs FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE enabled --> <attr name="hotseatSpecsId" format="reference" /> <!-- defaults to hotseatSpecsId, if not specified --> <attr name="hotseatSpecsTwoPanelId" format="reference" /> <!-- File that contains the specs for workspace icon and text size. Needs FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE enabled --> <attr name="workspaceCellSpecsId" format="reference" /> <!-- defaults to workspaceCellSpecsId, if not specified --> <attr name="workspaceCellSpecsTwoPanelId" format="reference" /> <!-- File that contains the specs for all apps icon and text size. Needs FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE enabled --> <attr name="allAppsCellSpecsId" format="reference" /> <!-- defaults to allAppsCellSpecsId, if not specified --> <attr name="allAppsCellSpecsTwoPanelId" format="reference" /> <!-- By default all categories are enabled --> Loading src/com/android/launcher3/InvariantDeviceProfile.java +6 −6 Original line number Diff line number Diff line Loading @@ -948,34 +948,34 @@ public class InvariantDeviceProfile { R.styleable.GridDisplayOption_workspaceSpecsId, INVALID_RESOURCE_HANDLE); mWorkspaceSpecsTwoPanelId = a.getResourceId( R.styleable.GridDisplayOption_workspaceSpecsTwoPanelId, INVALID_RESOURCE_HANDLE); mWorkspaceSpecsId); mAllAppsSpecsId = a.getResourceId( R.styleable.GridDisplayOption_allAppsSpecsId, INVALID_RESOURCE_HANDLE); mAllAppsSpecsTwoPanelId = a.getResourceId( R.styleable.GridDisplayOption_allAppsSpecsTwoPanelId, INVALID_RESOURCE_HANDLE); mAllAppsSpecsId); mFolderSpecsId = a.getResourceId( R.styleable.GridDisplayOption_folderSpecsId, INVALID_RESOURCE_HANDLE); mFolderSpecsTwoPanelId = a.getResourceId( R.styleable.GridDisplayOption_folderSpecsTwoPanelId, INVALID_RESOURCE_HANDLE); mFolderSpecsId); mHotseatSpecsId = a.getResourceId( R.styleable.GridDisplayOption_hotseatSpecsId, INVALID_RESOURCE_HANDLE); mHotseatSpecsTwoPanelId = a.getResourceId( R.styleable.GridDisplayOption_hotseatSpecsTwoPanelId, INVALID_RESOURCE_HANDLE); mHotseatSpecsId); mWorkspaceCellSpecsId = a.getResourceId( R.styleable.GridDisplayOption_workspaceCellSpecsId, INVALID_RESOURCE_HANDLE); mWorkspaceCellSpecsTwoPanelId = a.getResourceId( R.styleable.GridDisplayOption_workspaceCellSpecsTwoPanelId, INVALID_RESOURCE_HANDLE); mWorkspaceCellSpecsId); mAllAppsCellSpecsId = a.getResourceId( R.styleable.GridDisplayOption_allAppsCellSpecsId, INVALID_RESOURCE_HANDLE); mAllAppsCellSpecsTwoPanelId = a.getResourceId( R.styleable.GridDisplayOption_allAppsCellSpecsTwoPanelId, INVALID_RESOURCE_HANDLE); mAllAppsCellSpecsId); mNumAllAppsRowsForCellHeightCalculation = a.getInt( R.styleable.GridDisplayOption_numAllAppsRowsForCellHeightCalculation, numRows); Loading Loading
res/values/attrs.xml +6 −0 Original line number Diff line number Diff line Loading @@ -223,26 +223,32 @@ <!-- File that contains the specs for the workspace. Needs FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE enabled --> <attr name="workspaceSpecsId" format="reference" /> <!-- defaults to workspaceSpecsId, if not specified --> <attr name="workspaceSpecsTwoPanelId" format="reference" /> <!-- File that contains the specs for all apps. Needs FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE enabled --> <attr name="allAppsSpecsId" format="reference" /> <!-- defaults to allAppsSpecsId, if not specified --> <attr name="allAppsSpecsTwoPanelId" format="reference" /> <!-- File that contains the specs for the workspace. Needs FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE enabled --> <attr name="folderSpecsId" format="reference" /> <!-- defaults to folderSpecsId, if not specified --> <attr name="folderSpecsTwoPanelId" format="reference" /> <!-- File that contains the specs for hotseat bar. Needs FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE enabled --> <attr name="hotseatSpecsId" format="reference" /> <!-- defaults to hotseatSpecsId, if not specified --> <attr name="hotseatSpecsTwoPanelId" format="reference" /> <!-- File that contains the specs for workspace icon and text size. Needs FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE enabled --> <attr name="workspaceCellSpecsId" format="reference" /> <!-- defaults to workspaceCellSpecsId, if not specified --> <attr name="workspaceCellSpecsTwoPanelId" format="reference" /> <!-- File that contains the specs for all apps icon and text size. Needs FeatureFlags.ENABLE_RESPONSIVE_WORKSPACE enabled --> <attr name="allAppsCellSpecsId" format="reference" /> <!-- defaults to allAppsCellSpecsId, if not specified --> <attr name="allAppsCellSpecsTwoPanelId" format="reference" /> <!-- By default all categories are enabled --> Loading
src/com/android/launcher3/InvariantDeviceProfile.java +6 −6 Original line number Diff line number Diff line Loading @@ -948,34 +948,34 @@ public class InvariantDeviceProfile { R.styleable.GridDisplayOption_workspaceSpecsId, INVALID_RESOURCE_HANDLE); mWorkspaceSpecsTwoPanelId = a.getResourceId( R.styleable.GridDisplayOption_workspaceSpecsTwoPanelId, INVALID_RESOURCE_HANDLE); mWorkspaceSpecsId); mAllAppsSpecsId = a.getResourceId( R.styleable.GridDisplayOption_allAppsSpecsId, INVALID_RESOURCE_HANDLE); mAllAppsSpecsTwoPanelId = a.getResourceId( R.styleable.GridDisplayOption_allAppsSpecsTwoPanelId, INVALID_RESOURCE_HANDLE); mAllAppsSpecsId); mFolderSpecsId = a.getResourceId( R.styleable.GridDisplayOption_folderSpecsId, INVALID_RESOURCE_HANDLE); mFolderSpecsTwoPanelId = a.getResourceId( R.styleable.GridDisplayOption_folderSpecsTwoPanelId, INVALID_RESOURCE_HANDLE); mFolderSpecsId); mHotseatSpecsId = a.getResourceId( R.styleable.GridDisplayOption_hotseatSpecsId, INVALID_RESOURCE_HANDLE); mHotseatSpecsTwoPanelId = a.getResourceId( R.styleable.GridDisplayOption_hotseatSpecsTwoPanelId, INVALID_RESOURCE_HANDLE); mHotseatSpecsId); mWorkspaceCellSpecsId = a.getResourceId( R.styleable.GridDisplayOption_workspaceCellSpecsId, INVALID_RESOURCE_HANDLE); mWorkspaceCellSpecsTwoPanelId = a.getResourceId( R.styleable.GridDisplayOption_workspaceCellSpecsTwoPanelId, INVALID_RESOURCE_HANDLE); mWorkspaceCellSpecsId); mAllAppsCellSpecsId = a.getResourceId( R.styleable.GridDisplayOption_allAppsCellSpecsId, INVALID_RESOURCE_HANDLE); mAllAppsCellSpecsTwoPanelId = a.getResourceId( R.styleable.GridDisplayOption_allAppsCellSpecsTwoPanelId, INVALID_RESOURCE_HANDLE); mAllAppsCellSpecsId); mNumAllAppsRowsForCellHeightCalculation = a.getInt( R.styleable.GridDisplayOption_numAllAppsRowsForCellHeightCalculation, numRows); Loading