Merge "Rename updateMediaLuma to updateMedianLuma." into tm-qpr-dev

This commit is contained in:
Xiaowen Lei
2022-11-29 01:13:40 +00:00
committed by Android (Google) Code Review

View File

@@ -117,7 +117,7 @@ public class RegionSamplingHelper implements View.OnAttachStateChangeListener,
@Override
public void onSampleCollected(float medianLuma) {
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;
// If the difference between the new luma and the current luma is larger than threshold