/packages/modules/Bluetooth/system/gd/dumpsys/bundler/ |
D | bundler.cc | 35 struct Opts opts; variable 111 if (opts.verbose) { in CreateBinarySchemaBundle() 128 std::string ns_string(opts.ns_name); in WriteHeaderFile() 181 const char* filename = opts.filename; in ReadBundledSchema() 203 const char* filename = opts.filename; in WriteBundledSchema() 206 const char* main_root_name = opts.main_root_name; in WriteBundledSchema() 213 for (int i = 0; i < opts.arg.c; i++) { in WriteBundledSchema() 214 bfbs_filenames.push_back(std::string(opts.arg.v[i])); in WriteBundledSchema() 239 const char* title = opts.title; in WriteBundledSchema() 243 std::string final_filename(opts.gen); in WriteBundledSchema() [all …]
|
D | main.cc | 21 if (opts.read) { in main() 24 if (opts.write) { in main()
|
D | bundler.h | 40 extern Opts opts;
|
/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 | 128 BitmapFactory.Options opts = new BitmapFactory.Options(); in loadImageThumbnailFromStream() local 129 opts.inSampleSize = sampleSize; in loadImageThumbnailFromStream() 130 opts.inTempStorage = decodeBuffer; in loadImageThumbnailFromStream() 131 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/providers/MediaProvider/src/com/android/providers/media/photopicker/data/glide/ |
D | PickerThumbnailFetcher.java | 59 final Bundle opts = new Bundle(); in loadData() local 60 opts.putParcelable(ContentResolver.EXTRA_SIZE, new Point(mWidth, mHeight)); in loadData() 61 opts.putBoolean(CloudMediaProviderContract.EXTRA_PREVIEW_THUMBNAIL, true); in loadData() 64 opts.putBoolean(CloudMediaProviderContract.EXTRA_MEDIASTORE_THUMB, true); in loadData() 68 /* mimeType */ "image/*", opts, /* cancellationSignal */ null)) { in loadData() argument
|
/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/providers/MediaProvider/apex/framework/java/android/provider/ |
D | CloudMediaProvider.java | 439 @NonNull String mimeTypeFilter, @Nullable Bundle opts) throws FileNotFoundException { in openTypedAssetFile() argument 440 return openTypedAssetFile(uri, mimeTypeFilter, opts, null); in openTypedAssetFile() 452 @NonNull Uri uri, @NonNull String mimeTypeFilter, @Nullable Bundle opts, in openTypedAssetFile() argument 461 if (opts != null) { in openTypedAssetFile() 462 bundle.putBoolean(EXTRA_MEDIASTORE_THUMB, opts.getBoolean(EXTRA_MEDIASTORE_THUMB)); in openTypedAssetFile() 464 if (opts.containsKey(CloudMediaProviderContract.EXTRA_PREVIEW_THUMBNAIL)) { in openTypedAssetFile() 469 previewSize = opts.getParcelable(ContentResolver.EXTRA_SIZE); in openTypedAssetFile()
|
/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 | 371 SubscribeOptions opts = new SubscribeOptions(); in subscribeProperty() local 372 opts.propId = property; in subscribeProperty() 373 opts.sampleRate = samplingRateHz; in subscribeProperty() 374 opts.areaIds = new int[0]; in subscribeProperty() 377 mSubscribedProperties.put(property, opts); in subscribeProperty() 380 mHalClient.subscribe(opts); in subscribeProperty() 618 SubscribeOptions opts; in getSampleRate() local 620 opts = mSubscribedProperties.get(propId); in getSampleRate() 623 if (opts == null) { in getSampleRate() 627 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/providers/MediaProvider/src/com/android/providers/media/photopicker/ |
D | PhotoPickerProvider.java | 96 final Bundle opts = new Bundle(); in onOpenPreview() local 97 opts.putParcelable(ContentResolver.EXTRA_SIZE, size); in onOpenPreview() 108 return mMediaProvider.openTypedAssetFile(fromMediaId(mediaId), mimeTypeFilter, opts); in onOpenPreview()
|
/packages/modules/Bluetooth/android/app/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/quickstep/views/ |
D | TaskView.java | 788 ActivityOptionsWrapper opts = mActivity.getActivityLaunchOptions(this, null); in launchTaskAnimated() local 789 opts.options.setLaunchDisplayId( in launchTaskAnimated() 792 .startActivityFromRecents(mTask.key, opts.options)) { in launchTaskAnimated() 803 return opts.onEndCallback; in launchTaskAnimated() 829 ActivityOptions opts = makeCustomAnimation(getContext(), 0, 0, in launchTask() local 831 opts.setLaunchDisplayId( in launchTask() 834 opts.setFreezeRecentTasksReordering(); in launchTask() 836 opts.setDisableStartingWindow(mSnapshotView.shouldShowSplashView()); in launchTask() 839 if (!ActivityManagerWrapper.getInstance().startActivityFromRecents(key, opts)) { in launchTask()
|
/packages/modules/adb/daemon/ |
D | main.cpp | 315 static struct option opts[] = { in main() local 323 int c = getopt_long(argc, argv, "", opts, &option_index); in main()
|
/packages/modules/Bluetooth/system/btif/co/ |
D | bta_hh_co.cc | 53 int opts = fcntl(fd, F_GETFL); in uhid_set_non_blocking() local 54 if (opts < 0) in uhid_set_non_blocking() 58 opts |= O_NONBLOCK; in uhid_set_non_blocking() 60 if (fcntl(fd, F_SETFL, opts) < 0) in uhid_set_non_blocking()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaDocumentsProvider.java | 1059 final Bundle opts = new Bundle(); in openFile() local 1060 opts.putInt(MediaStore.EXTRA_MEDIA_CAPABILITIES_UID, callingUid); in openFile() 1061 opts.putString(MediaStore.EXTRA_MODE, mode); in openFile() 1064 opts); in openFile() 1498 final Bundle opts = new Bundle(); in openOrCreateImageThumbnailCleared() local 1499 opts.putParcelable(EXTRA_SIZE, size); in openOrCreateImageThumbnailCleared() 1502 return getContext().getContentResolver().openTypedAssetFile(uri, "image/*", opts, signal); in openOrCreateImageThumbnailCleared() 1535 final Bundle opts = new Bundle(); in openOrCreateVideoThumbnailCleared() local 1536 opts.putParcelable(EXTRA_SIZE, size); in openOrCreateVideoThumbnailCleared() 1539 return getContext().getContentResolver().openTypedAssetFile(uri, "image/*", opts, signal); in openOrCreateVideoThumbnailCleared()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | PackageManagerHelper.java | 221 public void startDetailsActivityForInfo(ItemInfo info, Rect sourceBounds, Bundle opts) { in startDetailsActivityForInfo() argument 242 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
|