Searched defs:listener (Results 1 - 25 of 787) sorted by last modified time

1234567891011>>

/frameworks/wilhelm/src/android/
H A Dandroid_StreamPlayer.cpp61 void StreamSourceAppProxy::setListener(const sp<IStreamListener> &listener) { argument
62 assert(listener != NULL);
65 mListener = listener;
212 // 3/ notify shared mem listener that new data is available
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
H A DMediaPlayerGlue.java90 // Register selected listener such that we know what action the user currently has focused.
104 public void setOnMediaFileFinishedPlayingListener(OnMediaFileFinishedPlayingListener listener) { argument
105 mMediaFileFinishedPlayingListener = listener;
386 * This is a listener implementation for the {@link OnItemViewSelectedListener} of the {@link
407 * A listener which will be called whenever a track is finished playing.
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/page/
H A DGridFragment.java118 * Sets an item selection listener.
120 public void setOnItemViewSelectedListener(OnItemViewSelectedListener listener) { argument
121 mOnItemViewSelectedListener = listener;
144 * Sets an item clicked listener.
146 public void setOnItemViewClickedListener(OnItemViewClickedListener listener) { argument
147 mOnItemViewClickedListener = listener;
154 * Returns the item clicked listener.
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dpicasso-2.5.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/squareup/ com/squareup/picasso/ com/squareup/picasso/Action ...
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
H A DMediaPlayerGlue.java90 // Register selected listener such that we know what action the user currently has focused.
104 public void setOnMediaFileFinishedPlayingListener(OnMediaFileFinishedPlayingListener listener) { argument
105 mMediaFileFinishedPlayingListener = listener;
386 * This is a listener implementation for the {@link OnItemViewSelectedListener} of the {@link
407 * A listener which will be called whenever a track is finished playing.
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/page/
H A DGridFragment.java118 * Sets an item selection listener.
120 public void setOnItemViewSelectedListener(OnItemViewSelectedListener listener) { argument
121 mOnItemViewSelectedListener = listener;
144 * Sets an item clicked listener.
146 public void setOnItemViewClickedListener(OnItemViewClickedListener listener) { argument
147 mOnItemViewClickedListener = listener;
154 * Returns the item clicked listener.
/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dpicasso-2.5.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/squareup/ com/squareup/picasso/ com/squareup/picasso/Action ...
/frameworks/support/transition/api14/android/support/transition/
H A DAnimatorUtilsApi14.java31 @NonNull AnimatorListenerAdapter listener) {
40 final Animator.AnimatorListener listener = listeners.get(i);
41 if (listener instanceof AnimatorPauseListenerCompat) {
42 ((AnimatorPauseListenerCompat) listener).onAnimationPause(animator);
53 final Animator.AnimatorListener listener = listeners.get(i);
54 if (listener instanceof AnimatorPauseListenerCompat) {
55 ((AnimatorPauseListenerCompat) listener).onAnimationResume(animator);
30 addPauseListener(@onNull Animator animator, @NonNull AnimatorListenerAdapter listener) argument
/frameworks/support/transition/api19/android/support/transition/
H A DAnimatorUtilsApi19.java28 @NonNull AnimatorListenerAdapter listener) {
29 animator.addPauseListener(listener);
27 addPauseListener(@onNull Animator animator, @NonNull AnimatorListenerAdapter listener) argument
/frameworks/support/transition/base/android/support/transition/
H A DAnimatorUtilsImpl.java25 void addPauseListener(@NonNull Animator animator, @NonNull AnimatorListenerAdapter listener); argument
/frameworks/support/transition/src/android/support/transition/
H A DAnimatorUtils.java37 @NonNull AnimatorListenerAdapter listener) {
38 IMPL.addPauseListener(animator, listener);
36 addPauseListener(@onNull Animator animator, @NonNull AnimatorListenerAdapter listener) argument
H A DTransition.java893 // TODO: could be a single listener instance for all of them since it uses the param
2022 * Adds a listener to the set of listeners that are sent events through the
2025 * @param listener the listener to be added to the current set of listeners
2030 public Transition addListener(@NonNull TransitionListener listener) { argument
2034 mListeners.add(listener);
2039 * Removes a listener from the set listening to this animation.
2041 * @param listener the listener to be removed from the current set of
2046 public Transition removeListener(@NonNull TransitionListener listener) { argument
[all...]
H A DTransitionSet.java254 public TransitionSet addListener(@NonNull TransitionListener listener) { argument
255 return (TransitionSet) super.addListener(listener);
332 public TransitionSet removeListener(@NonNull TransitionListener listener) { argument
333 return (TransitionSet) super.removeListener(listener);
363 TransitionSetListener listener = new TransitionSetListener(this);
365 childTransition.addListener(listener);
371 * This listener is used to detect when all child transitions are done, at
/frameworks/support/transition/tests/src/android/support/transition/
H A DTransitionTest.java240 Transition.TransitionListener listener = new EmptyTransitionListener();
241 assertThat(transition.addListener(listener), is(sameInstance(transition)));
242 assertThat(transition.removeListener(listener), is(sameInstance(transition)));
415 DummyTransition(Animator.AnimatorListener listener) { argument
416 mListener = listener;
/frameworks/support/v13/java/android/support/v13/view/
H A DDragStartHelper.java37 * DragStartHelper.OnDragStartListener listener = new DragStartHelper.OnDragStartListener {
48 * mDragStartHelper = new DragStartHelper(mDraggableView, listener);
87 * @return True if the listener has started the drag operation, false otherwise.
98 public DragStartHelper(View view, OnDragStartListener listener) { argument
100 mListener = listener;
128 * @return True if the listener has consumed the event, false otherwise.
150 // Do not call the listener unless the pointer position has actually changed.
/frameworks/support/v13/tests/java/android/support/v13/view/
H A DDragStartHelperTest.java72 final DragStartListener listener = mock(DragStartListener.class);
73 when(listener.onDragStart(any(View.class), any(DragStartHelper.class), any(Point.class)))
75 return listener;
79 private DragStartHelper createDragStartHelper(final DragStartListener listener) { argument
85 return listener.onDragStart(v, helper, touchPosition);
175 final DragStartListener listener = createListener(true);
176 final DragStartHelper helper = createDragStartHelper(listener);
183 verifyNoMoreInteractions(listener);
190 final DragStartListener listener = createListener(true);
191 final DragStartHelper helper = createDragStartHelper(listener);
[all...]
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/
H A DFadeAndShortSlide.java286 public Transition addListener(TransitionListener listener) { argument
287 mFade.addListener(listener);
288 return super.addListener(listener);
292 public Transition removeListener(TransitionListener listener) { argument
293 mFade.removeListener(listener);
294 return super.removeListener(listener);
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
H A DTransitionHelperKitkat.java188 static void addTransitionListener(Object transition, final TransitionListener listener) { argument
189 if (listener == null) {
193 listener.mImpl = new Transition.TransitionListener() {
197 listener.onTransitionStart(transition);
202 listener.onTransitionResume(transition);
207 listener.onTransitionPause(transition);
212 listener.onTransitionEnd(transition);
217 listener.onTransitionCancel(transition);
220 t.addListener((Transition.TransitionListener) listener.mImpl);
223 static void removeTransitionListener(Object transition, final TransitionListener listener) { argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DBrandedFragment.java236 * Sets a click listener for the search affordance.
238 * <p>The presence of a listener will change the visibility of the search
242 * <p>The listener's {@link View.OnClickListener#onClick onClick} method
245 * @param listener The listener to call when the search element is clicked.
247 public void setOnSearchClickedListener(View.OnClickListener listener) { argument
248 mExternalOnSearchClickedListener = listener;
250 mTitleViewAdapter.setOnSearchClickedListener(listener);
H A DBrandedSupportFragment.java239 * Sets a click listener for the search affordance.
241 * <p>The presence of a listener will change the visibility of the search
245 * <p>The listener's {@link View.OnClickListener#onClick onClick} method
248 * @param listener The listener to call when the search element is clicked.
250 public void setOnSearchClickedListener(View.OnClickListener listener) { argument
251 mExternalOnSearchClickedListener = listener;
253 mTitleViewAdapter.setOnSearchClickedListener(listener);
H A DBrowseFragment.java512 * Sets an item clicked listener on the fragment.
514 public void setOnItemViewClickedListener(OnItemViewClickedListener listener) { argument
518 * Sets an item selection listener.
520 public void setOnItemViewSelectedListener(OnItemViewSelectedListener listener) { argument
838 * Sets an item selection listener.
840 public void setOnItemViewSelectedListener(OnItemViewSelectedListener listener) { argument
841 mExternalOnItemViewSelectedListener = listener;
845 * Returns an item selection listener.
881 * Sets an item clicked listener on the fragment.
886 public void setOnItemViewClickedListener(OnItemViewClickedListener listener) { argument
940 setBrowseTransitionListener(BrowseTransitionListener listener) argument
[all...]
H A DBrowseSupportFragment.java515 * Sets an item clicked listener on the fragment.
517 public void setOnItemViewClickedListener(OnItemViewClickedListener listener) { argument
521 * Sets an item selection listener.
523 public void setOnItemViewSelectedListener(OnItemViewSelectedListener listener) { argument
841 * Sets an item selection listener.
843 public void setOnItemViewSelectedListener(OnItemViewSelectedListener listener) { argument
844 mExternalOnItemViewSelectedListener = listener;
848 * Returns an item selection listener.
884 * Sets an item clicked listener on the fragment.
889 public void setOnItemViewClickedListener(OnItemViewClickedListener listener) { argument
943 setBrowseTransitionListener(BrowseTransitionListener listener) argument
[all...]
H A DDetailsFragment.java232 // once after onCreateView, we cannot skip the enter transition, add a listener and wait
387 * Sets an item selection listener.
389 public void setOnItemViewSelectedListener(BaseOnItemViewSelectedListener listener) { argument
390 mExternalOnItemViewSelectedListener = listener;
394 * Sets an item clicked listener.
396 public void setOnItemViewClickedListener(BaseOnItemViewClickedListener listener) { argument
397 if (mOnItemViewClickedListener != listener) {
398 mOnItemViewClickedListener = listener;
400 mRowsFragment.setOnItemViewClickedListener(listener);
406 * Returns the item clicked listener
[all...]
H A DDetailsSupportFragment.java235 // once after onCreateView, we cannot skip the enter transition, add a listener and wait
390 * Sets an item selection listener.
392 public void setOnItemViewSelectedListener(BaseOnItemViewSelectedListener listener) { argument
393 mExternalOnItemViewSelectedListener = listener;
397 * Sets an item clicked listener.
399 public void setOnItemViewClickedListener(BaseOnItemViewClickedListener listener) { argument
400 if (mOnItemViewClickedListener != listener) {
401 mOnItemViewClickedListener = listener;
403 mRowsSupportFragment.setOnItemViewClickedListener(listener);
409 * Returns the item clicked listener
[all...]
H A DHeadersFragment.java97 public void setOnHeaderClickedListener(OnHeaderClickedListener listener) { argument
98 mOnHeaderClickedListener = listener;
101 public void setOnHeaderViewSelectedListener(OnHeaderViewSelectedListener listener) { argument
102 mOnHeaderViewSelectedListener = listener;

Completed in 379 milliseconds

1234567891011>>