Home
last modified time | relevance | path

Searched refs:ComponentCallbacks2 (Results 1 – 19 of 19) 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;
345 public class Fragment implements ComponentCallbacks2, OnCreateContextMenuListener {
DActivityThread.java21 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()
DActivity.java24 import android.content.ComponentCallbacks2;
648 OnCreateContextMenuListener, ComponentCallbacks2 {
/frameworks/base/core/java/android/content/
DComponentCallbacks2.java84 public interface ComponentCallbacks2 extends ComponentCallbacks { interface
DContentProvider.java88 public abstract class ContentProvider implements ComponentCallbacks2 {
/frameworks/base/core/java/android/view/
DWindowManagerGlobal.java21 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()
DHardwareRenderer.java19 import android.content.ComponentCallbacks2;
2324 if (level >= ComponentCallbacks2.TRIM_MEMORY_COMPLETE) { in startTrimMemory()
2326 } else if (level >= ComponentCallbacks2.TRIM_MEMORY_UI_HIDDEN) { in startTrimMemory()
DViewRootImpl.java24 import android.content.ComponentCallbacks2;
630 HardwareRenderer.trimMemory(ComponentCallbacks2.TRIM_MEMORY_MODERATE); in destroyHardwareLayers()
/frameworks/webview/chromium/java/com/android/webview/chromium/
DWebViewChromiumFactoryProvider.java21 import android.content.ComponentCallbacks2;
280 ComponentCallbacks2.TRIM_MEMORY_COMPLETE); in getStatics()
/frameworks/base/docs/html/training/articles/
Dmemory.jd225 android.content.ComponentCallbacks2#onTrimMemory onTrimMemory()} callback in your {@link
227 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#onTrimMemory
233 onTrimMemory()} callback with {@link android.content.ComponentCallbacks2#TRIM_MEMORY_UI_HIDDEN}
241 android.content.ComponentCallbacks2#onTrimMemory onTrimMemory(TRIM_MEMORY_UI_HIDDEN)}. This ensures
250 android.content.ComponentCallbacks2#onTrimMemory onTrimMemory()} callback also tells you when
252 on the following memory levels delivered by {@link android.content.ComponentCallbacks2#onTrimMemory
256 <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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java25 import android.content.ComponentCallbacks2;
176 if (level >= ComponentCallbacks2.TRIM_MEMORY_RUNNING_LOW && in trimMemory()
/frameworks/base/services/java/com/android/server/am/
DActivityManagerService.java98 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 …]
/frameworks/base/docs/html/about/versions/
Dandroid-4.1.jd158 <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
/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/
Dpreloaded-classes228 android.content.ComponentCallbacks2
/frameworks/base/docs/html/
Dsitemap.txt1471 http://developer.android.com/reference/android/content/ComponentCallbacks2.html
5446 http://developer.android.com/sdk/api_diff/16/changes/android.content.ComponentCallbacks2.html
/frameworks/base/api/
Dcurrent.txt2733 …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 {