/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | ImageRequest.java | 47 protected final D mDescriptor; field in ImageRequest 55 mDescriptor = descriptor; in ImageRequest() 64 return mDescriptor.getKey(); in getKey() 72 return mDescriptor; in getDescriptor() 112 if (!mDescriptor.isStatic() && isGif()) { in loadMediaInternal() 138 final boolean unknownSize = mDescriptor.sourceWidth == UNSPECIFIED_SIZE || in loadBitmapInternal() 139 mDescriptor.sourceHeight == UNSPECIFIED_SIZE; in loadBitmapInternal() 145 mDescriptor.updateSourceDimensions(bitmap.getWidth(), bitmap.getHeight()); in loadBitmapInternal() 163 mDescriptor.updateSourceDimensions(options.outHeight, options.outWidth); in loadBitmapInternal() 165 mDescriptor.updateSourceDimensions(options.outWidth, options.outHeight); in loadBitmapInternal() [all …]
|
D | AvatarRequest.java | 53 if (UriUtil.isLocalResourceUri(mDescriptor.uri)) { in getInputStreamForResource() 56 final Uri primaryUri = AvatarUriUtil.getPrimaryUri(mDescriptor.uri); in getInputStreamForResource() 73 String avatarType = AvatarUriUtil.getAvatarType(mDescriptor.uri); in loadMediaInternal() 76 final boolean isLocalResourceUri = UriUtil.isLocalResourceUri(mDescriptor.uri) || in loadMediaInternal() 91 final int width = mDescriptor.desiredWidth; in loadMediaInternal() 92 final int height = mDescriptor.desiredHeight; in loadMediaInternal() 95 Uri generatedUri = mDescriptor.uri; in loadMediaInternal() 99 generatedUri = AvatarUriUtil.getFallbackUri(mDescriptor.uri); in loadMediaInternal() 134 if (mDescriptor.isWearBackground) { in renderDefaultAvatar()
|
D | NetworkUriImageRequest.java | 59 final URL url = new URL(mDescriptor.uri.toString()); in isGif() 68 + mDescriptor.uri.toString(), e); in isGif() 72 + mDescriptor.uri.toString(), e); in isGif() 90 final URL url = new URL(mDescriptor.uri.toString()); in loadBitmapInternal() 100 + mDescriptor.uri.toString(), e); in loadBitmapInternal() 104 + mDescriptor.uri.toString(), e); in loadBitmapInternal() 109 + mDescriptor.uri.toString(), e); in loadBitmapInternal()
|
D | SimSelectorAvatarRequest.java | 54 final String avatarType = AvatarUriUtil.getAvatarType(mDescriptor.uri); in loadMediaInternal() 56 final int width = mDescriptor.desiredWidth; in loadMediaInternal() 57 final int height = mDescriptor.desiredHeight; in loadMediaInternal() 58 final String identifier = AvatarUriUtil.getIdentifier(mDescriptor.uri); in loadMediaInternal() 59 final boolean simSelected = AvatarUriUtil.getSimSelected(mDescriptor.uri); in loadMediaInternal() 60 final int simColor = AvatarUriUtil.getSimColor(mDescriptor.uri); in loadMediaInternal() 61 final boolean incoming = AvatarUriUtil.getSimIncoming(mDescriptor.uri); in loadMediaInternal()
|
D | FileImageRequest.java | 69 mDescriptor.desiredWidth, mDescriptor.desiredHeight); in loadBitmapInternal() 82 mDescriptor.updateSourceDimensions(options.outHeight, options.outWidth); in loadBitmapInternal() 84 mDescriptor.updateSourceDimensions(options.outWidth, options.outHeight); in loadBitmapInternal()
|
D | CompositeImageRequest.java | 49 mDescriptor.desiredWidth, mDescriptor.desiredHeight); in CompositeImageRequest() 57 mDescriptor.getChildRequestDescriptors(); in loadMediaInternal() 58 final List<RectF> targetRects = mDescriptor.getChildRequestTargetRects(); in loadMediaInternal()
|
D | VCardRequest.java | 64 private final VCardRequestDescriptor mDescriptor; field in VCardRequest 71 mDescriptor = descriptor; in VCardRequest() 78 return mDescriptor.vCardUri.toString(); in getKey() 92 if (!parseVCard(mDescriptor.vCardUri, signal)) { in loadMediaBlocking() 326 return mDescriptor; in getDescriptor()
|
D | VideoThumbnailRequest.java | 61 retriever.setDataSource(mDescriptor.uri); in getBitmapForResource() 67 mDescriptor.updateSourceDimensions(bitmap.getWidth(), bitmap.getHeight()); in getBitmapForResource()
|
D | UriImageRequest.java | 35 return mContext.getContentResolver().openInputStream(mDescriptor.uri); in getInputStreamForResource() 43 if (mDescriptor.allowCompression && chainedTasks != null) { in loadMediaInternal()
|
/packages/services/Car/tools/keventreader/server/ |
D | inputsource.cpp | 43 InputSource::InputSource(const char* file) : mFilePath(file), mDescriptor(open(file, O_RDONLY)) {} in InputSource() 50 return mDescriptor; in descriptor() 56 auto cnt = ::read(mDescriptor, &evt, sizeof(evt)); in read() 72 if (mDescriptor) ::close(mDescriptor); in ~InputSource()
|
D | inputsource.h | 46 int mDescriptor; variable
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | PdfPrintActivity.java | 118 ParcelFileDescriptor mDescriptor; field in PdfPrintActivity.PdfDeliverTask 123 mDescriptor = descriptor; in PdfDeliverTask() 133 try (OutputStream out = new FileOutputStream(mDescriptor.getFileDescriptor())) { in doInBackground()
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/ |
D | CarBlePeripheralManager.java | 69 private final BluetoothGattDescriptor mDescriptor = field in CarBlePeripheralManager 116 mDescriptor.setValue(BluetoothGattDescriptor.ENABLE_INDICATION_VALUE); in CarBlePeripheralManager() 124 mReadCharacteristic.addDescriptor(mDescriptor); in CarBlePeripheralManager()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsProvider2.java | 8990 private final ParcelFileDescriptor mDescriptor; field in ContactsProvider2.PipeMonitor 8996 mDescriptor = descriptor; in PipeMonitor() 9001 AutoCloseInputStream is = new AutoCloseInputStream(mDescriptor); in doInBackground()
|