/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/Launcher3/src/com/android/launcher3/qsb/ |
D | QsbContainerView.java | 200 Bundle opts = createBindOptions(); in createQsb() local 218 widgetId, mWidgetInfo.getProfile(), mWidgetInfo.provider, opts); in createQsb() 236 .getAppWidgetOptions(widgetId), opts)) { in createQsb() 237 mQsb.updateAppWidgetOptions(opts); in createQsb() 296 Bundle opts = new Bundle(); in createBindOptions() local 299 opts.putInt(AppWidgetManager.OPTION_APPWIDGET_MIN_WIDTH, size.left); in createBindOptions() 300 opts.putInt(AppWidgetManager.OPTION_APPWIDGET_MIN_HEIGHT, size.top); in createBindOptions() 301 opts.putInt(AppWidgetManager.OPTION_APPWIDGET_MAX_WIDTH, size.right); in createBindOptions() 302 opts.putInt(AppWidgetManager.OPTION_APPWIDGET_MAX_HEIGHT, size.bottom); in createBindOptions() 303 return opts; in createBindOptions()
|
/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/Launcher3/go/quickstep/src/com/android/quickstep/ |
D | TaskActionController.java | 66 ActivityOptions opts = ActivityOptions.makeClipRevealAnimation(v, left, top, width, height); in launchTaskFromView() local 67 ActivityManagerWrapper.getInstance().startActivityFromRecentsAsync(key, opts, in launchTaskFromView() 78 ActivityOptions opts = ActivityOptions.makeBasic(); in launchTask() local 79 ActivityManagerWrapper.getInstance().startActivityFromRecentsAsync(task.key, opts, in launchTask()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VehicleHal.java | 261 SubscribeOptions opts = new SubscribeOptions(); in subscribeProperty() local 262 opts.propId = property; in subscribeProperty() 263 opts.sampleRate = samplingRateHz; in subscribeProperty() 264 opts.flags = flags; in subscribeProperty() 267 mSubscribedProperties.put(property, opts); in subscribeProperty() 270 mHalClient.subscribe(opts); in subscribeProperty() 382 SubscribeOptions opts = mSubscribedProperties.get(propId); in getSampleRate() local 383 if (opts == null) { in getSampleRate() 387 return opts.sampleRate; in getSampleRate()
|
/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/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/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | ForwardingContentProvider.java | 170 Bundle opts) { in openTypedAssetFileDescriptor() argument 172 return mClient.openTypedAssetFileDescriptor(uri, mimeType, opts); in openTypedAssetFileDescriptor() 179 Bundle opts, CancellationSignal signal) { in openTypedAssetFileDescriptor() argument 181 return mClient.openTypedAssetFileDescriptor(uri, mimeType, opts, signal); in openTypedAssetFileDescriptor()
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | LauncherAppsCompatVL.java | 74 Rect sourceBounds, Bundle opts) { in startActivityForProfile() argument 75 mLauncherApps.startMainActivity(component, user, sourceBounds, opts); in startActivityForProfile() 106 Rect sourceBounds, Bundle opts) { in showAppDetailsForProfile() argument 107 mLauncherApps.startAppDetailsActivity(component, user, sourceBounds, opts); in showAppDetailsForProfile()
|
D | LauncherAppsCompat.java | 81 Rect sourceBounds, Bundle opts); in startActivityForProfile() argument 85 Rect sourceBounds, Bundle opts); in showAppDetailsForProfile() argument
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | TaskView.java | 305 final ActivityOptions opts; in launchTaskInternal() local 307 opts = mActivity.getActivityLaunchOptions(this); in launchTaskInternal() 309 ActivityOptionsCompat.setFreezeRecentTasksList(opts); in launchTaskInternal() 312 opts, resultCallback, resultCallbackHandler); in launchTaskInternal() 314 opts = ActivityOptionsCompat.makeCustomAnimation(getContext(), 0, 0, () -> { in launchTaskInternal() 322 ActivityOptionsCompat.setFreezeRecentTasksList(opts); in launchTaskInternal() 325 opts, (success) -> { in launchTaskInternal()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaDocumentsProvider.java | 1241 final Bundle opts = new Bundle(); in openImageThumbnailCleared() local 1242 opts.putParcelable(EXTRA_SIZE, size); in openImageThumbnailCleared() 1243 return resolver.openTypedAssetFile(uri, "image/*", opts, signal); in openImageThumbnailCleared() 1255 final BitmapFactory.Options opts = new BitmapFactory.Options(); in openOrCreateImageThumbnailCleared() local 1256 opts.inJustDecodeBounds = true; in openOrCreateImageThumbnailCleared() 1257 Images.Thumbnails.getThumbnail(resolver, id, Images.Thumbnails.MINI_KIND, opts); in openOrCreateImageThumbnailCleared() 1315 final Bundle opts = new Bundle(); in openVideoThumbnailCleared() local 1316 opts.putParcelable(EXTRA_SIZE, size); in openVideoThumbnailCleared() 1317 return resolver.openTypedAssetFile(uri, "image/*", opts, signal); in openVideoThumbnailCleared() 1328 final BitmapFactory.Options opts = new BitmapFactory.Options(); in openOrCreateVideoThumbnailCleared() local [all …]
|
/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 | 137 final Bundle opts = new Bundle(); in onClick() local 138 opts.putParcelable(ARG_PROFILE, profile); in onClick() 140 /* from */ wasLockdown, /* to */ shouldLockdown, opts); in onClick()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/ |
D | ConfigDialogFragment.java | 133 final Bundle opts = new Bundle(); in onClick() local 134 opts.putParcelable(ARG_PROFILE, profile); in onClick() 136 /* from */ wasLockdown, /* to */ shouldLockdown, opts); in onClick()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | PackageManagerHelper.java | 187 public void startDetailsActivityForInfo(ItemInfo info, Rect sourceBounds, Bundle opts) { in startDetailsActivityForInfo() argument 206 componentName, info.user, sourceBounds, opts); in startDetailsActivityForInfo()
|
/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainService.java | 651 BroadcastOptions opts = BroadcastOptions.makeBasic(); in broadcastLegacyStorageChange() local 652 opts.setMaxManifestReceiverApiLevel(Build.VERSION_CODES.N_MR1); in broadcastLegacyStorageChange() 653 sendBroadcastAsUser(intent, UserHandle.of(UserHandle.myUserId()), null, opts.toBundle()); in broadcastLegacyStorageChange()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | WidgetPreviewLoader.java | 272 BitmapFactory.Options opts = new BitmapFactory.Options(); in readFromDb() local 273 opts.inBitmap = recycle; in readFromDb() 276 return BitmapFactory.decodeByteArray(blob, 0, blob.length, opts); in readFromDb()
|
/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/Bluetooth/src/com/android/bluetooth/map/ |
D | MmsFileProvider.java | 109 Bundle opts, Cursor c) { in writeDataToPipe() argument
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
D | ChannelDataManagerTest.java | 429 public AssetFileDescriptor openTypedAssetFile(Uri url, String mimeType, Bundle opts) { in openTypedAssetFile() argument
|