Lines Matching refs:getWidth
391 int w = aspectRatio.getWidth(); in chooseOptimalSize()
394 if (option.getWidth() <= maxWidth && option.getHeight() <= maxHeight && in chooseOptimalSize()
395 option.getHeight() == option.getWidth() * h / w) { in chooseOptimalSize()
396 if (option.getWidth() >= textureViewWidth && in chooseOptimalSize()
450 openCamera(mTextureView.getWidth(), mTextureView.getHeight()); in onResume()
515 mImageReader = ImageReader.newInstance(largest.getWidth(), largest.getHeight(), in setUpCameraOutputs()
576 mPreviewSize.getWidth(), mPreviewSize.getHeight()); in setUpCameraOutputs()
579 mPreviewSize.getHeight(), mPreviewSize.getWidth()); in setUpCameraOutputs()
681 texture.setDefaultBufferSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in createCameraPreviewSession()
748 RectF bufferRect = new RectF(0, 0, mPreviewSize.getHeight(), mPreviewSize.getWidth()); in configureTransform()
756 (float) viewWidth / mPreviewSize.getWidth()); in configureTransform()
965 return Long.signum((long) lhs.getWidth() * lhs.getHeight() - in compare()
966 (long) rhs.getWidth() * rhs.getHeight()); in compare()