Home
last modified time | relevance | path

Searched refs:ComponentCallbacks2 (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/android/app/
DApplication.java22 import android.content.ComponentCallbacks2;
44 public class Application extends ContextWrapper implements ComponentCallbacks2 {
127 if (c instanceof ComponentCallbacks2) { in onTrimMemory()
128 ((ComponentCallbacks2)c).onTrimMemory(level); in onTrimMemory()
DService.java19 import android.content.ComponentCallbacks2;
291 public abstract class Service extends ContextWrapper implements ComponentCallbacks2 {
DFragment.java20 import android.content.ComponentCallbacks2;
344 public class Fragment implements ComponentCallbacks2, OnCreateContextMenuListener {
DActivityThread.java21 import android.content.ComponentCallbacks2;
3765 ArrayList<ComponentCallbacks2> collectComponentCallbacks( in collectComponentCallbacks()
3767 ArrayList<ComponentCallbacks2> callbacks in collectComponentCallbacks()
3768 = new ArrayList<ComponentCallbacks2>(); in collectComponentCallbacks()
3817 private static void performConfigurationChanged(ComponentCallbacks2 cb, Configuration config) { in performConfigurationChanged()
4011 ArrayList<ComponentCallbacks2> callbacks = collectComponentCallbacks(false, config); in handleConfigurationChanged()
4125 ArrayList<ComponentCallbacks2> callbacks = collectComponentCallbacks(true, null); in handleLowMemory()
4153 ArrayList<ComponentCallbacks2> callbacks = collectComponentCallbacks(true, null); in handleTrimMemory()
4996 ViewRootImpl.addConfigCallback(new ComponentCallbacks2() { in attach()
DActivity.java22 import android.content.ComponentCallbacks2;
645 OnCreateContextMenuListener, ComponentCallbacks2 {
/frameworks/base/core/java/android/content/
DComponentCallbacks2.java23 public interface ComponentCallbacks2 extends ComponentCallbacks { interface
DContentProvider.java91 public abstract class ContentProvider implements ComponentCallbacks2 {
/frameworks/base/core/java/android/view/
DWindowManagerGlobal.java21 import android.content.ComponentCallbacks2;
415 if (level >= ComponentCallbacks2.TRIM_MEMORY_COMPLETE in startTrimMemory()
416 || (level >= ComponentCallbacks2.TRIM_MEMORY_MODERATE in startTrimMemory()
429 HardwareRenderer.startTrimMemory(ComponentCallbacks2.TRIM_MEMORY_COMPLETE); in startTrimMemory()
DHardwareRenderer.java19 import android.content.ComponentCallbacks2;
2098 if (level >= ComponentCallbacks2.TRIM_MEMORY_COMPLETE) { in startTrimMemory()
2100 } else if (level >= ComponentCallbacks2.TRIM_MEMORY_UI_HIDDEN) { in startTrimMemory()
DViewRootImpl.java24 import android.content.ComponentCallbacks2;
660 HardwareRenderer.trimMemory(ComponentCallbacks2.TRIM_MEMORY_MODERATE); in destroyHardwareLayers()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java22 import android.content.ComponentCallbacks2;
168 if (level >= ComponentCallbacks2.TRIM_MEMORY_RUNNING_LOW && in trimMemory()
/frameworks/base/services/java/com/android/server/am/
DActivityManagerService.java67 import android.content.ComponentCallbacks2;
14104 fgTrimLevel = ComponentCallbacks2.TRIM_MEMORY_RUNNING_CRITICAL; in updateOomAdjLocked()
14106 fgTrimLevel = ComponentCallbacks2.TRIM_MEMORY_RUNNING_LOW; in updateOomAdjLocked()
14108 fgTrimLevel = ComponentCallbacks2.TRIM_MEMORY_RUNNING_MODERATE; in updateOomAdjLocked()
14110 int curLevel = ComponentCallbacks2.TRIM_MEMORY_COMPLETE; in updateOomAdjLocked()
14125 if (curLevel >= ComponentCallbacks2.TRIM_MEMORY_COMPLETE in updateOomAdjLocked()
14140 case ComponentCallbacks2.TRIM_MEMORY_COMPLETE: in updateOomAdjLocked()
14141 curLevel = ComponentCallbacks2.TRIM_MEMORY_MODERATE; in updateOomAdjLocked()
14143 case ComponentCallbacks2.TRIM_MEMORY_MODERATE: in updateOomAdjLocked()
14144 curLevel = ComponentCallbacks2.TRIM_MEMORY_BACKGROUND; in updateOomAdjLocked()
[all …]
/frameworks/base/docs/html/about/versions/
Dandroid-4.1.jd99 <p>New {@link android.content.ComponentCallbacks2} constants such as {@link
100 android.content.ComponentCallbacks2#TRIM_MEMORY_RUNNING_LOW} and {@link
101 android.content.ComponentCallbacks2#TRIM_MEMORY_RUNNING_CRITICAL} provide foreground
/frameworks/base/docs/html/sdk/api_diff/16/
DmissingSinces.txt600 NO DOC BLOCK: android.content.ComponentCallbacks2 Field TRIM_MEMORY_RUNNING_CRITICAL
601 NO DOC BLOCK: android.content.ComponentCallbacks2 Field TRIM_MEMORY_RUNNING_LOW
602 NO DOC BLOCK: android.content.ComponentCallbacks2 Field TRIM_MEMORY_RUNNING_MODERATE
/frameworks/base/core/java/android/webkit/
DWebViewClassic.java27 import android.content.ComponentCallbacks2;
709 private static class OnTrimMemoryListener implements ComponentCallbacks2 {
/frameworks/base/
Dpreloaded-classes229 android.content.ComponentCallbacks2
/frameworks/base/docs/html/
Dsitemap.txt1472 http://developer.android.com/reference/android/content/ComponentCallbacks2.html
5447 http://developer.android.com/sdk/api_diff/16/changes/android.content.ComponentCallbacks2.html
/frameworks/base/api/
Dcurrent.txt2683 …xtends android.view.ContextThemeWrapper implements android.content.ComponentCallbacks2 android.vie…
3119 …Application extends android.content.ContextWrapper implements android.content.ComponentCallbacks2 {
3433 …public class Fragment implements android.content.ComponentCallbacks2 android.view.View.OnCreateCon…
4128 …ass Service extends android.content.ContextWrapper implements android.content.ComponentCallbacks2 {
5341 public abstract interface ComponentCallbacks2 implements android.content.ComponentCallbacks {
5373 public abstract class ContentProvider implements android.content.ComponentCallbacks2 {