Home
last modified time | relevance | path

Searched defs:bitmap (Results 1 – 25 of 54) sorted by relevance

123

/camera/camera-core/src/androidTest/java/androidx/camera/core/imagecapture/
DRgbaImageProxyDeviceTest.kt47 val bitmap = TestImageUtil.createBitmap(WIDTH, HEIGHT) in createImageFromBitmap_verifyResult() constant
77 val bitmap = TestImageUtil.createBitmap(WIDTH, HEIGHT) in createImageFromByteBuffer_verifyResult() constant
106 val bitmap = TestImageUtil.createBitmap(WIDTH, HEIGHT) in closeImage_invokingMethodsThrowsException() constant
DBitmap2JpegBytesTest.kt53 val bitmap = createBitmap(WIDTH, HEIGHT) in process_verifyOutput() constant
77 val bitmap = in process_withJpegR_verifyOutput() constant
DBitmapEffectDeviceTest.kt48 val bitmap = TestImageUtil.createBitmap(WIDTH, HEIGHT) in applyEffect_imageIsPropagatedToAndFromProcessor() constant
DImage2JpegBytesDeviceTest.kt73 val bitmap = decodeByteArray(output.data, 0, output.data.size) in processYuvImage_assertOutput() constant
DProcessingNodeDeviceTest.kt156 val bitmap = processAndGetBitmap(node, nodeIn, imageIn, outputFileOptions) in processYuvAndVerifyOutputSize() constant
178 val bitmap = processAndGetBitmap(node, nodeIn, imageIn, outputFileOptions) in processJpegAndVerifyEffectApplied() constant
432 val bitmap = BitmapFactory.decodeFile(filePath) in saveJpegOnDisk_verifyOutput() constant
478 val bitmap = BitmapFactory.decodeFile(filePath) in saveJpegrOnDisk_verifyOutput() constant
/camera/camera-testing/src/main/java/androidx/camera/testing/impl/
DTestImageUtil.java158 private static void writeBitmapToYuvByteBuffers( in writeBitmapToYuvByteBuffers()
216 Bitmap bitmap = decodeByteArray(jpegBytes, 0, jpegBytes.length); in createJpegFakeImageProxy() local
226 Bitmap bitmap = decodeByteArray(jpegBytes, 0, jpegBytes.length); in createJpegrFakeImageProxy() local
277 Bitmap bitmap = createBitmap(width, height); in createJpegBytes() local
288 Bitmap bitmap = createBitmapWithGainmap(width, height); in createJpegrBytes() local
313 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in createBitmap() local
330 Bitmap bitmap = createBitmap(width, height); in createBitmapWithGainmap() local
340 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in createGainmap() local
355 public static @NonNull Bitmap rotateBitmap(@NonNull Bitmap bitmap, int rotationDegrees) { in rotateBitmap()
391 public static int getAverageDiff(@NonNull Bitmap bitmap, @NonNull Rect rect, int color) { in getAverageDiff()
[all …]
/camera/camera-core/src/androidTest/java/androidx/camera/core/internal/utils/
DImageUtilDeviceTest.kt133 val bitmap = ImageUtil.createBitmapFromImageProxy(fakeImageProxy) in createBitmapFromImageProxy_yuv420() constant
167 val bitmap = ImageUtil.createBitmapFromImageProxy(fakeRgbaImageProxy!!) in createBitmapFromImageProxy_rgba() constant
178 val bitmap = ImageUtil.createBitmapFromImageProxy(fakeJpegImageProxy) in createBitmapFromImageProxy_jpeg() constant
197 val bitmap = ImageUtil.createBitmapFromImageProxy(fakeJpegrImageProxy) in createBitmapFromImageProxy_jpegr() constant
262 val bitmap = BitmapFactory.decodeByteArray(byteArray, 0, byteArray.size) in canCropJpegByteArrayOfJpegr() constant
/camera/camera-testing/src/androidTest/java/androidx/camera/testing/
DTestImageUtilDeviceTest.kt60 val bitmap = decodeByteArray(jpegBytes, 0, jpegBytes.size) in createTestJpeg_verifyColor() constant
73 val bitmap = decodeByteArray(jpegBytes, 0, jpegBytes.size) in createTestJpegr_verifyColorAndGainmapContent() constant
90 val bitmap = createBitmap(WIDTH, HEIGHT) in createBitmap_verifyColor() constant
/camera/integration-tests/diagnosetestapp/src/test/java/androidx/camera/integration/diagnose/
DFakeTextAndImageSavingTask.kt32 val bitmap = Bitmap.createBitmap(5, 5, Bitmap.Config.ARGB_8888) in runDiagnosisTask() constant
DDiagnosisTest.kt86 val bitmap = BitmapFactory.decodeStream(inputStream) in diagnoseAndIsAggregated_returnsOneTextFileOneJEPG() constant
133 val bitmap = BitmapFactory.decodeStream(inputStream) in diagnoseAndIsNotAggregated_returnsTwoTextFileOneJPEG() constant
/camera/camera-core/src/main/java/androidx/camera/core/imagecapture/
DImage2Bitmap.java81 Bitmap bitmap = ImageUtil.createBitmapFromImageProxy(imageProxyRGB); in apply() local
86 Bitmap bitmap = ImageUtil.createBitmapFromImageProxy(jpegImage); in apply() local
DBitmap2JpegBytes.java61 private static int getOutputFormat(@NonNull Bitmap bitmap) { in getOutputFormat()
71 static boolean hasGainmap(@NonNull Bitmap bitmap) { in hasGainmap()
DJpegBytes2CroppedBitmap.java45 Bitmap bitmap = createCroppedBitmap(packet.getData(), cropRect); in apply() local
DTakePictureCallback.java78 void onPostviewBitmapAvailable(@NonNull Bitmap bitmap); in onPostviewBitmapAvailable()
/camera/camera-view/src/androidTest/java/androidx/camera/view/
DPreviewViewBitmapTest.kt131 val bitmap = previewView.bitmap in <lambda>() constant
147 val bitmap = previewView.bitmap in <lambda>() constant
213 val bitmap = previewView.bitmap in <lambda>() constant
281 val bitmap = previewView.bitmap in <lambda>() constant
/camera/integration-tests/extensionstestapp/src/androidTest/java/androidx/camera/integration/extensions/util/
DImageCaptureTestUtil.kt42 val bitmap = BitmapFactory.decodeByteArray(data, 0, data.size) in assertImageIsValid() constant
/camera/camera-core/src/test/java/androidx/camera/core/processing/
DPacketTest.kt46 val bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888) in createBitmapPacket_verifySizeAndFormat() constant
/camera/camera-core/src/androidTest/java/androidx/camera/core/impl/utils/
DExifOutputStreamTest.kt36 val bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888) in canSetExifOnCompressedBitmap() constant
/camera/camera-core/src/main/java/androidx/camera/core/internal/utils/
DImageUtil.java106 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in createBitmapFromPlane() local
117 public static @NonNull Bitmap rotateBitmap(@NonNull Bitmap bitmap, int rotationDegrees) { in rotateBitmap()
127 public static @NonNull ByteBuffer createDirectByteBuffer(@NonNull Bitmap bitmap) { in createDirectByteBuffer()
293 Bitmap bitmap; in cropJpegByteArray() local
444 Bitmap bitmap = in createBitmapFromRgbaImage() local
457 Bitmap bitmap = BitmapFactory.decodeByteArray(bytes, 0, bytes.length, null); in createBitmapFromJpegImage() local
/camera/integration-tests/viewtestapp/src/main/java/androidx/camera/integration/view/
DToneMappingImageEffect.kt45 val bitmap = inputImage.createBitmap() in process() constant
DBlurBitmap.java48 void blur(@NonNull Bitmap bitmap) { in blur()
/camera/integration-tests/extensionstestapp/src/main/java/androidx/camera/integration/extensions/validation/
DPhotoFragment.kt105 val bitmap = BitmapFactory.decodeFileDescriptor(parcelFileDescriptor?.fileDescriptor) in <lambda>() constant
/camera/camera-core/src/androidTest/java/androidx/camera/core/
DImageProcessingUtilTest.java182 Bitmap bitmap = BitmapFactory.decodeByteArray(outputBytes, 0, outputBytes.length); in writeJpeg_returnsTheSameImage() local
205 Bitmap bitmap = BitmapFactory.decodeByteArray(outputBytes, 0, outputBytes.length); in writeJpegToSurface_returnsTheSameImage() local
230 Bitmap bitmap = BitmapFactory.decodeByteArray(outputBytes, 0, outputBytes.length); in convertYuvToJpegBytesIntoSurface_sizeAndRotationAreCorrect() local
242 Bitmap bitmap = Bitmap.createBitmap(WIDTH, HEIGHT, Bitmap.Config.ARGB_8888); in createJpegBytesWithSolidColor() local
626 private static void assertBitmapColor(Bitmap bitmap, int color, int perChannelTolerance) { in assertBitmapColor()
/camera/integration-tests/viewtestapp/src/androidTest/java/androidx/camera/integration/view/
DMedia3EffectFragmentDeviceTest.kt139 val bitmap = takePictureAsBitmap() in <lambda>() constant
148 var bitmap: Bitmap? = null in <lambda>() variable
/camera/viewfinder/viewfinder-view/src/main/java/androidx/camera/viewfinder/view/
DViewfinderImplementation.java103 final Bitmap bitmap = getViewfinderBitmap(); in getBitmap() local

123