Home
last modified time | relevance | path

Searched refs:medianLuma (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DRegionSamplingHelper.java88 public void onSampleCollected(float medianLuma) { in RegionSamplingHelper()
90 updateMediaLuma(medianLuma); in RegionSamplingHelper()
204 private void updateMediaLuma(float medianLuma) { in updateMediaLuma() argument
205 mCurrentMedianLuma = medianLuma; in updateMediaLuma()
210 mCallback.onRegionDarknessChanged(medianLuma < mLuminanceThreshold /* isRegionDark */); in updateMediaLuma()
211 mLastMedianLuma = medianLuma; in updateMediaLuma()
DNavBarTintController.java72 public void onSampleCollected(float medianLuma) { in NavBarTintController()
73 updateTint(medianLuma); in NavBarTintController()
167 private void updateTint(float medianLuma) { in updateTint() argument
168 mLastMedianLuma = medianLuma; in updateTint()
173 if (medianLuma > mLuminanceThreshold) { in updateTint()
180 mCurrentMedianLuma = medianLuma; in updateTint()
/frameworks/base/core/java/android/view/
DCompositionSamplingListener.java55 public abstract void onSampleCollected(float medianLuma); in onSampleCollected() argument
81 float medianLuma) { in dispatchOnSampleCollected() argument
82 listener.mExecutor.execute(() -> listener.onSampleCollected(medianLuma)); in dispatchOnSampleCollected()
/frameworks/native/libs/gui/
DIRegionSamplingListener.cpp40 void onSampleCollected(float medianLuma) override { in onSampleCollected() argument
42 &IRegionSamplingListener::onSampleCollected)>(Tag::ON_SAMPLE_COLLECTED, medianLuma); in onSampleCollected()
/frameworks/base/core/jni/
Dandroid_view_CompositionSamplingListener.cpp48 void onSampleCollected(float medianLuma) override { in onSampleCollected()
54 static_cast<jfloat>(medianLuma)); in onSampleCollected()
/frameworks/native/libs/gui/tests/
DSamplingDemo.cpp104 void onSampleCollected(float medianLuma) override { in onSampleCollected() argument
106 setColor(medianLuma); in onSampleCollected()
DRegionSampling_test.cpp139 void onSampleCollected(float medianLuma) override { in onSampleCollected()
142 mLuma = medianLuma; in onSampleCollected()
/frameworks/native/libs/gui/include/gui/
DIRegionSamplingListener.h31 virtual void onSampleCollected(float medianLuma) = 0;
/frameworks/base/core/tests/coretests/src/android/view/
DCompositionSamplingListenerTest.java45 public void onSampleCollected(float medianLuma) {