Home
last modified time | relevance | path

Searched refs:ConfigGenerator (Results 1 – 10 of 10) sorted by relevance

/aosp12/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A DConfigGenerator.java65 public class ConfigGenerator { class
67 public static final ConfigGenerator NEXUS_4 = new ConfigGenerator();
69 public static final ConfigGenerator NEXUS_5 = new ConfigGenerator()
84 public static final ConfigGenerator NEXUS_7 = new ConfigGenerator()
99 public static final ConfigGenerator NEXUS_10 = new ConfigGenerator()
114 public static final ConfigGenerator NEXUS_5_LAND = new ConfigGenerator()
129 public static final ConfigGenerator NEXUS_7_2012 = new ConfigGenerator()
262 public ConfigGenerator setScreenWidth(int width) { in setScreenWidth()
267 public ConfigGenerator setXdpi(int xdpi) { in setXdpi()
272 public ConfigGenerator setYdpi(int ydpi) { in setYdpi()
[all …]
/aosp12/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
H A DHighQualityShadowsRenderTests.java20 import com.android.layoutlib.bridge.intensive.setup.ConfigGenerator;
41 .setConfigGenerator(ConfigGenerator.NEXUS_5) in testHighQualityRectangleShadow()
60 .setConfigGenerator(ConfigGenerator.NEXUS_5) in testRoundedEdgeRectangle()
78 .setConfigGenerator(ConfigGenerator.NEXUS_5) in testLargeView()
96 .setConfigGenerator(ConfigGenerator.NEXUS_5) in testShadowSizes()
H A DRenderTests.java162 .setConfigGenerator(ConfigGenerator.NEXUS_5) in testAllWidgets()
302 ConfigGenerator customConfigGenerator = new ConfigGenerator() in testExpand()
318 customConfigGenerator = new ConfigGenerator() in testExpand()
344 ConfigGenerator customConfigGenerator = new ConfigGenerator() in testShrink()
361 customConfigGenerator = new ConfigGenerator() in testShrink()
798 .setConfigGenerator(ConfigGenerator.NEXUS_4) in testGetResourceNameVariants()
839 .setConfigGenerator(ConfigGenerator.NEXUS_4) in testStringEscaping()
951 .setConfigGenerator(ConfigGenerator.NEXUS_4) in testTypedValue()
1028 .setConfigGenerator(ConfigGenerator.NEXUS_4) in testColorStateList()
1098 .setConfigGenerator(ConfigGenerator.NEXUS_5) in testShadowFlagsNoShadows()
[all …]
H A DPerformanceTests.java20 import com.android.layoutlib.bridge.intensive.setup.ConfigGenerator;
45 SessionParams params = createSessionParams(layoutFileName, ConfigGenerator.NEXUS_5); in render()
H A DRenderTestBase.java31 import com.android.layoutlib.bridge.intensive.setup.ConfigGenerator;
328 sBridge.init(ConfigGenerator.loadProperties(buildProp), fontLocation, null, null, in beforeClass()
329 ConfigGenerator.getEnumMap(attrs), getLayoutLog()); in beforeClass()
552 return renderAndVerify(layoutFileName, goldenFileName, ConfigGenerator.NEXUS_5, decoration); in renderAndVerify()
561 ConfigGenerator deviceConfig, boolean decoration) throws ClassNotFoundException, in renderAndVerify()
570 protected SessionParams createSessionParams(String layoutFileName, ConfigGenerator deviceConfig) in createSessionParams()
596 .setConfigGenerator(ConfigGenerator.NEXUS_5) in getSessionParamsBuilder()
/aosp12/frameworks/layoutlib/remote/tests/src/
H A DRemoteBridgeTest.java22 import com.android.layoutlib.bridge.intensive.setup.ConfigGenerator;
78 mClient.init(ConfigGenerator.loadProperties(buildProp), fontLocation, null, null, in setupServer()
79 ConfigGenerator.getEnumMap(attrs), getLayoutLog()); in setupServer()
95 SessionParams params = createSessionParams("activity.xml", ConfigGenerator.NEXUS_5); in testActivity()
/aosp12/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
H A DSessionParamsBuilder.java32 import com.android.layoutlib.bridge.intensive.setup.ConfigGenerator;
51 private ConfigGenerator mConfigGenerator = ConfigGenerator.NEXUS_5;
83 public SessionParamsBuilder setConfigGenerator(@NonNull ConfigGenerator configGenerator) { in setConfigGenerator()
/aosp12/frameworks/layoutlib/bridge/tests/src/com/android/tools/idea/validator/
H A DLayoutValidatorTests.java21 import com.android.layoutlib.bridge.intensive.setup.ConfigGenerator;
52 .setConfigGenerator(ConfigGenerator.NEXUS_5) in testRenderAndVerify()
176 .setConfigGenerator(ConfigGenerator.NEXUS_5) in generateParams()
/aosp12/frameworks/layoutlib/bridge/tests/src/com/android/tools/idea/validator/accessibility/
H A DAccessibilityValidatorTests.java22 import com.android.layoutlib.bridge.intensive.setup.ConfigGenerator;
281 .setConfigGenerator(ConfigGenerator.NEXUS_5) in render()
/aosp12/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
H A DBridgeContextTest.java23 import com.android.layoutlib.bridge.intensive.setup.ConfigGenerator;