Lines Matching full:launcheroptions
36 LauncherOptions launcherOptions = (LauncherOptions) options;
39 if (launcherOptions.isWebGraphic) {
42 density = launcherOptions.density.getResourceValue();
44 String shape = launcherOptions.shape.id;
48 + shape + "/" + density + "/" + launcherOptions.style.id + ".png");
52 float scaleFactor = GraphicGenerator.getMdpiScaleFactor(launcherOptions.density);
53 if (launcherOptions.isWebGraphic) {
68 g2.setPaint(new Color(launcherOptions.backgroundColor));
71 if (launcherOptions.crop) {
72 Util.drawCenterCrop(g2, launcherOptions.sourceImage, targetRect);
74 Util.drawCenterInside(g2, launcherOptions.sourceImage, targetRect);
89 LauncherOptions launcherOptions = (LauncherOptions) options;
90 boolean generateWebImage = launcherOptions.isWebGraphic;
91 launcherOptions.isWebGraphic = false;
95 launcherOptions.isWebGraphic = true;
107 if (((LauncherOptions) options).isWebGraphic) {
115 public static class LauncherOptions extends GraphicGenerator.Options {