Home
last modified time | relevance | path

Searched refs:zoom (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/av/media/libaudioclient/aidl/android/media/
DIAudioRecord.aidl46 void setPreferredMicrophoneFieldDimension(float zoom); in setPreferredMicrophoneFieldDimension() argument
/frameworks/base/media/java/android/media/
DMicrophoneDirection.java87 boolean setPreferredMicrophoneFieldDimension(@FloatRange(from = -1.0, to = 1.0) float zoom); in setPreferredMicrophoneFieldDimension()
DMediaRecorder.java1572 @FloatRange(from = -1.0, to = 1.0) float zoom) { in setPreferredMicrophoneFieldDimension()
1574 zoom >= -1 && zoom <= 1, "Argument must fall between -1 & 1 (inclusive)"); in setPreferredMicrophoneFieldDimension()
1575 return native_setPreferredMicrophoneFieldDimension(zoom) == 0; in setPreferredMicrophoneFieldDimension()
1579 private native int native_setPreferredMicrophoneFieldDimension(float zoom); in native_setPreferredMicrophoneFieldDimension() argument
DAudioRecord.java1817 @FloatRange(from = -1.0, to = 1.0) float zoom) { in setPreferredMicrophoneFieldDimension()
1819 zoom >= -1 && zoom <= 1, "Argument must fall between -1 & 1 (inclusive)"); in setPreferredMicrophoneFieldDimension()
1820 return native_set_preferred_microphone_field_dimension(zoom) == AudioSystem.SUCCESS; in setPreferredMicrophoneFieldDimension()
1977 private native int native_set_preferred_microphone_field_dimension(float zoom); in native_set_preferred_microphone_field_dimension() argument
/frameworks/av/media/libmedia/
DIMediaRecorder.cpp421 status_t setPreferredMicrophoneFieldDimension(float zoom) { in setPreferredMicrophoneFieldDimension() argument
422 ALOGV("setPreferredMicrophoneFieldDimension(%f)", zoom); in setPreferredMicrophoneFieldDimension()
425 data.writeFloat(zoom); in setPreferredMicrophoneFieldDimension()
724 float zoom = data.readFloat(); in onTransact() local
725 status_t status = setPreferredMicrophoneFieldDimension(zoom); in onTransact()
Dmediarecorder.cpp850 status_t MediaRecorder::setPreferredMicrophoneFieldDimension(float zoom) { in setPreferredMicrophoneFieldDimension() argument
851 ALOGV("setPreferredMicrophoneFieldDimension(%f)", zoom); in setPreferredMicrophoneFieldDimension()
852 return mMediaRecorder->setPreferredMicrophoneFieldDimension(zoom); in setPreferredMicrophoneFieldDimension()
/frameworks/av/media/libaudiohal/impl/
DStreamHalLocal.cpp377 status_t StreamInHalLocal::setPreferredMicrophoneFieldDimension(float zoom __unused) { in setPreferredMicrophoneFieldDimension()
386 status_t StreamInHalLocal::setPreferredMicrophoneFieldDimension(float zoom) { in setPreferredMicrophoneFieldDimension() argument
388 return mStream->set_microphone_field_dimension(mStream, zoom); in setPreferredMicrophoneFieldDimension()
DStreamHalLocal.h211 virtual status_t setPreferredMicrophoneFieldDimension(float zoom);
/frameworks/av/media/libmediaplayerservice/
DMediaRecorderClient.cpp540 status_t MediaRecorderClient::setPreferredMicrophoneFieldDimension(float zoom) { in setPreferredMicrophoneFieldDimension() argument
541 ALOGV("setPreferredMicrophoneFieldDimension(%f)", zoom); in setPreferredMicrophoneFieldDimension()
543 return mRecorder->setPreferredMicrophoneFieldDimension(zoom); in setPreferredMicrophoneFieldDimension()
DMediaRecorderClient.h85 virtual status_t setPreferredMicrophoneFieldDimension(float zoom);
/frameworks/av/media/libstagefright/
DAudioSource.cpp519 status_t AudioSource::setPreferredMicrophoneFieldDimension(float zoom) { in setPreferredMicrophoneFieldDimension() argument
520 ALOGV("setPreferredMicrophoneFieldDimension(%f)", zoom); in setPreferredMicrophoneFieldDimension()
522 return mRecord->setPreferredMicrophoneFieldDimension(zoom); in setPreferredMicrophoneFieldDimension()
/frameworks/base/core/java/android/widget/
DMagnifier.java384 public void setZoom(@FloatRange(from = 0f) float zoom) { in setZoom()
385 Preconditions.checkArgumentPositive(zoom, "Zoom should be positive"); in setZoom()
386 mZoom = zoom; in setZoom()
1206 public Builder setInitialZoom(@FloatRange(from = 0f) float zoom) { in setInitialZoom()
1207 Preconditions.checkArgumentPositive(zoom, "Zoom should be positive"); in setInitialZoom()
1208 mZoom = zoom; in setInitialZoom()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DParameterUtils.java668 for (int zoom : params.getZoomRatios()) { in getAvailableCropRectangles()
669 float shrinkRatio = ZOOM_RATIO_MULTIPLIER * 1.0f / zoom; // normalize to 1.0 and smaller in getAvailableCropRectangles()
705 int zoom = zoomRatios.get(zoomRatios.size() - 1); // largest zoom ratio in getMaxZoomRatio() local
706 float zoomRatio = zoom * 1.0f / ZOOM_RATIO_MULTIPLIER; // normalize to 1.0 and smaller in getMaxZoomRatio()
/frameworks/av/media/libstagefright/include/media/stagefright/
DAudioSource.h74 status_t setPreferredMicrophoneFieldDimension(float zoom);
/frameworks/av/media/libmedia/include/media/
DMediaRecorderBase.h76 virtual status_t setPreferredMicrophoneFieldDimension(float zoom) = 0;
DIMediaRecorder.h77 virtual status_t setPreferredMicrophoneFieldDimension(float zoom) = 0;
Dmediarecorder.h268 status_t setPreferredMicrophoneFieldDimension(float zoom);
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DMainActivity.java123 float zoom = (float) Math.hypot(x1 - x2, y1 - y2); in onCreate()
124 mZoom = zoom * mDownZoom / mDistDown; in onCreate()
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DMainActivity.java123 float zoom = (float) Math.hypot(x1 - x2, y1 - y2); in onCreate()
124 mZoom = zoom * mDownZoom / mDistDown; in onCreate()
/frameworks/av/media/libaudiohal/include/media/audiohal/
DStreamHalInterface.h186 virtual status_t setPreferredMicrophoneFieldDimension(float zoom) = 0;
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp857 zoom = 0; in initialize()
864 params.set(CameraParameters::KEY_ZOOM, zoom); in initialize()
869 float zoom = 1.f; in initialize() local
870 float zoomIncrement = (maxDigitalZoom.data.f[0] - zoom) / in initialize()
876 zoomRatios += String8::format("%d", static_cast<int>(zoom * 100)); in initialize()
877 zoom += zoomIncrement; in initialize()
1974 validatedParams.zoom = newParams.getInt(CameraParameters::KEY_ZOOM); in set()
1975 if (validatedParams.zoom < 0 in set()
1976 || validatedParams.zoom >= (int)NUM_ZOOM_STEPS) { in set()
1978 __FUNCTION__, validatedParams.zoom); in set()
[all …]
/frameworks/base/media/jni/
Dandroid_media_MediaRecorder.cpp783 JNIEnv *env, jobject thiz, jfloat zoom) { in android_media_MediaRecord_setPreferredMicrophoneFieldDimension() argument
784 ALOGV("setPreferredMicrophoneFieldDimension(%f)", zoom); in android_media_MediaRecord_setPreferredMicrophoneFieldDimension()
792 status_t status = mr->setPreferredMicrophoneFieldDimension(zoom); in android_media_MediaRecord_setPreferredMicrophoneFieldDimension()
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp1450 status_t AudioRecord::setPreferredMicrophoneFieldDimension(float zoom) { in setPreferredMicrophoneFieldDimension() argument
1452 if (mSelectedMicFieldDimension == zoom) { in setPreferredMicrophoneFieldDimension()
1457 mSelectedMicFieldDimension = zoom; in setPreferredMicrophoneFieldDimension()
1462 return mAudioRecord->setPreferredMicrophoneFieldDimension(zoom).transactionError(); in setPreferredMicrophoneFieldDimension()
/frameworks/av/services/audioflinger/
DRecordTracks.h110 status_t setPreferredMicrophoneFieldDimension(float zoom);
/frameworks/base/core/java/android/webkit/
DWebSettings.java589 public abstract void setDefaultZoom(ZoomDensity zoom); in setDefaultZoom() argument

12