Searched defs:listener (Results 1 - 25 of 246) sorted by relevance

12345678910

/frameworks/base/core/java/android/speech/tts/
H A DUtteranceProgressListener.java48 * progress listener.
53 final TextToSpeech.OnUtteranceCompletedListener listener) {
57 listener.onUtteranceCompleted(utteranceId);
62 listener.onUtteranceCompleted(utteranceId);
52 from( final TextToSpeech.OnUtteranceCompletedListener listener) argument
/frameworks/support/volley/src/com/android/volley/toolbox/
H A DJsonArrayRequest.java38 * @param listener Listener to receive the JSON response
39 * @param errorListener Error listener, or null to ignore errors.
41 public JsonArrayRequest(String url, Listener<JSONArray> listener, ErrorListener errorListener) { argument
42 super(url, null, listener, errorListener);
H A DJsonObjectRequest.java41 * @param listener Listener to receive the JSON response
42 * @param errorListener Error listener, or null to ignore errors.
44 public JsonObjectRequest(String url, JSONObject jsonRequest, Listener<JSONObject> listener, argument
46 super(url, (jsonRequest == null) ? null : jsonRequest.toString(), listener, errorListener);
H A DStringRequest.java36 * @param listener Listener to receive the String response
37 * @param errorListener Error listener, or null to ignore errors
39 public StringRequest(String url, Listener<String> listener, ErrorListener errorListener) { argument
41 mListener = listener;
H A DJsonRequest.java45 public JsonRequest(String url, String requestBody, Listener<T> listener, argument
48 mListener = listener;
/frameworks/av/services/camera/libcameraservice/camera2/
H A DFrameProcessor.h48 // Register a listener for a range of IDs [minId, maxId). Multiple listeners
50 status_t registerListener(int32_t minId, int32_t maxId, wp<FilteredListener> listener);
51 status_t removeListener(int32_t minId, int32_t maxId, wp<FilteredListener> listener);
65 wp<FilteredListener> listener; member in struct:android::camera2::FrameProcessor::RangeListener
/frameworks/base/core/java/android/accounts/
H A DIAccountAuthenticatorCache.java57 * Sets a listener that will be notified whenever the authenticator set changes
58 * @param listener the listener to notify, or null
62 void setListener(RegisteredServicesCacheListener<AuthenticatorDescription> listener, argument
/frameworks/base/services/java/com/android/server/display/
H A DHeadlessDisplayAdapter.java35 Context context, Handler handler, Listener listener) {
36 super(syncRoot, context, handler, listener, TAG);
34 HeadlessDisplayAdapter(DisplayManagerService.SyncRoot syncRoot, Context context, Handler handler, Listener listener) argument
/frameworks/base/services/java/com/android/server/location/
H A DCountryDetectorBase.java53 * Register a listener to receive the notification when the country is detected or changed.
55 * The previous listener will be replaced if it exists.
57 public void setCountryListener(CountryListener listener) { argument
58 mListener = listener;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DPlayAnimationThread.java31 IAnimationListener listener) {
32 super(scene, animName, listener);
30 PlayAnimationThread(Animator animator, RenderSessionImpl scene, String animName, IAnimationListener listener) argument
/frameworks/support/v4/honeycomb/android/support/v4/widget/
H A DSearchViewCompatHoneycomb.java38 public static Object newOnQueryTextListener(final OnQueryTextListenerCompatBridge listener) { argument
42 return listener.onQueryTextSubmit(query);
47 return listener.onQueryTextChange(newText);
52 public static void setOnQueryTextListener(Object searchView, Object listener) { argument
53 ((SearchView) searchView).setOnQueryTextListener((OnQueryTextListener) listener);
/frameworks/base/media/mca/effect/java/android/media/effect/
H A DEffect.java89 * Set an effect listener.
91 * Some effects may report state changes back to the host, if a listener is set. Consult the
94 * @param listener The listener to receive update callbacks on.
96 public void setUpdateListener(EffectUpdateListener listener) { argument
/frameworks/base/media/mca/effect/java/android/media/effect/effects/
H A DBackDropperEffect.java101 public void setUpdateListener(EffectUpdateListener listener) { argument
102 mEffectListener = listener;
/frameworks/av/camera/
H A DICameraRecordingProxy.cpp43 status_t startRecording(const sp<ICameraRecordingProxyListener>& listener) argument
48 data.writeStrongBinder(listener->asBinder());
82 sp<ICameraRecordingProxyListener> listener = local
84 reply->writeInt32(startRecording(listener));
/frameworks/base/core/java/android/animation/
H A DTimeAnimator.java33 * Sets a listener that is sent update events throughout the life of
36 * @param listener the listener to be set.
38 public void setTimeListener(TimeListener listener) { argument
39 mListener = listener;
56 * since the last frame. The first time the listener is called,
/frameworks/base/core/java/android/webkit/
H A DWebIconDatabase.java67 * url. If the icon exists, the listener will be called with the result.
69 * @param listener An implementation on IconListener to receive the result.
71 public void requestIconForPageUrl(String url, IconListener listener) { argument
78 IconListener listener) {
77 bulkRequestIconForPageUrl(ContentResolver cr, String where, IconListener listener) argument
/frameworks/base/core/java/com/android/internal/view/
H A DRotationPolicy.java128 * Registers a listener for rotation policy changes affecting the caller's user
131 RotationPolicyListener listener) {
132 registerRotationPolicyListener(context, listener, UserHandle.getCallingUserId());
136 * Registers a listener for rotation policy changes affecting a specific user,
140 RotationPolicyListener listener, int userHandle) {
143 false, listener.mObserver, userHandle);
146 false, listener.mObserver, userHandle);
150 * Unregisters a listener for rotation policy changes.
153 RotationPolicyListener listener) {
154 context.getContentResolver().unregisterContentObserver(listener
130 registerRotationPolicyListener(Context context, RotationPolicyListener listener) argument
139 registerRotationPolicyListener(Context context, RotationPolicyListener listener, int userHandle) argument
152 unregisterRotationPolicyListener(Context context, RotationPolicyListener listener) argument
[all...]
/frameworks/base/location/java/android/location/
H A DCountryDetector.java65 public ListenerTransport(CountryListener listener, Looper looper) { argument
66 mListener = listener;
114 * Add a listener to receive the notification when the country is detected
117 * @param listener will be called when the country is detected or changed.
122 public void addCountryListener(CountryListener listener, Looper looper) { argument
124 if (!mListeners.containsKey(listener)) {
125 ListenerTransport transport = new ListenerTransport(listener, looper);
128 mListeners.put(listener, transport);
137 * Remove the listener
139 public void removeCountryListener(CountryListener listener) { argument
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DChallengeLayout.java67 * Set a listener that will respond to changes in bouncer state.
69 * @param listener listener to register
71 void setOnBouncerStateChangedListener(OnBouncerStateChangedListener listener); argument
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DOverrideMethod.java32 /** Default listener for all method not listed in sMethods. Nothing if null. */
36 * Sets the default listener for all methods not specifically handled.
39 public static void setDefaultListener(MethodListener listener) { argument
40 sDefaultListener = listener;
44 * Defines or reset a listener for the given method signature.
49 * @param listener The new listener. Removes it if null.
51 public static void setMethodListener(String signature, MethodListener listener) { argument
52 if (listener == null) {
55 sMethods.put(signature, listener);
[all...]
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
H A DAccessibilityManagerCompatIcs.java45 Object listener) {
47 (AccessibilityStateChangeListener)listener);
51 Object listener) {
53 (AccessibilityStateChangeListener)listener);
44 addAccessibilityStateChangeListener(AccessibilityManager manager, Object listener) argument
50 removeAccessibilityStateChangeListener(AccessibilityManager manager, Object listener) argument
/frameworks/av/include/media/stagefright/
H A DMediaWriter.h43 virtual void setListener(const sp<IMediaRecorderClient>& listener) { argument
44 mListener = listener;
/frameworks/base/core/java/android/os/
H A DCancellationSignal.java60 * Cancels the operation and signals the cancellation listener.
64 final OnCancelListener listener;
72 listener = mOnCancelListener;
77 if (listener != null) {
78 listener.onCancel();
95 * Sets the cancellation listener to be called when canceled.
103 * listener is invoked immediately.
105 * This method is guaranteed that the listener will not be called after it
108 * @param listener The cancellation listener, o
110 setOnCancelListener(OnCancelListener listener) argument
[all...]
H A DRecoverySystem.java136 * @param listener an object to receive periodic progress
149 ProgressListener listener,
158 if (listener != null) {
159 listener.onProgress(lastPercent);
285 if (listener != null) {
292 listener.onProgress(lastPercent);
296 if (listener != null) {
297 listener.onProgress(100);
148 verifyPackage(File packageFile, ProgressListener listener, File deviceCertsZipFile) argument
/frameworks/base/core/java/android/view/
H A DActionProvider.java220 public void setSubUiVisibilityListener(SubUiVisibilityListener listener) { argument
221 mSubUiVisibilityListener = listener;
225 * Set a listener to be notified when this ActionProvider's overridden visibility changes.
228 * @param listener listener to set
230 public void setVisibilityListener(VisibilityListener listener) { argument
236 mVisibilityListener = listener;

Completed in 238 milliseconds

12345678910