/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapFactory.java | 380 * @param opts null-ok; Options that control downsampling and whether the 383 * decoded, or, if opts is non-null, if opts requested only the 384 * size be returned (in opts.outWidth and opts.outHeight) 386 public static Bitmap decodeFile(String pathName, Options opts) { argument 391 bm = decodeStream(stream, null, opts); 425 InputStream is, Rect pad, Options opts) { 427 if (opts == null) { 428 opts 424 decodeResourceStream(Resources res, TypedValue value, InputStream is, Rect pad, Options opts) argument 459 decodeResource(Resources res, int id, Options opts) argument 513 decodeByteArray(byte[] data, int offset, int length, Options opts) argument 551 setDensityFromOptions(Bitmap outputBitmap, Options opts) argument 596 decodeStream(InputStream is, Rect outPadding, Options opts) argument 630 decodeStreamInternal(InputStream is, Rect outPadding, Options opts) argument 666 decodeFileDescriptor(FileDescriptor fd, Rect outPadding, Options opts) argument 707 nativeDecodeStream(InputStream is, byte[] storage, Rect padding, Options opts) argument 709 nativeDecodeFileDescriptor(FileDescriptor fd, Rect padding, Options opts) argument 711 nativeDecodeAsset(long nativeAsset, Rect padding, Options opts) argument 712 nativeDecodeByteArray(byte[] data, int offset, int length, Options opts) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityOptions.java | 192 ActivityOptions opts = new ActivityOptions(); 193 opts.mPackageName = context.getPackageName(); 194 opts.mAnimationType = ANIM_CUSTOM; 195 opts.mCustomEnterResId = enterResId; 196 opts.mCustomExitResId = exitResId; 197 opts.setOnAnimationStartedListener(handler, listener); 198 return opts; 248 ActivityOptions opts = new ActivityOptions(); 249 opts.mPackageName = source.getContext().getPackageName(); 250 opts 532 ActivityOptions(Bundle opts) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BitmapFactory_Delegate.java | 52 @Nullable Rect padding, @Nullable Options opts) { 57 if (opts != null) { 58 density = Density.getEnum(opts.inDensity); 59 if (opts.inPremultiplied) { 102 Rect padding, Options opts) { 103 opts.inBitmap = null; 108 /*package*/ static Bitmap nativeDecodeAsset(long asset, Rect padding, Options opts) { argument 109 opts.inBitmap = null; 115 int length, Options opts) { 116 opts 51 nativeDecodeStream(InputStream is, byte[] storage, @Nullable Rect padding, @Nullable Options opts) argument 101 nativeDecodeFileDescriptor(FileDescriptor fd, Rect padding, Options opts) argument 114 nativeDecodeByteArray(byte[] data, int offset, int length, Options opts) argument [all...] |
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/ |
H A D | MainActivity.java | 112 ExtendedOptions opts = new ExtendedOptions( 115 opts.decodeAggregator = mDecodeAggregator; 116 opts.parallaxSpeedMultiplier = NORMAL_PARALLAX_MULTIPLIER; 117 opts.backgroundColor = Color.LTGRAY; 119 mCache, true /* limit density */, opts);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | ImageUtils.java | 107 final BitmapFactory.Options opts = new BitmapFactory.Options(); 108 opts.inSampleSize = Math.max(bounds.x / maxSize, bounds.y / maxSize); 109 result.bitmap = decodeStream(factory, 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) 143 final BitmapFactory.Options opts) throws FileNotFoundException { 155 final Bitmap originalBitmap = BitmapFactory.decodeStream(is, outPadding, opts); 142 decodeStream(final InputStreamFactory factory, final Rect outPadding, final BitmapFactory.Options opts) argument [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | ILauncherApps.aidl | 37 in Bundle opts, in UserHandle user); 39 in Bundle opts, in UserHandle user);
|
/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/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | ExtendedBitmapDrawable.java | 74 final boolean limitDensity, ExtendedOptions opts) { 77 if (opts == null) { 78 opts = new ExtendedOptions(0); 80 mOpts = opts; 222 return /* opts.stateChanges */ true; 435 int placeholderHeight, int fadeOutDurationMs, ExtendedOptions opts) { 436 super(placeholder, placeholderWidth, placeholderHeight, fadeOutDurationMs, opts); 438 if (opts.placeholderAnimationDuration == -1) { 442 if (opts.placeholderAnimationDuration == 0) { 445 pulseDuration = opts 73 ExtendedBitmapDrawable(final Resources res, final BitmapCache cache, final boolean limitDensity, ExtendedOptions opts) argument 434 Placeholder(Drawable placeholder, Resources res, int placeholderWidth, int placeholderHeight, int fadeOutDurationMs, ExtendedOptions opts) argument 520 Progress(Drawable progress, Resources res, int progressBarWidth, int progressBarHeight, int fadeOutDurationMs, ExtendedOptions opts) argument [all...] |
H A D | CircularBitmapDrawable.java | 54 BitmapCache cache, boolean limitDensity, ExtendedOptions opts) { 55 super(res, cache, limitDensity, opts); 53 CircularBitmapDrawable(Resources res, BitmapCache cache, boolean limitDensity, ExtendedOptions opts) argument
|
H A D | TileDrawable.java | 45 ExtendedOptions opts) { 46 mOpts = opts; 44 TileDrawable(Drawable inner, int innerWidth, int innerHeight, int fadeOutDurationMs, ExtendedOptions opts) argument
|
/frameworks/base/native/android/ |
H A D | looper.cpp | 40 ALooper* ALooper_prepare(int opts) { argument 41 return Looper_to_ALooper(Looper::prepare(opts).get());
|
/frameworks/base/core/java/android/provider/ |
H A D | DocumentsProvider.java | 762 public final AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts) argument 765 if (opts != null && opts.containsKey(ContentResolver.EXTRA_SIZE)) { 766 final Point sizeHint = opts.getParcelable(ContentResolver.EXTRA_SIZE); 769 return super.openTypedAssetFile(uri, mimeTypeFilter, opts); 780 Uri uri, String mimeTypeFilter, Bundle opts, CancellationSignal signal) 783 if (opts != null && opts.containsKey(ContentResolver.EXTRA_SIZE)) { 784 final Point sizeHint = opts.getParcelable(ContentResolver.EXTRA_SIZE); 787 return super.openTypedAssetFile(uri, mimeTypeFilter, opts, signa 779 openTypedAssetFile( Uri uri, String mimeTypeFilter, Bundle opts, CancellationSignal signal) argument [all...] |
H A D | DocumentsContract.java | 842 final BitmapFactory.Options opts = new BitmapFactory.Options(); 843 opts.inJustDecodeBounds = true; 845 BitmapFactory.decodeStream(is, null, opts); 847 BitmapFactory.decodeFileDescriptor(fd, null, opts); 850 final int widthSample = opts.outWidth / size.x; 851 final int heightSample = opts.outHeight / size.y; 853 opts.inJustDecodeBounds = false; 854 opts.inSampleSize = Math.min(widthSample, heightSample); 857 bitmap = BitmapFactory.decodeStream(is, null, opts); 864 bitmap = BitmapFactory.decodeFileDescriptor(fd, null, opts); [all...] |
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
H A D | TestService.java | 817 BitmapFactory.Options opts = new BitmapFactory.Options(); 818 opts.inScreenDensity = DisplayMetrics.DENSITY_DEVICE; 836 BitmapFactory.Options opts = new BitmapFactory.Options(); 837 opts.inScreenDensity = DisplayMetrics.DENSITY_DEVICE; 856 BitmapFactory.Options opts = new BitmapFactory.Options(); 857 opts.inScreenDensity = DisplayMetrics.DENSITY_DEVICE; 859 R.drawable.stat_sample, opts); 876 BitmapFactory.Options opts = new BitmapFactory.Options(); 877 opts.inScreenDensity = DisplayMetrics.DENSITY_DEVICE; 879 R.drawable.stat_sample, opts); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | Recents.java | 112 ActivityOptions opts = ActivityOptions.makeCustomAnimation(mContext, 115 mContext.startActivityAsUser(intent, opts.toBundle(), new UserHandle( 222 ActivityOptions opts = ActivityOptions.makeThumbnailScaleDownAnimation( 234 startActivitySafely(intent, opts.toBundle()); 308 private void startActivitySafely(Intent intent, Bundle opts) { argument 310 mContext.startActivityAsUser(intent, opts, new UserHandle(UserHandle.USER_CURRENT));
|
/frameworks/base/core/tests/overlaytests/ |
H A D | testrunner.py | 555 opts, args = opt_parser.parse_args(sys.argv[1:]) 556 if not opts.test_idmap and not opts.test_no_overlay and not opts.test_single_overlay and not opts.test_multiple_overlays: 557 opts.test_idmap = True 558 opts.test_no_overlay = True 559 opts.test_single_overlay = True 560 opts.test_multiple_overlays = True 565 if opts [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
H A D | AlternateRecentsComponent.java | 494 ActivityOptions opts = getThumbnailTransitionActivityOptions(topTask, isTopTaskHome); 495 if (opts != null) { 497 startAlternateRecentsActivity(topTask, opts, EXTRA_FROM_APP_FULL_SCREENSHOT); 499 startAlternateRecentsActivity(topTask, opts, EXTRA_FROM_APP_THUMBNAIL); 532 ActivityOptions opts = getHomeTransitionActivityOptions(fromSearchHome); 533 startAlternateRecentsActivity(topTask, opts, 537 ActivityOptions opts = getUnknownTransitionActivityOptions(); 538 startAlternateRecentsActivity(topTask, opts, null); 546 ActivityOptions opts, String extraFlag) { 557 if (opts ! 545 startAlternateRecentsActivity(ActivityManager.RunningTaskInfo topTask, ActivityOptions opts, String extraFlag) argument [all...] |
/frameworks/native/opengl/tools/glgen2/ |
H A D | glgen.py | 254 for opts in TRAMPOLINE_OPTIONS: 255 registry.apiGen(opts) 279 for opts in API_OPTIONS: 280 registry.apiGen(opts) 312 # for opts in SPEC_OPTIONS: 313 # registry.apiGen(opts)
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderClient.java | 344 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
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | DecorToolbar.java | 73 void setDisplayOptions(int opts); argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | DecorToolbar.java | 72 void setDisplayOptions(int opts); argument
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContentProvider.java | 131 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
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | SystemServicesProxy.java | 282 public void moveTaskToFront(int taskId, ActivityOptions opts) { argument 286 if (opts != null) { 288 opts.toBundle()); 428 Bundle opts = new Bundle(); 429 opts.putInt(AppWidgetManager.OPTION_APPWIDGET_HOST_CATEGORY, 431 if (!mAwm.bindAppWidgetIdIfAllowed(searchWidgetId, searchWidgetInfo.provider, opts)) {
|