Home
last modified time | relevance | path

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

1234

/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java19 import static android.graphics.BitmapFactory.Options.validate;
43 public static class Options { class in BitmapFactory
48 public Options() { in Options() method in BitmapFactory.Options
436 static void validate(Options opts) { in validate()
470 static long nativeInBitmap(Options opts) { in nativeInBitmap()
484 static long nativeColorSpace(Options opts) { in nativeColorSpace()
510 public static Bitmap decodeFile(String pathName, Options opts) { in decodeFile()
556 @Nullable InputStream is, @Nullable Rect pad, @Nullable Options opts) { in decodeResourceStream()
559 opts = new Options(); in decodeResourceStream()
595 public static Bitmap decodeResource(Resources res, int id, Options opts) { in decodeResource()
[all …]
DBitmapRegionDecoder.java190 public Bitmap decodeRegion(Rect rect, BitmapFactory.Options options) { in decodeRegion()
191 BitmapFactory.Options.validate(options); in decodeRegion()
199 BitmapFactory.Options.nativeInBitmap(options), in decodeRegion()
200 BitmapFactory.Options.nativeColorSpace(options)); in decodeRegion()
270 BitmapFactory.Options options, long inBitmapHandle, in nativeDecodeRegion()
DLargeBitmap.java52 public Bitmap decodeRegion(Rect rect, BitmapFactory.Options options) { in decodeRegion()
114 BitmapFactory.Options options); in nativeDecodeRegion()
/frameworks/ml/nn/tools/test_generator/tests/
Dtest.py71 class Options(object): class
81 if Options.verbose:
85 if Options.verbose:
95 if Options.verbose:
120 if Options.verbose:
191 if Options.verbose:
202 if Options.verbose:
226 if Options.verbose > 1:
247 if Options.cleanup:
284 Options.cleanup = 0
[all …]
/frameworks/compile/slang/tests/
Dslang_test.py70 class Options(object): class
80 if Options.verbose:
84 if Options.verbose:
94 if Options.verbose:
119 if Options.verbose:
223 if Options.verbose:
234 if Options.verbose:
280 if Options.verbose > 1:
303 if Options.update_cts:
306 if Options.cleanup:
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DLocalImageResolver.java39 BitmapFactory.Options onlyBoundsOptions = getBoundsOptionsForImage(uri, context); in resolveImage()
53 BitmapFactory.Options bitmapOptions = new BitmapFactory.Options(); in resolveImage()
61 private static BitmapFactory.Options getBoundsOptionsForImage(Uri uri, Context context) in getBoundsOptionsForImage()
64 BitmapFactory.Options onlyBoundsOptions = new BitmapFactory.Options(); in getBoundsOptionsForImage()
/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()
165 OperationScheduler.Options options = new OperationScheduler.Options(); in testExponentialBackoffBoundedByMoratorium()
183 OperationScheduler.Options options = new OperationScheduler.Options(); in testParseOptions()
209 OperationScheduler.Options options = new OperationScheduler.Options(); in testMoratoriumWithHttpDate()
234 OperationScheduler.Options options = new OperationScheduler.Options(); in testClockRollbackScenario()
/frameworks/layoutlib/bridge/src/android/graphics/
DBitmapFactory_Delegate.java27 import android.graphics.BitmapFactory.Options;
52 @Nullable Rect padding, @Nullable Options opts, long inBitmapHandle, in nativeDecodeStream()
104 Rect padding, Options opts, long inBitmapHandle, long colorSpaceHandle) { in nativeDecodeFileDescriptor()
112 /*package*/ static Bitmap nativeDecodeAsset(long asset, Rect padding, Options opts, in nativeDecodeAsset()
122 int length, Options opts, long inBitmapHandle, long colorSpaceHandle) { in nativeDecodeByteArray()
140 /*package*/ static void setDensityFromOptions(Bitmap outputBitmap, Options opts) { in setDensityFromOptions()
/frameworks/compile/mclinker/tools/mcld/
DAndroid.bp19 // Build Options.inc from Options.td
22 in: "Options.td",
23 outs: ["Options.inc"],
/frameworks/base/libs/hwui/tests/common/
DTestScene.h37 struct Options { struct
45 static test::TestScene* simpleCreateScene(const TestScene::Options&) { in simpleCreateScene() argument
49 typedef test::TestScene* (*CreateScene)(const TestScene::Options&);
/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/ml/
DPREUPLOAD.cfg1 [Options]
13 [Builtin Hooks 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
120 // Reflection Options
127 // Diagnostic Options
142 // Misc Options
/frameworks/native/vulkan/vkjson/
Dvkjson_info.cc36 struct Options { struct
43 bool ParseOptions(int argc, char* argv[], Options* options) { in ParseOptions() argument
100 bool Dump(const VkJsonInstance& instance, const Options& options) { in Dump()
168 Options options; in main()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
DUtils.java97 BitmapFactory.Options options, int reqWidth, int reqHeight) { in calculateInSampleSize()
123 final BitmapFactory.Options options = new BitmapFactory.Options(); in decodeSampledBitmapFromResource()
/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/rs/tests/java_api/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/
DHelloComputeNDK.java57 final BitmapFactory.Options options = new BitmapFactory.Options(); in loadBitmap()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotLoader.java28 import android.graphics.BitmapFactory.Options;
161 final Options options = new Options(); in loadTask()
/frameworks/base/libs/hwui/tests/common/scenes/
DRoundRectClippingAnimation.cpp64 [](const TestScene::Options&) -> test::TestScene* { in __anon6e2534650202() argument
71 [](const TestScene::Options&) -> test::TestScene* { in __anon6e2534650302() argument
/frameworks/ex/common/java/com/android/common/
DOperationScheduler.java37 public static class Options { class in OperationScheduler
106 public static Options parseOptions(String spec, Options options) in parseOptions()
150 public long getNextTimeMillis(Options options) { in getNextTimeMillis()
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DOpenGLUtils.java70 final BitmapFactory.Options options = new BitmapFactory.Options(); in createTexture()
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DMain.java61 private static class Options { class in Main
69 private static final Options sOptions = new Options();
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DBitmapsAlphaActivity.java56 BitmapFactory.Options opts = new BitmapFactory.Options(); in BitmapsView()
/frameworks/hardware/interfaces/
DPREUPLOAD.cfg1 [Options]

1234