Home
last modified time | relevance | path

Searched refs:callbacks (Results 1 – 25 of 110) sorted by relevance

12345

/frameworks/base/core/java/android/app/
DApplication.java87 Object[] callbacks = collectComponentCallbacks(); in onConfigurationChanged() local
88 if (callbacks != null) { in onConfigurationChanged()
89 for (int i=0; i<callbacks.length; i++) { in onConfigurationChanged()
90 ((ComponentCallbacks)callbacks[i]).onConfigurationChanged(newConfig); in onConfigurationChanged()
96 Object[] callbacks = collectComponentCallbacks(); in onLowMemory() local
97 if (callbacks != null) { in onLowMemory()
98 for (int i=0; i<callbacks.length; i++) { in onLowMemory()
99 ((ComponentCallbacks)callbacks[i]).onLowMemory(); in onLowMemory()
105 Object[] callbacks = collectComponentCallbacks(); in onTrimMemory() local
106 if (callbacks != null) { in onTrimMemory()
[all …]
/frameworks/base/core/jni/
Dandroid_app_NativeActivity.cpp403 memset(&callbacks, 0, sizeof(callbacks)); in NativeCode()
413 if (callbacks.onDestroy != NULL) { in ~NativeCode()
414 callbacks.onDestroy(this); in ~NativeCode()
465 ANativeActivityCallbacks callbacks; member
652 code->ANativeActivity::callbacks = &code->callbacks; in loadNativeCode_native()
713 if (code->callbacks.onStart != NULL) { in onStart_native()
714 code->callbacks.onStart(code); in onStart_native()
725 if (code->callbacks.onResume != NULL) { in onResume_native()
726 code->callbacks.onResume(code); in onResume_native()
740 if (code->callbacks.onSaveInstanceState != NULL) { in onSaveInstanceState_native()
[all …]
/frameworks/support/v4/java/android/support/v4/os/
DParcelableCompat.java35 ParcelableCompatCreatorCallbacks<T> callbacks) { in newCreator() argument
37 ParcelableCompatCreatorHoneycombMR2Stub.instantiate(callbacks); in newCreator()
39 return new CompatCreator<T>(callbacks); in newCreator()
45 public CompatCreator(ParcelableCompatCreatorCallbacks<T> callbacks) { in CompatCreator() argument
46 mCallbacks = callbacks; in CompatCreator()
/frameworks/support/v4/honeycomb_mr2/android/support/v4/os/
DParcelableCompatHoneycombMR2.java23 static <T> Parcelable.Creator<T> instantiate(ParcelableCompatCreatorCallbacks<T> callbacks) { in instantiate() argument
24 return new ParcelableCompatCreatorHoneycombMR2<T>(callbacks); in instantiate()
31 public ParcelableCompatCreatorHoneycombMR2(ParcelableCompatCreatorCallbacks<T> callbacks) { in ParcelableCompatCreatorHoneycombMR2() argument
32 mCallbacks = callbacks; in ParcelableCompatCreatorHoneycombMR2()
/frameworks/base/core/java/android/view/
DChoreographer.java536 CallbackRecord callbacks; in doCallbacks() local
542 callbacks = mCallbackQueues[callbackType].extractDueCallbacksLocked(now); in doCallbacks()
543 if (callbacks == null) { in doCallbacks()
549 for (CallbackRecord c = callbacks; c != null; c = c.next) { in doCallbacks()
561 final CallbackRecord next = callbacks.next; in doCallbacks()
562 recycleCallbackLocked(callbacks); in doCallbacks()
563 callbacks = next; in doCallbacks()
564 } while (callbacks != null); in doCallbacks()
738 CallbackRecord callbacks = mHead; in extractDueCallbacksLocked() local
739 if (callbacks == null || callbacks.dueTime > now) { in extractDueCallbacksLocked()
[all …]
DSurfaceView.java517 SurfaceHolder.Callback callbacks[] = null; in updateWindow() local
525 callbacks = getSurfaceCallbacks(); in updateWindow()
526 for (SurfaceHolder.Callback c : callbacks) { in updateWindow()
539 if (callbacks == null) { in updateWindow()
540 callbacks = getSurfaceCallbacks(); in updateWindow()
542 for (SurfaceHolder.Callback c : callbacks) { in updateWindow()
550 if (callbacks == null) { in updateWindow()
551 callbacks = getSurfaceCallbacks(); in updateWindow()
553 for (SurfaceHolder.Callback c : callbacks) { in updateWindow()
559 if (callbacks == null) { in updateWindow()
[all …]
/frameworks/base/core/java/android/os/
DSystemProperties.java150 ArrayList<Runnable> callbacks = new ArrayList<Runnable>(sChangeCallbacks); in callChangeCallbacks() local
151 for (int i=0; i<callbacks.size(); i++) { in callChangeCallbacks()
152 callbacks.get(i).run(); in callChangeCallbacks()
/frameworks/av/media/libstagefright/codecs/raw/
DSoftRaw.cpp39 const OMX_CALLBACKTYPE *callbacks, in SoftRaw() argument
42 : SimpleSoftOMXComponent(name, callbacks, appData, component), in SoftRaw()
210 const char *name, const OMX_CALLBACKTYPE *callbacks, in createSoftOMXComponent() argument
212 return new android::SoftRaw(name, callbacks, appData, component); in createSoftOMXComponent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAutoRotateController.java40 RotationLockCallbacks callbacks) { in AutoRotateController() argument
43 mCallbacks = callbacks; in AutoRotateController()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java660 SurfaceHolder.Callback callbacks[] = mSurfaceHolder.getCallbacks(); in updateSurface() local
661 if (callbacks != null) { in updateSurface()
662 for (SurfaceHolder.Callback c : callbacks) { in updateSurface()
687 SurfaceHolder.Callback callbacks[] = mSurfaceHolder.getCallbacks(); in updateSurface() local
688 if (callbacks != null) { in updateSurface()
689 for (SurfaceHolder.Callback c : callbacks) { in updateSurface()
698 SurfaceHolder.Callback callbacks[] = mSurfaceHolder.getCallbacks(); in updateSurface() local
699 if (callbacks != null) { in updateSurface()
700 for (SurfaceHolder.Callback c : callbacks) { in updateSurface()
880 SurfaceHolder.Callback callbacks[] = mSurfaceHolder.getCallbacks(); in reportSurfaceDestroyed() local
[all …]
/frameworks/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp39 const OMX_CALLBACKTYPE *callbacks, in SoftG711() argument
42 : SimpleSoftOMXComponent(name, callbacks, appData, component), in SoftG711()
300 const char *name, const OMX_CALLBACKTYPE *callbacks, in createSoftOMXComponent() argument
302 return new android::SoftG711(name, callbacks, appData, component); in createSoftOMXComponent()
/frameworks/base/services/java/com/android/server/
DPreferredComponent.java52 public PreferredComponent(Callbacks callbacks, int match, ComponentName[] set, in PreferredComponent() argument
54 mCallbacks = callbacks; in PreferredComponent()
86 public PreferredComponent(Callbacks callbacks, XmlPullParser parser) in PreferredComponent() argument
88 mCallbacks = callbacks; in PreferredComponent()
DAppWidgetServiceImpl.java106 IAppWidgetHost callbacks; field in AppWidgetServiceImpl.Host
310 pw.print(" callbacks="); pw.println(host.callbacks); in dumpHost()
327 pw.print(" host.callbacks="); pw.println(id.host.callbacks); in dumpAppWidgetId()
461 host.callbacks = null; in deleteHostLocked()
947 if (id.host.callbacks != null) { in updateAppWidgetInstanceLocked()
950 id.host.callbacks.updateAppWidget(id.appWidgetId, views); in updateAppWidgetInstanceLocked()
954 id.host.callbacks = null; in updateAppWidgetInstanceLocked()
966 if (id.host.callbacks != null) { in notifyAppWidgetViewDataChangedInstanceLocked()
969 id.host.callbacks.viewDataChanged(id.appWidgetId, viewId); in notifyAppWidgetViewDataChangedInstanceLocked()
973 id.host.callbacks = null; in notifyAppWidgetViewDataChangedInstanceLocked()
[all …]
/frameworks/av/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp41 const OMX_CALLBACKTYPE *callbacks, in SoftMP3() argument
44 : SimpleSoftOMXComponent(name, callbacks, appData, component), in SoftMP3()
337 const char *name, const OMX_CALLBACKTYPE *callbacks, in createSoftOMXComponent() argument
339 return new android::SoftMP3(name, callbacks, appData, component); in createSoftOMXComponent()
/frameworks/av/media/libstagefright/omx/
DSoftOMXPlugin.cpp66 const OMX_CALLBACKTYPE *callbacks, in makeComponentInstance() argument
106 (*createSoftOMXComponent)(name, callbacks, appData, component); in makeComponentInstance()
DOMXMaster.cpp123 const OMX_CALLBACKTYPE *callbacks, in makeComponentInstance() argument
138 plugin->makeComponentInstance(name, callbacks, appData, component); in makeComponentInstance()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.h115 struct callbacks : public hwc_procs_t { struct
123 callbacks procs; argument
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DSoftAMRNBEncoder.cpp43 const OMX_CALLBACKTYPE *callbacks, in SoftAMRNBEncoder() argument
46 : SimpleSoftOMXComponent(name, callbacks, appData, component), in SoftAMRNBEncoder()
401 const char *name, const OMX_CALLBACKTYPE *callbacks, in createSoftOMXComponent() argument
403 return new android::SoftAMRNBEncoder(name, callbacks, appData, component); in createSoftOMXComponent()
/frameworks/av/media/libstagefright/codecs/amrwbenc/
DSoftAMRWBEncoder.cpp43 const OMX_CALLBACKTYPE *callbacks, in SoftAMRWBEncoder() argument
46 : SimpleSoftOMXComponent(name, callbacks, appData, component), in SoftAMRWBEncoder()
456 const char *name, const OMX_CALLBACKTYPE *callbacks, in createSoftOMXComponent() argument
458 return new android::SoftAMRWBEncoder(name, callbacks, appData, component); in createSoftOMXComponent()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
DSoftAMR.cpp41 const OMX_CALLBACKTYPE *callbacks, in SoftAMR() argument
44 : SimpleSoftOMXComponent(name, callbacks, appData, component), in SoftAMR()
463 const char *name, const OMX_CALLBACKTYPE *callbacks, in createSoftOMXComponent() argument
465 return new android::SoftAMR(name, callbacks, appData, component); in createSoftOMXComponent()
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp43 const OMX_CALLBACKTYPE *callbacks, in SoftFlacEncoder() argument
46 : SimpleSoftOMXComponent(name, callbacks, appData, component), in SoftFlacEncoder()
440 const char *name, const OMX_CALLBACKTYPE *callbacks, in createSoftOMXComponent() argument
442 return new android::SoftFlacEncoder(name, callbacks, appData, component); in createSoftOMXComponent()
/frameworks/av/media/libstagefright/codecs/on2/dec/
DSoftVPX.cpp43 const OMX_CALLBACKTYPE *callbacks, in SoftVPX() argument
46 : SimpleSoftOMXComponent(name, callbacks, appData, component), in SoftVPX()
378 const char *name, const OMX_CALLBACKTYPE *callbacks, in createSoftOMXComponent() argument
380 return new android::SoftVPX(name, callbacks, appData, component); in createSoftOMXComponent()
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp47 const OMX_CALLBACKTYPE *callbacks, in SoftVorbis() argument
50 : SimpleSoftOMXComponent(name, callbacks, appData, component), in SoftVorbis()
442 const char *name, const OMX_CALLBACKTYPE *callbacks, in createSoftOMXComponent() argument
444 return new android::SoftVorbis(name, callbacks, appData, component); in createSoftOMXComponent()
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC.cpp42 const OMX_CALLBACKTYPE *callbacks, in SoftAAC() argument
45 : SimpleSoftOMXComponent(name, callbacks, appData, component), in SoftAAC()
550 const char *name, const OMX_CALLBACKTYPE *callbacks, in createSoftOMXComponent() argument
552 return new android::SoftAAC(name, callbacks, appData, component); in createSoftOMXComponent()
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder.cpp42 const OMX_CALLBACKTYPE *callbacks, in SoftAACEncoder() argument
45 : SimpleSoftOMXComponent(name, callbacks, appData, component), in SoftAACEncoder()
557 const char *name, const OMX_CALLBACKTYPE *callbacks, in createSoftOMXComponent() argument
559 return new android::SoftAACEncoder(name, callbacks, appData, component); in createSoftOMXComponent()

12345