/frameworks/av/services/camera/libcameraservice/common/ |
H A D | FrameProcessorBase.cpp | 49 int32_t maxId, const wp<FilteredListener>& listener, bool sendPartials) { 55 item->listener == listener) { 63 ALOGV("%s: Registering listener for frame id range %d - %d", 65 RangeListener rListener = { minId, maxId, listener, sendPartials }; 72 const wp<FilteredListener>& listener) { 78 item->listener == listener) { 196 sp<FilteredListener> listener = item->listener variable 48 registerListener(int32_t minId, int32_t maxId, const wp<FilteredListener>& listener, bool sendPartials) argument 70 removeListener(int32_t minId, int32_t maxId, const wp<FilteredListener>& listener) argument [all...] |
/frameworks/base/cmds/incidentd/src/ |
H A D | IncidentService.cpp | 212 const sp<IIncidentReportStatusListener>& listener, const unique_fd& stream) 226 mHandler->scheduleRunReport(new ReportRequest(args, listener, fd)); 211 reportIncidentToStream(const IncidentReportArgs& args, const sp<IIncidentReportStatusListener>& listener, const unique_fd& stream) argument
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiAutomatorBridge.java | 61 public void setOnAccessibilityEventListener(OnAccessibilityEventListener listener) { argument 62 mUiAutomation.setOnAccessibilityEventListener(listener);
|
/frameworks/base/core/java/android/app/ |
H A D | DatePickerDialog.java | 81 * @param listener the listener to call when the user sets the date 88 public DatePickerDialog(@NonNull Context context, @Nullable OnDateSetListener listener, argument 90 this(context, 0, listener, null, year, month, dayOfMonth); 100 * @param listener the listener to call when the user sets the date 108 @Nullable OnDateSetListener listener, int year, int monthOfYear, int dayOfMonth) { 109 this(context, themeResId, listener, null, year, monthOfYear, dayOfMonth); 113 @Nullable OnDateSetListener listener, @Nullable Calendar calendar, int year, 136 mDateSetListener = listener; 107 DatePickerDialog(@onNull Context context, @StyleRes int themeResId, @Nullable OnDateSetListener listener, int year, int monthOfYear, int dayOfMonth) argument 112 DatePickerDialog(@onNull Context context, @StyleRes int themeResId, @Nullable OnDateSetListener listener, @Nullable Calendar calendar, int year, int monthOfYear, int dayOfMonth) argument 159 setOnDateSetListener(@ullable OnDateSetListener listener) argument [all...] |
H A D | MediaRouteActionProvider.java | 100 public void setExtendedSettingsClickListener(View.OnClickListener listener) { argument 101 mExtendedSettingsListener = listener; 103 mButton.setExtendedSettingsClickListener(listener);
|
H A D | TimePickerDialog.java | 62 * @param view the view associated with this listener 73 * @param listener the listener to call when the time is set 78 public TimePickerDialog(Context context, OnTimeSetListener listener, int hourOfDay, int minute, argument 80 this(context, 0, listener, hourOfDay, minute, is24HourView); 104 * @param listener the listener to call when the time is set 109 public TimePickerDialog(Context context, int themeResId, OnTimeSetListener listener, argument 113 mTimeSetListener = listener;
|
/frameworks/base/core/java/android/app/usage/ |
H A D | UsageStatsManagerInternal.java | 107 * Sets up a listener for changes to packages being accessed. 108 * @param listener A listener within the system process. 111 AppIdleStateChangeListener listener); 114 * Removes a listener that was previously added for package usage state changes. 115 * @param listener The listener within the system process to remove. 118 AppIdleStateChangeListener listener); 110 addAppIdleStateChangeListener( AppIdleStateChangeListener listener) argument 117 removeAppIdleStateChangeListener( AppIdleStateChangeListener listener) argument
|
/frameworks/base/core/java/android/content/ |
H A D | SharedPreferences.java | 363 * not currently store a strong reference to the listener. You must store a 364 * strong reference to the listener, or it will be susceptible to garbage 365 * collection. We recommend you keep a reference to the listener in the 367 * listener.</p> 369 * @param listener The callback that will run. 372 void registerOnSharedPreferenceChangeListener(OnSharedPreferenceChangeListener listener); argument 377 * @param listener The callback that should be unregistered. 380 void unregisterOnSharedPreferenceChangeListener(OnSharedPreferenceChangeListener listener); argument
|
/frameworks/base/core/java/android/content/pm/ |
H A D | ShortcutServiceInternal.java | 63 public abstract void addListener(@NonNull ShortcutChangeListener listener); argument
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
H A D | SoundTriggerModule.java | 42 SoundTriggerModule(int moduleId, SoundTrigger.StatusListener listener, Handler handler) { argument 44 mEventHandlerDelegate = new NativeEventHandlerDelegate(listener, handler); 129 NativeEventHandlerDelegate(final SoundTrigger.StatusListener listener, argument 147 if (listener != null) { 148 listener.onRecognition( 153 if (listener != null) { 154 listener.onSoundModelUpdate( 159 if (listener != null) { 160 listener.onServiceStateChange(msg.arg1); 164 if (listener ! [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | CalendarViewMaterialDelegate.java | 109 public void setOnDateChangeListener(CalendarView.OnDateChangeListener listener) { argument 110 mOnDateChangeListener = listener;
|
H A D | Filter.java | 92 * <p>Upon completion, the listener is notified.</p> 95 * @param listener a listener notified upon completion of the operation 101 public final void filter(CharSequence constraint, FilterListener listener) { argument 118 args.listener = listener; 273 * to post the results back in the UI and then notifying the listener, 283 if (args.listener != null) { 285 args.listener.onFilterComplete(count); 301 * <p>The listener t 303 FilterListener listener; field in class:Filter.RequestArguments [all...] |
H A D | PopupMenu.java | 152 * When the listener is set on a view, touching that view and dragging 162 * @return a touch listener that controls drag-to-open behavior 240 * Sets a listener that will be notified when the user selects an item from 243 * @param listener the listener to notify 245 public void setOnMenuItemClickListener(OnMenuItemClickListener listener) { argument 246 mMenuItemClickListener = listener; 250 * Sets a listener that will be notified when this menu is dismissed. 252 * @param listener the listener t 254 setOnDismissListener(OnDismissListener listener) argument [all...] |
H A D | ShareActionProvider.java | 144 * Sets a listener to be notified when a share target has been selected. 145 * The listener can optionally decide to handle the selection and 151 * @param listener The listener. 153 public void setOnShareTargetSelectedListener(OnShareTargetSelectedListener listener) { argument 154 mOnShareTargetSelectedListener = listener; 292 * Reusable listener for handling share item clicks.
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | AssistUtils.java | 138 public void registerVoiceInteractionSessionListener(IVoiceInteractionSessionListener listener) { argument 141 mVoiceInteractionManagerService.registerVoiceInteractionSessionListener(listener); 144 Log.w(TAG, "Failed to register voice interaction listener", e);
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ProgressReporter.java | 78 * reported to the given listener. 85 * Add given listener to watch for progress events. The current state will 86 * be immediately dispatched to the given listener. 88 public void addListener(@Nullable IProgressListener listener) { argument 89 if (listener == null) return; 91 mListeners.register(listener); 98 listener.onStarted(mId, null); 99 listener.onProgress(mId, mProgress, mExtras); 105 listener.onFinished(mId, null);
|
/frameworks/base/legacy-test/src/junit/framework/ |
H A D | TestResult.java | 57 public synchronized void addListener(TestListener listener) { argument 58 fListeners.add(listener); 63 public synchronized void removeListener(TestListener listener) { argument 64 fListeners.remove(listener);
|
/frameworks/base/libs/common_time/ |
H A D | common_clock_service.cpp | 95 const sp<ICommonClockListener>& listener) { 102 if (IInterface::asBinder(mListeners[i]) == IInterface::asBinder(listener)) 107 mListeners.add(listener); 109 return IInterface::asBinder(listener)->linkToDeath(this); 113 const sp<ICommonClockListener>& listener) { 120 if (IInterface::asBinder(mListeners[i]) == IInterface::asBinder(listener)) { 94 registerListener( const sp<ICommonClockListener>& listener) argument 112 unregisterListener( const sp<ICommonClockListener>& listener) argument
|
/frameworks/base/libs/hwui/ |
H A D | AnimationContext.cpp | 81 AnimationListener* listener) { 82 listener->onAnimationFinished(animator); 80 callOnFinished(BaseRenderNodeAnimator* animator, AnimationListener* listener) argument
|
H A D | PropertyValuesAnimatorSet.cpp | 49 sp<AnimationListener> listener = std::move(mOneShotListener); local 50 // Set the listener to nullptr before the onAnimationFinished callback, rather than after, 56 // 2) It's possible that there are changes to the listener during the callback, therefore 57 // we need to reset the listener before the callback rather than afterwards. 59 listener->onAnimationFinished(animator); 87 void PropertyValuesAnimatorSet::start(AnimationListener* listener) { argument 89 mOneShotListener = listener; 94 void PropertyValuesAnimatorSet::reverse(AnimationListener* listener) { argument 96 mOneShotListener = listener;
|
/frameworks/base/media/java/android/media/ |
H A D | AudioFocusRequest.java | 102 * listener set with {@link Builder#setOnAudioFocusChangeListener(OnAudioFocusChangeListener)} 123 * that play speech, it calls their focus listener instead to notify them of 129 * cause the system to call your focus listener instead of automatically ducking. 141 * <li>Implementing a focus change listener to respond to focus gains and losses.</li> 229 private AudioFocusRequest(OnAudioFocusChangeListener listener, Handler handler, argument 231 mFocusListener = listener; 258 * Returns the focus change listener set for this {@code AudioFocusRequest}. 267 * Returns the {@link Handler} to be used for the focus change listener. 270 * if no listener was set. 337 * <tr><td>focus listener an 415 setOnAudioFocusChangeListener( @onNull OnAudioFocusChangeListener listener) argument 432 setOnAudioFocusChangeListenerInt( OnAudioFocusChangeListener listener, Handler handler) argument 451 setOnAudioFocusChangeListener( @onNull OnAudioFocusChangeListener listener, @NonNull Handler handler) argument [all...] |
H A D | RemoteDisplay.java | 49 private RemoteDisplay(Listener listener, Handler handler, String opPackageName) { argument 50 mListener = listener; 68 * @param listener The listener to invoke when displays are connected or disconnected. 69 * @param handler The handler on which to invoke the listener. 71 public static RemoteDisplay listen(String iface, Listener listener, Handler handler, argument 76 if (listener == null) { 77 throw new IllegalArgumentException("listener must not be null"); 83 RemoteDisplay display = new RemoteDisplay(listener, handler, opPackageName);
|
/frameworks/base/media/java/android/media/audiofx/ |
H A D | BassBoost.java | 63 * Registered listener for parameter changes. 197 * @param listener OnParameterChangeListener interface registered 199 public void setParameterListener(OnParameterChangeListener listener) { argument 202 mParamListener = listener;
|
H A D | LoudnessEnhancer.java | 52 * Registered listener for parameter changes. 197 * @param listener OnParameterChangeListener interface registered 199 public void setParameterListener(OnParameterChangeListener listener) { argument 205 mParamListener = listener;
|
H A D | PresetReverb.java | 24 * A sound generated within a room travels in many directions. The listener first hears the 28 * the listener hears continuous reverberation that decays over time. 29 * Reverb is vital for modeling a listener's environment. It can be used in music applications 31 * listener within the game's environment. 96 * Registered listener for parameter changes. 213 * @param listener OnParameterChangeListener interface registered 215 public void setParameterListener(OnParameterChangeListener listener) { argument 218 mParamListener = listener;
|