Searched refs:AcceptOnceConsumer (Results 1 – 3 of 3) sorted by relevance
28 public class AcceptOnceConsumer<T> implements Consumer<T> { class32 public AcceptOnceConsumer(@NonNull AcceptOnceProducerCallback<T> producer, in AcceptOnceConsumer() method in AcceptOnceConsumer
36 AcceptOnceConsumer.AcceptOnceProducerCallback<T> {
34 import androidx.window.util.AcceptOnceConsumer;146 AcceptOnceConsumer<List<CommonFoldingFeature>> singleRunCallback = in runCallbackWhenValidState()147 new AcceptOnceConsumer<>(this, callback); in runCallbackWhenValidState()