Home
last modified time | relevance | path

Searched refs:mAggregator (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DBlurAggregatorTest.java48 private Aggregator mAggregator; field in BlurAggregatorTest
59 mAggregator = new Aggregator(mViewRoot); in setUp()
64 final BackgroundBlurDrawable drawable = mAggregator.createBackgroundBlurDrawable(mContext); in createTestBackgroundBlurDrawable()
66 final boolean hasUpdates = mAggregator.hasUpdates(); in createTestBackgroundBlurDrawable()
67 final BlurRegion[] blurRegions = mAggregator.getBlurRegionsCopyForRT(); in createTestBackgroundBlurDrawable()
68 mAggregator.getBlurRegionsForFrameLocked(TEST_FRAME_NUMBER, blurRegions, hasUpdates); in createTestBackgroundBlurDrawable()
75 assertFalse(mAggregator.hasUpdates()); in testBlurRadiusUpdatePropagatesToRenderThreadIfNeeded()
78 assertTrue(mAggregator.hasUpdates()); in testBlurRadiusUpdatePropagatesToRenderThreadIfNeeded()
79 BlurRegion[] blurRegions = mAggregator.getBlurRegionsCopyForRT(); in testBlurRadiusUpdatePropagatesToRenderThreadIfNeeded()
81 assertFalse(mAggregator.hasUpdates()); in testBlurRadiusUpdatePropagatesToRenderThreadIfNeeded()
[all …]
/frameworks/base/core/java/com/android/internal/graphics/drawable/
DBackgroundBlurDrawable.java54 private final Aggregator mAggregator; field in BackgroundBlurDrawable
83 mAggregator.onRenderNodePositionChanged(frameNumber, () -> {
90 mAggregator.onRenderNodePositionChanged(frameNumber, () -> {
97 mAggregator = aggregator; in BackgroundBlurDrawable()
127 mAggregator.onBlurDrawableUpdated(this); in setVisible()
137 mAggregator.onBlurDrawableUpdated(this); in setAlpha()
148 mAggregator.onBlurDrawableUpdated(this); in setBlurRadius()
178 mAggregator.onBlurDrawableUpdated(this); in setCornerRadius()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPowerStatsAggregatorTest.java56 private PowerStatsAggregator mAggregator; field in PowerStatsAggregatorTest
74 mAggregator = new PowerStatsAggregator(config, mHistory); in setup()
122 mAggregator.aggregatePowerStats(0, MonotonicClock.UNDEFINED, stats -> { in stateUpdates()
221 mAggregator.aggregatePowerStats(0, MonotonicClock.UNDEFINED, stats -> { in incompatiblePowerStats()