HomeSort by relevance Sort by last modified time
    Searched refs:Options (Results 51 - 75 of 259) sorted by null

1 23 4 5 6 7 8 91011

  /packages/apps/Gallery/src/com/android/camera/
BitmapManager.java 43 public BitmapFactory.Options mOptions;
55 s = "thread state = " + s + ", options = " + mOptions;
82 * BitmapFaction.Options used for decoding and cancelling.
85 BitmapFactory.Options options) {
86 getOrCreateThreadStatus(t).mOptions = options;
139 BitmapFactory.Options options, boolean isVideo) {
178 BitmapFactory.Options options) {
    [all...]
Util.java 102 public static int computeSampleSize(BitmapFactory.Options options,
104 int initialSize = computeInitialSampleSize(options, minSideLength,
120 private static int computeInitialSampleSize(BitmapFactory.Options options,
122 double w = options.outWidth;
123 double h = options.outHeight;
280 BitmapFactory.Options options = null; local
282 options = createNativeAllocOptions()
295 BitmapFactory.Options options = null; local
    [all...]
  /sdk/assetstudio/src/com/android/assetstudiolib/
LauncherIconGenerator.java 47 public BufferedImage generate(GraphicGeneratorContext context, Options options) {
48 LauncherOptions launcherOptions = (LauncherOptions) options;
100 GraphicGeneratorContext context, Options options, String name) {
101 LauncherOptions launcherOptions = (LauncherOptions) options;
104 super.generate(category, categoryMap, context, options, name);
108 BufferedImage image = generate(context, options);
112 imageMap.put(getIconPath(options, name), image);
118 protected String getIconPath(Options options, String name)
    [all...]
NotificationIconGenerator.java 38 public BufferedImage generate(GraphicGeneratorContext context, Options options) {
41 NotificationOptions notificationOptions = (NotificationOptions) options;
54 final float scaleFactor = GraphicGenerator.getHdpiScaleFactor(options.density);
72 BufferedImage top = options.sourceImage;
76 Util.drawCenterInside(g2, options.sourceImage, targetRect);
82 Util.drawCenterInside(g2, options.sourceImage, targetRect);
108 GraphicGeneratorContext context, Options baseOptions, String name) {
109 NotificationOptions options = (NotificationOptions) baseOptions; local
110 if (options.minSdk < 9)
112 super.generate(options.version.getDisplayName(), categoryMap, context, options, name); local
116 super.generate(options.version.getDisplayName(), categoryMap, context, options, name); local
    [all...]
ActionBarIconGenerator.java 37 public BufferedImage generate(GraphicGeneratorContext context, Options options) {
40 final float scaleFactor = GraphicGenerator.getHdpiScaleFactor(options.density);
49 Util.drawCenterInside(g2, options.sourceImage, targetRect);
51 ActionBarOptions actionBarOptions = (ActionBarOptions) options;
78 /** Options specific to generating action bar icons */
79 public static class ActionBarOptions extends GraphicGenerator.Options {
GraphicGenerator.java 47 * Options used for all generators.
49 public static class Options {
93 * Generate a single icon using the given options
96 * @param options options controlling the appearance of the icon
99 public abstract BufferedImage generate(GraphicGeneratorContext context, Options options);
103 * where an icon rendered with the given options should be stored. This is
105 * {@link #generate(String, Map, GraphicGeneratorContext, Options, String)}.
107 * @param options the options object used by the generator for the curren
    [all...]
  /development/samples/RenderScript/HelloCompute/src/com/example/android/rs/hellocompute/
HelloCompute.java 70 final BitmapFactory.Options options = new BitmapFactory.Options(); local
71 options.inPreferredConfig = Bitmap.Config.ARGB_8888;
72 return BitmapFactory.decodeResource(getResources(), resource, options);
  /external/clang/include/clang/Driver/
OptTable.h 18 namespace options { namespace in namespace:clang::driver
40 /// instance to be created lazily. In the common case, only a few options will
42 /// parse command lines without instantiating Options, while letting other
63 /// The lazily constructed options table, indexed by option::ID - 1.
64 mutable Option **Options;
103 Option *&Entry = Options[id - 1];
127 return getInfo(id).Flags & options::HelpHidden;
136 /// this options values in the help text.
166 /// \param MissingArgCount - On error, the number of missing options.
167 /// \return - An InputArgList; on error this will contain all the options
    [all...]
  /external/clang/lib/Driver/
Android.mk 11 Options.inc \
  /external/webkit/Tools/Scripts/webkitpy/tool/commands/
stepsequence.py 43 def handle_checkout_needs_update(cls, tool, state, options, error):
51 def options(self): member in class:StepSequence
53 steps.Options.parent_command,
54 steps.Options.quiet,
57 collected_options = collected_options + step.options()
62 def _run(self, tool, options, state):
64 step(tool, options).run(state)
66 def run_and_handle_errors(self, tool, options, state=None):
70 self._run(tool, options, state)
73 if options.parent_command
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/tool/steps/
abstractstep.py 31 from webkitpy.tool.steps.options import Options
35 def __init__(self, tool, options):
37 self._options = options
64 def options(cls): member in class:AbstractStep
67 Options.git_commit,
  /external/protobuf/src/google/protobuf/io/
gzip_stream.cc 171 GzipOutputStream::Options::Options()
178 Init(sub_stream, Options());
182 const Options& options) {
183 Init(sub_stream, options);
188 Options options; local
189 options.format = format;
191 options.buffer_size = buffer_size
    [all...]
  /frameworks/base/media/java/android/media/
ThumbnailUtils.java 54 /* Options used internally. */
109 BitmapFactory.Options options = new BitmapFactory.Options(); local
110 options.inSampleSize = 1;
111 options.inJustDecodeBounds = true;
112 BitmapFactory.decodeFileDescriptor(fd, null, options);
113 if (options.mCancel || options.outWidth == -1
114 || options.outHeight == -1)
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapRegionDecoderTest.java 23 import android.graphics.BitmapFactory.Options;
81 // Configurations for BitmapFactory.Options
187 args = {android.graphics.Rect.class, android.graphics.BitmapFactory.Options.class}
190 Options opts = new BitmapFactory.Options();
217 args = {android.graphics.Rect.class, android.graphics.BitmapFactory.Options.class}
220 Options opts = new BitmapFactory.Options();
248 args = {android.graphics.Rect.class, android.graphics.BitmapFactory.Options.class}
251 Options opts = new BitmapFactory.Options()
    [all...]
  /cts/tools/signature-tools/src/signature/converter/doclet/
DocletFactory.java 32 import com.sun.tools.javac.util.Options;
87 ListBuffer<String[]> options = new ListBuffer<String[]>(); local
89 options.append(new String[] {"-sourcepath", sourcepath});
95 Options compOpts = Options.instance(context);
118 javaNames.toList(), options.toList(), breakiterator,
  /cts/tests/src/android/media/cts/
FaceView.java 58 BitmapFactory.Options bfo = new BitmapFactory.Options();
  /external/chromium/base/threading/
simple_thread.cc 19 const Options& options)
20 : name_prefix_(name_prefix), name_(name_prefix), options_(options),
64 const Options& options)
65 : SimpleThread(name_prefix, options),
  /external/ppp/pppd/plugins/radius/
radrealms.c 30 static option_t Options[] = {
145 add_options(Options);
  /external/webkit/Source/JavaScriptCore/
wscript 48 import Options
  /frameworks/base/core/java/android/app/backup/
WallpaperBackupHelper.java 109 BitmapFactory.Options options = new BitmapFactory.Options(); local
110 options.inJustDecodeBounds = true;
111 BitmapFactory.decodeFile(STAGE_FILE, options);
113 if (DEBUG) Slog.d(TAG, "Restoring wallpaper image w=" + options.outWidth
114 + " h=" + options.outHeight);
122 double widthRatio = mDesiredMinWidth / options.outWidth;
123 double heightRatio = mDesiredMinHeight / options.outHeight;
  /frameworks/base/graphics/java/android/graphics/
BitmapRegionDecoder.java 176 * @param options null-ok; Options that control downsampling.
181 public Bitmap decodeRegion(Rect rect, BitmapFactory.Options options) {
187 rect.right - rect.left, rect.bottom - rect.top, options);
250 BitmapFactory.Options options);
  /frameworks/base/media/java/android/media/videoeditor/
TransitionAlpha.java 98 final BitmapFactory.Options dbo = new BitmapFactory.Options();
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
BitmapsAlphaActivity.java 51 Log.d("OpenGLRenderer", "Loading sunset1, default options");
53 Log.d("OpenGLRenderer", "Loading sunset2, default options");
56 BitmapFactory.Options opts = new BitmapFactory.Options();
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
ImageCacheRequest.java 54 BitmapFactory.Options options = new BitmapFactory.Options(); local
55 options.inPreferredConfig = Bitmap.Config.ARGB_8888;
57 data.mOffset, data.mData.length - data.mOffset, options);
  /packages/apps/VideoEditor/src/com/android/videoeditor/util/
ImageUtils.java 76 final BitmapFactory.Options dbo = new BitmapFactory.Options();
85 final BitmapFactory.Options options = new BitmapFactory.Options(); local
93 options.inSampleSize = (scale > 1.0f) ? ((int) scale) : 1;
97 options.inSampleSize = 1;
100 srcBitmap = BitmapFactory.decodeFile(filename, options);
176 BitmapFactory.Options opt = new BitmapFactory.Options();
    [all...]

Completed in 336 milliseconds

1 23 4 5 6 7 8 91011