Lines Matching refs:getHeight
176 configureTransform(mTextureView.getWidth(), mTextureView.getHeight());
215 if (size.getWidth() == size.getHeight() * 4 / 3 && size.getWidth() <= 1080) { in chooseVideoSize()
238 int h = aspectRatio.getHeight(); in chooseOptimalSize()
240 if (option.getHeight() == option.getWidth() * h / w && in chooseOptimalSize()
241 option.getWidth() >= width && option.getHeight() >= height) { in chooseOptimalSize()
274 openCamera(mTextureView.getWidth(), mTextureView.getHeight()); in onResume()
359 mTextureView.setAspectRatio(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in openCamera()
361 mTextureView.setAspectRatio(mPreviewSize.getHeight(), mPreviewSize.getWidth()); in openCamera()
407 texture.setDefaultBufferSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in startPreview()
479 RectF bufferRect = new RectF(0, 0, mPreviewSize.getHeight(), mPreviewSize.getWidth()); in configureTransform()
486 (float) viewHeight / mPreviewSize.getHeight(), in configureTransform()
505 mMediaRecorder.setVideoSize(mVideoSize.getWidth(), mVideoSize.getHeight()); in setUpMediaRecorder()
554 return Long.signum((long) lhs.getWidth() * lhs.getHeight() - in compare()
555 (long) rhs.getWidth() * rhs.getHeight()); in compare()