Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DFocusOverlayManager.java23 import android.hardware.Camera.Parameters;
91 private Parameters mParameters;
129 public void setParameters(Parameters parameters) { in setParameters()
424 mFocusMode = Parameters.FOCUS_MODE_AUTO; in getFocusMode()
426 mFocusMode = Parameters.FOCUS_MODE_CONTINUOUS_PICTURE; in getFocusMode()
432 if (isSupported(Parameters.FOCUS_MODE_AUTO, in getFocusMode()
434 mFocusMode = Parameters.FOCUS_MODE_AUTO; in getFocusMode()
468 if (Parameters.FOCUS_MODE_CONTINUOUS_PICTURE.equals(mFocusMode)) { in updateFocusUI()
533 return !(focusMode.equals(Parameters.FOCUS_MODE_INFINITY) in needAutoFocusCall()
534 || focusMode.equals(Parameters.FOCUS_MODE_FIXED) in needAutoFocusCall()
[all …]
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DFocusOverlayManager.java23 import android.hardware.Camera.Parameters;
80 private Parameters parameters;
123 public void setParameters(Parameters parameters) { in setParameters()
342 focusMode = Parameters.FOCUS_MODE_AUTO; in getFocusMode()
344 focusMode = Parameters.FOCUS_MODE_CONTINUOUS_PICTURE; in getFocusMode()
350 if (isSupported(Parameters.FOCUS_MODE_AUTO, parameters.getSupportedFocusModes())) { in getFocusMode()
351 focusMode = Parameters.FOCUS_MODE_AUTO; in getFocusMode()
385 if (Parameters.FOCUS_MODE_CONTINUOUS_PICTURE.equals(focusMode)) { in updateFocusUI()
440 private boolean isAutoExposureLockSupported(Parameters params) { in isAutoExposureLockSupported()
444 private boolean isAutoWhiteBalanceLockSupported(Parameters params) { in isAutoWhiteBalanceLockSupported()
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/
DFocusManager.java28 import android.hardware.Camera.Parameters;
72 private Parameters mParameters;
108 public void initializeParameters(Parameters parameters) { in initializeParameters()
111 && isSupported(Parameters.FOCUS_MODE_AUTO, in initializeParameters()
225 if (!Parameters.FOCUS_MODE_CONTINUOUS_PICTURE. in onAutoFocus()
357 mFocusMode = Parameters.FOCUS_MODE_AUTO; in getFocusMode()
377 if (isSupported(Parameters.FOCUS_MODE_AUTO, in getFocusMode()
379 mFocusMode = Parameters.FOCUS_MODE_AUTO; in getFocusMode()
423 if (Parameters.FOCUS_MODE_CONTINUOUS_PICTURE.equals(mFocusMode)) { in updateFocusUI()
489 return !(focusMode.equals(Parameters.FOCUS_MODE_INFINITY) in needAutoFocusCall()
[all …]
DCamera.java43 import android.hardware.Camera.Parameters;
126 private Parameters mParameters;
127 private Parameters mInitialParams;
654 if (Parameters.FLASH_MODE_AUTO.equals(value)) { in updateFlashOnScreenIndicator()
657 } else if (Parameters.FLASH_MODE_ON.equals(value)) { in updateFlashOnScreenIndicator()
660 } else if (Parameters.FLASH_MODE_OFF.equals(value)) { in updateFlashOnScreenIndicator()
676 if (Parameters.WHITE_BALANCE_AUTO.equals(value)) { in updateWhiteBalanceOnScreenIndicator()
679 if (Parameters.WHITE_BALANCE_FLUORESCENT.equals(value)) { in updateWhiteBalanceOnScreenIndicator()
681 } else if (Parameters.WHITE_BALANCE_INCANDESCENT.equals(value)) { in updateWhiteBalanceOnScreenIndicator()
683 } else if (Parameters.WHITE_BALANCE_DAYLIGHT.equals(value)) { in updateWhiteBalanceOnScreenIndicator()
[all …]
DCameraSettings.java24 import android.hardware.Camera.Parameters;
66 private final Parameters mParameters;
70 public CameraSettings(Activity activity, Parameters parameters, in CameraSettings()
96 Context context, Parameters parameters) { in initialCameraPictureSize()
121 String candidate, List<Size> supported, Parameters parameters) { in setCameraPictureSize()
422 ComboPreferences preferences, Parameters parameters) { in restorePreferences()
DCameraHolder.java22 import android.hardware.Camera.Parameters;
60 private Parameters mParameters;
DUtil.java34 import android.hardware.Camera.Parameters;
453 public static void dumpParameters(Parameters parameters) { in dumpParameters()
618 public static void setRotationParameter(Parameters parameters, int cameraId, int orientation) { in setRotationParameter()
633 public static void setGpsParameters(Parameters parameters, Location loc) { in setGpsParameters()
DEffectsRecorder.java757 Camera.Parameters params = mCameraDevice.getParameters(); in tryEnableVideoStabilization()
772 Camera.Parameters params = mCameraDevice.getParameters(); in tryEnable3ALocks()
786 Camera.Parameters params = mCameraDevice.getParameters(); in enable3ALocks()
DVideoCamera.java42 import android.hardware.Camera.Parameters;
239 private Parameters mParameters;
1910 whiteBalance = Parameters.WHITE_BALANCE_AUTO; in setCameraParameters()
1921 if (isSupported(Parameters.FOCUS_MODE_CONTINUOUS_VIDEO, supportedFocus)) { in setCameraParameters()
1922 mParameters.setFocusMode(Parameters.FOCUS_MODE_CONTINUOUS_VIDEO); in setCameraParameters()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/qrcode/
DQrCamera.java26 import android.hardware.Camera.Parameters;
83 private Camera.Parameters mParameters;
173 if (mParameters.getSupportedFlashModes().contains(Parameters.FLASH_MODE_OFF)) { in setCameraParameter()
174 mParameters.setFlashMode(Parameters.FLASH_MODE_OFF); in setCameraParameter()
178 if (supportedFocusModes.contains(Parameters.FOCUS_MODE_CONTINUOUS_PICTURE)) { in setCameraParameter()
179 mParameters.setFocusMode(Parameters.FOCUS_MODE_CONTINUOUS_PICTURE); in setCameraParameter()
180 } else if (supportedFocusModes.contains(Parameters.FOCUS_MODE_AUTO)) { in setCameraParameter()
181 mParameters.setFocusMode(Parameters.FOCUS_MODE_AUTO); in setCameraParameter()
212 if (mParameters.getFocusMode() == Parameters.FOCUS_MODE_AUTO) { in startPreview()
367 private Size getBestPreviewSize(Camera.Parameters parameters) { in getBestPreviewSize()
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/
DQrCamera.java26 import android.hardware.Camera.Parameters;
90 private Camera.Parameters mParameters;
181 if (mParameters.getSupportedFlashModes().contains(Parameters.FLASH_MODE_OFF)) { in setCameraParameter()
182 mParameters.setFlashMode(Parameters.FLASH_MODE_OFF); in setCameraParameter()
186 if (supportedFocusModes.contains(Parameters.FOCUS_MODE_CONTINUOUS_PICTURE)) { in setCameraParameter()
187 mParameters.setFocusMode(Parameters.FOCUS_MODE_CONTINUOUS_PICTURE); in setCameraParameter()
188 } else if (supportedFocusModes.contains(Parameters.FOCUS_MODE_AUTO)) { in setCameraParameter()
189 mParameters.setFocusMode(Parameters.FOCUS_MODE_AUTO); in setCameraParameter()
220 if (mParameters.getFocusMode() == Parameters.FOCUS_MODE_AUTO) { in startPreview()
372 private Size getBestPreviewSize(Camera.Parameters parameters) { in getBestPreviewSize()
[all …]
/packages/apps/Camera2/src/com/android/camera/one/v1/
DOneCameraCharacteristicsImpl.java38 private final Camera.Parameters mCameraParameters;
47 Camera.CameraInfo cameraInfo, Camera.Parameters cameraParameters) { in OneCameraCharacteristicsImpl()
109 Camera.Parameters.SCENE_MODE_HDR); in isHdrSceneSupported()
DLegacyOneCameraManagerImpl.java169 Camera.Parameters cameraParameters = camera.getParameters(); in computeCameraCharacteristics()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java51 import android.hardware.Camera.Parameters;
171 private String mTargetFocusMode = Parameters.FOCUS_MODE_INFINITY;
351 Parameters parameters = mCameraDevice.getParameters(); in setupCamera()
397 private void setupCaptureParams(Parameters parameters) { in setupCaptureParams()
411 int minFps = (frameRates.get(last))[Parameters.PREVIEW_FPS_MIN_INDEX]; in setupCaptureParams()
412 int maxFps = (frameRates.get(last))[Parameters.PREVIEW_FPS_MAX_INDEX]; in setupCaptureParams()
438 private void configureCamera(Parameters parameters) { in configureCamera()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DCameraManager.java565 Camera.Parameters params = camera.getParameters(); in updateCameraRotation()
621 final Camera.Parameters params = this.camera.getParameters(); in tryShowPreview()
630 if (TextUtils.equals(focusMode, Camera.Parameters.FOCUS_MODE_CONTINUOUS_PICTURE)) { in tryShowPreview()
826 final Camera.Parameters parameters = camera.getParameters(); in setFocusParameters()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java697 final Camera.Parameters params = mCamera.getParameters(); in updateCameraOrientation()
739 final Camera.Parameters params = mCamera.getParameters(); in tryShowPreview()
748 if (TextUtils.equals(focusMode, Camera.Parameters.FOCUS_MODE_CONTINUOUS_PICTURE)) { in tryShowPreview()
1133 final Camera.Parameters parameters = mCamera.getParameters(); in setFocusParameters()
/packages/apps/Dialer/java/com/android/contacts/common/widget/
Dselect_phone_account_dialog_options.proto24 // Parameters for SelectPhoneAccountDialogFragment
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DApiHelper.java104 hasMethod(Camera.Parameters.class, "getMaxNumDetectedFaces");
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DUIProvider.java1483 public static final class Parameters { class in UIProvider.ConversationOperations
1489 private Parameters() {} in Parameters() method in UIProvider.ConversationOperations.Parameters
/packages/services/Telephony/tests/src/com/android/phone/
DLocationAccessPolicyTest.java233 @Parameterized.Parameters(name = "{0}")
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioModeTransitionTests.java185 @Parameterized.Parameters(name = "{0}")
DBluetoothRouteTransitionTests.java372 @Parameterized.Parameters(name = "{0}")
DCallAudioRouteTransitionTests.java369 @Parameterized.Parameters(name = "{0}")
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAbstractActivityController.java1934 value.put(ConversationOperations.Parameters.SUPPRESS_UNDO, true);
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java5288 columnName.equals(UIProvider.ConversationOperations.Parameters.SUPPRESS_UNDO)) { in convertUiMessageValues()
5410 values.getAsBoolean(UIProvider.ConversationOperations.Parameters.SUPPRESS_UNDO); in uiUpdateMessage()