/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));
|
/frameworks/base/core/java/android/app/ |
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/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/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/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/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/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/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)) {
|
H A D | RecentsTaskLoader.java | 343 RecentsTaskLoadPlan.Options opts) { 344 if (opts == null) { 347 plan.executePlan(opts, this, mLoadQueue); 348 if (!opts.onlyLoadForCache) { 349 mNumVisibleTasksLoaded = opts.numVisibleTasks; 350 mNumVisibleThumbnailsLoaded = opts.numVisibleTaskThumbnails; 342 loadTasks(Context context, RecentsTaskLoadPlan plan, RecentsTaskLoadPlan.Options opts) argument
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
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
|
H A D | StyledCornersBitmapDrawable.java | 84 boolean limitDensity, ExtendedOptions opts, float cornerRoundRadius, 86 super(res, cache, limitDensity, opts); 83 StyledCornersBitmapDrawable(Resources res, BitmapCache cache, boolean limitDensity, ExtendedOptions opts, float cornerRoundRadius, float cornerFlapSide) argument
|
/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/ |
H A D | ContentProviderClient.java | 398 @NonNull String mimeType, @Nullable Bundle opts) 400 return openTypedAssetFileDescriptor(uri, mimeType, opts, null); 405 @NonNull String mimeType, @Nullable Bundle opts, @Nullable CancellationSignal signal) 419 mPackageName, uri, mimeType, opts, remoteSignal); 397 openTypedAssetFileDescriptor(@onNull Uri uri, @NonNull String mimeType, @Nullable Bundle opts) argument 404 openTypedAssetFileDescriptor(@onNull Uri uri, @NonNull String mimeType, @Nullable Bundle opts, @Nullable CancellationSignal signal) argument
|
H A D | ContentProviderNative.java | 308 Bundle opts = data.readBundle(); 313 fd = openTypedAssetFile(callingPkg, url, mimeType, opts, signal); 678 Bundle opts, ICancellationSignal signal) throws RemoteException, FileNotFoundException { 687 data.writeBundle(opts); 677 openTypedAssetFile(String callingPkg, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument
|
H A D | IContentProvider.java | 71 Bundle opts, ICancellationSignal signal) throws RemoteException, FileNotFoundException; 70 openTypedAssetFile(String callingPkg, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument
|
/frameworks/base/core/java/android/service/trust/ |
H A D | TrustAgentService.java | 133 ConfigurationData(List<PersistableBundle> opts, IBinder t) { argument 134 options = opts;
|
/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/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/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
|
H A D | MockIContentProvider.java | 110 Bundle opts, ICancellationSignal signal) throws RemoteException, FileNotFoundException { 109 openTypedAssetFile(String callingPackage, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument
|
/frameworks/av/media/libmedia/ |
H A D | IMediaSource.cpp | 299 ReadOptions opts; local 302 len == sizeof(opts) && data.read((void*)&opts, len) == NO_ERROR) { 303 ret = read(&buf, &opts);
|
/frameworks/base/core/java/android/provider/ |
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/packages/SystemUI/src/com/android/systemui/recents/ |
H A D | RecentsActivity.java | 141 public LaunchHomeRunnable(Intent launchIntent, ActivityOptions opts) { argument 143 mOpts = opts; 150 ActivityOptions opts = mOpts; 151 if (opts == null) { 152 opts = ActivityOptions.makeCustomAnimation(RecentsActivity.this, 155 startActivityAsUser(mLaunchIntent, opts.toBundle(), UserHandle.CURRENT);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | DecorToolbar.java | 70 void setDisplayOptions(int opts); argument
|