/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/responsive/ |
D | ResponsiveSpecsProviderTest.kt | 24 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 …]
|
D | FolderSpecTest.kt | 24 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 …]
|
D | WorkspaceSpecsTest.kt | 24 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()
|
D | AllAppsSpecsTest.kt | 24 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()
|
D | HotseatSpecsProviderTest.kt | 24 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()
|
D | CalculatedFolderSpecTest.kt | 24 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()
|
D | ResponsiveCellSpecsProviderTest.kt | 24 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()
|
D | CalculatedWorkspaceSpecTest.kt | 24 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()
|
D | CalculatedAllAppsSpecTest.kt | 24 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/ |
D | ResponsiveSpecGroup.kt | 21 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()
|
D | ResponsiveSpec.kt | 22 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()
|
D | ResponsiveSpecsProvider.kt | 19 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>()
|
D | HotseatSpecsProvider.kt | 22 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,
|
D | ResponsiveCellSpecsProvider.kt | 22 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,
|
D | ResponsiveSpecsParser.kt | 23 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/ |
D | DeviceProfile.java | 64 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType; 662 ResponsiveSpecType.Workspace); in DeviceProfile() 671 ResponsiveSpecType.AllApps); in DeviceProfile() 682 ResponsiveSpecType.Folder); in DeviceProfile()
|