/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapFactory.java | 291 * @param opts null-ok; Options that control downsampling and whether the 294 * decoded, or, if opts is non-null, if opts requested only the 295 * size be returned (in opts.outWidth and opts.outHeight) 297 public static Bitmap decodeFile(String pathName, Options opts) { argument 302 bm = decodeStream(stream, null, opts); 336 InputStream is, Rect pad, Options opts) { 338 if (opts == null) { 339 opts 335 decodeResourceStream(Resources res, TypedValue value, InputStream is, Rect pad, Options opts) argument 370 decodeResource(Resources res, int id, Options opts) argument 424 decodeByteArray(byte[] data, int offset, int length, Options opts) argument 467 decodeStream(InputStream is, Rect outPadding, Options opts) argument 545 finishDecode(Bitmap bm, Rect outPadding, Options opts) argument 618 decodeFileDescriptor(FileDescriptor fd, Rect outPadding, Options opts) argument 649 nativeDecodeStream(InputStream is, byte[] storage, Rect padding, Options opts) argument 651 nativeDecodeStream(InputStream is, byte[] storage, Rect padding, Options opts, boolean applyScale, float scale) argument 653 nativeDecodeFileDescriptor(FileDescriptor fd, Rect padding, Options opts) argument 655 nativeDecodeAsset(int asset, Rect padding, Options opts) argument 656 nativeDecodeAsset(int asset, Rect padding, Options opts, boolean applyScale, float scale) argument 658 nativeDecodeByteArray(byte[] data, int offset, int length, Options opts) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BitmapFactory_Delegate.java | 47 /*package*/ static Bitmap finishDecode(Bitmap bm, Rect outPadding, Options opts) { argument 48 if (bm == null || opts == null) { 52 final int density = opts.inDensity; 58 final int targetDensity = opts.inTargetDensity; 59 if (targetDensity == 0 || density == targetDensity || density == opts.inScreenDensity) { 66 if (opts.inScaled && isNinePatch == false) { 89 Rect padding, Options opts) { 90 return nativeDecodeStream(is, storage, padding, opts, false, 1.f); 95 Rect padding, Options opts, boolean applyScale, float scale) { 101 if (opts ! 88 nativeDecodeStream(InputStream is, byte[] storage, Rect padding, Options opts) argument 94 nativeDecodeStream(InputStream is, byte[] storage, Rect padding, Options opts, boolean applyScale, float scale) argument 140 nativeDecodeFileDescriptor(FileDescriptor fd, Rect padding, Options opts) argument 147 nativeDecodeAsset(int asset, Rect padding, Options opts) argument 153 nativeDecodeAsset(int asset, Rect padding, Options opts, boolean applyScale, float scale) argument 160 nativeDecodeByteArray(byte[] data, int offset, int length, Options opts) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityOptions.java | 154 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/ex/photoviewer/src/com/android/ex/photo/util/ |
H A D | ImageUtils.java | 95 final BitmapFactory.Options opts = new BitmapFactory.Options(); 99 opts.inSampleSize = Math.max(bounds.x / maxSize, bounds.y / maxSize); 101 final Bitmap decodedBitmap = decodeStream(inputStream, null, opts); 136 * @param opts null-ok; Options that control downsampling and whether the 139 * decoded, or, if opts is non-null, if opts requested only the 140 * size be returned (in opts.outWidth and opts.outHeight) 142 public static Bitmap decodeStream(InputStream is, Rect outPadding, BitmapFactory.Options opts) { argument 157 BitmapFactory.decodeByteArray(bitmapBytes, 0, bitmapBytes.length, opts); [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | ImageUtils.java | 100 final BitmapFactory.Options opts = new BitmapFactory.Options(); 106 opts.inSampleSize = Math.max(bounds.x / maxSize, bounds.y / maxSize); 108 final Bitmap decodedBitmap = decodeStream(inputStream, null, opts); 143 * @param opts null-ok; Options that control downsampling and whether the 146 * decoded, or, if opts is non-null, if opts requested only the 147 * size be returned (in opts.outWidth and opts.outHeight) 149 public static Bitmap decodeStream(InputStream is, Rect outPadding, BitmapFactory.Options opts) { argument 169 final Bitmap originalBitmap = BitmapFactory.decodeStream(byteStream, outPadding, opts); [all...] |
/frameworks/base/native/android/ |
H A D | looper.cpp | 32 ALooper* ALooper_prepare(int opts) { argument 33 return Looper::prepare(opts).get();
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | BitmapsAlphaActivity.java | 56 BitmapFactory.Options opts = new BitmapFactory.Options(); 57 opts.inPreferredConfig = Bitmap.Config.ARGB_8888; 58 mBitmap3 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset3, opts);
|
H A D | BitmapsActivity.java | 69 BitmapFactory.Options opts = new BitmapFactory.Options(); 70 opts.inMutable = true; 71 Bitmap bitmap = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1, opts);
|
/frameworks/native/include/android/ |
H A D | looper.h | 63 * The opts may be ALOOPER_PREPARE_ALLOW_NON_CALLBACKS or 0. 65 ALooper* ALooper_prepare(int opts);
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
H A D | TestService.java | 801 BitmapFactory.Options opts = new BitmapFactory.Options(); 802 opts.inScreenDensity = DisplayMetrics.DENSITY_DEVICE; 820 BitmapFactory.Options opts = new BitmapFactory.Options(); 821 opts.inScreenDensity = DisplayMetrics.DENSITY_DEVICE; 840 BitmapFactory.Options opts = new BitmapFactory.Options(); 841 opts.inScreenDensity = DisplayMetrics.DENSITY_DEVICE; 843 R.drawable.stat_sample, opts); 860 BitmapFactory.Options opts = new BitmapFactory.Options(); 861 opts.inScreenDensity = DisplayMetrics.DENSITY_DEVICE; 863 R.drawable.stat_sample, opts); [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentProvider.java | 265 public AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeType, Bundle opts) argument 268 return ContentProvider.this.openTypedAssetFile(uri, mimeType, opts); 916 * @param opts Additional options from the client. The definitions of 933 public AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts) argument 963 * @param opts Options supplied by caller. 967 Bundle opts, T args); 979 * @param opts Options supplied by caller. 988 final Bundle opts, final T args, final PipeDataWriter<T> func) 996 func.writeDataToPipe(fds[1], uri, mimeType, opts, args); 966 writeDataToPipe(ParcelFileDescriptor output, Uri uri, String mimeType, Bundle opts, T args) argument 987 openPipeHelper(final Uri uri, final String mimeType, final Bundle opts, final T args, final PipeDataWriter<T> func) argument
|
H A D | IContentProvider.java | 59 public AssetFileDescriptor openTypedAssetFile(Uri url, String mimeType, Bundle opts) argument
|
H A D | ContentProviderClient.java | 209 String mimeType, Bundle opts) 212 return mContentProvider.openTypedAssetFile(uri, mimeType, opts); 208 openTypedAssetFileDescriptor(Uri uri, String mimeType, Bundle opts) argument
|
H A D | ContentProviderNative.java | 280 Bundle opts = data.readBundle(); 283 fd = openTypedAssetFile(url, mimeType, opts); 604 public AssetFileDescriptor openTypedAssetFile(Uri url, String mimeType, Bundle opts) argument 613 data.writeBundle(opts);
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContentProvider.java | 124 public AssetFileDescriptor openTypedAssetFile(Uri url, String mimeType, Bundle opts) argument 126 return MockContentProvider.this.openTypedAssetFile(url, mimeType, opts); 232 public AssetFileDescriptor openTypedAssetFile(Uri url, String mimeType, Bundle opts) { argument
|
H A D | MockIContentProvider.java | 103 public AssetFileDescriptor openTypedAssetFile(Uri url, String mimeType, Bundle opts) argument
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | Drawable.java | 761 InputStream is, String srcName, BitmapFactory.Options opts) { 782 if (opts == null) opts = new BitmapFactory.Options(); 783 opts.inScreenDensity = res != null 785 Bitmap bm = BitmapFactory.decodeResourceStream(res, value, is, pad, opts); 760 createFromResourceStream(Resources res, TypedValue value, InputStream is, String srcName, BitmapFactory.Options opts) argument
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
H A D | DpiTestActivity.java | 219 BitmapFactory.Options opts = new BitmapFactory.Options(); 220 opts.inScaled = false; 221 bitmap = BitmapFactory.decodeResource(getResources(), id, opts);
|
/frameworks/base/tests/DumpRenderTree/assets/ |
H A D | run_reliability_tests.py | 275 opts, arguments = option_parser.parse_args() 276 main(opts, arguments)
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | PendingIntentRecord.java | 233 Bundle opts = new Bundle(key.options); 234 opts.putAll(options); 235 options = opts;
|
/frameworks/native/include/utils/ |
H A D | Looper.h | 304 * The opts may be ALOOPER_PREPARE_ALLOW_NON_CALLBACKS or 0. 306 static sp<Looper> prepare(int opts);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | SearchPanelView.java | 112 ActivityOptions opts = ActivityOptions.makeCustomAnimation(mContext, 116 mContext.startActivityAsUser(intent, opts.toBundle(),
|
/frameworks/native/libs/utils/ |
H A D | Looper.cpp | 139 sp<Looper> Looper::prepare(int opts) { argument 140 bool allowNonCallbacks = opts & ALOOPER_PREPARE_ALLOW_NON_CALLBACKS;
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardHostView.java | 635 ActivityOptions opts = ActivityOptions.makeScaleUpAnimation(view, 641 Intent.FLAG_ACTIVITY_NEW_TASK, 0, opts.toBundle()); 1506 final ActivityOptions opts = ActivityOptions.makeCustomAnimation(mContext, 1513 intent, false, opts.toBundle(), null, null);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | BaseStatusBar.java | 483 ActivityOptions opts = ActivityOptions.makeCustomAnimation(mContext, 486 mContext.startActivityAsUser(intent, opts.toBundle(), new UserHandle( 580 ActivityOptions opts = ActivityOptions.makeThumbnailScaleDownAnimation( 591 mContext.startActivityAsUser(intent, opts.toBundle(), new UserHandle(
|