Searched refs:previewWidth (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/ |
D | ClassifierActivity.java | 122 previewWidth = size.getWidth(); in onPreviewSizeChosen() 128 LOGGER.i("Initializing at size %dx%d", previewWidth, previewHeight); in onPreviewSizeChosen() 129 rgbFrameBitmap = Bitmap.createBitmap(previewWidth, previewHeight, Config.ARGB_8888); in onPreviewSizeChosen() 133 previewWidth, previewHeight, in onPreviewSizeChosen() 151 rgbFrameBitmap.setPixels(getRgbBytes(), 0, previewWidth, 0, 0, previewWidth, previewHeight); in processImage() local 206 lines.add("Frame: " + previewWidth + "x" + previewHeight); in renderDebug()
|
D | CameraActivity.java | 67 protected int previewWidth = 0; field in CameraActivity 118 previewWidth = previewSize.width; in onPreviewFrame() 119 rgbBytes = new int[previewWidth * previewHeight]; in onPreviewFrame() 130 yRowStride = previewWidth; in onPreviewFrame() 136 ImageUtils.convertYUV420SPToARGB8888(bytes, previewWidth, previewHeight, rgbBytes); in onPreviewFrame() 157 if (previewWidth == 0 || previewHeight == 0) { in onImageAvailable() 161 rgbBytes = new int[previewWidth * previewHeight]; in onImageAvailable() 190 previewWidth, in onImageAvailable() 367 previewWidth = size.getWidth(); in setFragment()
|
D | DetectorActivity.java | 167 previewWidth = size.getWidth(); in onPreviewSizeChosen() 173 LOGGER.i("Initializing at size %dx%d", previewWidth, previewHeight); in onPreviewSizeChosen() 174 rgbFrameBitmap = Bitmap.createBitmap(previewWidth, previewHeight, Config.ARGB_8888); in onPreviewSizeChosen() 179 previewWidth, previewHeight, in onPreviewSizeChosen() 231 lines.add("Frame: " + previewWidth + "x" + previewHeight); in onPreviewSizeChosen() 250 previewWidth, in processImage() 266 rgbFrameBitmap.setPixels(getRgbBytes(), 0, previewWidth, 0, 0, previewWidth, previewHeight); in processImage() local
|
D | StylizeActivity.java | 367 previewWidth = size.getWidth(); in onPreviewSizeChosen() 475 previewWidth, previewHeight, in resetPreviewBuffers() 491 previewWidth, previewHeight, desiredSize); in processImage() 493 rgbFrameBitmap = Bitmap.createBitmap(previewWidth, previewHeight, Config.ARGB_8888); in processImage() 496 previewWidth, previewHeight, in processImage() 506 rgbFrameBitmap.setPixels(getRgbBytes(), 0, previewWidth, 0, 0, previewWidth, previewHeight); in processImage() local 621 lines.add("Frame: " + previewWidth + "x" + previewHeight); in renderDebug()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowCamera.java | 253 private int previewWidth = 640; field in ShadowCamera.ShadowParameters 307 previewSize.width = previewWidth; in getPreviewSize() 407 previewWidth = width; in setPreviewSize() 466 return previewWidth; in getPreviewWidth()
|