Lines Matching refs:height
106 int height = bottom - top; in onLayoutChange() local
108 if (mWidth != width || mHeight != height || mOrientation != rotation) { in onLayoutChange()
110 mHeight = height; in onLayoutChange()
205 float previewHeight = previewRect.height();
279 RectF rotatedRect = new RectF(normalRect.width() / 2 - normalRect.height() / 2,
280 normalRect.height() / 2 - normalRect.width() / 2,
281 normalRect.width() / 2 + normalRect.height() / 2,
282 normalRect.height() / 2 + normalRect.width() / 2);
419 int height = (int) textureArea.height() / downsample;
420 Bitmap preview = mPreview.getBitmap(width, height);
421 return Bitmap.createBitmap(preview, 0, 0, width, height, mPreview.getTransform(null), true);
443 if (mPreviewArea.width() == 0 || mPreviewArea.height() == 0) {
464 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) {
471 mSurfaceTextureListener.onSurfaceTextureAvailable(surface, width, height);
476 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) {
478 mSurfaceTextureListener.onSurfaceTextureSizeChanged(surface, width, height);