Searched refs:heightPercent (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/ |
D | ImagePersistWorker.java | 42 private final float heightPercent; field in ImagePersistWorker 75 final float heightPercent, in ImagePersistWorker() argument 78 Assert.checkArgument(heightPercent >= 0 && heightPercent <= 1); in ImagePersistWorker() 83 this.heightPercent = heightPercent; in ImagePersistWorker() 125 clippedWidth = (int) (height * heightPercent); in writeClippedBitmap() 131 clippedHeight = (int) (height * heightPercent); in writeClippedBitmap()
|
D | CameraManager.java | 430 public void takePicture(final float heightPercent, @NonNull final MediaCallback callback) { in takePicture() argument 477 width, height, heightPercent, bytes, cameraPreview.getContext())) in takePicture()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | ImagePersistTask.java | 53 final float heightPercent, in ImagePersistTask() argument 57 Assert.isTrue(heightPercent >= 0 && heightPercent <= 1); in ImagePersistTask() 63 mHeightPercent = heightPercent; in ImagePersistTask()
|
D | CameraMediaChooser.java | 130 final float heightPercent = Math.min(mMediaPicker.getViewPager().getHeight() / in createView() 181 CameraManager.get().takePicture(heightPercent, callback); in createView()
|
D | CameraManager.java | 534 void takePicture(final float heightPercent, @NonNull final MediaCallback callback) { in takePicture() argument 571 width, height, heightPercent, bytes, mCameraPreview.getContext(), callback) in takePicture()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
D | CameraComposerFragment.java | 167 float heightPercent = 1; in onClick() local 169 heightPercent = Math.min((float) cameraView.getHeight() / preview.getView().getHeight(), 1); in onClick() 176 CameraManager.get().takePicture(heightPercent, this); in onClick()
|