Home
last modified time | relevance | path

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

/platform_testing/libraries/screenshot/deviceless/layoutlib/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 …]
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/util/
DSessionParamsBuilder.java32 import com.android.layoutlib.bridge.intensive.setup.ConfigGenerator;
51 private ConfigGenerator mConfigGenerator = ConfigGenerator.NEXUS_5;
82 public SessionParamsBuilder setConfigGenerator(@NonNull ConfigGenerator configGenerator) { in setConfigGenerator()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTestBase.java31 import com.android.layoutlib.bridge.intensive.setup.ConfigGenerator;
401 sBridge.init(ConfigGenerator.loadProperties(buildProp), fontLocation, NATIVE_LIB_DIR_PATH, in beforeClass()
402 ICU_DATA_PATH, keyboardPaths, ConfigGenerator.getEnumMap(attrs), getLayoutLog()); in beforeClass()
627 return renderAndVerify(layoutFileName, goldenFileName, ConfigGenerator.NEXUS_5, decoration); in renderAndVerify()
636 ConfigGenerator deviceConfig, boolean decoration) throws ClassNotFoundException, in renderAndVerify()
645 protected SessionParams createSessionParams(String layoutFileName, ConfigGenerator deviceConfig) in createSessionParams()
671 .setConfigGenerator(ConfigGenerator.NEXUS_5) in getSessionParamsBuilder()