Searched defs:listener (Results 226 - 250 of 787) sorted by last modified time

1234567891011>>

/frameworks/opt/colorpicker/src/com/android/colorpicker/
H A DColorPickerSwatch.java47 OnColorSelectedListener listener) {
50 mOnColorSelectedListener = listener;
46 ColorPickerSwatch(Context context, int color, boolean checked, OnColorSelectedListener listener) argument
/frameworks/native/cmds/dumpstate/
H A DDumpstateService.cpp54 const sp<IDumpstateListener>& listener,
61 if (listener == nullptr) {
62 MYLOGE("setListener(): listener not set\n");
72 ds_.listener_ = listener;
99 dprintf(fd, "listener: %s\n", ds_.listener_name_.c_str());
53 setListener(const std::string& name, const sp<IDumpstateListener>& listener, sp<IDumpstateToken>* returned_token) argument
/frameworks/native/include/media/drm/
H A DDrmAPI.h339 status_t setListener(const sp<DrmPluginListener>& listener) { argument
341 mListener = listener;
384 sp<DrmPluginListener> listener = mListener; local
387 if (listener != NULL) {
388 listener->sendEvent(eventType, extra, sessionId, data);
395 sp<DrmPluginListener> listener = mListener; local
398 if (listener != NULL) {
399 listener->sendExpirationUpdate(sessionId, expiryTimeInMS);
407 sp<DrmPluginListener> listener = mListener; local
410 if (listener !
[all...]
/frameworks/native/libs/gui/
H A DBufferItemConsumer.cpp61 const wp<BufferFreedListener>& listener) {
63 mBufferFreedListener = listener;
114 sp<BufferFreedListener> listener = mBufferFreedListener.promote(); local
115 if (listener != NULL && mSlots[slotIndex].mGraphicBuffer != NULL) {
116 // Fire callback if we have a listener registered and the buffer being freed is valid.
118 listener->onBufferFreed(mSlots[slotIndex].mGraphicBuffer);
60 setBufferFreedListener( const wp<BufferFreedListener>& listener) argument
H A DBufferQueueConsumer.cpp53 sp<IProducerListener> listener; local
165 listener = mCore->mConnectedProducerListener;
270 if (listener != NULL) {
272 listener->onBufferReleased();
417 sp<IProducerListener> listener; local
455 listener = mCore->mConnectedProducerListener;
463 if (listener != NULL) {
464 listener->onBufferReleased();
618 sp<IConsumerListener> listener; local
667 listener
[all...]
H A DBufferQueueProducer.cpp99 sp<IConsumerListener> listener; local
161 listener = mCore->mConsumerListener;
167 if (listener != NULL) {
168 listener->onBuffersReleased();
178 sp<IConsumerListener> listener; local
217 listener = mCore->mConsumerListener;
222 if (listener != NULL) {
223 listener->onBuffersReleased();
574 sp<IConsumerListener> listener; local
613 listener
635 sp<IConsumerListener> listener; local
1129 connect(const sp<IProducerListener>& listener, int api, bool producerControlledByApp, QueueBufferOutput *output) argument
1225 sp<IConsumerListener> listener; local
1308 sp<IConsumerListener> listener; local
1524 sp<IConsumerListener> listener; local
[all...]
H A DConsumerBase.cpp69 wp<ConsumerListener> listener = static_cast<ConsumerListener*>(this); local
70 sp<IConsumerListener> proxy = new BufferQueue::ProxyConsumerListener(listener);
107 sp<FrameAvailableListener> listener; local
110 listener = mFrameAvailableListener.promote();
113 if (listener != NULL) {
115 listener->onFrameAvailable(item);
122 sp<FrameAvailableListener> listener; local
125 listener = mFrameAvailableListener.promote();
128 if (listener != NULL) {
130 listener
185 setFrameAvailableListener( const wp<FrameAvailableListener>& listener) argument
[all...]
H A DIGraphicBufferProducer.cpp285 virtual status_t connect(const sp<IProducerListener>& listener, argument
289 if (listener != NULL) {
291 data.writeStrongBinder(IInterface::asBinder(listener));
556 const sp<IProducerListener>& listener,
559 return mBase->connect(listener, api, producerControlledByApp, output);
745 sp<IProducerListener> listener; local
747 listener = IProducerListener::asInterface(data.readStrongBinder());
752 status_t res = connect(listener, api, producerControlledByApp, &output);
H A DSurface.cpp1139 static sp<IProducerListener> listener = new DummyProducerListener(); local
1140 return connect(api, listener);
1143 int Surface::connect(int api, const sp<IProducerListener>& listener) { argument
1144 return connect(api, listener, false);
1148 int api, const sp<IProducerListener>& listener, bool reportBufferRemoval) {
1154 int err = mGraphicBufferProducer->connect(listener, api, mProducerControlledByApp, &output);
1147 connect( int api, const sp<IProducerListener>& listener, bool reportBufferRemoval) argument
/frameworks/native/libs/gui/bufferqueue/1.0/
H A DH2BGraphicBufferProducer.cpp1117 const sp<IProducerListener>& listener, int api,
1119 sp<HProducerListener> tListener = listener == nullptr ?
1120 nullptr : new B2HProducerListener(listener);
1116 connect( const sp<IProducerListener>& listener, int api, bool producerControlledByApp, QueueBufferOutput* output) argument
/frameworks/native/libs/gui/tests/
H A DMalicious.cpp59 status_t connect(const sp<IProducerListener>& listener, int api, bool producerControlledByApp,
61 return mProducer->connect(listener, api, producerControlledByApp, output);
138 sp<IConsumerListener> listener = new DummyListener; local
139 consumer->consumerConnect(listener, false);
H A DSurface_test.cpp335 sp<DummyProducerListener> listener = new DummyProducerListener(); local
338 /*listener*/listener,
/frameworks/native/services/batteryservice/
H A DIBatteryPropertiesRegistrar.cpp34 void registerListener(const sp<IBatteryPropertiesListener>& listener) { argument
37 data.writeStrongBinder(IInterface::asBinder(listener));
41 void unregisterListener(const sp<IBatteryPropertiesListener>& listener) { argument
44 data.writeStrongBinder(IInterface::asBinder(listener));
81 sp<IBatteryPropertiesListener> listener = local
83 registerListener(listener);
89 sp<IBatteryPropertiesListener> listener = local
91 unregisterListener(listener);
/frameworks/native/services/inputflinger/
H A DInputReader.cpp307 const sp<InputListenerInterface>& listener) :
312 mQueuedListener = new QueuedInputListener(listener);
382 // Flush queued events out to the listener.
383 // This must happen outside of the lock because the listener could potentially call
387 // listener is actually the input dispatcher, which calls into the window manager,
4622 // The listener takes care of batching moves so we don't have to deal with that here.
305 InputReader(const sp<EventHubInterface>& eventHub, const sp<InputReaderPolicyInterface>& policy, const sp<InputListenerInterface>& listener) argument
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp753 const sp<InputListenerInterface>& listener) :
754 mEventHub(eventHub), mPolicy(policy), mListener(listener),
965 const sp<InputListenerInterface>& listener) :
966 InputReader(eventHub, policy, listener),
751 FakeInputReaderContext(const sp<EventHubInterface>& eventHub, const sp<InputReaderPolicyInterface>& policy, const sp<InputListenerInterface>& listener) argument
963 InstrumentedInputReader(const sp<EventHubInterface>& eventHub, const sp<InputReaderPolicyInterface>& policy, const sp<InputListenerInterface>& listener) argument
/frameworks/native/services/surfaceflinger/
H A DDispSync.cpp187 EventListener listener; local
188 listener.mName = name;
189 listener.mPhase = phase;
190 listener.mCallback = callback;
194 listener.mLastEventTime = systemTime() - mPeriod / 2 + mPhase -
197 mEventListeners.push(listener);
284 nsecs_t computeListenerNextEventTimeLocked(const EventListener& listener, argument
288 mName, listener.mName, ns2us(baseTime));
290 nsecs_t lastEventTime = listener.mLastEventTime + mWakeupLatency;
300 nsecs_t phase = mPhase + listener
[all...]
H A DMonitoredProducer.cpp105 status_t MonitoredProducer::connect(const sp<IProducerListener>& listener, argument
107 return mProducer->connect(listener, api, producerControlledByApp, output);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp554 status_t VirtualDisplaySurface::connect(const sp<IProducerListener>& listener, argument
558 status_t result = mSource[SOURCE_SINK]->connect(listener, api,
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCamera2AgentImpl.java315 /*listener*/mCameraResultStateCallback, /*handler*/this);
451 /*listener*/deferredCallbackSetter, /*handler*/ this);
480 /*listener*/null, /*handler*/this);
549 final CaptureAvailableListener listener =
566 mCaptureReader.setOnImageAvailableListener(listener, /*handler*/this);
572 listener, /*handler*/this);
605 mOneshotCaptureCallback = listener;
630 /*listener*/deferredCallbackSetter, /*handler*/this);
702 /*listener*/mCameraResultStateCallback, /*handler*/this);
939 /*listener*/mOneshotCaptureCallbac
1184 setZoomChangeListener(android.hardware.Camera.OnZoomChangeListener listener) argument
[all...]
H A DAndroidCameraAgentImpl.java295 private void setFaceDetectionListener(FaceDetectionListener listener) { argument
296 mCamera.setFaceDetectionListener(listener);
948 public void setZoomChangeListener(final OnZoomChangeListener listener) { argument
953 mCameraHandler.obtainMessage(CameraActions.SET_ZOOM_CHANGE_LISTENER, listener)
H A DCameraAgent.java771 * Sets the listener for zoom change.
773 * @param listener The listener.
775 public abstract void setZoomChangeListener(OnZoomChangeListener listener); argument
778 * Sets the face detection listener.
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingCameraManager.java129 * @param listener
132 * Handler which to run the listener on. Must not be null.
145 public CameraDevice openCamera(String cameraId, CameraDevice.StateCallback listener, argument
154 return (new OpenListener(mManager, cameraId, listener, handler)).blockUntilOpen();
190 CameraDevice.StateCallback listener, Handler handler)
193 mProxy = listener;
189 OpenListener(CameraManager manager, String cameraId, CameraDevice.StateCallback listener, Handler handler) argument
H A DBlockingCaptureCallback.java29 * A camera capture listener that implements blocking operations on state changes for a
92 * Create a blocking capture listener without forwarding the capture listener invocations
93 * to another capture listener.
100 * Create a blocking capture listener; forward original listener invocations
101 * into {@code listener}.
103 * @param listener a non-{@code null} listener to forward invocations into
105 * @throws NullPointerException if {@code listener} wa
107 BlockingCaptureCallback(CameraCaptureSession.CaptureCallback listener) argument
[all...]
H A DBlockingSessionCallback.java37 * A camera session listener that implements blocking operations on session state changes.
96 * Create a blocking session listener without forwarding the session listener invocations
97 * to another session listener.
104 * Create a blocking session listener; forward original listener invocations
105 * into {@code listener}.
107 * @param listener a non-{@code null} listener to forward invocations into
109 * @throws NullPointerException if {@code listener} wa
111 BlockingSessionCallback(CameraCaptureSession.StateCallback listener) argument
[all...]
H A DBlockingStateCallback.java32 * A camera device listener that implements blocking operations on state changes.
106 public BlockingStateCallback(CameraDevice.StateCallback listener) { argument
107 mProxy = listener;

Completed in 939 milliseconds

1234567891011>>