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

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapFactory_Delegate.java51 Rect padding, Options opts) {
56 if (opts != null) {
57 density = Density.getEnum(opts.inDensity);
58 if (opts.inPremultiplied) {
99 Rect padding, Options opts) {
100 opts.inBitmap = null;
105 /*package*/ static Bitmap nativeDecodeAsset(int asset, Rect padding, Options opts) { argument
106 opts.inBitmap = null;
112 int length, Options opts) {
113 opts
50 nativeDecodeStream(InputStream is, byte[] storage, Rect padding, Options opts) argument
98 nativeDecodeFileDescriptor(FileDescriptor fd, Rect padding, Options opts) argument
111 nativeDecodeByteArray(byte[] data, int offset, int length, Options opts) argument
[all...]
/frameworks/base/native/android/
H A Dlooper.cpp32 ALooper* ALooper_prepare(int opts) { argument
33 return Looper::prepare(opts).get();
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DImageUtils.java110 final BitmapFactory.Options opts = new BitmapFactory.Options();
111 opts.inSampleSize = Math.max(bounds.x / maxSize, bounds.y / maxSize);
112 result.bitmap = decodeStream(factory, null, opts);
139 * @param opts null-ok; Options that control downsampling and whether the
142 * decoded, or, if opts is non-null, if opts requested only the
143 * size be returned (in opts.outWidth and opts.outHeight)
146 final BitmapFactory.Options opts) throws FileNotFoundException {
156 final Bitmap originalBitmap = BitmapFactory.decodeStream(is, outPadding, opts);
145 decodeStream(final InputStreamFactory factory, final Rect outPadding, final BitmapFactory.Options opts) argument
[all...]
/frameworks/base/core/java/android/app/
H A DActivityOptions.java154 ActivityOptions opts = new ActivityOptions();
155 opts.mPackageName = context.getPackageName();
156 opts.mAnimationType = ANIM_CUSTOM;
157 opts.mCustomEnterResId = enterResId;
158 opts.mCustomExitResId = exitResId;
159 opts.setListener(handler, listener);
160 return opts;
209 ActivityOptions opts = new ActivityOptions();
210 opts.mPackageName = source.getContext().getPackageName();
211 opts
309 ActivityOptions(Bundle opts) argument
[all...]
/frameworks/base/core/java/android/content/
H A DContentProviderClient.java344 String mimeType, Bundle opts) throws RemoteException, FileNotFoundException {
345 return openTypedAssetFileDescriptor(uri, mimeType, opts, null);
350 String mimeType, Bundle opts, CancellationSignal signal)
361 mPackageName, uri, mimeType, opts, remoteSignal);
343 openTypedAssetFileDescriptor(Uri uri, String mimeType, Bundle opts) argument
349 openTypedAssetFileDescriptor(Uri uri, String mimeType, Bundle opts, CancellationSignal signal) argument
H A DContentProviderNative.java300 Bundle opts = data.readBundle();
305 fd = openTypedAssetFile(callingPkg, url, mimeType, opts, signal);
668 Bundle opts, ICancellationSignal signal) throws RemoteException, FileNotFoundException {
677 data.writeBundle(opts);
667 openTypedAssetFile(String callingPkg, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument
H A DIContentProvider.java68 Bundle opts, ICancellationSignal signal) throws RemoteException, FileNotFoundException;
67 openTypedAssetFile(String callingPkg, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument
H A DContentProvider.java338 Bundle opts, ICancellationSignal cancellationSignal) throws FileNotFoundException {
343 uri, mimeType, opts, CancellationSignal.fromTransport(cancellationSignal));
1372 * @param opts Additional options from the client. The definitions of
1389 public AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts) argument
1433 * @param opts Additional options from the client. The definitions of
1457 Uri uri, String mimeTypeFilter, Bundle opts, CancellationSignal signal)
1459 return openTypedAssetFile(uri, mimeTypeFilter, opts);
1477 * @param opts Options supplied by caller.
1481 Bundle opts, T args);
1493 * @param opts Option
337 openTypedAssetFile(String callingPkg, Uri uri, String mimeType, Bundle opts, ICancellationSignal cancellationSignal) argument
1456 openTypedAssetFile( Uri uri, String mimeTypeFilter, Bundle opts, CancellationSignal signal) argument
1480 writeDataToPipe(ParcelFileDescriptor output, Uri uri, String mimeType, Bundle opts, T args) argument
1501 openPipeHelper(final Uri uri, final String mimeType, final Bundle opts, final T args, final PipeDataWriter<T> func) argument
[all...]
H A DContentResolver.java999 * @param opts Additional provider-dependent options.
1009 Uri uri, String mimeType, Bundle opts) throws FileNotFoundException {
1010 return openTypedAssetFileDescriptor(uri, mimeType, opts, null);
1032 * @param opts Additional provider-dependent options.
1045 String mimeType, Bundle opts, CancellationSignal cancellationSignal)
1064 mPackageName, uri, mimeType, opts, remoteCancellationSignal);
1079 mPackageName, uri, mimeType, opts, remoteCancellationSignal);
1008 openTypedAssetFileDescriptor( Uri uri, String mimeType, Bundle opts) argument
1044 openTypedAssetFileDescriptor(Uri uri, String mimeType, Bundle opts, CancellationSignal cancellationSignal) argument
/frameworks/base/core/java/android/provider/
H A DDocumentsProvider.java584 public final AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts) argument
586 if (opts != null && opts.containsKey(EXTRA_THUMBNAIL_SIZE)) {
587 final Point sizeHint = opts.getParcelable(EXTRA_THUMBNAIL_SIZE);
590 return super.openTypedAssetFile(uri, mimeTypeFilter, opts);
601 Uri uri, String mimeTypeFilter, Bundle opts, CancellationSignal signal)
603 if (opts != null && opts.containsKey(EXTRA_THUMBNAIL_SIZE)) {
604 final Point sizeHint = opts.getParcelable(EXTRA_THUMBNAIL_SIZE);
607 return super.openTypedAssetFile(uri, mimeTypeFilter, opts, signa
600 openTypedAssetFile( Uri uri, String mimeTypeFilter, Bundle opts, CancellationSignal signal) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmapFactory.java365 * @param opts null-ok; Options that control downsampling and whether the
368 * decoded, or, if opts is non-null, if opts requested only the
369 * size be returned (in opts.outWidth and opts.outHeight)
371 public static Bitmap decodeFile(String pathName, Options opts) { argument
376 bm = decodeStream(stream, null, opts);
410 InputStream is, Rect pad, Options opts) {
412 if (opts == null) {
413 opts
409 decodeResourceStream(Resources res, TypedValue value, InputStream is, Rect pad, Options opts) argument
444 decodeResource(Resources res, int id, Options opts) argument
498 decodeByteArray(byte[] data, int offset, int length, Options opts) argument
536 setDensityFromOptions(Bitmap outputBitmap, Options opts) argument
581 decodeStream(InputStream is, Rect outPadding, Options opts) argument
615 decodeStreamInternal(InputStream is, Rect outPadding, Options opts) argument
651 decodeFileDescriptor(FileDescriptor fd, Rect outPadding, Options opts) argument
692 nativeDecodeStream(InputStream is, byte[] storage, Rect padding, Options opts) argument
694 nativeDecodeFileDescriptor(FileDescriptor fd, Rect padding, Options opts) argument
696 nativeDecodeAsset(int asset, Rect padding, Options opts) argument
697 nativeDecodeByteArray(byte[] data, int offset, int length, Options opts) argument
[all...]
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContentProvider.java131 String mimeType, Bundle opts, ICancellationSignal signal)
133 return MockContentProvider.this.openTypedAssetFile(url, mimeType, opts);
249 public AssetFileDescriptor openTypedAssetFile(Uri url, String mimeType, Bundle opts) { argument
130 openTypedAssetFile(String callingPackage, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument
H A DMockIContentProvider.java109 Bundle opts, ICancellationSignal signal) throws RemoteException, FileNotFoundException {
108 openTypedAssetFile(String callingPackage, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java816 InputStream is, String srcName, BitmapFactory.Options opts) {
837 if (opts == null) opts = new BitmapFactory.Options();
838 opts.inScreenDensity = res != null
840 Bitmap bm = BitmapFactory.decodeResourceStream(res, value, is, pad, opts);
815 createFromResourceStream(Resources res, TypedValue value, InputStream is, String srcName, BitmapFactory.Options opts) argument

Completed in 394 milliseconds