Searched refs:resourceHelper (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/responsive/ |
D | FolderSpecTest.kt | 46 val resourceHelper = TestResourceHelper(context, "valid_folders_specs".xmlToId()) in parseValidFile() constant 47 val folderSpecs = ResponsiveSpecsProvider.create(resourceHelper, ResponsiveSpecType.Folder) in parseValidFile() 94 val resourceHelper = TestResourceHelper(context, "invalid_folders_specs_1".xmlToId()) in parseInvalidFile_missingTag_throwsError() constant 95 ResponsiveSpecsProvider.create(resourceHelper, ResponsiveSpecType.Folder) in parseInvalidFile_missingTag_throwsError() 100 val resourceHelper = TestResourceHelper(context, "invalid_folders_specs_2".xmlToId()) in parseInvalidFile_moreThanOneValuePerTag_throwsError() constant 101 ResponsiveSpecsProvider.create(resourceHelper, ResponsiveSpecType.Folder) in parseInvalidFile_moreThanOneValuePerTag_throwsError() 106 val resourceHelper = TestResourceHelper(context, "invalid_folders_specs_3".xmlToId()) in parseInvalidFile_valueBiggerThan1_throwsError() constant 107 ResponsiveSpecsProvider.create(resourceHelper, ResponsiveSpecType.Folder) in parseInvalidFile_valueBiggerThan1_throwsError() 112 val resourceHelper = TestResourceHelper(context, "invalid_folders_specs_4".xmlToId()) in parseInvalidFile_missingSpecs_throwsError() constant 113 ResponsiveSpecsProvider.create(resourceHelper, ResponsiveSpecType.Folder) in parseInvalidFile_missingSpecs_throwsError() [all …]
|
D | ResponsiveSpecsProviderTest.kt | 46 val resourceHelper = TestResourceHelper(context, "valid_responsive_spec_unsorted".xmlToId()) in <lambda>() constant 47 val provider = ResponsiveSpecsProvider.create(resourceHelper, ResponsiveSpecType.Workspace) in <lambda>() 113 val resourceHelper = TestResourceHelper(context, "valid_responsive_spec_unsorted".xmlToId()) in <lambda>() constant 114 val provider = ResponsiveSpecsProvider.create(resourceHelper, ResponsiveSpecType.Workspace) in <lambda>() 120 val resourceHelper = TestResourceHelper(context, "invalid_responsive_spec_1".xmlToId()) in <lambda>() constant 121 ResponsiveSpecsProvider.create(resourceHelper, ResponsiveSpecType.Workspace) in <lambda>() 126 val resourceHelper = TestResourceHelper(context, "invalid_responsive_spec_2".xmlToId()) in <lambda>() constant 127 ResponsiveSpecsProvider.create(resourceHelper, ResponsiveSpecType.Workspace) in <lambda>() 132 val resourceHelper = TestResourceHelper(context, "invalid_responsive_spec_3".xmlToId()) in <lambda>() constant 133 ResponsiveSpecsProvider.create(resourceHelper, ResponsiveSpecType.Workspace) in <lambda>() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/responsive/ |
D | ResponsiveSpecsParser.kt | 29 class ResponsiveSpecsParser(private val resourceHelper: ResourceHelper) { constant in com.android.launcher3.responsive.ResponsiveSpecsParser 40 val parser: XmlResourceParser = resourceHelper.getXml() in parseXML() 53 resourceHelper.obtainStyledAttributes( in parseXML() 68 resourceHelper.obtainStyledAttributes( in parseXML() 112 result[parser.name] = SizeSpec.create(resourceHelper, Xml.asAttributeSet(parser)) in parseSizeSpecs()
|
D | ResponsiveSpecsProvider.kt | 130 resourceHelper: ResourceHelper, in <lambda>() 133 val parser = ResponsiveSpecsParser(resourceHelper) in <lambda>()
|
D | SizeSpec.kt | 146 fun create(resourceHelper: ResourceHelper, attrs: AttributeSet): SizeSpec { in create() 147 val styledAttrs = resourceHelper.obtainStyledAttributes(attrs, R.styleable.SizeSpec) in create()
|
D | HotseatSpecsProvider.kt | 70 fun create(resourceHelper: ResourceHelper): HotseatSpecsProvider { in create() 71 val parser = ResponsiveSpecsParser(resourceHelper) in create()
|
D | ResponsiveCellSpecsProvider.kt | 70 fun create(resourceHelper: ResourceHelper): ResponsiveCellSpecsProvider { in <lambda>() 71 val parser = ResponsiveSpecsParser(resourceHelper) in <lambda>()
|