Home
last modified time | relevance | path

Searched refs:mConsumer (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DCachedEventDispatcher.java31 private Consumer<MotionEvent> mConsumer; field in CachedEventDispatcher
37 if (mConsumer != null) { in dispatchEvent()
38 mConsumer.accept(event); in dispatchEvent()
55 mConsumer = consumer; in setConsumer()
59 mConsumer.accept(ev); in setConsumer()
67 return mConsumer != null; in hasConsumer()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/prefs/
DPreferencesMonitorTest.java40 private TestConsumer<String> mConsumer; field in PreferencesMonitorTest
44 mConsumer = new TestConsumer<>(); in setUp()
46 mMonitor = new PreferencesMonitor("Poodles", mPrefs, mConsumer); in setUp()
59 mConsumer.waitForCall(100, TimeUnit.MILLISECONDS); in testReportsChangesToListener()
60 mConsumer.assertLastArgument(ScopedPreferences.INCLUDE_DEVICE_ROOT); in testReportsChangesToListener()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DSharedBuffer.java26 private volatile Buffer mConsumer = null; field in SharedBuffer
50 return mConsumer; in getConsumer()
65 mIntermediate = mConsumer; in swapConsumerIfNeeded()
66 mConsumer = intermediate; in swapConsumerIfNeeded()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTouchInteractionService.java292 private InputConsumer mConsumer = InputConsumer.NO_OP; field in TouchInteractionService
555 boolean useSharedState = mConsumer.useSharedSwipeState(); in onInputEvent()
556 mConsumer.onConsumerAboutToBeSwitched(); in onInputEvent()
557 mConsumer = newConsumer(useSharedState, event); in onInputEvent()
558 TOUCH_INTERACTION_LOG.addLog("setInputConsumer", mConsumer.getType()); in onInputEvent()
559 mUncheckedConsumer = mConsumer; in onInputEvent()
755 if (mConsumer == caller) { in onConsumerInactive()
756 mConsumer = mResetGestureInputConsumer; in onConsumerInactive()
757 mUncheckedConsumer = mConsumer; in onConsumerInactive()
843 pw.println(" useSharedState=" + mConsumer.useSharedSwipeState()); in dump()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DQueryTask.java38 private final Consumer<C> mConsumer; field in QueryTask
56 mConsumer = consumer; in QueryTask()
68 Consumers.consumeCloseableAsync(mHandler, mConsumer, cursor); in run()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeLocalRequestScheduler.java53 private final IProcedureConsumer mConsumer; field in IkeLocalRequestScheduler
61 mConsumer = consumer; in IkeLocalRequestScheduler()
86 mConsumer.onNewProcedureReady(mRequestQueue.poll()); in readyForNextProcedure()
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/
DIpNeighborMonitor.java123 private final NeighborEventConsumer mConsumer; field in IpNeighborMonitor
127 mConsumer = (cb != null) ? cb : (event) -> { /* discard */ }; in IpNeighborMonitor()
163 mConsumer.accept(event); in processNetlinkMessage()