Merge "Rename updateMediaLuma to updateMedianLuma." into tm-qpr-dev
This commit is contained in:
@@ -117,7 +117,7 @@ public class RegionSamplingHelper implements View.OnAttachStateChangeListener,
|
|||||||
@Override
|
@Override
|
||||||
public void onSampleCollected(float medianLuma) {
|
public void onSampleCollected(float medianLuma) {
|
||||||
if (mSamplingEnabled) {
|
if (mSamplingEnabled) {
|
||||||
updateMediaLuma(medianLuma);
|
updateMedianLuma(medianLuma);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -260,7 +260,7 @@ public class RegionSamplingHelper implements View.OnAttachStateChangeListener,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateMediaLuma(float medianLuma) {
|
private void updateMedianLuma(float medianLuma) {
|
||||||
mCurrentMedianLuma = medianLuma;
|
mCurrentMedianLuma = medianLuma;
|
||||||
|
|
||||||
// If the difference between the new luma and the current luma is larger than threshold
|
// If the difference between the new luma and the current luma is larger than threshold
|
||||||
|
|||||||
Reference in New Issue
Block a user