Home
last modified time | relevance | path

Searched refs:Options (Results 1 – 25 of 116) sorted by relevance

12345

/frameworks/compile/slang/tests/
Dtest.py21 class Options(object): class
32 if Options.verbose:
36 if Options.verbose:
64 if Options.verbose != 0:
92 if Options.verbose > 1:
111 if Options.verbose > 1:
125 if Options.verbose:
130 if Options.verbose:
134 if Options.verbose:
139 if Options.verbose:
[all …]
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java38 public static class Options { class in BitmapFactory
43 public Options() { in Options() method in BitmapFactory.Options
386 public static Bitmap decodeFile(String pathName, Options opts) { in decodeFile()
425 InputStream is, Rect pad, Options opts) { in decodeResourceStream()
428 opts = new Options(); in decodeResourceStream()
459 public static Bitmap decodeResource(Resources res, int id, Options opts) { in decodeResource()
513 public static Bitmap decodeByteArray(byte[] data, int offset, int length, Options opts) { in decodeByteArray()
551 private static void setDensityFromOptions(Bitmap outputBitmap, Options opts) { in setDensityFromOptions()
596 public static Bitmap decodeStream(InputStream is, Rect outPadding, Options opts) { in decodeStream()
630 private static Bitmap decodeStreamInternal(InputStream is, Rect outPadding, Options opts) { in decodeStreamInternal()
[all …]
DLargeBitmap.java52 public Bitmap decodeRegion(Rect rect, BitmapFactory.Options options) { in decodeRegion()
114 BitmapFactory.Options options); in nativeDecodeRegion()
DBitmapRegionDecoder.java182 public Bitmap decodeRegion(Rect rect, BitmapFactory.Options options) { in decodeRegion()
259 BitmapFactory.Options options); in nativeDecodeRegion()
/frameworks/base/docs/html/training/displaying-bitmaps/
Dload-bitmap.jd45 …droid.graphics.BitmapFactory#decodeByteArray(byte[],int,int,android.graphics.BitmapFactory.Options)
47 android.graphics.BitmapFactory#decodeFile(java.lang.String,android.graphics.BitmapFactory.Options)
49 …mapFactory#decodeResource(android.content.res.Resources,int,android.graphics.BitmapFactory.Options)
54 options via the {@link android.graphics.BitmapFactory.Options} class. Setting the {@link
55 android.graphics.BitmapFactory.Options#inJustDecodeBounds} property to {@code true} while decoding
57 android.graphics.BitmapFactory.Options#outWidth}, {@link
58 android.graphics.BitmapFactory.Options#outHeight} and {@link
59 android.graphics.BitmapFactory.Options#outMimeType}. This technique allows you to read the
64 BitmapFactory.Options options = new BitmapFactory.Options();
95 android.graphics.BitmapFactory.Options#inSampleSize} to {@code true} in your {@link
[all …]
Dmanage-memory.jd144 {@link android.graphics.BitmapFactory.Options#inBitmap BitmapFactory.Options.inBitmap}
146 {@link android.graphics.BitmapFactory.Options Options} object
150 {@link android.graphics.BitmapFactory.Options#inBitmap} can be used. In particular, before Android
152 {@link android.graphics.BitmapFactory.Options#inBitmap} documentation.
161 {@link android.graphics.BitmapFactory.Options#inBitmap}:
204 final BitmapFactory.Options options = new BitmapFactory.Options();
219 {@link android.graphics.BitmapFactory.Options#inBitmap}. Note that this
220 method only sets a value for {@link android.graphics.BitmapFactory.Options#inBitmap}
223 <pre>private static void addInBitmapOptions(BitmapFactory.Options options,
243 protected Bitmap getBitmapFromReusableSet(BitmapFactory.Options options) {
[all …]
/frameworks/ex/common/tests/src/com/android/common/
DOperationSchedulerTest.java47 OperationScheduler.Options options = new OperationScheduler.Options(); in testScheduler()
125 OperationScheduler.Options options = new OperationScheduler.Options(); in testExponentialBackoff()
160 OperationScheduler.Options options = new OperationScheduler.Options(); in testParseOptions()
186 OperationScheduler.Options options = new OperationScheduler.Options(); in testMoratoriumWithHttpDate()
211 OperationScheduler.Options options = new OperationScheduler.Options(); in testClockRollbackScenario()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBitmapFactory_Delegate.java27 import android.graphics.BitmapFactory.Options;
52 @Nullable Rect padding, @Nullable Options opts) { in nativeDecodeStream()
102 Rect padding, Options opts) { in nativeDecodeFileDescriptor()
108 /*package*/ static Bitmap nativeDecodeAsset(long asset, Rect padding, Options opts) { in nativeDecodeAsset()
115 int length, Options opts) { in nativeDecodeByteArray()
/frameworks/base/media/java/android/media/
DThumbnailUtils.java105 BitmapFactory.Options options = new BitmapFactory.Options(); in createImageThumbnail()
250 private static int computeSampleSize(BitmapFactory.Options options, in computeSampleSize()
268 private static int computeInitialSampleSize(BitmapFactory.Options options, in computeInitialSampleSize()
304 BitmapFactory.Options options) { in makeBitmap()
309 if (options == null) options = new BitmapFactory.Options(); in makeBitmap()
485 BitmapFactory.Options fullOptions = new BitmapFactory.Options(); in createThumbnailFromEXIF()
486 BitmapFactory.Options exifOptions = new BitmapFactory.Options(); in createThumbnailFromEXIF()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
DBitmapRegionTileSource.java49 Bitmap decodeRegion(Rect wantRegion, BitmapFactory.Options options); in decodeRegion()
89 public Bitmap decodeRegion(Rect wantRegion, BitmapFactory.Options options) { in decodeRegion()
121 public Bitmap decodeRegion(Rect wantRegion, BitmapFactory.Options options) { in decodeRegion()
185 BitmapFactory.Options opts = new BitmapFactory.Options(); in loadInBackground()
221 public abstract Bitmap loadPreviewBitmap(BitmapFactory.Options options); in loadPreviewBitmap()
240 public Bitmap loadPreviewBitmap(BitmapFactory.Options options) { in loadPreviewBitmap()
289 public Bitmap loadPreviewBitmap(BitmapFactory.Options options) { in loadPreviewBitmap()
349 public Bitmap loadPreviewBitmap(BitmapFactory.Options options) { in loadPreviewBitmap()
376 private BitmapFactory.Options mOptions;
386 mOptions = new BitmapFactory.Options(); in BitmapRegionTileSource()
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dmenu_design.jd44 <li>An Options menu is for any commands that are global to the current activity. </li>
57 <li style="padding-top: 4px;"><a href=#options_menu>Options Menu</a></li>
59 …op: 4px;"><a href=#comparison_of_options_and_context_menus>Comparison of Options &amp; Context Men…
72 … <li style="padding-top: 4px;"><a href=#short_names>Use short names in Options icon menu</a></li>
73 …;"><a href=#a_dialog_should_not_have_an_options_menu>A dialog should not have Options menu</a></li>
74 …<li style="padding-top: 4px;"><a href=#do_not_substitute_message>If no Options menu, don't display…
104 <li>The <em>Options menu</em> contains primary functionality that applies
109 on an item. Like on the Options menu, the operation can run either
135 <h3 id="options_menu">Options Menu</h3>
138 The Options menu contains commands that apply globally across the current
[all …]
/frameworks/base/tools/aidl/
Doptions.h16 struct Options struct
34 int parse_options(int argc, const char* const* argv, Options *options);
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DImageUtils.java107 final BitmapFactory.Options opts = new BitmapFactory.Options(); in createLocalBitmap()
143 final BitmapFactory.Options opts) throws FileNotFoundException { in decodeStream()
198 final BitmapFactory.Options opts = new BitmapFactory.Options(); in getImageBounds()
/frameworks/compile/slang/
DRSCCOptions.td27 // Target Options
35 // Header Search Options
43 // Frontend Options
98 // Dependency Output Options
119 // Reflection Options
126 // Misc Options
Dslang_backend.cpp126 llvm::TargetOptions Options; in CreateCodeGenPasses() local
128 Options.NoFramePointerElim = mCodeGenOpts.DisableFPElim; in CreateCodeGenPasses()
137 Options.FloatABIType = llvm::FloatABI::Hard; in CreateCodeGenPasses()
138 Options.UseSoftFloat = false; in CreateCodeGenPasses()
171 Options, RM, CM); in CreateCodeGenPasses()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DTestService.java817 BitmapFactory.Options opts = new BitmapFactory.Options(); in onRun()
836 BitmapFactory.Options opts = new BitmapFactory.Options(); in onRun()
856 BitmapFactory.Options opts = new BitmapFactory.Options(); in onRun()
876 BitmapFactory.Options opts = new BitmapFactory.Options(); in onRun()
897 BitmapFactory.Options opts = new BitmapFactory.Options(); in onRun()
917 BitmapFactory.Options opts = new BitmapFactory.Options(); in onRun()
938 BitmapFactory.Options opts = new BitmapFactory.Options(); in onRun()
958 BitmapFactory.Options opts = new BitmapFactory.Options(); in onRun()
/frameworks/compile/mclinker/lib/CodeGen/
DMCLDTargetMachine.cpp214 if (getTM().Options.MCOptions.MCSaveTempLabels) in addPassesToEmitFile()
226 if (getTM().Options.MCOptions.MCSaveTempLabels) in addPassesToEmitFile()
305 getTM().Options.MCOptions.MCUseDwarfDirectory, in addCompilerPasses()
342 getTM().Options.MCOptions.MCRelaxAll, getTM().Options.MCOptions.MCNoExecStack)); in addAssemblerPasses()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DMain.java52 public static class Options { class in Main
57 public static final Options sOptions = new Options();
/frameworks/support/v4/kitkat/android/support/v4/print/
DPrintHelperKitkat.java51 BitmapFactory.Options mDecodeOptions = null;
481 BitmapFactory.Options opt = new BitmapFactory.Options(); in loadConstrainedBitmap()
506 BitmapFactory.Options decodeOptions = null; in loadConstrainedBitmap()
508 mDecodeOptions = new BitmapFactory.Options(); in loadConstrainedBitmap()
526 private Bitmap loadBitmap(Uri uri, BitmapFactory.Options o) throws FileNotFoundException { in loadBitmap()
/frameworks/rs/java/tests/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/
DHelloComputeNDK.java58 final BitmapFactory.Options options = new BitmapFactory.Options(); in loadBitmap()
/frameworks/base/core/java/android/app/
DWallpaperManager.java293 BitmapFactory.Options options = new BitmapFactory.Options(); in getCurrentWallpaperLocked()
316 BitmapFactory.Options options = new BitmapFactory.Options(); in getDefaultWallpaperLocked()
424 BitmapFactory.Options options = new BitmapFactory.Options(); in getBuiltInDrawable()
475 BitmapFactory.Options options = new BitmapFactory.Options(); in getBuiltInDrawable()
488 BitmapFactory.Options options = new BitmapFactory.Options(); in getBuiltInDrawable()
/frameworks/ex/common/java/com/android/common/
DOperationScheduler.java38 public static class Options { class in OperationScheduler
107 public static Options parseOptions(String spec, Options options) in parseOptions()
151 public long getNextTimeMillis(Options options) { in getNextTimeMillis()
/frameworks/base/docs/html/training/wearables/apps/
Dbt-debugging.jd32 <li>If it doesn't have a Developer Options setting, tap <b>About Phone</b>
34 <li>Go back and tap <b>Developer Options</b>.</li>
42 <li>Scroll to the bottom. If there's no <b>Developer Options</b> item, tap <b>About</b>,
44 <li>Tap the <b>Developer Options</b> item.</li>
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DBitmapsAlphaActivity.java56 BitmapFactory.Options opts = new BitmapFactory.Options(); in BitmapsView()
/frameworks/volley/tests/src/com/android/volley/mock/
DTestRequest.java145 public static class Options extends Base { class in TestRequest
146 public Options() { in Options() method in TestRequest.Options

12345