Searched refs:ConfigGenerator (Results 1 – 7 of 7) sorted by relevance
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
D | ConfigGenerator.java | 65 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/ |
D | RemoteBridgeTest.java | 22 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/ |
D | PerformanceTests.java | 20 import com.android.layoutlib.bridge.intensive.setup.ConfigGenerator; 45 SessionParams params = createSessionParams(layoutFileName, ConfigGenerator.NEXUS_5); in render()
|
D | RenderTests.java | 34 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 …]
|
D | RenderTestBase.java | 31 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/ |
D | SessionParamsBuilder.java | 31 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/ |
D | BridgeContextTest.java | 23 import com.android.layoutlib.bridge.intensive.setup.ConfigGenerator;
|