Searched defs:options (Results 1 - 14 of 14) sorted by relevance

/sdk/assetstudio/src/com/android/assetstudiolib/
H A DMenuIconGenerator.java38 public BufferedImage generate(GraphicGeneratorContext context, Options options) { argument
41 float scaleFactor = GraphicGenerator.getMdpiScaleFactor(options.density);
51 Util.drawCenterInside(g2, options.sourceImage, targetRect);
H A DActionBarIconGenerator.java36 public BufferedImage generate(GraphicGeneratorContext context, Options options) { argument
37 ActionBarOptions actionBarOptions = (ActionBarOptions) options;
42 final float scaleFactor = GraphicGenerator.getMdpiScaleFactor(options.density);
51 Util.drawCenterInside(g2, options.sourceImage, targetRect);
H A DTabIconGenerator.java39 public BufferedImage generate(GraphicGeneratorContext context, Options options) { argument
42 final float scaleFactor = GraphicGenerator.getMdpiScaleFactor(options.density);
51 Util.drawCenterInside(g2, options.sourceImage, targetRect);
53 TabOptions tabOptions = (TabOptions) options;
145 TabOptions options = (TabOptions) baseOptions;
147 options.selected = true;
148 options.oldStyle = false;
155 boolean generateOldStyle = options.minSdk < 5;
157 options.oldStyle = true;
158 options
174 getIconFolder(Options options) argument
186 getIconName(Options options, String name) argument
[all...]
H A DTextRenderUtil.java40 * @param options The optional parameters for rendering the text.
45 Options options) {
46 if (options == null) {
47 options = new Options();
57 Font font = options.font;
59 font = new Font(options.fontName, options.fontStyle, options.fontSize);
81 g.setColor(new Color(options.foregroundColor, true));
111 * the other options
44 renderTextImage(String text, int paddingPercentage, Options options) argument
[all...]
H A DLauncherIconGenerator.java35 public BufferedImage generate(GraphicGeneratorContext context, Options options) { argument
36 LauncherOptions launcherOptions = (LauncherOptions) options;
99 GraphicGeneratorContext context, Options options, String name) {
100 LauncherOptions launcherOptions = (LauncherOptions) options;
103 super.generate(category, categoryMap, context, options, name);
107 BufferedImage image = generate(context, options);
111 imageMap.put(getIconPath(options, name), image);
117 protected String getIconPath(Options options, String name) { argument
118 if (((LauncherOptions) options).isWebGraphic) {
122 return super.getIconPath(options, nam
98 generate(String category, Map<String, Map<String, BufferedImage>> categoryMap, GraphicGeneratorContext context, Options options, String name) argument
[all...]
H A DNotificationIconGenerator.java38 public BufferedImage generate(GraphicGeneratorContext context, Options options) { argument
41 NotificationOptions notificationOptions = (NotificationOptions) options;
54 final float scaleFactor = GraphicGenerator.getMdpiScaleFactor(options.density);
72 BufferedImage top = options.sourceImage;
76 Util.drawCenterInside(g2, options.sourceImage, targetRect);
82 Util.drawCenterInside(g2, options.sourceImage, targetRect);
109 NotificationOptions options = (NotificationOptions) baseOptions;
110 if (options.minSdk < 9) {
111 options.version = Version.OLDER;
112 super.generate(options
124 getIconFolder(Options options) argument
[all...]
H A DGraphicGenerator.java92 * Generate a single icon using the given options
95 * @param options options controlling the appearance of the icon
98 public abstract BufferedImage generate(GraphicGeneratorContext context, Options options); argument
102 * where an icon rendered with the given options should be stored. This is
106 * @param options the options object used by the generator for the current
112 protected String getIconPath(Options options, String name) { argument
113 return getIconFolder(options) + '/' + getIconName(options, nam
120 getIconName(Options options, String name) argument
129 getIconFolder(Options options) argument
148 generate(String category, Map<String, Map<String, BufferedImage>> categoryMap, GraphicGeneratorContext context, Options options, String name) argument
[all...]
/sdk/chimpchat/src/com/android/chimpchat/
H A DChimpChat.java42 * Generates a new instance of ChimpChat based on the options passed.
43 * @param options a map of settings for the new ChimpChat instance
46 public static ChimpChat getInstance(Map<String, String> options) { argument
47 sAdbLocation = options.get("adbLocation");
48 IChimpBackend backend = createBackendByName(options.get("backend"));
60 Map<String, String> options = new TreeMap<String, String>();
61 options.put("backend", "adb");
62 return ChimpChat.getInstance(options);
/sdk/assetstudio/tests/src/com/android/assetstudiolib/
H A DGeneratorTest.java42 GraphicGenerator generator, GraphicGenerator.Options options)
46 options.sourceImage = GraphicGenerator.getClipartImage("android.png");
47 generator.generate(null, categoryMap, this, options, baseName);
41 checkGraphic(int expectedFileCount, String folderName, String baseName, GraphicGenerator generator, GraphicGenerator.Options options) argument
/sdk/monkeyrunner/src/com/android/monkeyrunner/
H A DMonkeyRunnerStarter.java54 private final MonkeyRunnerOptions options; field in class:MonkeyRunnerStarter
56 public MonkeyRunnerStarter(MonkeyRunnerOptions options) { argument
58 chimp_options.put("backend", options.getBackendName());
59 this.options = options;
72 if (options.getScriptFile() == null) {
77 int error = ScriptRunner.run(monkeyRunnerPath, options.getScriptFile().getAbsolutePath(),
78 options.getArguments(), plugins);
154 for (File f : options.getPlugins()) {
179 MonkeyRunnerOptions options
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/systrace/
H A DSystraceTask.java35 public SystraceTask(IDevice device, String options) { argument
37 mOptions = options;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
H A DFileStoreAdapter.java50 public IFileInfo[] childInfos(int options, IProgressMonitor monitor) throws CoreException { argument
51 return mStore.childInfos(options, monitor);
55 public String[] childNames(int options, IProgressMonitor monitor) argument
57 return mStore.childNames(options, monitor);
61 public IFileStore[] childStores(int options, IProgressMonitor monitor) throws CoreException { argument
62 return mStore.childStores(options, monitor);
66 public void copy(IFileStore destination, int options, IProgressMonitor monitor) argument
68 mStore.copy(destination, options, monitor);
72 public void delete(int options, IProgressMonitor monitor) throws CoreException { argument
73 mStore.delete(options, monito
82 fetchInfo(int options, IProgressMonitor monitor) argument
123 mkdir(int options, IProgressMonitor monitor) argument
128 move(IFileStore destination, int options, IProgressMonitor monitor) argument
134 openInputStream(int options, IProgressMonitor monitor) argument
140 openOutputStream(int options, IProgressMonitor monitor) argument
146 putInfo(IFileInfo info, int options, IProgressMonitor monitor) argument
152 toLocalFile(int options, IProgressMonitor monitor) argument
[all...]
H A DNewProjectCreator.java1277 public IFileInfo fetchInfo(int options, IProgressMonitor monitor) throws CoreException { argument
1278 IFileInfo info = super.fetchInfo(options, monitor);
1285 public void putInfo(IFileInfo info, int options, IProgressMonitor storeMonitor) argument
1288 super.putInfo(info, options, storeMonitor);
/sdk/apps/NotificationStudio/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/util/ ...

Completed in 1237 milliseconds