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/
DImagePersistTask.java50 final float heightPercent, in ImagePersistTask() argument
54 Assert.checkArgument(heightPercent >= 0 && heightPercent <= 1); in ImagePersistTask()
60 mHeightPercent = heightPercent; in ImagePersistTask()
DCameraManager.java427 public void takePicture(final float heightPercent, @NonNull final MediaCallback callback) { in takePicture() argument
471 width, height, heightPercent, bytes, mCameraPreview.getContext(), callback) 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.java168 float heightPercent = 1; in onClick() local
170 heightPercent = Math.min((float) cameraView.getHeight() / preview.getView().getHeight(), 1); in onClick()
177 CameraManager.get().takePicture(heightPercent, this); in onClick()