Methods Summary |
---|
void | addAppToken(int addPos, AppWindowToken wtoken)
final int lastPos = mAppTokens.size();
for (int pos = 0; pos < lastPos && pos < addPos; ++pos) {
if (mAppTokens.get(pos).removed) {
// addPos assumes removed tokens are actually gone.
++addPos;
}
}
mAppTokens.add(addPos, wtoken);
mDeferRemoval = false;
|
DisplayContent | getDisplayContent()
return mStack.getDisplayContent();
|
boolean | removeAppToken(AppWindowToken wtoken)
boolean removed = mAppTokens.remove(wtoken);
if (mAppTokens.size() == 0) {
EventLog.writeEvent(com.android.server.EventLogTags.WM_TASK_REMOVED, taskId,
"removeAppToken: last token");
}
return removed;
|
void | setSendingToBottom(boolean toBottom)
for (int appTokenNdx = 0; appTokenNdx < mAppTokens.size(); appTokenNdx++) {
mAppTokens.get(appTokenNdx).sendingToBottom = toBottom;
}
|
public java.lang.String | toString()
return "{taskId=" + taskId + " appTokens=" + mAppTokens + " mdr=" + mDeferRemoval + "}";
|