Home
last modified time | relevance | path

Searched refs:setCallback (Results 1 – 25 of 69) sorted by relevance

123

/frameworks/native/libs/utils/tests/
DLooper_test.cpp56 void setCallback(const sp<Looper>& looper, int fd, int events) { in setCallback() function in android::CallbackHandler
168 handler.setCallback(mLooper, pipe.receiveFd, ALOOPER_EVENT_INPUT); in TEST_F()
187 handler.setCallback(mLooper, pipe.receiveFd, ALOOPER_EVENT_INPUT); in TEST_F()
209 handler.setCallback(mLooper, pipe.receiveFd, ALOOPER_EVENT_INPUT); in TEST_F()
228 handler.setCallback(mLooper, pipe.receiveFd, ALOOPER_EVENT_INPUT); in TEST_F()
253 handler.setCallback(mLooper, pipe.receiveFd, ALOOPER_EVENT_INPUT); in TEST_F()
278 handler.setCallback(mLooper, pipe.receiveFd, ALOOPER_EVENT_INPUT); in TEST_F()
300 handler.setCallback(mLooper, pipe.receiveFd, ALOOPER_EVENT_INPUT); in TEST_F()
400 handler.setCallback(mLooper, pipe.receiveFd, ALOOPER_EVENT_INPUT); in TEST_F()
420 handler1.setCallback(mLooper, pipe.receiveFd, ALOOPER_EVENT_INPUT); in TEST_F()
[all …]
/frameworks/base/core/java/android/widget/
DPopupMenu.java67 mMenu.setCallback(this); in PopupMenu()
70 mPopup.setCallback(this); in PopupMenu()
DCheckedTextView.java138 mCheckMarkDrawable.setCallback(null); in setCheckMarkDrawable()
143 d.setCallback(this); in setCheckMarkDrawable()
DCompoundButton.java198 mButtonDrawable.setCallback(null); in setButtonDrawable()
201 d.setCallback(this); in setButtonDrawable()
/frameworks/base/core/java/com/android/internal/view/menu/
DSubMenuBuilder.java70 public void setCallback(Callback callback) { in setCallback() method in SubMenuBuilder
71 mParentMenu.setCallback(callback); in setCallback()
DMenuPresenter.java84 public void setCallback(Callback cb); in setCallback() method
DMenuPopupHelper.java235 public void setCallback(Callback cb) { in setCallback() method in MenuPopupHelper
243 subPopup.setCallback(mPresenterCallback); in onSubMenuSelected()
/frameworks/base/graphics/java/android/graphics/drawable/
DClipDrawable.java70 drawable.setCallback(this); in ClipDrawable()
108 dr.setCallback(this); in inflate()
260 mDrawable.setCallback(owner); in ClipState()
DInsetDrawable.java72 drawable.setCallback(this); in InsetDrawable()
127 dr.setCallback(this); in inflate()
278 mDrawable.setCallback(owner); in InsetState()
DScaleDrawable.java64 drawable.setCallback(this); in ScaleDrawable()
123 dr.setCallback(this); in inflate()
278 mDrawable.setCallback(owner); in ScaleState()
DLayerDrawable.java85 layers[i].setCallback(this); in LayerDrawable()
209 layer.setCallback(this); in addLayer()
288 layers[i].mDrawable.setCallback(null); in setDrawableByLayerId()
291 drawable.setCallback(this); in setDrawableByLayerId()
634 r.mDrawable.setCallback(owner); in LayerState()
DRotateDrawable.java275 drawable.setCallback(this); in inflate()
318 mDrawable.setCallback(owner); in RotateState()
DAnimatedRotateDrawable.java276 drawable.setCallback(this); in inflate()
321 mDrawable.setCallback(owner); in AnimatedRotateState()
/frameworks/base/core/java/com/android/internal/widget/
DLockScreenWidgetInterface.java21 public void setCallback(LockScreenWidgetCallback callback); in setCallback() method
/frameworks/base/policy/src/com/android/internal/policy/impl/
DRecentApplicationsBackground.java134 mBackground.setCallback(this); in onAttachedToWindow()
141 mBackground.setCallback(null); in onDetachedFromWindow()
/frameworks/base/tools/layoutlib/bridge/src/android/os/
DHandler_Delegate.java53 public static void setCallback(IHandlerCallback callback) { in setCallback() method in Handler_Delegate
/frameworks/base/core/java/android/speech/tts/
DITextToSpeechService.aidl153 void setCallback(in IBinder caller, ITextToSpeechCallback cb); in setCallback() method
/frameworks/ex/carousel/java/com/android/ex/carousel/
DCarouselController.java121 setCallback(mCarouselCallback); in onSurfaceChanged()
575 public void setCallback(CarouselCallback callback) in setCallback() method in CarouselController
579 mRenderScript.setCallback(callback); in setCallback()
DCarouselView.java481 public void setCallback(CarouselCallback callback) in setCallback() method in CarouselView
483 mController.setCallback(callback); in setCallback()
/frameworks/base/media/jni/soundpool/
Dandroid_media_SoundPool.cpp192 ap->setCallback(android_media_callback, globalWeakRef); in android_media_SoundPool_native_setup()
210 ap->setCallback(NULL, NULL); in android_media_SoundPool_release()
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
DAnimationThread.java173 Handler_Delegate.setCallback(null); in run()
/frameworks/base/core/java/android/app/
DMediaRouteButton.java91 mRemoteIndicator.setCallback(null); in setRemoteIndicatorDrawable()
96 d.setCallback(this); in setRemoteIndicatorDrawable()
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
DProfileActivity.java249 setCallback(new ProfileCallback() { in onCreate()
325 public void setCallback(ProfileCallback callback) { in setCallback() method in ProfileActivity
/frameworks/base/core/java/com/android/internal/view/
DStandaloneActionMode.java50 mMenu.setCallback(this); in StandaloneActionMode()
/frameworks/base/core/java/android/inputmethodservice/
DExtractEditLayout.java102 mMenu.setCallback(this); in ExtractActionMode()

123