Searched refs:ComponentCallbacks2 (Results 1 – 19 of 19) sorted by relevance
22 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()
19 import android.content.ComponentCallbacks2;291 public abstract class Service extends ContextWrapper implements ComponentCallbacks2 {
20 import android.content.ComponentCallbacks2;345 public class Fragment implements ComponentCallbacks2, OnCreateContextMenuListener {
21 import android.content.ComponentCallbacks2;3749 ArrayList<ComponentCallbacks2> collectComponentCallbacks( in collectComponentCallbacks()3751 ArrayList<ComponentCallbacks2> callbacks in collectComponentCallbacks()3752 = new ArrayList<ComponentCallbacks2>(); in collectComponentCallbacks()3800 private static void performConfigurationChanged(ComponentCallbacks2 cb, Configuration config) { in performConfigurationChanged()3897 ArrayList<ComponentCallbacks2> callbacks = collectComponentCallbacks(false, config); in handleConfigurationChanged()4011 ArrayList<ComponentCallbacks2> callbacks = collectComponentCallbacks(true, null); in handleLowMemory()4039 ArrayList<ComponentCallbacks2> callbacks = collectComponentCallbacks(true, null); in handleTrimMemory()4892 ViewRootImpl.addConfigCallback(new ComponentCallbacks2() { in attach()
24 import android.content.ComponentCallbacks2;648 OnCreateContextMenuListener, ComponentCallbacks2 {
84 public interface ComponentCallbacks2 extends ComponentCallbacks { interface
88 public abstract class ContentProvider implements ComponentCallbacks2 {
21 import android.content.ComponentCallbacks2;379 if (level >= ComponentCallbacks2.TRIM_MEMORY_COMPLETE in startTrimMemory()380 || (level >= ComponentCallbacks2.TRIM_MEMORY_MODERATE in startTrimMemory()391 HardwareRenderer.startTrimMemory(ComponentCallbacks2.TRIM_MEMORY_COMPLETE); in startTrimMemory()
19 import android.content.ComponentCallbacks2;2324 if (level >= ComponentCallbacks2.TRIM_MEMORY_COMPLETE) { in startTrimMemory()2326 } else if (level >= ComponentCallbacks2.TRIM_MEMORY_UI_HIDDEN) { in startTrimMemory()
24 import android.content.ComponentCallbacks2;630 HardwareRenderer.trimMemory(ComponentCallbacks2.TRIM_MEMORY_MODERATE); in destroyHardwareLayers()
21 import android.content.ComponentCallbacks2;280 ComponentCallbacks2.TRIM_MEMORY_COMPLETE); in getStatics()
225 android.content.ComponentCallbacks2#onTrimMemory onTrimMemory()} callback in your {@link227 method to listen for the {@link android.content.ComponentCallbacks2#TRIM_MEMORY_UI_HIDDEN} level,232 <p>Notice that your app receives the {@link android.content.ComponentCallbacks2#onTrimMemory233 onTrimMemory()} callback with {@link android.content.ComponentCallbacks2#TRIM_MEMORY_UI_HIDDEN}241 android.content.ComponentCallbacks2#onTrimMemory onTrimMemory(TRIM_MEMORY_UI_HIDDEN)}. This ensures250 android.content.ComponentCallbacks2#onTrimMemory onTrimMemory()} callback also tells you when252 on the following memory levels delivered by {@link android.content.ComponentCallbacks2#onTrimMemory256 <li>{@link android.content.ComponentCallbacks2#TRIM_MEMORY_RUNNING_MODERATE}261 <li>{@link android.content.ComponentCallbacks2#TRIM_MEMORY_RUNNING_LOW}267 <li>{@link android.content.ComponentCallbacks2#TRIM_MEMORY_RUNNING_CRITICAL}[all …]
25 import android.content.ComponentCallbacks2;176 if (level >= ComponentCallbacks2.TRIM_MEMORY_RUNNING_LOW && in trimMemory()
98 import android.content.ComponentCallbacks2;15621 fgTrimLevel = ComponentCallbacks2.TRIM_MEMORY_RUNNING_CRITICAL; in updateOomAdjLocked()15624 fgTrimLevel = ComponentCallbacks2.TRIM_MEMORY_RUNNING_LOW; in updateOomAdjLocked()15627 fgTrimLevel = ComponentCallbacks2.TRIM_MEMORY_RUNNING_MODERATE; in updateOomAdjLocked()15635 int curLevel = ComponentCallbacks2.TRIM_MEMORY_COMPLETE; in updateOomAdjLocked()15656 if (curLevel >= ComponentCallbacks2.TRIM_MEMORY_COMPLETE in updateOomAdjLocked()15671 case ComponentCallbacks2.TRIM_MEMORY_COMPLETE: in updateOomAdjLocked()15672 curLevel = ComponentCallbacks2.TRIM_MEMORY_MODERATE; in updateOomAdjLocked()15674 case ComponentCallbacks2.TRIM_MEMORY_MODERATE: in updateOomAdjLocked()15675 curLevel = ComponentCallbacks2.TRIM_MEMORY_BACKGROUND; in updateOomAdjLocked()[all …]
158 <p>New {@link android.content.ComponentCallbacks2} constants such as {@link 159 android.content.ComponentCallbacks2#TRIM_MEMORY_RUNNING_LOW} and {@link 160 android.content.ComponentCallbacks2#TRIM_MEMORY_RUNNING_CRITICAL} provide foreground
600 NO DOC BLOCK: android.content.ComponentCallbacks2 Field TRIM_MEMORY_RUNNING_CRITICAL601 NO DOC BLOCK: android.content.ComponentCallbacks2 Field TRIM_MEMORY_RUNNING_LOW602 NO DOC BLOCK: android.content.ComponentCallbacks2 Field TRIM_MEMORY_RUNNING_MODERATE
228 android.content.ComponentCallbacks2
1471 http://developer.android.com/reference/android/content/ComponentCallbacks2.html5446 http://developer.android.com/sdk/api_diff/16/changes/android.content.ComponentCallbacks2.html
2733 …xtends android.view.ContextThemeWrapper implements android.content.ComponentCallbacks2 android.vie…3200 …Application extends android.content.ContextWrapper implements android.content.ComponentCallbacks2 {3514 …public class Fragment implements android.content.ComponentCallbacks2 android.view.View.OnCreateCon…4237 …ass Service extends android.content.ContextWrapper implements android.content.ComponentCallbacks2 {5595 public abstract interface ComponentCallbacks2 implements android.content.ComponentCallbacks {5627 public abstract class ContentProvider implements android.content.ComponentCallbacks2 {