/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapFactory.java | 391 * @param opts null-ok; Options that control downsampling and whether the 394 * decoded, or, if opts is non-null, if opts requested only the 395 * size be returned (in opts.outWidth and opts.outHeight) 397 public static Bitmap decodeFile(String pathName, Options opts) { argument 402 bm = decodeStream(stream, null, opts); 436 InputStream is, Rect pad, Options opts) { 438 if (opts == null) { 439 opts 435 decodeResourceStream(Resources res, TypedValue value, InputStream is, Rect pad, Options opts) argument 470 decodeResource(Resources res, int id, Options opts) argument 524 decodeByteArray(byte[] data, int offset, int length, Options opts) argument 562 setDensityFromOptions(Bitmap outputBitmap, Options opts) argument 607 decodeStream(InputStream is, Rect outPadding, Options opts) argument 641 decodeStreamInternal(InputStream is, Rect outPadding, Options opts) argument 677 decodeFileDescriptor(FileDescriptor fd, Rect outPadding, Options opts) argument 718 nativeDecodeStream(InputStream is, byte[] storage, Rect padding, Options opts) argument 720 nativeDecodeFileDescriptor(FileDescriptor fd, Rect padding, Options opts) argument 722 nativeDecodeAsset(long nativeAsset, Rect padding, Options opts) argument 723 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 | 52 @Nullable Rect padding, @Nullable Options opts) { 57 if (opts != null) { 58 density = Density.getEnum(opts.inDensity); 59 if (opts.inPremultiplied) { 62 opts.inScaled = false; 103 Rect padding, Options opts) { 104 opts.inBitmap = null; 109 /*package*/ static Bitmap nativeDecodeAsset(long asset, Rect padding, Options opts) { argument 110 opts.inBitmap = null; 116 int length, Options opts) { 51 nativeDecodeStream(InputStream is, byte[] storage, @Nullable Rect padding, @Nullable Options opts) argument 102 nativeDecodeFileDescriptor(FileDescriptor fd, Rect padding, Options opts) argument 115 nativeDecodeByteArray(byte[] data, int offset, int length, Options opts) argument 132 setDensityFromOptions(Bitmap outputBitmap, Options opts) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityOptions.java | 284 ActivityOptions opts = new ActivityOptions(); 285 opts.mPackageName = context.getPackageName(); 286 opts.mAnimationType = ANIM_CUSTOM; 287 opts.mCustomEnterResId = enterResId; 288 opts.mCustomExitResId = exitResId; 289 opts.setOnAnimationStartedListener(handler, listener); 290 return opts; 310 ActivityOptions opts = new ActivityOptions(); 311 opts.mPackageName = context.getPackageName(); 312 opts 728 ActivityOptions(Bundle opts) argument [all...] |
H A D | BroadcastOptions.java | 55 BroadcastOptions opts = new BroadcastOptions(); 56 return opts; 63 public BroadcastOptions(Bundle opts) { argument 64 mTemporaryAppWhitelistDuration = opts.getLong(KEY_TEMPORARY_APP_WHITELIST_DURATION); 65 mMinManifestReceiverApiLevel = opts.getInt(KEY_MIN_MANIFEST_RECEIVER_API_LEVEL, 0); 66 mMaxManifestReceiverApiLevel = opts.getInt(KEY_MAX_MANIFEST_RECEIVER_API_LEVEL,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/ |
H A D | RecentsTvImpl.java | 71 ActivityOptions opts = ActivityOptions.makeCustomAnimation(mContext, -1, -1); 72 startRecentsActivity(runningTask, opts, false /* fromHome */, false /* fromThumbnail*/); 81 ActivityOptions opts = getThumbnailTransitionActivityOptionsForTV(runningTask, 83 if (opts != null) { 84 startRecentsActivity(runningTask, opts, false /* fromHome */, true /* fromThumbnail */); 98 ActivityOptions opts, boolean fromHome, boolean fromThumbnail) { 113 if (opts != null) { 114 mContext.startActivityAsUser(intent, opts.toBundle(), UserHandle.CURRENT); 97 startRecentsActivity(ActivityManager.RunningTaskInfo runningTask, ActivityOptions opts, boolean fromHome, boolean fromThumbnail) argument
|
/frameworks/minikin/libs/minikin/ |
H A D | unicode_emoji_h_gen.py | 99 opts, _ = opt_parser.parse_args() 101 emoji_list = _read_emoji_data(opts.input) 103 with open(opts.output, 'w') as header_file:
|
/frameworks/base/libs/hwui/tests/macrobench/ |
H A D | TestSceneRunner.cpp | 65 void run(const TestScene::Info& info, const TestScene::Options& opts) { argument 69 std::unique_ptr<TestScene> scene(info.createScene(opts)); 104 ModifiedMovingAverage<double> avgMs(opts.reportFrametimeWeight); 106 for (int i = 0; i < opts.count; i++) { 115 if (opts.reportFrametimeWeight) {
|
/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/packages/SystemUI/src/com/android/systemui/recents/tv/views/ |
H A D | RecentsTvTransitionHelper.java | 52 final ActivityOptions opts = ActivityOptions.makeBasic(); 54 opts.setLaunchBounds(bounds.isEmpty() ? null : bounds); 82 startTaskActivity(stack, task, taskView, opts, animStartedListener); 86 startTaskActivity(stack, task, taskView, opts, animStartedListener); 91 ActivityOptions opts,final ActivityOptions.OnAnimationStartedListener animStartedListener) { 93 if (ssp.startActivityFromRecents(mContext, task.key, task.title, opts)) { 90 startTaskActivity(TaskStack stack, Task task, @Nullable TaskCardView taskView, ActivityOptions opts,final ActivityOptions.OnAnimationStartedListener animStartedListener) argument
|
/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 | 72 * The opts may be ALOOPER_PREPARE_ALLOW_NON_CALLBACKS or 0. 74 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; 235 return /* opts.stateChanges */ true; 453 int placeholderHeight, int fadeOutDurationMs, ExtendedOptions opts) { 454 super(placeholder, placeholderWidth, placeholderHeight, fadeOutDurationMs, opts); 456 if (opts.placeholderAnimationDuration == -1) { 460 if (opts.placeholderAnimationDuration == 0) { 463 pulseDuration = opts 73 ExtendedBitmapDrawable(final Resources res, final BitmapCache cache, final boolean limitDensity, ExtendedOptions opts) argument 452 Placeholder(Drawable placeholder, Resources res, int placeholderWidth, int placeholderHeight, int fadeOutDurationMs, ExtendedOptions opts) argument 538 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
|
/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/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/recents/model/ |
H A D | RecentsTaskLoadPlan.java | 204 public synchronized void executePlan(Options opts, RecentsTaskLoader loader, argument 216 boolean isRunningTask = (task.key.id == opts.runningTaskId); 217 boolean isVisibleTask = i >= (taskCount - opts.numVisibleTasks); 218 boolean isVisibleThumbnail = i >= (taskCount - opts.numVisibleTaskThumbnails); 221 if (opts.onlyLoadPausedActivities && isRunningTask) { 225 if (opts.loadIcons && (isRunningTask || isVisibleTask)) { 231 if (opts.loadThumbnails && (isRunningTask || isVisibleThumbnail)) {
|
/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/core/java/android/content/pm/ |
H A D | ILauncherApps.aidl | 43 in Bundle opts, in UserHandle user); 45 in Bundle opts, in UserHandle user);
|
/frameworks/native/opengl/tools/glgen2/ |
H A D | glgen.py | 244 for opts in TRAMPOLINE_OPTIONS: 245 registry.apiGen(opts) 269 for opts in API_OPTIONS: 270 registry.apiGen(opts) 305 # for opts in SPEC_OPTIONS: 306 # registry.apiGen(opts)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | RecentsTransitionHelper.java | 104 final ActivityOptions opts = ActivityOptions.makeBasic(); 106 opts.setLaunchBounds(bounds.isEmpty() ? null : bounds); 152 startTaskActivity(stack, task, taskView, opts, transitionFuture, animStartedListener); 160 startTaskActivity(stack, task, taskView, opts, transitionFuture, 167 startTaskActivity(stack, task, taskView, opts, transitionFuture, 199 ActivityOptions opts, IAppTransitionAnimationSpecsFuture transitionFuture, 202 if (ssp.startActivityFromRecents(mContext, task.key, task.title, opts)) { 198 startTaskActivity(TaskStack stack, Task task, @Nullable TaskView taskView, ActivityOptions opts, IAppTransitionAnimationSpecsFuture transitionFuture, final ActivityOptions.OnAnimationStartedListener animStartedListener) argument
|
/frameworks/base/core/java/android/provider/ |
H A D | DocumentsContract.java | 1007 final BitmapFactory.Options opts = new BitmapFactory.Options(); 1008 opts.inJustDecodeBounds = true; 1010 BitmapFactory.decodeStream(is, null, opts); 1012 BitmapFactory.decodeFileDescriptor(fd, null, opts); 1015 final int widthSample = opts.outWidth / size.x; 1016 final int heightSample = opts.outHeight / size.y; 1018 opts.inJustDecodeBounds = false; 1019 opts.inSampleSize = Math.min(widthSample, heightSample); 1022 bitmap = BitmapFactory.decodeStream(is, null, opts); 1029 bitmap = BitmapFactory.decodeFileDescriptor(fd, null, opts); [all...] |
H A D | DocumentsProvider.java | 539 * @param opts extra options from the client. Specific to the content 547 String documentId, String mimeTypeFilter, Bundle opts, CancellationSignal signal) 933 public final AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts) argument 935 return openTypedAssetFileImpl(uri, mimeTypeFilter, opts, null); 947 Uri uri, String mimeTypeFilter, Bundle opts, CancellationSignal signal) 949 return openTypedAssetFileImpl(uri, mimeTypeFilter, opts, signal); 1005 Uri uri, String mimeTypeFilter, Bundle opts, CancellationSignal signal) 1009 if (opts != null && opts.containsKey(ContentResolver.EXTRA_SIZE)) { 1010 final Point sizeHint = opts 546 openTypedDocument( String documentId, String mimeTypeFilter, Bundle opts, CancellationSignal signal) argument 946 openTypedAssetFile( Uri uri, String mimeTypeFilter, Bundle opts, CancellationSignal signal) argument 1004 openTypedAssetFileImpl( Uri uri, String mimeTypeFilter, Bundle opts, CancellationSignal signal) argument [all...] |
/frameworks/base/libs/hwui/tests/microbench/ |
H A D | FrameBuilderBench.cpp | 98 TestScene::Options opts; local 99 std::unique_ptr<TestScene> scene(TestScene::testMap()[sceneName].createScene(opts));
|