/packages/apps/LegacyCamera/src/com/android/camera/ |
D | Camera.java | 126 private Parameters mParameters; field in Camera 489 mParameters = mCameraDevice.getParameters(); in initializeZoom() 490 if (!mParameters.isZoomSupported()) return; in initializeZoom() 491 mZoomMax = mParameters.getMaxZoom(); in initializeZoom() 495 mZoomControl.setZoomIndex(mParameters.getZoom()); in initializeZoom() 526 if (mParameters.getMaxNumDetectedFaces() > 0) { in startFaceDetection() 543 if (mParameters.getMaxNumDetectedFaces() > 0) { in stopFaceDetection() 640 float step = mParameters.getExposureCompensationStep(); in updateExposureOnScreenIndicator() 708 boolean isAutoScene = !(Parameters.SCENE_MODE_AUTO.equals(mParameters.getSceneMode())); in updateOnScreenIndicators() 711 updateFlashOnScreenIndicator(mParameters.getFlashMode()); in updateOnScreenIndicators() [all …]
|
D | VideoCamera.java | 239 private Parameters mParameters; field in VideoCamera 488 CameraSettings settings = new CameraSettings(this, mParameters, in loadCameraPreferences() 527 mParameters.isZoomSupported(), SETTING_KEYS, OTHER_SETTING_KEYS); in initializeIndicatorControl() 792 mParameters = mCameraDevice.getParameters(); in getDesiredPreviewSize() 793 if (mParameters.getSupportedVideoSizes() == null || effectsActive()) { in getDesiredPreviewSize() 797 List<Size> sizes = mParameters.getSupportedPreviewSizes(); in getDesiredPreviewSize() 798 Size preferred = mParameters.getPreferredPreviewSizeForVideo(); in getDesiredPreviewSize() 1880 mParameters = mCameraDevice.getParameters(); in setCameraParameters() 1882 mParameters.setPreviewSize(mDesiredPreviewWidth, mDesiredPreviewHeight); in setCameraParameters() 1883 mParameters.setPreviewFrameRate(mProfile.videoFrameRate); in setCameraParameters() [all …]
|
D | CameraSettings.java | 66 private final Parameters mParameters; field in CameraSettings 73 mParameters = parameters; in CameraSettings() 158 mParameters.getSupportedPictureSizes())); in initPreference() 162 whiteBalance, mParameters.getSupportedWhiteBalance()); in initPreference() 166 sceneMode, mParameters.getSupportedSceneModes()); in initPreference() 170 flashMode, mParameters.getSupportedFlashModes()); in initPreference() 173 if (mParameters.getMaxNumFocusAreas() == 0) { in initPreference() 175 focusMode, mParameters.getSupportedFocusModes()); in initPreference() 183 videoFlashMode, mParameters.getSupportedFlashModes()); in initPreference() 197 int max = mParameters.getMaxExposureCompensation(); in buildExposureCompensation() [all …]
|
D | FocusManager.java | 72 private Parameters mParameters; field in FocusManager 109 mParameters = parameters; in initializeParameters() 110 mFocusAreaSupported = (mParameters.getMaxNumFocusAreas() > 0 in initializeParameters() 112 mParameters.getSupportedFocusModes())); in initializeParameters() 113 mLockAeAwbNeeded = (mParameters.isAutoExposureLockSupported() || in initializeParameters() 114 mParameters.isAutoWhiteBalanceLockSupported()); in initializeParameters() 134 if (mParameters != null) { in initialize() 353 List<String> supportedFocusModes = mParameters.getSupportedFocusModes(); in getFocusMode() 378 mParameters.getSupportedFocusModes())) { in getFocusMode() 381 mFocusMode = mParameters.getFocusMode(); in getFocusMode()
|
D | CameraHolder.java | 60 private Parameters mParameters; field in CameraHolder 137 mParameters = mCameraDevice.getParameters(); in open() 145 mCameraDevice.setParameters(mParameters); in open() 190 mParameters = null; in releaseCamera()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ImageFilterCurves.java | 26 FilterCurvesRepresentation mParameters = new FilterCurvesRepresentation(); field in ImageFilterCurves 36 mParameters = parameters; in useRepresentation() 45 Spline spline = mParameters.getSpline(curveIndex); in populateArray() 57 if (!mParameters.getSpline(Spline.RGB).isOriginal()) { in apply() 65 if (!mParameters.getSpline(Spline.RED).isOriginal()) { in apply() 70 if (!mParameters.getSpline(Spline.GREEN).isOriginal()) { in apply() 75 if (!mParameters.getSpline(Spline.BLUE).isOriginal()) { in apply() 86 mParameters.setSpline(splineIndex, new Spline(spline)); in setSpline() 90 return mParameters.getSpline(splineIndex); in getSpline() 100 mParameters.setSpline(i, new Spline(spline)); in reset() [all …]
|
D | ImageFilterRedEye.java | 27 FilterRedEyeRepresentation mParameters = new FilterRedEyeRepresentation(); field in ImageFilterRedEye 39 return mParameters.isNil(); in isNil() 43 return mParameters.getCandidates(); in getCandidates() 47 mParameters.clearCandidates(); in clear() 55 mParameters = parameters; in useRepresentation() 64 int size = mParameters.getNumberOfCandidates(); in apply() 67 RectF r = new RectF(((RedEyeCandidate) (mParameters.getCandidate(i))).mRect); in apply()
|
D | ImageFilterDraw.java | 50 FilterDrawRepresentation mParameters = new FilterDrawRepresentation(); field in ImageFilterDraw 78 mParameters = parameters; in useRepresentation() 232 if (mParameters.getDrawing().isEmpty() && mParameters.getCurrentDrawing() == null) { in drawData() 239 for (FilterDrawRepresentation.StrokeData strokeData : mParameters.getDrawing()) { in drawData() 248 mParameters.getDrawing().size() < mCachedStrokes) { in drawData() 255 if (mCachedStrokes < mParameters.getDrawing().size()) { in drawData() 260 StrokeData stroke = mParameters.getCurrentDrawing(); in drawData() 268 Vector<FilterDrawRepresentation.StrokeData> v = mParameters.getDrawing(); in fillBuffer() 278 for (FilterDrawRepresentation.StrokeData strokeData : mParameters.getDrawing()) { in draw()
|
D | SimpleImageFilter.java | 21 private FilterBasicRepresentation mParameters; field in SimpleImageFilter 31 mParameters = parameters; in useRepresentation() 35 return mParameters; in getParameters()
|
D | ImageFilterTinyPlanet.java | 39 FilterTinyPlanetRepresentation mParameters = new FilterTinyPlanetRepresentation(); field in ImageFilterTinyPlanet 61 mParameters = parameters; in useRepresentation() 105 outputSize, mParameters.getZoom() / 100f, mParameters.getAngle()); in apply()
|
D | ImageFilterFx.java | 26 private FilterFxRepresentation mParameters = null; field in ImageFilterFx 47 mParameters = parameters; in useRepresentation() 51 return mParameters; in getParameters()
|
D | ImageFilterBorder.java | 32 private FilterImageBorderRepresentation mParameters = null; field in ImageFilterBorder 43 mParameters = parameters; in useRepresentation() 47 return mParameters; in getParameters()
|
D | ImageFilterColorBorder.java | 28 private FilterColorBorderRepresentation mParameters = null; field in ImageFilterColorBorder 45 mParameters = parameters; in useRepresentation() 49 return mParameters; in getParameters()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcDiscoveryParameters.java | 29 private NfcDiscoveryParameters mParameters; field in NfcDiscoveryParameters.Builder 32 mParameters = new NfcDiscoveryParameters(); in Builder() 36 mParameters.mTechMask = techMask; in setTechMask() 41 mParameters.mEnableLowPowerDiscovery = enable; in setEnableLowPowerDiscovery() 46 mParameters.mEnableReaderMode = enable; in setEnableReaderMode() 49 mParameters.mEnableLowPowerDiscovery = false; in setEnableReaderMode() 56 mParameters.mEnableHostRouting = enable; in setEnableHostRouting() 61 mParameters.mEnableP2p = enable; in setEnableP2p() 66 if (mParameters.mEnableReaderMode && in build() 67 (mParameters.mEnableLowPowerDiscovery || mParameters.mEnableP2p)) { in build() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/qrcode/ |
D | QrCamera.java | 83 private Camera.Parameters mParameters; field in QrCamera 168 mParameters = mCamera.getParameters(); in setCameraParameter() 169 mPreviewSize = getBestPreviewSize(mParameters); in setCameraParameter() 170 mParameters.setPreviewSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in setCameraParameter() 171 mParameters.setPictureSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in setCameraParameter() 173 if (mParameters.getSupportedFlashModes().contains(Parameters.FLASH_MODE_OFF)) { in setCameraParameter() 174 mParameters.setFlashMode(Parameters.FLASH_MODE_OFF); in setCameraParameter() 177 final List<String> supportedFocusModes = mParameters.getSupportedFocusModes(); in setCameraParameter() 179 mParameters.setFocusMode(Parameters.FOCUS_MODE_CONTINUOUS_PICTURE); in setCameraParameter() 181 mParameters.setFocusMode(Parameters.FOCUS_MODE_AUTO); in setCameraParameter() [all …]
|
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/ |
D | QrCamera.java | 92 Camera.Parameters mParameters; field in QrCamera 178 mParameters = mCamera.getParameters(); in setCameraParameter() 179 mPreviewSize = getBestPreviewSize(mParameters); in setCameraParameter() 180 mParameters.setPreviewSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in setCameraParameter() 181 Size pictureSize = getBestPictureSize(mParameters); in setCameraParameter() 182 mParameters.setPictureSize(pictureSize.getWidth(), pictureSize.getHeight()); in setCameraParameter() 184 final List<String> supportedFlashModes = mParameters.getSupportedFlashModes(); in setCameraParameter() 187 mParameters.setFlashMode(Parameters.FLASH_MODE_OFF); in setCameraParameter() 190 final List<String> supportedFocusModes = mParameters.getSupportedFocusModes(); in setCameraParameter() 192 mParameters.setFocusMode(Parameters.FOCUS_MODE_CONTINUOUS_PICTURE); in setCameraParameter() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | FocusOverlayManager.java | 91 private Parameters mParameters; field in FocusOverlayManager 137 mParameters = parameters; in setParameters() 140 mLockAeAwbNeeded = (isAutoExposureLockSupported(mParameters) || in setParameters() 141 isAutoWhiteBalanceLockSupported(mParameters)); in setParameters() 420 List<String> supportedFocusModes = mParameters.getSupportedFocusModes(); in getFocusMode() 433 mParameters.getSupportedFocusModes())) { in getFocusMode() 436 mFocusMode = mParameters.getFocusMode(); in getFocusMode()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
D | RequestTemplate.java | 59 private final List<Parameter<?>> mParameters; field in RequestTemplate 65 mParameters = new ArrayList<>(); in RequestTemplate() 79 mParameters.add(new Parameter<T>(key, value)); in setParam() 102 for (Parameter param : mParameters) { in create()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/qrcode/ |
D | QrCameraTest.java | 172 verify(mCamera.mParameters).setPreviewSize(anyInt(), anyInt()); in setCameraParameter_shouldSetParameters() 173 verify(mCamera.mParameters).setPictureSize(anyInt(), anyInt()); in setCameraParameter_shouldSetParameters() 174 verify(mCamera.mCamera).setParameters(mCamera.mParameters); in setCameraParameter_shouldSetParameters()
|