Home
last modified time | relevance | path

Searched refs:DecodeThread (Results 1 – 9 of 9) sorted by relevance

/aosp_15_r20/packages/apps/Gallery/tests/src/com/android/camera/
DBitmapManagerUnitTests.java35 private class DecodeThread extends Thread { class in BitmapManagerUnitTests
38 public DecodeThread() { in DecodeThread() method in BitmapManagerUnitTests.DecodeThread
72 Thread t = new DecodeThread(); in testCanThreadDecoding()
87 DecodeThread t = new DecodeThread(); in testDefaultAllowDecoding()
98 DecodeThread t = new DecodeThread(); in testCancelDecoding()
110 DecodeThread t = new DecodeThread(); in testAllowDecoding()
123 DecodeThread t1 = new DecodeThread(); in testThreadDecoding()
124 DecodeThread t2 = new DecodeThread(); in testThreadDecoding()
/aosp_15_r20/external/zxing/android/src/com/google/zxing/client/android/
H A DCaptureActivityHandler.java51 private final DecodeThread decodeThread;
67 decodeThread = new DecodeThread(activity, decodeFormats, baseHints, characterSet, in CaptureActivityHandler()
90 byte[] compressedBitmap = bundle.getByteArray(DecodeThread.BARCODE_BITMAP); in handleMessage()
96 scaleFactor = bundle.getFloat(DecodeThread.BARCODE_SCALED_FACTOR); in handleMessage()
H A DDecodeThread.java39 final class DecodeThread extends Thread { class
49 DecodeThread(CaptureActivity activity, in DecodeThread() method in DecodeThread
H A DDecodeHandler.java111 bundle.putByteArray(DecodeThread.BARCODE_BITMAP, out.toByteArray()); in bundleThumbnail()
112 bundle.putFloat(DecodeThread.BARCODE_SCALED_FACTOR, (float) width / source.getWidth()); in bundleThumbnail()
/aosp_15_r20/external/zxing/qr_scanner/src/com/google/zxing/client/android/
H A DCaptureActivityHandler.java41 private final DecodeThread decodeThread;
55 decodeThread = new DecodeThread(activity, characterSet, in CaptureActivityHandler()
83 (Bitmap) bundle.getParcelable(DecodeThread.BARCODE_BITMAP); in handleMessage()
H A DDecodeThread.java35 final class DecodeThread extends Thread { class
44 DecodeThread(CaptureActivity activity, in DecodeThread() method in DecodeThread
H A DDecodeHandler.java92 bundle.putParcelable(DecodeThread.BARCODE_BITMAP, source.renderCroppedGreyscaleBitmap()); in decode()
/aosp_15_r20/frameworks/av/media/libheif/
H A DHeifDecoderImpl.cpp294 struct HeifDecoderImpl::DecodeThread : public Thread { struct in android::HeifDecoderImpl
295 explicit DecodeThread(HeifDecoderImpl *decoder) : mDecoder(decoder) {} in DecodeThread() function
302 DISALLOW_EVIL_CONSTRUCTORS(DecodeThread);
305 bool HeifDecoderImpl::DecodeThread::threadLoop() { in threadLoop()
619 mThread = new DecodeThread(this); in decode()
H A DHeifDecoderImpl.h60 struct DecodeThread;
80 sp<DecodeThread> mThread;