Home
last modified time | relevance | path

Searched refs:decoder (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/
DInstallShortcutReceiver.java176 Decoder decoder = new Decoder(encoded, context); in removeFromInstallQueue() local
177 if (packageNames.contains(getIntentPackage(decoder.launcherIntent)) && in removeFromInstallQueue()
178 user.equals(decoder.user)) { in removeFromInstallQueue()
267 Decoder decoder = new Decoder(encoded, context); in getPendingShortcuts() local
268 if (decoder.optBoolean(DEEPSHORTCUT_TYPE_KEY)) { in getPendingShortcuts()
269 result.add(ShortcutKey.fromIntent(decoder.launcherIntent, decoder.user)); in getPendingShortcuts()
528 Decoder decoder = new Decoder(encoded, context); in decode() local
529 if (decoder.optBoolean(APP_SHORTCUT_TYPE_KEY)) { in decode()
531 .resolveActivity(decoder.launcherIntent, decoder.user); in decode()
535 } else if (decoder.optBoolean(DEEPSHORTCUT_TYPE_KEY)) { in decode()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DSinglePhotoDataAdapter.java78 public final BitmapRegionDecoder decoder; field in SinglePhotoDataAdapter.ImageBundle
81 public ImageBundle(BitmapRegionDecoder decoder, Bitmap backupImage) { in ImageBundle() argument
82 this.decoder = decoder; in ImageBundle()
91 BitmapRegionDecoder decoder = future.get();
92 if (decoder == null) return;
93 int width = decoder.getWidth();
94 int height = decoder.getHeight();
98 Bitmap bitmap = decoder.decodeRegion(new Rect(0, 0, width, height), options);
100 MSG_UPDATE_IMAGE, new ImageBundle(decoder, bitmap)));
126 bundle.decoder.getWidth(), bundle.decoder.getHeight()); in onDecodeLargeComplete()
[all …]
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/
DWallpaperManagerCompatVL.java217 BitmapRegionDecoder decoder = BitmapRegionDecoder in run() local
220 int requestedArea = decoder.getWidth() * decoder.getHeight(); in run()
230 Rect region = new Rect(0, 0, decoder.getWidth(), decoder.getHeight()); in run()
231 bitmap = decoder.decodeRegion(region, options); in run()
232 decoder.recycle(); in run()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/
DInputStreamProvider.java106 BitmapRegionDecoder decoder = null; in readCroppedBitmap() local
109 decoder = BitmapRegionDecoder.newInstance(is, false); in readCroppedBitmap()
118 if (decoder != null) { in readCroppedBitmap()
124 crop = decoder.decodeRegion(roundedTrueCrop, options); in readCroppedBitmap()
125 decoder.recycle(); in readCroppedBitmap()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageViewAdapter.java62 public synchronized void setRegionDecoder(BitmapRegionDecoder decoder) { in setRegionDecoder() argument
63 mRegionDecoder = Utils.checkNotNull(decoder); in setRegionDecoder()
64 mImageWidth = decoder.getWidth(); in setRegionDecoder()
65 mImageHeight = decoder.getHeight(); in setRegionDecoder()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
DImageLoader.java265 BitmapRegionDecoder decoder = BitmapRegionDecoder.newInstance(is, false); in loadRegionBitmap() local
266 Rect r = new Rect(0, 0, decoder.getWidth(), decoder.getHeight()); in loadRegionBitmap()
267 w = decoder.getWidth(); in loadRegionBitmap()
268 h = decoder.getHeight(); in loadRegionBitmap()
279 Bitmap bitmap = decoder.decodeRegion(imageBounds, options); in loadRegionBitmap()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DUriImage.java175 BitmapRegionDecoder decoder = DecodeUtils.createBitmapRegionDecoder( in run()
177 mWidth = decoder.getWidth(); in run()
178 mHeight = decoder.getHeight(); in run()
179 return decoder; in run()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropActivity.java481 BitmapRegionDecoder decoder = null; in doInBackground() local
483 decoder = BitmapRegionDecoder.newInstance(mInStream, true); in doInBackground()
489 if (decoder != null) { in doInBackground()
493 crop = decoder.decodeRegion(roundedTrueCrop, options); in doInBackground()
494 decoder.recycle(); in doInBackground()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/imaging/
DLocalImageFetcher.java235 public void onHeaderDecoded(ImageDecoder decoder, ImageDecoder.ImageInfo info,
238 decoder.setAllocator(mAllocatorMode);
245 decoder.setTargetSize(Math.round(scale * imgW), Math.round(scale * imgH));
/packages/apps/WallpaperPicker/src/com/android/photos/
DBitmapRegionTileSource.java52 private SimpleBitmapRegionDecoderWrapper(BitmapRegionDecoder decoder) { in SimpleBitmapRegionDecoderWrapper() argument
53 mDecoder = decoder; in SimpleBitmapRegionDecoderWrapper()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayload.java682 static void setTransformDecoder(TransformDecoder decoder) { in setTransformDecoder() argument
683 sTransformDecoder = decoder; in setTransformDecoder()
1061 static void setAttributeDecoder(AttributeDecoder decoder) { in setAttributeDecoder() argument
1062 sAttributeDecoder = decoder; in setAttributeDecoder()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/
DSampleExtractor.java23 import com.google.android.exoplayer2.decoder.DecoderInputBuffer;
DMpegTsMediaPeriod.java22 import com.google.android.exoplayer2.decoder.DecoderInputBuffer;
DFileSampleExtractor.java30 import com.google.android.exoplayer2.decoder.DecoderInputBuffer;
DMpegTsSampleExtractor.java31 import com.google.android.exoplayer2.decoder.DecoderInputBuffer;
DExoPlayerSampleExtractor.java37 import com.google.android.exoplayer2.decoder.DecoderInputBuffer;
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DInputBufferPool.java19 import com.google.android.exoplayer2.decoder.DecoderInputBuffer;
DSampleQueue.java20 import com.google.android.exoplayer2.decoder.DecoderInputBuffer;
DMemorySampleBuffer.java26 import com.google.android.exoplayer2.decoder.DecoderInputBuffer;
DRecordingSampleBuffer.java29 import com.google.android.exoplayer2.decoder.DecoderInputBuffer;
DSampleChunk.java24 import com.google.android.exoplayer2.decoder.DecoderInputBuffer;
DBufferManager.java31 import com.google.android.exoplayer2.decoder.DecoderInputBuffer;
/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java154 CharsetDecoder decoder = Charset.forName("UTF8").newDecoder(); in byteArrayToUtf8String() local
158 valueStr = decoder.decode(byteBuffer).toString(); in byteArrayToUtf8String()
/packages/apps/Car/LinkViewer/src/com/android/car/linkviewer/
DLinkViewerActivity.java31 import com.google.zxing.qrcode.decoder.ErrorCorrectionLevel;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DLatinIME.java1743 final HardwareEventDecoder decoder = mHardwareEventDecoders.get(deviceId); in getHardwareKeyEventDecoder() local
1744 if (null != decoder) return decoder; in getHardwareKeyEventDecoder()

12