Code example for Camera.Parameters

Methods: getExposureCompensationStep

0
     */ 
    public void updateExposureOnScreenIndicator(Camera.Parameters params, int value) {
        if (mExposureIndicator == null) {
            return; 
        } 
        float step = params.getExposureCompensationStep();
        value = Math.round(value * step);
        updateExposureOnScreenIndicator(value);
    } 
 
    /** 
     * Set the exposure indicator to the given value. 
     * 
     * @param value Value between -3 and 3. If outside this range, 0 is used by 
     *            default. 
     */ 
    public void updateExposureOnScreenIndicator(int value) {
        int id = 0;
        switch(value) {
        case -3: