Home
last modified time | relevance | path

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

/external/opencv3/modules/java/generator/src/java/
Dandroid+CameraBridgeViewBase.java39 private Bitmap mCacheBitmap; field in CameraBridgeViewBase
378 if (mCacheBitmap != null) { in onExitStartedState()
379 mCacheBitmap.recycle(); in onExitStartedState()
401 Utils.matToBitmap(modified, mCacheBitmap); in deliverAndDrawFrame()
404 … Log.e(TAG, "Bitmap type: " + mCacheBitmap.getWidth() + "*" + mCacheBitmap.getHeight()); in deliverAndDrawFrame()
410 if (bmpValid && mCacheBitmap != null) { in deliverAndDrawFrame()
417 … canvas.drawBitmap(mCacheBitmap, new Rect(0,0,mCacheBitmap.getWidth(), mCacheBitmap.getHeight()), in deliverAndDrawFrame()
418 new Rect((int)((canvas.getWidth() - mScale*mCacheBitmap.getWidth()) / 2), in deliverAndDrawFrame()
419 (int)((canvas.getHeight() - mScale*mCacheBitmap.getHeight()) / 2), in deliverAndDrawFrame()
420 … (int)((canvas.getWidth() - mScale*mCacheBitmap.getWidth()) / 2 + mScale*mCacheBitmap.getWidth()), in deliverAndDrawFrame()
[all …]