Searched refs:opts (Results 1 - 25 of 52) sorted by path

123

/frameworks/base/core/java/android/app/
H A DActivityOptions.java192 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/core/java/android/content/
H A DContentProvider.java382 Bundle opts, ICancellationSignal cancellationSignal) throws FileNotFoundException {
389 uri, mimeType, opts, CancellationSignal.fromTransport(cancellationSignal));
1465 * @param opts Additional options from the client. The definitions of
1482 public AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts) argument
1526 * @param opts Additional options from the client. The definitions of
1550 Uri uri, String mimeTypeFilter, Bundle opts, CancellationSignal signal)
1552 return openTypedAssetFile(uri, mimeTypeFilter, opts);
1570 * @param opts Options supplied by caller.
1574 Bundle opts, T args);
1586 * @param opts Option
381 openTypedAssetFile(String callingPkg, Uri uri, String mimeType, Bundle opts, ICancellationSignal cancellationSignal) argument
1549 openTypedAssetFile( Uri uri, String mimeTypeFilter, Bundle opts, CancellationSignal signal) argument
1573 writeDataToPipe(ParcelFileDescriptor output, Uri uri, String mimeType, Bundle opts, T args) argument
1594 openPipeHelper(final Uri uri, final String mimeType, final Bundle opts, final T args, final PipeDataWriter<T> func) argument
[all...]
H A DContentProviderClient.java344 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
H A DContentProviderNative.java307 Bundle opts = data.readBundle();
312 fd = openTypedAssetFile(callingPkg, url, mimeType, opts, signal);
675 Bundle opts, ICancellationSignal signal) throws RemoteException, FileNotFoundException {
684 data.writeBundle(opts);
674 openTypedAssetFile(String callingPkg, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument
H A DContentResolver.java1016 * @param opts Additional provider-dependent options.
1026 Uri uri, String mimeType, Bundle opts) throws FileNotFoundException {
1027 return openTypedAssetFileDescriptor(uri, mimeType, opts, null);
1049 * @param opts Additional provider-dependent options.
1062 String mimeType, Bundle opts, CancellationSignal cancellationSignal)
1081 mPackageName, uri, mimeType, opts, remoteCancellationSignal);
1096 mPackageName, uri, mimeType, opts, remoteCancellationSignal);
1025 openTypedAssetFileDescriptor( Uri uri, String mimeType, Bundle opts) argument
1061 openTypedAssetFileDescriptor(Uri uri, String mimeType, Bundle opts, CancellationSignal cancellationSignal) argument
H A DIContentProvider.java68 Bundle opts, ICancellationSignal signal) throws RemoteException, FileNotFoundException;
67 openTypedAssetFile(String callingPkg, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument
/frameworks/base/core/java/android/content/pm/
H A DILauncherApps.aidl37 in Bundle opts, in UserHandle user);
39 in Bundle opts, in UserHandle user);
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 DDocumentsContract.java842 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...]
H A DDocumentsProvider.java762 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...]
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java211 ActivityOptions opts = ActivityOptions.makeScaleUpAnimation(view,
217 Intent.FLAG_ACTIVITY_NEW_TASK, 0, opts.toBundle());
/frameworks/base/core/java/com/android/internal/widget/
H A DDecorToolbar.java73 void setDisplayOptions(int opts); argument
H A DToolbarWidgetWrapper.java199 int opts = ActionBar.DISPLAY_SHOW_TITLE | ActionBar.DISPLAY_SHOW_HOME |
202 opts |= ActionBar.DISPLAY_HOME_AS_UP;
205 return opts;
/frameworks/base/core/tests/overlaytests/
H A Dtestrunner.py555 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/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/graphics/java/android/graphics/drawable/
H A DDrawable.java950 InputStream is, String srcName, BitmapFactory.Options opts) {
970 if (opts == null) opts = new BitmapFactory.Options();
971 opts.inScreenDensity = res != null
973 Bitmap bm = BitmapFactory.decodeResourceStream(res, value, is, pad, opts);
949 createFromResourceStream(Resources res, TypedValue value, InputStream is, String srcName, BitmapFactory.Options opts) argument
/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/Keyguard/src/com/android/keyguard/
H A DKeyguardHostView.java528 ActivityOptions opts = ActivityOptions.makeScaleUpAnimation(view,
534 Intent.FLAG_ACTIVITY_NEW_TASK, 0, opts.toBundle());
H A DKeyguardViewBase.java455 final ActivityOptions opts = ActivityOptions.makeCustomAnimation(mContext,
460 mActivityLauncher.launchActivityWithAnimation(intent, false, opts.toBundle(), null, null);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDessertCaseView.java166 final BitmapFactory.Options opts = new BitmapFactory.Options();
168 opts.inSampleSize = 2;
170 opts.inMutable = true;
174 opts.inBitmap = loaded;
175 loaded = BitmapFactory.decodeResource(res, resid, opts);
H A DSearchPanelView.java94 final ActivityOptions opts = ActivityOptions.makeCustomAnimation(mContext,
100 mContext.startActivityAsUser(intent, opts.toBundle(),
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecents.java112 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));
H A DRecentsPanelView.java674 Bundle opts = (bm == null) ?
683 opts);
691 context.startActivityAsUser(intent, opts,
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DAlternateRecentsComponent.java494 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...]
H A DRecentsActivity.java97 public FinishRecentsRunnable(Intent launchIntent, ActivityOptions opts) { argument
99 mLaunchOpts = opts;
302 Bundle opts = new Bundle();
303 opts.putInt(AppWidgetManager.OPTION_APPWIDGET_HOST_CATEGORY,
305 mSearchAppWidgetHostView.updateAppWidgetOptions(opts);

Completed in 891 milliseconds

123