Home
last modified time | relevance | path

Searched refs:runningContext (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/
DIconSizeStepsTest.kt33 private val runningContext: Context = ApplicationProvider.getApplicationContext() constant in com.android.launcher3.util.IconSizeStepsTest
40 Configuration(runningContext.resources.configuration).apply { this.densityDpi = 160 } in setup()
41 context = runningContext.createConfigurationContext(config) in setup()
DCellContentDimensionsTest.kt33 private val runningContext: Context = ApplicationProvider.getApplicationContext() constant in com.android.launcher3.util.CellContentDimensionsTest
40 Configuration(runningContext.resources.configuration).apply { in setup()
44 context = runningContext.createConfigurationContext(config) in setup()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DAbstractDeviceProfileTest.kt65 protected open val runningContext: Context = ApplicationProvider.getApplicationContext() in <lambda>() constant in com.android.launcher3.AbstractDeviceProfileTest
290 doReturn(WindowManagerProxy.INSTANCE[runningContext].isTaskbarDrawnInProcess) in <lambda>()
296 Configuration(runningContext.resources.configuration).apply { in <lambda>()
302 val configurationContext = runningContext.createConfigurationContext(config) in <lambda>()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/responsive/
DAllAppsSpecsTest.kt34 override val runningContext: Context = InstrumentationRegistry.getInstrumentation().context constant in com.android.launcher3.responsive.AllAppsSpecsTest
DWorkspaceSpecsTest.kt34 override val runningContext: Context = InstrumentationRegistry.getInstrumentation().context constant in com.android.launcher3.responsive.WorkspaceSpecsTest
DCalculatedHotseatSpecTest.kt33 override val runningContext: Context = InstrumentationRegistry.getInstrumentation().context constant in com.android.launcher3.responsive.CalculatedHotseatSpecTest
DCalculatedAllAppsSpecTest.kt34 override val runningContext: Context = InstrumentationRegistry.getInstrumentation().context constant in com.android.launcher3.responsive.CalculatedAllAppsSpecTest
DSizeSpecTest.kt33 override val runningContext: Context = InstrumentationRegistry.getInstrumentation().context constant in com.android.launcher3.responsive.SizeSpecTest
DHotseatSpecsProviderTest.kt34 override val runningContext: Context = InstrumentationRegistry.getInstrumentation().context constant in com.android.launcher3.responsive.HotseatSpecsProviderTest
DResponsiveCellSpecsProviderTest.kt34 override val runningContext: Context = InstrumentationRegistry.getInstrumentation().context constant in com.android.launcher3.responsive.ResponsiveCellSpecsProviderTest
DCalculatedFolderSpecTest.kt35 override val runningContext: Context = InstrumentationRegistry.getInstrumentation().context constant in com.android.launcher3.responsive.CalculatedFolderSpecTest
DCalculatedWorkspaceSpecTest.kt34 override val runningContext: Context = InstrumentationRegistry.getInstrumentation().context constant in com.android.launcher3.responsive.CalculatedWorkspaceSpecTest
DResponsiveSpecsProviderTest.kt35 override val runningContext: Context = InstrumentationRegistry.getInstrumentation().context in <lambda>() constant in com.android.launcher3.responsive.ResponsiveSpecsProviderTest
DFolderSpecTest.kt35 override val runningContext: Context = InstrumentationRegistry.getInstrumentation().context constant in com.android.launcher3.responsive.FolderSpecTest