/frameworks/base/libs/hwui/tests/microbench/ |
H A D | FrameBuilderBench.cpp | 97 TestScene::Options opts; local 98 std::unique_ptr<TestScene> scene(TestScene::testMap()[sceneName].createScene(opts));
|
/frameworks/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 if (opts != null) { 105 opts.inBitmap = null; 111 /*package*/ static Bitmap nativeDecodeAsset(long asset, Rect padding, Options opts) { argument 112 if (opts ! 51 nativeDecodeStream(InputStream is, byte[] storage, @Nullable Rect padding, @Nullable Options opts) argument 102 nativeDecodeFileDescriptor(FileDescriptor fd, Rect padding, Options opts) argument 119 nativeDecodeByteArray(byte[] data, int offset, int length, Options opts) argument 138 setDensityFromOptions(Bitmap outputBitmap, Options opts) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | BroadcastOptions.java | 63 BroadcastOptions opts = new BroadcastOptions(); 64 return opts; 71 public BroadcastOptions(Bundle opts) { argument 72 mTemporaryAppWhitelistDuration = opts.getLong(KEY_TEMPORARY_APP_WHITELIST_DURATION); 73 mMinManifestReceiverApiLevel = opts.getInt(KEY_MIN_MANIFEST_RECEIVER_API_LEVEL, 0); 74 mMaxManifestReceiverApiLevel = opts.getInt(KEY_MAX_MANIFEST_RECEIVER_API_LEVEL, 76 mDontSendToRestrictedApps = opts.getBoolean(KEY_DONT_SEND_TO_RESTRICTED_APPS, false);
|
/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/support/compat/src/main/java/androidx/core/view/inputmethod/ |
H A D | InputConnectionCompat.java | 73 final Bundle opts = data.getParcelable(COMMIT_CONTENT_OPTS_KEY); 76 result = onCommitContentListener.onCommitContent(inputContentInfo, flags, opts); 92 * @param opts optional bundle data. This can be {@code null} 98 int flags, @Nullable Bundle opts) { 113 (InputContentInfo) inputContentInfo.unwrap(), flags, opts); 120 params.putParcelable(COMMIT_CONTENT_OPTS_KEY, opts); 164 * @param opts optional bundle data. This can be {@code null} 169 boolean onCommitContent(InputContentInfoCompat inputContentInfo, int flags, Bundle opts); argument 208 Bundle opts) { 210 flags, opts)) { 96 commitContent(@onNull InputConnection inputConnection, @NonNull EditorInfo editorInfo, @NonNull InputContentInfoCompat inputContentInfo, int flags, @Nullable Bundle opts) argument [all...] |
/frameworks/base/libs/hwui/tests/macrobench/ |
H A D | TestSceneRunner.cpp | 64 void outputBenchmarkReport(const TestScene::Info& info, const TestScene::Options& opts, argument 85 report.iterations = static_cast<int64_t>(opts.count); 88 report.items_per_second = opts.count / durationInS; 95 if (!opts.renderOffscreen) { 109 void run(const TestScene::Info& info, const TestScene::Options& opts, argument 116 testContext.setRenderOffscreen(opts.renderOffscreen); 123 std::unique_ptr<TestScene> scene(info.createScene(opts)); 142 if (opts.renderOffscreen) { 156 ModifiedMovingAverage<double> avgMs(opts.reportFrametimeWeight); 159 for (int i = 0; i < opts [all...] |
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
H A D | RecentsTaskLoadPlan.java | 89 public void preloadPlan(PreloadOptions opts, RecentsTaskLoader loader, int runningTaskId, argument 125 String title = opts.loadTitles 128 String titleDescription = opts.loadTitles 167 public void executePlan(Options opts, RecentsTaskLoader loader) { argument 177 boolean isRunningTask = (task.key.id == opts.runningTaskId); 178 boolean isVisibleTask = i >= (taskCount - opts.numVisibleTasks); 179 boolean isVisibleThumbnail = i >= (taskCount - opts.numVisibleTaskThumbnails); 182 if (opts.onlyLoadPausedActivities && isRunningTask) { 186 if (opts.loadIcons && (isRunningTask || isVisibleTask)) { 192 if (opts [all...] |
H A D | RecentsTaskLoader.java | 161 public synchronized void loadTasks(RecentsTaskLoadPlan plan, Options opts) { argument 162 if (opts == null) { 165 if (opts.onlyLoadForCache && opts.loadThumbnails) { 173 plan.executePlan(opts, this); 175 if (!opts.onlyLoadForCache) { 176 mNumVisibleTasksLoaded = opts.numVisibleTasks;
|
/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 | 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 | 434 @NonNull String mimeType, @Nullable Bundle opts) 436 return openTypedAssetFileDescriptor(uri, mimeType, opts, null); 441 @NonNull String mimeType, @Nullable Bundle opts, @Nullable CancellationSignal signal) 455 mPackageName, uri, mimeType, opts, remoteSignal); 433 openTypedAssetFileDescriptor(@onNull Uri uri, @NonNull String mimeType, @Nullable Bundle opts) argument 440 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 | 895 * @param opts optional bundle data. This can be {@code null}. 900 @Nullable Bundle opts); 899 commitContent(@onNull InputContentInfo inputContentInfo, int flags, @Nullable Bundle opts) argument
|
H A D | InputConnectionWrapper.java | 303 public boolean commitContent(InputContentInfo inputContentInfo, int flags, Bundle opts) { argument 304 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 | 438 static void validate(Options opts) { argument 439 if (opts == null) return; 441 if (opts.inBitmap != null && opts.inBitmap.getConfig() == Bitmap.Config.HARDWARE) { 445 if (opts.inMutable && opts.inPreferredConfig == Bitmap.Config.HARDWARE) { 450 if (opts.inPreferredColorSpace != null) { 451 if (!(opts.inPreferredColorSpace instanceof ColorSpace.Rgb)) { 455 if (((ColorSpace.Rgb) opts.inPreferredColorSpace).getTransferParameters() == null) { 468 * @param opts nul 479 decodeFile(String pathName, Options opts) argument 524 decodeResourceStream(@ullable Resources res, @Nullable TypedValue value, @Nullable InputStream is, @Nullable Rect pad, @Nullable Options opts) argument 564 decodeResource(Resources res, int id, Options opts) argument 624 decodeByteArray(byte[] data, int offset, int length, Options opts) argument 663 setDensityFromOptions(Bitmap outputBitmap, Options opts) argument 714 decodeStream(@ullable InputStream is, @Nullable Rect outPadding, @Nullable Options opts) argument 750 decodeStreamInternal(@onNull InputStream is, @Nullable Rect outPadding, @Nullable Options opts) argument 792 decodeFileDescriptor(FileDescriptor fd, Rect outPadding, Options opts) argument 834 nativeDecodeStream(InputStream is, byte[] storage, Rect padding, Options opts) argument 836 nativeDecodeFileDescriptor(FileDescriptor fd, Rect padding, Options opts) argument 838 nativeDecodeAsset(long nativeAsset, Rect padding, Options opts) argument 839 nativeDecodeByteArray(byte[] data, int offset, int length, Options opts) argument [all...] |
/frameworks/base/test-mock/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 | 330 MediaSource::ReadOptions opts; local 334 && len == sizeof(opts) 335 && data.read((void *)&opts, len) == NO_ERROR; 344 ret = read((MediaBufferBase **)&buf, useOptions ? &opts : nullptr); 345 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 | 169 public LaunchHomeRunnable(Intent launchIntent, ActivityOptions opts) { argument 171 mOpts = opts; 178 ActivityOptions opts = mOpts; 179 if (opts == null) { 180 opts = ActivityOptions.makeCustomAnimation(RecentsActivity.this, 183 startActivityAsUser(mLaunchIntent, opts.toBundle(), UserHandle.CURRENT);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | SystemServicesProxy.java | 430 public void startActivityAsUserAsync(Intent intent, ActivityOptions opts) { argument 432 opts != null ? opts.toBundle() : null, UserHandle.CURRENT)); 436 public void startInPlaceAnimationOnFrontMostApplication(ActivityOptions opts) { argument 441 opts == null ? null : opts.toBundle());
|