Searched refs:imgBitmap (Results 1 – 2 of 2) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | CameraMuteToggleActivity.java | 224 Bitmap imgBitmap = null; in onImageAvailable() local 230 imgBitmap = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length); in onImageAvailable() 235 if (imgBitmap != null) { in onImageAvailable() 236 final Bitmap bitmap = imgBitmap; in onImageAvailable() 237 final boolean isMuted = isBitmapMuted(imgBitmap); in onImageAvailable() 257 private boolean isBitmapMuted(final Bitmap imgBitmap) { in isBitmapMuted() argument 261 for (int y = 0; y < imgBitmap.getHeight(); y++) { in isBitmapMuted() 262 for (int x = 0; x < imgBitmap.getWidth(); x++) { in isBitmapMuted() 263 Color pixelColor = Color.valueOf(imgBitmap.getPixel(x, y)); in isBitmapMuted()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/ |
D | CameraBokehActivity.java | 502 Bitmap imgBitmap = null; in onImageAvailable() local 544 imgBitmap = Bitmap.createBitmap(imgArray, w, h, Bitmap.Config.ARGB_8888); in onImageAvailable() 550 imgBitmap = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length); in onImageAvailable() 562 imgBitmap = Bitmap.createBitmap(imgBitmap, 0, 0, imgBitmap.getWidth(), in onImageAvailable() 563 imgBitmap.getHeight(), m, true); in onImageAvailable() 568 if (imgBitmap != null) { in onImageAvailable() 569 final Bitmap bitmap = imgBitmap; in onImageAvailable()
|