Merge "Rename updateMediaLuma to updateMedianLuma." into tm-qpr-dev am: 1b4e287609
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20581907 Change-Id: Ie1bd0aa4d6c1927145b0c6fdf70c206550bdb14c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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