Home
last modified time | relevance | path

Searched refs:resources (Results 1 – 25 of 35) sorted by relevance

12

/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/setup/
DConfigGenerator.java20 import com.android.ide.common.resources.configuration.CountryCodeQualifier;
21 import com.android.ide.common.resources.configuration.DensityQualifier;
22 import com.android.ide.common.resources.configuration.FolderConfiguration;
23 import com.android.ide.common.resources.configuration.KeyboardStateQualifier;
24 import com.android.ide.common.resources.configuration.LayoutDirectionQualifier;
25 import com.android.ide.common.resources.configuration.LocaleQualifier;
26 import com.android.ide.common.resources.configuration.NavigationMethodQualifier;
27 import com.android.ide.common.resources.configuration.NetworkCodeQualifier;
28 import com.android.ide.common.resources.configuration.NightModeQualifier;
29 import com.android.ide.common.resources.configuration.ScreenDimensionQualifier;
[all …]
/platform_testing/libraries/flicker/utils/src/android/tools/helpers/
DWindowUtils.kt37 private val resources constant
174 resources.getIdentifier("config_navBarInteractionMode", "integer", "android")
175 return resources.getInteger(resourceId) == 2
179 val resourceId = resources.getIdentifier(resourceName, "dimen", "android") in getDimensionPixelSize()
180 return resources.getDimensionPixelSize(resourceId) in getDimensionPixelSize()
199 resources.getIdentifier("status_bar_height_default", "dimen", "android")
200 return resources.getDimensionPixelSize(resourceId)
205 val resourceId = resources.getIdentifier("quick_qs_offset_height", "dimen", "android")
206 return resources.getDimensionPixelSize(resourceId)
213 resources.getIdentifier("docked_stack_divider_insets", "dimen", "android")
[all …]
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/ide/common/resources/deprecated/
DResourceFile.java17 package com.android.ide.common.resources.deprecated;
20 import com.android.ide.common.resources.configuration.Configurable;
21 import com.android.ide.common.resources.configuration.FolderConfiguration;
22 import com.android.resources.ResourceType;
DResourceItem.java17 package com.android.ide.common.resources.deprecated;
20 import com.android.ide.common.resources.configuration.FolderConfiguration;
21 import com.android.resources.ResourceType;
59 public int compareTo(com.android.ide.common.resources.deprecated.ResourceItem other) { in compareTo()
DResourceFolder.java17 package com.android.ide.common.resources.deprecated;
20 import com.android.ide.common.resources.configuration.Configurable;
21 import com.android.ide.common.resources.configuration.FolderConfiguration;
24 import com.android.resources.FolderTypeRelationship;
25 import com.android.resources.ResourceFolderType;
26 import com.android.resources.ResourceType;
DSingleResourceFile.java16 package com.android.ide.common.resources.deprecated;
23 import com.android.ide.common.resources.configuration.DensityQualifier;
24 import com.android.ide.common.resources.configuration.ResourceQualifier;
26 import com.android.resources.FolderTypeRelationship;
27 import com.android.resources.ResourceType;
DIdGeneratingResourceFile.java17 package com.android.ide.common.resources.deprecated;
24 import com.android.ide.common.resources.ResourceValueMap;
25 import com.android.ide.common.resources.configuration.DensityQualifier;
26 import com.android.ide.common.resources.configuration.ResourceQualifier;
27 import com.android.ide.common.resources.deprecated.ValueResourceParser.IValueResourceRepository;
30 import com.android.resources.ResourceType;
DResourceDeltaKind.java17 package com.android.ide.common.resources.deprecated;
DScanningContext.java16 package com.android.ide.common.resources.deprecated;
DResourceRepository.java16 package com.android.ide.common.resources.deprecated;
20 import com.android.ide.common.resources.ResourceValueMap;
21 import com.android.ide.common.resources.configuration.FolderConfiguration;
24 import com.android.resources.ResourceFolderType;
25 import com.android.resources.ResourceType;
91 IAbstractResource[] resources = mResourceFolder.listMembers(); in ensureInitialized() local
93 for (IAbstractResource res : resources) { in ensureInitialized()
DMultiResourceFile.java17 package com.android.ide.common.resources.deprecated;
21 import com.android.ide.common.resources.ResourceValueMap;
22 import com.android.ide.common.resources.deprecated.ValueResourceParser.IValueResourceRepository;
25 import com.android.resources.ResourceType;
DIdResourceParser.java17 package com.android.ide.common.resources.deprecated;
24 import com.android.ide.common.resources.deprecated.ValueResourceParser.IValueResourceRepository;
25 import com.android.resources.ResourceType;
DTestFileWrapper.java17 package com.android.ide.common.resources.deprecated;
DTestFolderWrapper.java17 package com.android.ide.common.resources.deprecated;
DValueResourceParser.java17 package com.android.ide.common.resources.deprecated;
29 import com.android.ide.common.resources.ValueXmlHelper;
30 import com.android.resources.ResourceType;
DFrameworkResources.java17 package com.android.ide.common.resources.deprecated;
23 import com.android.resources.ResourceType;
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
DArraysCheckWidget.java39 Resources resources = context.getResources(); in ArraysCheckWidget() local
40 for (CharSequence chars : resources.getTextArray(R.array.array)) { in ArraysCheckWidget()
43 for (int i : resources.getIntArray(R.array.int_array)) { in ArraysCheckWidget()
46 for (String string : resources.getStringArray(R.array.string_array)) { in ArraysCheckWidget()
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/
DMaterialYouColorsRuleTest.kt25 val resources = context.resources in testApplyMaterialYouColors() constant
27 val actualColors = resourceIds.map { resources.getColor(it) }.toTypedArray() in testApplyMaterialYouColors()
DDeviceEmulationRuleTest.kt36 .resources in <lambda>()
73 assertThat(activity.resources.configuration.isNightModeActive) in <lambda>()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/util/
DSessionParamsBuilder.java28 import com.android.ide.common.resources.ResourceResolver;
29 import com.android.ide.common.resources.configuration.FolderConfiguration;
30 import com.android.ide.common.resources.deprecated.ResourceRepository;
34 import com.android.resources.ResourceType;
88 public SessionParamsBuilder setProjectResources(@NonNull ResourceRepository resources) { in setProjectResources() argument
89 mProjectResources = resources; in setProjectResources()
94 public SessionParamsBuilder setFrameworkResources(@NonNull ResourceRepository resources) { in setFrameworkResources() argument
95 mFrameworkResources = resources; in setFrameworkResources()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/foldable/
DFoldableDeviceController.kt43 private val resources = context.resources in <lambda>() constant
128 val foldedStates = resources.getIntArray(R.array.config_foldedDeviceStates) in <lambda>()
131 unfoldedState = resources.getIntArray(R.array.config_openDeviceStates).first() in <lambda>()
132 halfFoldedState = resources.getIntArray(R.array.config_halfFoldedDeviceStates).first() in <lambda>()
133 rearDisplayState = resources.getIntArray(R.array.config_rearDisplayDeviceStates).first() in <lambda>()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DGoldenPathManager.kt211 context.resources.displayMetrics.densityDpi.toString() + "dpi" in getAPIVersion()
213 fun getScreenOrientation(context: Context) = context.resources.configuration.orientation.toString() in getAPIVersion()
216 val heightdp = context.resources.configuration.screenHeightDp.toString() in getAPIVersion()
217 val widthdp = context.resources.configuration.screenWidthDp.toString() in getAPIVersion()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DNativePoc.java63 abstract ImmutableList<String> resources(); in resources() method in NativePoc
79 .resources(ImmutableList.of()) in builder()
132 public abstract Builder resources(List<String> value); in resources() method in NativePoc.Builder
134 public abstract Builder resources(String... value); in resources() method in NativePoc.Builder
300 for (String resource : resources()) {
329 for (String resource : resources()) {
/platform_testing/libraries/automotive-helpers/auto-default-config/
DAndroid.bp23 java_resource_dirs: ["resources"],
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/
DBetterFling.kt73 context.resources.displayMetrics, in Number()

12