Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DGroupWhenCoordinator.kt41 private val invalidator = object : Invalidator("GroupWhenCoordinator") {} in <lambda>() constant
46 invalidator.invalidateList("future notification invalidation") in <lambda>()
52 pipeline.addPreRenderInvalidator(invalidator) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DShadeListBuilderTest.java1751 CountingInvalidator invalidator = new CountingInvalidator(filter); in testOutOfOrderPreGroupFilterInvalidationDoesNotThrowBeforeTooManyRuns() local
1752 OnBeforeTransformGroupsListener listener = (list) -> invalidator.maybeInvalidate(); in testOutOfOrderPreGroupFilterInvalidationDoesNotThrowBeforeTooManyRuns()
1759 invalidator.setInvalidationCount(MAX_CONSECUTIVE_REENTRANT_REBUILDS); in testOutOfOrderPreGroupFilterInvalidationDoesNotThrowBeforeTooManyRuns()
1772 CountingInvalidator invalidator = new CountingInvalidator(filter); in testOutOfOrderPreGroupFilterInvalidationThrowsAfterTooManyRuns() local
1773 OnBeforeTransformGroupsListener listener = (list) -> invalidator.maybeInvalidate(); in testOutOfOrderPreGroupFilterInvalidationThrowsAfterTooManyRuns()
1783 invalidator.setInvalidationCount(MAX_CONSECUTIVE_REENTRANT_REBUILDS + 1); in testOutOfOrderPreGroupFilterInvalidationThrowsAfterTooManyRuns()
1797 CountingInvalidator invalidator = new CountingInvalidator(filter); in testNonConsecutiveOutOfOrderInvalidationsDontThrowAfterTooManyRuns() local
1798 OnBeforeTransformGroupsListener listener = (list) -> invalidator.maybeInvalidate(); in testNonConsecutiveOutOfOrderInvalidationsDontThrowAfterTooManyRuns()
1810 invalidator.setInvalidationCount(MAX_CONSECUTIVE_REENTRANT_REBUILDS); in testNonConsecutiveOutOfOrderInvalidationsDontThrowAfterTooManyRuns()
1816 invalidator.setInvalidationCount(MAX_CONSECUTIVE_REENTRANT_REBUILDS); in testNonConsecutiveOutOfOrderInvalidationsDontThrowAfterTooManyRuns()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifPipeline.kt216 fun addPreRenderInvalidator(invalidator: Invalidator) { in addPreRenderInvalidator()
217 mShadeListBuilder.addPreRenderInvalidator(invalidator) in addPreRenderInvalidator()
DShadeListBuilder.java212 void addPreRenderInvalidator(Invalidator invalidator) { in addPreRenderInvalidator() argument
216 invalidator.setInvalidationListener(this::onPreRenderInvalidated); in addPreRenderInvalidator()
329 private void onPreRenderInvalidated(Invalidator invalidator, @Nullable String reason) { in onPreRenderInvalidated() argument
332 mLogger.logPreRenderInvalidated(invalidator, mPipelineState.getState(), reason); in onPreRenderInvalidated()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DViewPropertyAlphaActivity.java68 Button invalidator = findViewById(R.id.invalidateButton); in onCreate() local
69 invalidator.setOnClickListener(new View.OnClickListener() { in onCreate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DSensitiveContentCoordinatorTest.kt90 val invalidator = in onDynamicPrivacyChanged_invokeInvalidationListener() constant
98 invalidator.setInvalidationListener(invalidationListener) in onDynamicPrivacyChanged_invokeInvalidationListener()
102 verify(invalidationListener).onPluggableInvalidated(eq(invalidator), any()) in onDynamicPrivacyChanged_invokeInvalidationListener()
109 val invalidator = in onSensitiveStateChanged_invokeInvalidationListener() constant
118 invalidator.setInvalidationListener(invalidationListener) in onSensitiveStateChanged_invokeInvalidationListener()
122 verify(invalidationListener).onPluggableInvalidated(eq(invalidator), any()) in onSensitiveStateChanged_invokeInvalidationListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/
DShadeListBuilderLogger.kt87 invalidator: Invalidator,
90 ) = logPluggableInvalidated("Pre-render Invalidator", invalidator, pipelineState, reason)
/frameworks/base/core/java/android/widget/
DSmartSelectSprite.java334 final Runnable invalidator) { in SmartSelectSprite() argument
339 mInvalidator = Objects.requireNonNull(invalidator); in SmartSelectSprite()
/frameworks/av/media/module/bufferpool/2.0/
DAccessorImpl.cpp878 std::thread invalidator( in AccessorInvalidator() local
884 invalidator.detach(); in AccessorInvalidator()