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

12

/frameworks/base/core/java/android/app/
H A DBroadcastOptions.java41 BroadcastOptions opts = new BroadcastOptions();
42 return opts;
49 public BroadcastOptions(Bundle opts) { argument
50 mTemporaryAppWhitelistDuration = opts.getLong(KEY_TEMPORARY_APP_WHITELIST_DURATION);
H A DActivityOptions.java223 ActivityOptions opts = new ActivityOptions();
224 opts.mPackageName = context.getPackageName();
225 opts.mAnimationType = ANIM_CUSTOM;
226 opts.mCustomEnterResId = enterResId;
227 opts.mCustomExitResId = exitResId;
228 opts.setOnAnimationStartedListener(handler, listener);
229 return opts;
249 ActivityOptions opts = new ActivityOptions();
250 opts.mPackageName = context.getPackageName();
251 opts
627 ActivityOptions(Bundle opts) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapFactory_Delegate.java52 @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/base/native/android/
H A Dlooper.cpp40 ALooper* ALooper_prepare(int opts) { argument
41 return Looper_to_ALooper(Looper::prepare(opts).get());
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DRecentsTaskLoadPlan.java197 synchronized void executePlan(Options opts, RecentsTaskLoader loader, argument
199 if (DEBUG) Log.d(TAG, "executePlan, # tasks: " + opts.numVisibleTasks +
200 ", # thumbnails: " + opts.numVisibleTaskThumbnails +
201 ", running task id: " + opts.runningTaskId);
226 boolean isRunningTask = (task.key.id == opts.runningTaskId);
227 boolean isVisibleTask = i >= (taskCount - opts.numVisibleTasks);
228 boolean isVisibleThumbnail = i >= (taskCount - opts.numVisibleTaskThumbnails);
231 if (opts.onlyLoadPausedActivities && isRunningTask) {
235 if (opts.loadIcons && (isRunningTask || isVisibleTask)) {
242 if (opts
[all...]
H A DRecentsTaskLoader.java473 RecentsTaskLoadPlan.Options opts) {
474 if (opts == null) {
477 plan.executePlan(opts, this, mLoadQueue);
478 if (!opts.onlyLoadForCache) {
479 mNumVisibleTasksLoaded = opts.numVisibleTasks;
480 mNumVisibleThumbnailsLoaded = opts.numVisibleTaskThumbnails;
472 loadTasks(Context context, RecentsTaskLoadPlan plan, RecentsTaskLoadPlan.Options opts) argument
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DCircularBitmapDrawable.java54 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 DTileDrawable.java45 ExtendedOptions opts) {
46 mOpts = opts;
44 TileDrawable(Drawable inner, int innerWidth, int innerHeight, int fadeOutDurationMs, ExtendedOptions opts) argument
H A DStyledCornersBitmapDrawable.java84 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
H A DExtendedBitmapDrawable.java74 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...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DImageUtils.java107 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 DContentProviderClient.java379 @NonNull String mimeType, @Nullable Bundle opts)
381 return openTypedAssetFileDescriptor(uri, mimeType, opts, null);
386 @NonNull String mimeType, @Nullable Bundle opts, @Nullable CancellationSignal signal)
400 mPackageName, uri, mimeType, opts, remoteSignal);
378 openTypedAssetFileDescriptor(@onNull Uri uri, @NonNull String mimeType, @Nullable Bundle opts) argument
385 openTypedAssetFileDescriptor(@onNull Uri uri, @NonNull String mimeType, @Nullable Bundle opts, @Nullable CancellationSignal signal) argument
H A DContentProviderNative.java308 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 DIContentProvider.java71 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/content/pm/
H A DLauncherApps.java215 * @param opts Options to pass to startActivity
218 Bundle opts) {
223 mService.startActivityAsUser(component, sourceBounds, opts, user);
236 * @param opts Options to pass to startActivity
239 Rect sourceBounds, Bundle opts) {
241 mService.showAppDetailsAsUser(component, sourceBounds, opts, user);
217 startMainActivity(ComponentName component, UserHandle user, Rect sourceBounds, Bundle opts) argument
238 startAppDetailsActivity(ComponentName component, UserHandle user, Rect sourceBounds, Bundle opts) argument
/frameworks/base/core/java/android/provider/
H A DDocumentsProvider.java765 public final AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts) argument
768 if (opts != null && opts.containsKey(ContentResolver.EXTRA_SIZE)) {
769 final Point sizeHint = opts.getParcelable(ContentResolver.EXTRA_SIZE);
772 return super.openTypedAssetFile(uri, mimeTypeFilter, opts);
783 Uri uri, String mimeTypeFilter, Bundle opts, CancellationSignal signal)
786 if (opts != null && opts.containsKey(ContentResolver.EXTRA_SIZE)) {
787 final Point sizeHint = opts.getParcelable(ContentResolver.EXTRA_SIZE);
790 return super.openTypedAssetFile(uri, mimeTypeFilter, opts, signa
782 openTypedAssetFile( Uri uri, String mimeTypeFilter, Bundle opts, CancellationSignal signal) argument
[all...]
/frameworks/base/core/java/android/service/trust/
H A DTrustAgentService.java133 ConfigurationData(List<PersistableBundle> opts, IBinder t) { argument
134 options = opts;
/frameworks/base/graphics/java/android/graphics/
H A DBitmapFactory.java380 * @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/services/core/java/com/android/server/pm/
H A DLauncherAppsService.java265 Bundle opts, UserHandle user) throws RemoteException {
300 mContext.startActivityAsUser(launchIntent, opts, user);
313 Bundle opts, UserHandle user) throws RemoteException {
328 mContext.startActivityAsUser(intent, opts, user);
264 startActivityAsUser(ComponentName component, Rect sourceBounds, Bundle opts, UserHandle user) argument
312 showAppDetailsAsUser(ComponentName component, Rect sourceBounds, Bundle opts, UserHandle user) argument
/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.java110 Bundle opts, ICancellationSignal signal) throws RemoteException, FileNotFoundException {
109 openTypedAssetFile(String callingPackage, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsActivity.java102 public FinishRecentsRunnable(Intent launchIntent, ActivityOptions opts) { argument
104 mLaunchOpts = opts;
654 Bundle opts = new Bundle();
655 opts.putInt(AppWidgetManager.OPTION_APPWIDGET_HOST_CATEGORY,
657 mSearchWidgetHostView.updateAppWidgetOptions(opts);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DDecorToolbar.java70 void setDisplayOptions(int opts); argument
/frameworks/base/core/java/com/android/internal/widget/
H A DDecorToolbar.java76 void setDisplayOptions(int opts); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DSystemServicesProxy.java376 public void moveTaskToFront(int taskId, ActivityOptions opts) { argument
380 if (opts != null) {
382 opts.toBundle());
612 Bundle opts = new Bundle();
613 opts.putInt(AppWidgetManager.OPTION_APPWIDGET_HOST_CATEGORY,
615 if (!mAwm.bindAppWidgetIdIfAllowed(searchWidgetId, resolvedSearchWidgetInfo.provider, opts)) {
683 public void startInPlaceAnimationOnFrontMostApplication(ActivityOptions opts) { argument
687 mIam.startInPlaceAnimationOnFrontMostApplication(opts);

Completed in 528 milliseconds

12