Home
last modified time | relevance | path

Searched refs:stopped (Results 1 – 25 of 77) sorted by relevance

1234

/frameworks/base/docs/html/training/basics/activity-lifecycle/
Dstopping.jd37 There are a few of key scenarios in which your activity is stopped and restarted:</p>
41 activity in your app that's currently in the foreground is stopped. If the user returns to your
44 is stopped when the second activity is created. If the user then presses the <em>Back</em>
51 specifically handle how your activity handles being stopped and restarted. Unlike the paused state,
52 which identifies a partial UI obstruction, the stopped state guarantees that the UI is no longer
56 instance in system memory when it is stopped, it's possible that you don't need to implement the
62 <img src="{@docRoot}images/training/basics/basic-lifecycle-stopped.png" />
65 while the activity is stopped, the system calls {@link android.app.Activity#onRestart onRestart()}
77 using it. Once your activity is stopped, the system might destroy the instance if it needs to
112 <p>When your activity is stopped, the {@link android.app.Activity} object is kept resident in memory
[all …]
/frameworks/base/core/java/android/content/pm/
DPackageUserState.java41 public boolean stopped; field in PackageUserState
66 stopped = o.stopped; in PackageUserState()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipWakeupTimer.java75 private boolean stopped() { in stopped() method in SipWakeupTimer
152 if (stopped()) return; in set()
178 if (stopped() || mEventQueue.isEmpty()) return; in cancel()
208 if (stopped() || mEventQueue.isEmpty()) return; in scheduleNext()
256 if (stopped() || mEventQueue.isEmpty()) return; in execute()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java338 return readUserState(userId).stopped; in getStopped()
342 modifyUserState(userId).stopped = stop; in setStopped()
377 void setUserState(int userId, long ceDataInode, int enabled, boolean installed, boolean stopped, in setUserState() argument
386 state.stopped = stopped; in setUserState()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java80 boolean stopped = mInternal.isUserStopped(userId); in runIsUserStopped()
81 pw.println(stopped); in runIsUserStopped()
DUserController.java572 boolean stopped; in finishUserStopped()
577 stopped = false; in finishUserStopped()
579 stopped = false; in finishUserStopped()
581 stopped = true; in finishUserStopped()
597 if (stopped) callbacks.get(i).userStopped(userId); in finishUserStopped()
603 if (stopped) { in finishUserStopped()
DActivityMetricsLogger.java137 if (!activity.stopped) { in hasStartedActivity()
DActivityRecord.java174 boolean stopped; // is activity pause finished? field in ActivityRecord
340 pw.print(" stopped="); pw.print(stopped); in dump()
623 stopped = false; in ActivityRecord()
876 if (stopped) {
1273 if (mStackSupervisor.mWaitingVisibleActivities.contains(this) || stopped) { in getWaitingHistoryRecordLocked()
1346 || this == task.stack.mPausingActivity || !haveState || !stopped) { in isDestroyable()
/frameworks/base/libs/hwui/renderthread/
DRenderProxy.cpp171 CREATE_BRIDGE2(setStopped, CanvasContext* context, bool stopped) { in CREATE_BRIDGE2() argument
172 args->context->setStopped(args->stopped); in CREATE_BRIDGE2()
176 void RenderProxy::setStopped(bool stopped) { in setStopped() argument
179 args->stopped = stopped; in setStopped()
DRenderProxy.h82 ANDROID_API void setStopped(bool stopped);
DCanvasContext.cpp144 void CanvasContext::setStopped(bool stopped) { in setStopped() argument
145 if (mStopped != stopped) { in setStopped()
146 mStopped = stopped; in setStopped()
DCanvasContext.h85 void setStopped(bool stopped);
/frameworks/native/cmds/flatland/
DREADME.txt13 turned off and background services should be stopped before running the
17 with GPU rendering, those should be stopped as well (and ideally they'd be
/frameworks/base/docs/html-intl/intl/ja/training/basics/activity-lifecycle/
Dstopping.jd61 <img src="{@docRoot}images/training/basics/basic-lifecycle-stopped.png" />
173 // Activity being restarted from stopped state
/frameworks/base/docs/html-intl/intl/ko/training/basics/activity-lifecycle/
Dstopping.jd61 <img src="{@docRoot}images/training/basics/basic-lifecycle-stopped.png" />
173 // Activity being restarted from stopped state
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/activity-lifecycle/
Dstopping.jd61 <img src="{@docRoot}images/training/basics/basic-lifecycle-stopped.png" />
173 // Activity being restarted from stopped state
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DServiceMonitor.java219 boolean stopped = mContext.stopService(new Intent().setComponent(mServiceName)); in stopService()
220 if (mDebug) Log.d(mTag, " stopped=" + stopped); in stopService()
/frameworks/base/docs/html-intl/intl/ru/training/basics/activity-lifecycle/
Dstopping.jd61 <img src="{@docRoot}images/training/basics/basic-lifecycle-stopped.png" />
173 // Activity being restarted from stopped state
/frameworks/base/services/core/java/com/android/server/wm/
DAppWindowToken.java384 void notifyAppStopped(boolean stopped) { in notifyAppStopped() argument
385 if (DEBUG_ADD_REMOVE) Slog.v(TAG, "notifyAppStopped: stopped=" + stopped + " " + this); in notifyAppStopped()
386 mAppStopped = stopped; in notifyAppStopped()
388 if (stopped) { in notifyAppStopped()
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/activity-lifecycle/
Dstopping.jd61 <img src="{@docRoot}images/training/basics/basic-lifecycle-stopped.png" />
173 // Activity being restarted from stopped state
/frameworks/base/docs/html/about/versions/
Dandroid-3.1.jd655 <h3 id="launchcontrols" style="margin-top:1.25em;">Launch controls on stopped
659 applications that are in a stopped state and provides a means of controlling
662 <p>Note that an application's stopped state is not the same as an Activity's
663 stopped state. The system manages those two stopped states separately.</p>
666 whether the Intent should be allowed to activate components in stopped
671 Include intent filters of stopped applications in the list of potential targets
674 Exclude intent filters of stopped applications from the list of potential
679 behavior is to include filters of stopped applications in the list of
688 intents that should be allowed to activate stopped applications.</p>
690 <p>Applications are in a stopped state when they are first installed but are not
[all …]
/frameworks/base/core/java/android/view/
DThreadedRenderer.java492 void setStopped(boolean stopped) { in setStopped() argument
493 nSetStopped(mNativeProxy, stopped); in setStopped()
986 private static native void nSetStopped(long nativeProxy, boolean stopped); in nSetStopped() argument
DWindowManagerGlobal.java593 public void setStoppedState(IBinder token, boolean stopped) { in setStoppedState() argument
599 root.setWindowStopped(stopped); in setStoppedState()
/frameworks/base/docs/html/guide/components/
Dactivities.jd57 activity starts, the previous activity is stopped, but the system preserves the activity
65 <p>When an activity is stopped because a new activity starts, it is notified of this change in state
70 appropriate to that state change. For instance, when stopped, your activity should release any
86 the activity is being created, stopped, resumed, or destroyed. The two most important callback
105 to be stopped and even destroyed. All of the lifecycle callback methods are discussed later, in
367 "background"). A stopped activity is also still alive (the {@link android.app.Activity}
373 <p>If an activity is paused or stopped, the system can drop it from memory either by asking it to
413 // The activity is no longer visible (it is now "stopped")
504 <td>Called after the activity has been stopped, just prior to it being
607 when an activity is paused or stopped, the state of the activity is retained. This is true because
[all …]
/frameworks/base/core/java/android/app/
DActivityThread.java323 boolean stopped; field in ActivityThread.ActivityClientRecord
362 stopped = false; in ActivityClientRecord()
392 sb.append(", stopped=").append(stopped); in getStateString()
2607 r.stopped = true; in performLaunchActivity()
2610 r.stopped = false; in performLaunchActivity()
3395 r.stopped = false; in performResumeActivity()
3791 if (!keepShown && r.stopped) { in performStopActivityInner()
3843 r.stopped = true; in performStopActivityInner()
3927 if (r.stopped) { in performRestartActivity()
3929 r.stopped = false; in performRestartActivity()
[all …]

1234