Searched refs:height (Results 1 – 9 of 9) sorted by relevance
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
D | FixedAspectSurfaceView.java | 77 int height = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local 100 float boxAspectRatio = width / (float) height; in onMeasure() 123 width = (int) (height * mAspectRatio); in onMeasure() 125 height = (int) (width / mAspectRatio); in onMeasure() 130 height = View.resolveSizeAndState(height, heightMeasureSpec, 0); in onMeasure() 133 setMeasuredDimension(width, height); in onMeasure()
|
D | TextureViewSubPane.java | 115 int height = width * s.getHeight() / s.getWidth(); in updateSizes() local 116 mTextureView.setLayoutParams(new LinearLayout.LayoutParams(width, height)); in updateSizes() 121 int height = width / 2; in updateSizes() local 122 mTextureView.setLayoutParams(new LinearLayout.LayoutParams(width, height)); in updateSizes() 146 final int height) { in onSurfaceTextureAvailable() argument 157 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() argument
|
D | TestingCamera21.java | 105 int height = 0; in onConfigurationChanged() local 108 height = LayoutParams.MATCH_PARENT; in onConfigurationChanged() 119 (height == 0) ? thickness : height); in onConfigurationChanged() 125 new LinearLayout.LayoutParams(width, height, outputViewListWeight.getFloat()); in onConfigurationChanged() 131 new LinearLayout.LayoutParams(width, height, controlListWeight.getFloat()); in onConfigurationChanged()
|
D | SurfaceViewSubPane.java | 163 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument
|
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
D | TestingCamera.java | 401 int height) { in surfaceChanged() argument 407 mPreviewSizes.get(mPreviewSize).height; in surfaceChanged() 410 (float)width/height) > 0.01f) { in surfaceChanged() 424 log("Surface holder available: " + width + " x " + height); in surfaceChanged() 539 int height = mPreviewSizes.get(mPreviewSize).height; 540 mParams.setPreviewSize(width, height); 542 log("Setting preview size to " + width + "x" + height); 711 int height = mSnapshotSizes.get(mSnapshotSize).height; 712 log("Setting snapshot size to " + width + " x " + height); 714 mParams.setPictureSize(width, height); [all …]
|
D | CallbackProcessor.java | 51 public CallbackProcessor(int width, int height, int format, in CallbackProcessor() argument 56 mHeight = height; in CallbackProcessor()
|
D | SnapshotDialogFragment.java | 196 int height = exif.getAttributeInt(ExifInterface.TAG_IMAGE_LENGTH, 0); in updateExif() local 223 append(width).append(" x ").append(height).append("\n"); in updateExif()
|
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/ |
D | TestingCamera2.java | 293 int height = params.height; in updatePreviewOrientation() local 298 height)); in updatePreviewOrientation() 305 if (height > width) { in updatePreviewOrientation() 307 width = height; in updatePreviewOrientation() 308 height = tmp; in updatePreviewOrientation() 311 if (width > height) { in updatePreviewOrientation() 313 width = height; in updatePreviewOrientation() 314 height = tmp; in updatePreviewOrientation() 318 if (width != params.width && height != params.height) { in updatePreviewOrientation() 322 height)); in updatePreviewOrientation() [all …]
|
D | CameraOps.java | 370 int height = 480; in minimalJpegCapture() local 374 height = jpegSizes[0].getHeight(); in minimalJpegCapture() 378 mCaptureReader.getHeight() != height) { in minimalJpegCapture() 382 mCaptureReader = ImageReader.newInstance(width, height, in minimalJpegCapture()
|