/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 | 56 BroadcastOptions opts = new BroadcastOptions(); 57 return opts; 64 public BroadcastOptions(Bundle opts) { argument 65 mTemporaryAppWhitelistDuration = opts.getLong(KEY_TEMPORARY_APP_WHITELIST_DURATION); 66 mMinManifestReceiverApiLevel = opts.getInt(KEY_MIN_MANIFEST_RECEIVER_API_LEVEL, 0); 67 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/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/libs/hwui/tests/macrobench/ |
H A D | TestSceneRunner.cpp | 66 void outputBenchmarkReport(const TestScene::Info& info, const TestScene::Options& opts, argument 89 report.iterations = static_cast<int64_t>(opts.count); 92 report.items_per_second = opts.count / durationInS; 99 if (!opts.renderOffscreen) { 113 void run(const TestScene::Info& info, const TestScene::Options& opts, argument 118 std::unique_ptr<TestScene> scene(info.createScene(opts)); 122 testContext.setRenderOffscreen(opts.renderOffscreen); 146 if (opts.renderOffscreen) { 160 ModifiedMovingAverage<double> avgMs(opts.reportFrametimeWeight); 163 for (int i = 0; i < opts [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
H A D | RecentsTaskLoadPlan.java | 231 void executePlan(Options opts, RecentsTaskLoader loader) { argument 241 boolean isRunningTask = (task.key.id == opts.runningTaskId); 242 boolean isVisibleTask = i >= (taskCount - opts.numVisibleTasks); 243 boolean isVisibleThumbnail = i >= (taskCount - opts.numVisibleTaskThumbnails); 246 if (opts.onlyLoadPausedActivities && isRunningTask) { 250 if (opts.loadIcons && (isRunningTask || isVisibleTask)) { 256 if (opts.loadThumbnails && isVisibleThumbnail) {
|
/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
|
/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/support/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/view/inputmethod/ |
H A D | CommitContentSupport.java | 111 Bundle opts, String[] contentMimeTypes) { 217 int flags, Bundle opts) { 219 inputContentInfo, flags, opts, mimeTypes); 110 onCommitContent(InputContentInfoCompat inputContentInfo, int flags, Bundle opts, String[] contentMimeTypes) argument
|
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/view/inputmethod/ |
H A D | CommitContentSupport.java | 111 Bundle opts, String[] contentMimeTypes) { 217 int flags, Bundle opts) { 219 inputContentInfo, flags, opts, mimeTypes); 110 onCommitContent(InputContentInfoCompat inputContentInfo, int flags, Bundle opts, String[] contentMimeTypes) argument
|
/frameworks/support/v13/java/android/support/v13/view/inputmethod/ |
H A D | InputConnectionCompat.java | 41 @NonNull InputContentInfoCompat inputContentInfo, int flags, @Nullable Bundle opts); 68 @Nullable Bundle opts) { 74 params.putParcelable(COMMIT_CONTENT_OPTS_KEY, opts); 120 final Bundle opts = data.getParcelable(COMMIT_CONTENT_OPTS_KEY); 123 result = onCommitContentListener.onCommitContent(inputContentInfo, flags, opts); 139 @Nullable Bundle opts) { 141 flags, opts); 153 Bundle opts) { 155 flags, opts)) { 158 return super.commitContent(inputContentInfo, flags, opts); 40 commitContent(@onNull InputConnection inputConnection, @NonNull InputContentInfoCompat inputContentInfo, int flags, @Nullable Bundle opts) argument 66 commitContent(@onNull InputConnection inputConnection, @NonNull InputContentInfoCompat inputContentInfo, int flags, @Nullable Bundle opts) argument 137 commitContent(@onNull InputConnection inputConnection, @NonNull InputContentInfoCompat inputContentInfo, int flags, @Nullable Bundle opts) argument 184 commitContent(@onNull InputConnection inputConnection, @NonNull EditorInfo editorInfo, @NonNull InputContentInfoCompat inputContentInfo, int flags, @Nullable Bundle opts) argument 245 onCommitContent(InputContentInfoCompat inputContentInfo, int flags, Bundle opts) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderNative.java | 297 Bundle opts = data.readBundle(); 302 fd = openTypedAssetFile(callingPkg, url, mimeType, opts, signal); 684 Bundle opts, ICancellationSignal signal) throws RemoteException, FileNotFoundException { 693 data.writeBundle(opts); 683 openTypedAssetFile(String callingPkg, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument
|
H A D | IContentProvider.java | 74 Bundle opts, ICancellationSignal signal) throws RemoteException, FileNotFoundException; 73 openTypedAssetFile(String callingPkg, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument
|
H A D | ContentProviderClient.java | 425 @NonNull String mimeType, @Nullable Bundle opts) 427 return openTypedAssetFileDescriptor(uri, mimeType, opts, null); 432 @NonNull String mimeType, @Nullable Bundle opts, @Nullable CancellationSignal signal) 446 mPackageName, uri, mimeType, opts, remoteSignal); 424 openTypedAssetFileDescriptor(@onNull Uri uri, @NonNull String mimeType, @Nullable Bundle opts) argument 431 openTypedAssetFileDescriptor(@onNull Uri uri, @NonNull String mimeType, @Nullable Bundle opts, @Nullable CancellationSignal signal) argument
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputConnection.java | 896 * @param opts optional bundle data. This can be {@code null}. 901 @Nullable Bundle opts); 900 commitContent(@onNull InputContentInfo inputContentInfo, int flags, @Nullable Bundle opts) argument
|
H A D | InputConnectionWrapper.java | 277 public boolean commitContent(InputContentInfo inputContentInfo, int flags, Bundle opts) { argument 278 return mTarget.commitContent(inputContentInfo, flags, opts);
|
H A D | BaseInputConnection.java | 857 public boolean commitContent(InputContentInfo inputContentInfo, int flags, Bundle opts) { argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapFactory.java | 433 static void validate(Options opts) { argument 434 if (opts == null) return; 436 if (opts.inMutable && opts.inPreferredConfig == Bitmap.Config.HARDWARE) { 440 if (opts.inPreferredColorSpace != null) { 441 if (!(opts.inPreferredColorSpace instanceof ColorSpace.Rgb)) { 445 if (((ColorSpace.Rgb) opts.inPreferredColorSpace).getTransferParameters() == null) { 458 * @param opts null-ok; Options that control downsampling and whether the 461 * decoded, or, if opts is non-null, if opts requeste 469 decodeFile(String pathName, Options opts) argument 513 decodeResourceStream(Resources res, TypedValue value, InputStream is, Rect pad, Options opts) argument 553 decodeResource(Resources res, int id, Options opts) argument 613 decodeByteArray(byte[] data, int offset, int length, Options opts) argument 652 setDensityFromOptions(Bitmap outputBitmap, Options opts) argument 702 decodeStream(InputStream is, Rect outPadding, Options opts) argument 737 decodeStreamInternal(InputStream is, Rect outPadding, Options opts) argument 778 decodeFileDescriptor(FileDescriptor fd, Rect outPadding, Options opts) argument 820 nativeDecodeStream(InputStream is, byte[] storage, Rect padding, Options opts) argument 822 nativeDecodeFileDescriptor(FileDescriptor fd, Rect padding, Options opts) argument 824 nativeDecodeAsset(long nativeAsset, Rect padding, Options opts) argument 825 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 | 145 final ActivityOptions opts = ActivityOptions.makeMultiThumbFutureAspectScaleAnimation(mContext, 151 startTaskActivity(stack, task, taskView, opts, transitionFuture, destinationStack); 159 startTaskActivity(stack, task, taskView, opts, transitionFuture, 166 startTaskActivity(stack, task, taskView, opts, transitionFuture, destinationStack); 198 ActivityOptions opts, AppTransitionAnimationSpecsFuture transitionFuture, 201 ssp.startActivityFromRecents(mContext, task.key, task.title, opts, destinationStack, 197 startTaskActivity(TaskStack stack, Task task, @Nullable TaskView taskView, ActivityOptions opts, AppTransitionAnimationSpecsFuture transitionFuture, int destinationStack) argument
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContentProvider.java | 132 String mimeType, Bundle opts, ICancellationSignal signal) 134 return MockContentProvider.this.openTypedAssetFile(url, mimeType, opts); 258 public AssetFileDescriptor openTypedAssetFile(Uri url, String mimeType, Bundle opts) { argument 131 openTypedAssetFile(String callingPackage, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument
|
H A D | MockIContentProvider.java | 123 Bundle opts, ICancellationSignal signal) throws RemoteException, FileNotFoundException { 122 openTypedAssetFile(String callingPackage, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument
|
/frameworks/av/media/libmedia/ |
H A D | IMediaSource.cpp | 333 ReadOptions opts; local 337 && len == sizeof(opts) 338 && data.read((void *)&opts, len) == NO_ERROR; 347 ret = read(&buf, useOptions ? &opts : nullptr); 348 opts.clearNonPersistent(); // Remove options that only apply to first buffer.
|
/frameworks/base/core/java/android/service/trust/ |
H A D | TrustAgentService.java | 169 ConfigurationData(List<PersistableBundle> opts, IBinder t) { argument 170 options = opts;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
H A D | RecentsActivity.java | 144 public LaunchHomeRunnable(Intent launchIntent, ActivityOptions opts) { argument 146 mOpts = opts; 153 ActivityOptions opts = mOpts; 154 if (opts == null) { 155 opts = ActivityOptions.makeCustomAnimation(RecentsActivity.this, 158 startActivityAsUser(mLaunchIntent, opts.toBundle(), UserHandle.CURRENT);
|