Home
last modified time | relevance | path

Searched refs:ResponsiveSpec (Results 1 – 17 of 17) 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>()
25 import com.android.launcher3.responsive.ResponsiveSpec.DimensionType in <lambda>()
79 ResponsiveSpec( in <lambda>()
92 ResponsiveSpec( in <lambda>()
155 specs: ResponsiveSpecGroup<ResponsiveSpec>, in <lambda>()
157 expectedWidthSpecs: List<ResponsiveSpec>, in <lambda>()
158 expectedHeightSpecs: List<ResponsiveSpec> in <lambda>()
173 private fun expectedPortraitSpecs(): Pair<List<ResponsiveSpec>, List<ResponsiveSpec>> { in <lambda>()
177 ResponsiveSpec( in <lambda>()
190 ResponsiveSpec( in <lambda>()
[all …]
DFolderSpecTest.kt24 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
25 import com.android.launcher3.responsive.ResponsiveSpec.DimensionType
53 ResponsiveSpec( in parseValidFile()
62 ResponsiveSpec( in parseValidFile()
74 ResponsiveSpec( in parseValidFile()
122 ResponsiveSpec( in parseInvalidFile_missingWidthBreakpoint_throwsError()
151 ResponsiveSpec( in parseInvalidFile_missingHeightBreakpoint_throwsError()
180 ResponsiveSpec( in retrievesCalculatedWidthSpec()
217 ResponsiveSpec( in retrievesCalculatedWidthSpec_invalidCalculatedResponsiveSpecType_throwsError()
246 ResponsiveSpec( in retrievesCalculatedHeightSpec()
[all …]
DHotseatSpecsProviderTest.kt24 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
53 dimensionType = ResponsiveSpec.DimensionType.HEIGHT, in parseValidFile()
60 dimensionType = ResponsiveSpec.DimensionType.HEIGHT, in parseValidFile()
87 dimensionType = ResponsiveSpec.DimensionType.WIDTH, in parseValidLandscapeFile()
94 dimensionType = ResponsiveSpec.DimensionType.WIDTH, in parseValidLandscapeFile()
DResponsiveCellSpecsProviderTest.kt24 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
54 dimensionType = ResponsiveSpec.DimensionType.HEIGHT, in parseValidFile()
62 dimensionType = ResponsiveSpec.DimensionType.HEIGHT, in parseValidFile()
83 dimensionType = ResponsiveSpec.DimensionType.HEIGHT, in parseValidFile()
DCalculatedAllAppsSpecTest.kt24 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
25 import com.android.launcher3.responsive.ResponsiveSpec.DimensionType
DCalculatedFolderSpecTest.kt24 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
25 import com.android.launcher3.responsive.ResponsiveSpec.DimensionType
DCalculatedWorkspaceSpecTest.kt24 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
25 import com.android.launcher3.responsive.ResponsiveSpec.DimensionType
DAllAppsSpecsTest.kt24 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
DWorkspaceSpecsTest.kt24 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
DCalculatedHotseatSpecTest.kt24 import com.android.launcher3.responsive.ResponsiveSpec.DimensionType
/packages/apps/Launcher3/src/com/android/launcher3/responsive/
DResponsiveSpecsProvider.kt19 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType in <lambda>()
20 import com.android.launcher3.responsive.ResponsiveSpec.DimensionType in <lambda>()
34 groupOfSpecs: List<ResponsiveSpecGroup<ResponsiveSpec>> in <lambda>()
36 private val groupOfSpecs: List<ResponsiveSpecGroup<ResponsiveSpec>> in <lambda>()
51 fun getSpecsByAspectRatio(aspectRatio: Float): ResponsiveSpecGroup<ResponsiveSpec> { in <lambda>()
134 val specs = parser.parseXML(type, ::ResponsiveSpec) in <lambda>()
DResponsiveSpec.kt22 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
34 val dimensionType: ResponsiveSpec.DimensionType
52 data class ResponsiveSpec( dataClass
204 var spec: ResponsiveSpec
211 spec: ResponsiveSpec,
234 constructor(aspectRatio: Float, availableSpace: Int, cells: Int, spec: ResponsiveSpec) {
251 private fun updateRemainderSpaces(availableSpace: Int, cells: Int, spec: ResponsiveSpec) { in isResponsiveSpecType()
DResponsiveSpecGroup.kt21 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
22 import com.android.launcher3.responsive.ResponsiveSpec.DimensionType
67 ResponsiveSpecType.Workspace -> (spec as ResponsiveSpec).toString() in toString()
DResponsiveSpecsParser.kt23 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
70 R.styleable.ResponsiveSpec in parseXML()
DHotseatSpecsProvider.kt22 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType
23 import com.android.launcher3.responsive.ResponsiveSpec.DimensionType
DResponsiveCellSpecsProvider.kt22 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType in <lambda>()
23 import com.android.launcher3.responsive.ResponsiveSpec.DimensionType in <lambda>()
/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java64 import com.android.launcher3.responsive.ResponsiveSpec.Companion.ResponsiveSpecType;
65 import com.android.launcher3.responsive.ResponsiveSpec.DimensionType;