Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
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()
257 public ConfigGenerator setScreenHeight(int height) { in setScreenHeight()
262 public ConfigGenerator setScreenWidth(int width) { in setScreenWidth()
267 public ConfigGenerator setXdpi(int xdpi) { in setXdpi()
[all …]
/frameworks/layoutlib/remote/tests/src/
DRemoteBridgeTest.java22 import com.android.layoutlib.bridge.intensive.setup.ConfigGenerator;
78 mClient.init(ConfigGenerator.loadProperties(buildProp), fontLocation, null, in setupServer()
79 ConfigGenerator.getEnumMap(attrs), getLayoutLog()); in setupServer()
95 SessionParams params = createSessionParams("activity.xml", ConfigGenerator.NEXUS_5); in testActivity()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DPerformanceTests.java20 import com.android.layoutlib.bridge.intensive.setup.ConfigGenerator;
45 SessionParams params = createSessionParams(layoutFileName, ConfigGenerator.NEXUS_5); in render()
DRenderTests.java34 import com.android.layoutlib.bridge.intensive.setup.ConfigGenerator;
137 .setConfigGenerator(ConfigGenerator.NEXUS_5_LAND) in testTranslucentBars()
162 .setConfigGenerator(ConfigGenerator.NEXUS_5) in testAllWidgets()
190 .setConfigGenerator(ConfigGenerator.NEXUS_7_2012) in testAllWidgetsTablet()
301 ConfigGenerator customConfigGenerator = new ConfigGenerator() in testExpand()
317 customConfigGenerator = new ConfigGenerator() in testExpand()
753 .setConfigGenerator(ConfigGenerator.NEXUS_4) in testGetResourceNameVariants()
794 .setConfigGenerator(ConfigGenerator.NEXUS_4) in testStringEscaping()
905 .setConfigGenerator(ConfigGenerator.NEXUS_4) in testColorTypedValue()
967 .setConfigGenerator(ConfigGenerator.NEXUS_4) in testColorStateList()
[all …]
DRenderTestBase.java31 import com.android.layoutlib.bridge.intensive.setup.ConfigGenerator;
315 sBridge.init(ConfigGenerator.loadProperties(buildProp), fontLocation, null, in beforeClass()
316 ConfigGenerator.getEnumMap(attrs), getLayoutLog()); in beforeClass()
527 return renderAndVerify(layoutFileName, goldenFileName, ConfigGenerator.NEXUS_5, decoration); in renderAndVerify()
536 ConfigGenerator deviceConfig, boolean decoration) throws ClassNotFoundException, in renderAndVerify()
545 protected SessionParams createSessionParams(String layoutFileName, ConfigGenerator deviceConfig) in createSessionParams()
571 .setConfigGenerator(ConfigGenerator.NEXUS_5) in getSessionParamsBuilder()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
DSessionParamsBuilder.java31 import com.android.layoutlib.bridge.intensive.setup.ConfigGenerator;
50 private ConfigGenerator mConfigGenerator = ConfigGenerator.NEXUS_5;
78 public SessionParamsBuilder setConfigGenerator(@NonNull ConfigGenerator configGenerator) { in setConfigGenerator()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
DBridgeContextTest.java23 import com.android.layoutlib.bridge.intensive.setup.ConfigGenerator;