/packages/apps/WallpaperPicker/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 153 BitmapFactory.Options opts = new BitmapFactory.Options(); in loadInBackground() local 154 opts.inPreferredConfig = Bitmap.Config.ARGB_8888; in loadInBackground() 155 opts.inPreferQualityOverSpeed = true; in loadInBackground() 158 opts.inSampleSize = Utils.computeSampleSizeLarger(scale); in loadInBackground() 159 opts.inJustDecodeBounds = false; in loadInBackground() 160 opts.inMutable = true; in loadInBackground() 163 int expectedPixles = (width / opts.inSampleSize) * (height / opts.inSampleSize); in loadInBackground() 167 opts.inBitmap = reusableBitmap; in loadInBackground() 169 mPreview = loadPreviewBitmap(opts); in loadInBackground() 172 opts.inBitmap = null; in loadInBackground() [all …]
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | PhotoDataFactory.java | 95 BitmapFactory.Options opts = new BitmapFactory.Options(); in decodeBitmapDimensions() local 96 opts.inJustDecodeBounds = true; in decodeBitmapDimensions() 97 BitmapFactory.decodeFile(filePath, opts); in decodeBitmapDimensions() 98 if (opts.outWidth > 0 && opts.outHeight > 0) { in decodeBitmapDimensions() 99 width = opts.outWidth; in decodeBitmapDimensions() 100 height = opts.outHeight; in decodeBitmapDimensions()
|
D | FilmstripItemUtils.java | 127 BitmapFactory.Options opts = new BitmapFactory.Options(); in loadImageThumbnailFromStream() local 128 opts.inSampleSize = sampleSize; in loadImageThumbnailFromStream() 129 opts.inTempStorage = decodeBuffer; in loadImageThumbnailFromStream() 130 Bitmap b = BitmapFactory.decodeStream(stream, null, opts); in loadImageThumbnailFromStream()
|
/packages/apps/Messaging/tools/ |
D | buglesql | 20 opts='-column -header' 26 opts='-column -header' 30 opts='-line' 43 adb shell su -c sqlite3 $opts data/data/com.android.messaging/databases/bugle_db "$1"
|
D | mmssql | 20 opts='-column -header' 26 opts='-column -header' 30 opts='-line' 43 adb shell su -c sqlite3 $opts data/data/com.android.providers.telephony/databases/mmssms.db "$1"
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | BitmapUtility.java | 34 BitmapFactory.Options opts = new BitmapFactory.Options(); in bitmapFromJpeg() local 35 opts.inSampleSize = 16; // 3264 / 16 = 204. in bitmapFromJpeg() 36 opts.inTempStorage = decodeBuffer; in bitmapFromJpeg() 37 Bitmap b = BitmapFactory.decodeByteArray(data, 0, data.length, opts); in bitmapFromJpeg()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/ |
D | PictureDecoder.java | 36 final BitmapFactory.Options opts = new BitmapFactory.Options(); in decode() local 37 opts.inSampleSize = downSampleFactor; in decode() 38 final Bitmap pictureBitmap = BitmapFactory.decodeByteArray(data, 0, data.length, opts); in decode()
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | ForwardingContentProvider.java | 172 Bundle opts) { in openTypedAssetFileDescriptor() argument 174 return mClient.openTypedAssetFileDescriptor(uri, mimeType, opts); in openTypedAssetFileDescriptor() 181 Bundle opts, CancellationSignal signal) { in openTypedAssetFileDescriptor() argument 183 return mClient.openTypedAssetFileDescriptor(uri, mimeType, opts, signal); in openTypedAssetFileDescriptor()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | DynamicShortcuts.java | 387 final BitmapFactory.Options opts = new BitmapFactory.Options(); in decodeStreamForShortcut() local 388 opts.inSampleSize = sampleSize; in decodeStreamForShortcut() 390 final int scaledWidth = sourceWidth / opts.inSampleSize; in decodeStreamForShortcut() 391 final int scaledHeight = sourceHeight / opts.inSampleSize; in decodeStreamForShortcut() 401 final int prescaledXOffset = ((scaledWidth - targetSize) * opts.inSampleSize) / 2; in decodeStreamForShortcut() 402 final int prescaledYOffset = ((scaledHeight - targetSize) * opts.inSampleSize) / 2; in decodeStreamForShortcut() 407 ), opts); in decodeStreamForShortcut()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VehicleHal.java | 370 SubscribeOptions opts = new SubscribeOptions(); in subscribeProperty() local 371 opts.propId = property; in subscribeProperty() 372 opts.sampleRate = samplingRateHz; in subscribeProperty() 373 opts.flags = flags; in subscribeProperty() 376 mSubscribedProperties.put(property, opts); in subscribeProperty() 379 mHalClient.subscribe(opts); in subscribeProperty() 551 SubscribeOptions opts = mSubscribedProperties.get(propId); in getSampleRate() local 552 if (opts == null) { in getSampleRate() 556 return opts.sampleRate; in getSampleRate()
|
/packages/apps/Launcher3/src/com/android/launcher3/qsb/ |
D | QsbContainerView.java | 199 Bundle opts = createBindOptions(); in createQsb() local 217 widgetId, mWidgetInfo.getProfile(), mWidgetInfo.provider, opts); in createQsb() 235 .getAppWidgetOptions(widgetId), opts)) { in createQsb() 236 mQsb.updateAppWidgetOptions(opts); in createQsb()
|
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/ |
D | BluetoothMapEmailProvider.java | 127 void readDataFromPipe(ParcelFileDescriptor input, Uri uri, String mimeType, Bundle opts, in readDataFromPipe() argument 138 Bundle opts, Cursor args) { in readDataFromPipe() argument 184 Bundle opts, Cursor c) { in writeDataToPipe() argument 368 final Bundle opts, final T args, final PipeDataReader<T> func) in openInversePipeHelper() argument 376 func.readDataFromPipe(fds[0], uri, mimeType, opts, args); in openInversePipeHelper()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | ConfigDialogFragment.java | 135 final Bundle opts = new Bundle(); in onClick() local 136 opts.putParcelable(ARG_PROFILE, profile); in onClick() 138 /* from */ wasLockdown, /* to */ shouldLockdown, opts); in onClick()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | BaseQuickstepLauncher.java | 460 public void addLaunchCookie(ItemInfo info, ActivityOptions opts) { in addLaunchCookie() argument 476 opts.setLaunchCookie(ObjectWrapper.wrap(NO_MATCHING_ID)); in addLaunchCookie() 488 opts.setLaunchCookie(ObjectWrapper.wrap(NO_MATCHING_ID)); in addLaunchCookie() 491 opts.setLaunchCookie(ObjectWrapper.wrap(new Integer(info.id))); in addLaunchCookie()
|
/packages/modules/adb/daemon/ |
D | main.cpp | 306 static struct option opts[] = { in main() local 314 int c = getopt_long(argc, argv, "", opts, &option_index); in main()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaDocumentsProvider.java | 1062 final Bundle opts = new Bundle(); in openFileForRead() local 1063 opts.putInt(MediaStore.EXTRA_MEDIA_CAPABILITIES_UID, callingUid); in openFileForRead() 1067 opts); in openFileForRead() 1501 final Bundle opts = new Bundle(); in openOrCreateImageThumbnailCleared() local 1502 opts.putParcelable(EXTRA_SIZE, size); in openOrCreateImageThumbnailCleared() 1505 return getContext().getContentResolver().openTypedAssetFile(uri, "image/*", opts, signal); in openOrCreateImageThumbnailCleared() 1538 final Bundle opts = new Bundle(); in openOrCreateVideoThumbnailCleared() local 1539 opts.putParcelable(EXTRA_SIZE, size); in openOrCreateVideoThumbnailCleared() 1542 return getContext().getContentResolver().openTypedAssetFile(uri, "image/*", opts, signal); in openOrCreateVideoThumbnailCleared()
|
D | MediaProvider.java | 7087 @Nullable Bundle opts) 7089 opts = opts == null ? new Bundle() : opts; 7091 opts.remove(QUERY_ARG_REDACTED_URI); 7093 opts.putParcelable(QUERY_ARG_REDACTED_URI, uri); 7136 return openFileAndEnforcePathPermissionsHelper(uri, match, mode, signal, opts); 7140 public AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts) 7142 return openTypedAssetFileCommon(uri, mimeTypeFilter, opts, null); 7146 public AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts, 7148 return openTypedAssetFileCommon(uri, mimeTypeFilter, opts, signal); 7152 Bundle opts, CancellationSignal signal) throws FileNotFoundException { [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | TaskView.java | 608 ActivityOptionsWrapper opts = mActivity.getActivityLaunchOptions(this, null); in launchTaskAnimated() local 610 .startActivityFromRecents(mTask.key, opts.options)) { in launchTaskAnimated() 618 return opts.onEndCallback; in launchTaskAnimated() 644 ActivityOptions opts = ActivityOptionsCompat.makeCustomAnimation( in launchTask() local 647 ActivityOptionsCompat.setFreezeRecentTasksList(opts); in launchTask() 651 if (!ActivityManagerWrapper.getInstance().startActivityFromRecents(key, opts)) { in launchTask()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | PackageManagerHelper.java | 211 public void startDetailsActivityForInfo(ItemInfo info, Rect sourceBounds, Bundle opts) { in startDetailsActivityForInfo() argument 232 mLauncherApps.startAppDetailsActivity(componentName, info.user, sourceBounds, opts); in startDetailsActivityForInfo()
|
/packages/apps/QuickSearchBox/tests/naughty/src/com/android/quicksearchbox/tests/naughty/ |
D | NaughtySuggestionProvider.java | 59 public AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts) { in openTypedAssetFile() argument
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | DatabaseWidgetPreviewLoader.java | 326 BitmapFactory.Options opts = new BitmapFactory.Options(); in readFromDb() local 327 opts.inBitmap = recycle; in readFromDb() 330 return BitmapFactory.decodeByteArray(blob, 0, blob.length, opts); in readFromDb()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | MmsFileProvider.java | 109 Bundle opts, Cursor c) { in writeDataToPipe() argument
|
/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainService.java | 999 BroadcastOptions opts = BroadcastOptions.makeBasic(); in broadcastLegacyStorageChange() local 1000 opts.setMaxManifestReceiverApiLevel(Build.VERSION_CODES.N_MR1); in broadcastLegacyStorageChange() 1001 sendBroadcastAsUser(intent, UserHandle.of(UserHandle.myUserId()), null, opts.toBundle()); in broadcastLegacyStorageChange()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | README.txt | 47 …- Setup wizard opts user into allowing scanning for improved location. We show no further dialogs …
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/audio_util/ |
D | ImageTest.java | 94 public AssetFileDescriptor openTypedAssetFile(Uri url, String mimeType, Bundle opts) { in setUp()
|