Home
last modified time | relevance | path

Searched refs:heightPercent (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DImagePersistWorker.java42 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()
DCameraManager.java430 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/
DImagePersistTask.java53 final float heightPercent, in ImagePersistTask() argument
57 Assert.isTrue(heightPercent >= 0 && heightPercent <= 1); in ImagePersistTask()
63 mHeightPercent = heightPercent; in ImagePersistTask()
DCameraMediaChooser.java130 final float heightPercent = Math.min(mMediaPicker.getViewPager().getHeight() / in createView()
181 CameraManager.get().takePicture(heightPercent, callback); in createView()
DCameraManager.java534 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/
DCameraComposerFragment.java167 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()