Lines Matching refs:getWidth
195 configureTransform(mTextureView.getWidth(), mTextureView.getHeight());
236 if (size.getWidth() == size.getHeight() * 4 / 3 && size.getWidth() <= 1080) { in chooseVideoSize()
258 int w = aspectRatio.getWidth(); in chooseOptimalSize()
261 if (option.getHeight() == option.getWidth() * h / w && in chooseOptimalSize()
262 option.getWidth() >= width && option.getHeight() >= height) { in chooseOptimalSize()
295 openCamera(mTextureView.getWidth(), mTextureView.getHeight()); in onResume()
444 mTextureView.setAspectRatio(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in openCamera()
446 mTextureView.setAspectRatio(mPreviewSize.getHeight(), mPreviewSize.getWidth()); in openCamera()
494 texture.setDefaultBufferSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in startPreview()
558 RectF bufferRect = new RectF(0, 0, mPreviewSize.getHeight(), mPreviewSize.getWidth()); in configureTransform()
566 (float) viewWidth / mPreviewSize.getWidth()); in configureTransform()
587 mMediaRecorder.setVideoSize(mVideoSize.getWidth(), mVideoSize.getHeight()); in setUpMediaRecorder()
616 texture.setDefaultBufferSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in startRecordingVideo()
700 return Long.signum((long) lhs.getWidth() * lhs.getHeight() - in compare()
701 (long) rhs.getWidth() * rhs.getHeight()); in compare()