Home
last modified time | relevance | path

Searched refs:ResponsiveSpecType (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/responsive/
DResponsiveSpecsProviderTest.kt24 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType in <lambda>()
47 val provider = ResponsiveSpecsProvider.create(resourceHelper, ResponsiveSpecType.Workspace) in <lambda>()
82 specType = ResponsiveSpecType.Workspace, in <lambda>()
95 specType = ResponsiveSpecType.Workspace, in <lambda>()
114 val provider = ResponsiveSpecsProvider.create(resourceHelper, ResponsiveSpecType.Workspace) in <lambda>()
121 ResponsiveSpecsProvider.create(resourceHelper, ResponsiveSpecType.Workspace) in <lambda>()
127 ResponsiveSpecsProvider.create(resourceHelper, ResponsiveSpecType.Workspace) in <lambda>()
133 ResponsiveSpecsProvider.create(resourceHelper, ResponsiveSpecType.Workspace) in <lambda>()
139 ResponsiveSpecsProvider.create(resourceHelper, ResponsiveSpecType.Workspace) in <lambda>()
145 ResponsiveSpecsProvider.create(resourceHelper, ResponsiveSpecType.Workspace) in <lambda>()
[all …]
DFolderSpecTest.kt24 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
47 val folderSpecs = ResponsiveSpecsProvider.create(resourceHelper, ResponsiveSpecType.Folder) in parseValidFile()
56 specType = ResponsiveSpecType.Folder, in parseValidFile()
65 specType = ResponsiveSpecType.Folder, in parseValidFile()
77 specType = ResponsiveSpecType.Folder, in parseValidFile()
95 ResponsiveSpecsProvider.create(resourceHelper, ResponsiveSpecType.Folder) in parseInvalidFile_missingTag_throwsError()
101 ResponsiveSpecsProvider.create(resourceHelper, ResponsiveSpecType.Folder) in parseInvalidFile_moreThanOneValuePerTag_throwsError()
107 ResponsiveSpecsProvider.create(resourceHelper, ResponsiveSpecType.Folder) in parseInvalidFile_valueBiggerThan1_throwsError()
113 ResponsiveSpecsProvider.create(resourceHelper, ResponsiveSpecType.Folder) in parseInvalidFile_missingSpecs_throwsError()
125 specType = ResponsiveSpecType.Folder, in parseInvalidFile_missingWidthBreakpoint_throwsError()
[all …]
DWorkspaceSpecsTest.kt24 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
48 ResponsiveSpecType.Workspace in parseValidFile()
172 ResponsiveSpecType.Workspace in parseInvalidFile_missingTag_throwsError()
180 ResponsiveSpecType.Workspace in parseInvalidFile_moreThanOneValuePerTag_throwsError()
188 ResponsiveSpecType.Workspace in parseInvalidFile_valueBiggerThan1_throwsError()
196 ResponsiveSpecType.Workspace in parseInvalidFile_matchWorkspace_true_throwsError()
DAllAppsSpecsTest.kt24 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
48 ResponsiveSpecType.AllApps in parseValidFile()
117 ResponsiveSpecType.AllApps in parseInvalidFile_missingTag_throwsError()
125 ResponsiveSpecType.AllApps in parseInvalidFile_moreThanOneValuePerTag_throwsError()
133 ResponsiveSpecType.AllApps in parseInvalidFile_valueBiggerThan1_throwsError()
DHotseatSpecsProviderTest.kt24 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
54 specType = ResponsiveSpecType.Hotseat, in parseValidFile()
61 specType = ResponsiveSpecType.Hotseat, in parseValidFile()
88 specType = ResponsiveSpecType.Hotseat, in parseValidLandscapeFile()
95 specType = ResponsiveSpecType.Hotseat, in parseValidLandscapeFile()
DCalculatedFolderSpecTest.kt24 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
51 ResponsiveSpecsProvider.create(resourceHelperWorkspace, ResponsiveSpecType.Workspace) in validate_matchWidthWorkspace()
56 ResponsiveSpecsProvider.create(resourceHelperFolder, ResponsiveSpecType.Folder) in validate_matchWidthWorkspace()
127 ResponsiveSpecsProvider.create(resourceHelperWorkspace, ResponsiveSpecType.Workspace) in validate_matchHeightWorkspace()
132 ResponsiveSpecsProvider.create(resourceHelperFolder, ResponsiveSpecType.Folder) in validate_matchHeightWorkspace()
DResponsiveCellSpecsProviderTest.kt24 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
55 specType = ResponsiveSpecType.Cell, in parseValidFile()
63 specType = ResponsiveSpecType.Cell, in parseValidFile()
84 specType = ResponsiveSpecType.Cell, in parseValidFile()
DCalculatedWorkspaceSpecTest.kt24 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
56 ResponsiveSpecType.Workspace in normalPhone_returnsThirdBreakpointSpec()
99 ResponsiveSpecType.Workspace in smallPhone_returnsFirstBreakpointSpec()
141 ResponsiveSpecType.Workspace in smallPhone_returnsFirstBreakpointSpec_unsortedFile()
DCalculatedAllAppsSpecTest.kt24 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
55 ResponsiveSpecType.Workspace in normalPhone_copiesFromWorkspace()
65 ResponsiveSpecType.AllApps in normalPhone_copiesFromWorkspace()
/packages/apps/Launcher3/src/com/android/launcher3/responsive/
DResponsiveSpecGroup.kt21 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
65 ResponsiveSpecType.AllApps, in toString()
66 ResponsiveSpecType.Folder, in toString()
67 ResponsiveSpecType.Workspace -> (spec as ResponsiveSpec).toString() in toString()
68 ResponsiveSpecType.Hotseat -> (spec as HotseatSpec).toString() in toString()
69 ResponsiveSpecType.Cell -> (spec as CellSpec).toString() in toString()
DResponsiveSpec.kt22 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
35 val specType: ResponsiveSpecType
55 override val specType: ResponsiveSpecType,
66 responsiveSpecType: ResponsiveSpecType,
87 (specType == ResponsiveSpecType.Workspace) && in isValid()
168 enum class ResponsiveSpecType(val xmlTag: String) { class
249 fun isResponsiveSpecType(type: ResponsiveSpecType) = spec.specType == type in isResponsiveSpecType()
DResponsiveSpecsProvider.kt19 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType in <lambda>()
33 val type: ResponsiveSpecType, in <lambda>()
109 check(calculatedWorkspaceSpec.isResponsiveSpecType(ResponsiveSpecType.Workspace)) { in <lambda>()
131 type: ResponsiveSpecType in <lambda>()
DHotseatSpecsProvider.kt22 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
72 val specs = parser.parseXML(ResponsiveSpecType.Hotseat, ::HotseatSpec) in create()
81 override val specType: ResponsiveSpecType,
90 responsiveSpecType: ResponsiveSpecType,
DResponsiveCellSpecsProvider.kt22 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType in <lambda>()
72 val specs = parser.parseXML(ResponsiveSpecType.Cell, ::CellSpec) in <lambda>()
81 override val specType: ResponsiveSpecType,
91 responsiveSpecType: ResponsiveSpecType,
DResponsiveSpecsParser.kt23 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
32 responsiveSpecType: ResponsiveSpecType, in parseXML()
35 responsiveSpecType: ResponsiveSpecType, in parseXML()
/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java64 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType;
662 ResponsiveSpecType.Workspace); in DeviceProfile()
671 ResponsiveSpecType.AllApps); in DeviceProfile()
682 ResponsiveSpecType.Folder); in DeviceProfile()