Lines Matching refs:mStack
45 private Stack<StateEntry> mStack = new Stack<StateEntry>();
61 if (!mStack.isEmpty()) {
69 && mStack.isEmpty();
77 mStack.push(new StateEntry(data, state));
95 if (!mStack.isEmpty()) {
106 mStack.push(new StateEntry(data, state));
112 if (mStack.isEmpty()) {
120 for (StateEntry entry : mStack) {
128 if (!mStack.isEmpty()) getTopState().resume();
134 if (!mStack.isEmpty()) getTopState().onPause();
142 if (!mStack.isEmpty()) {
148 return mStack.size();
152 if (!mStack.isEmpty()) {
155 if (mStack.size() > 1) {
165 if (!mStack.isEmpty()) {
176 while (mStack.size() > 1) {
177 mStack.pop().activityState.onDestroy();
184 if (mStack.size() == 1) {
198 if (state != mStack.peek().activityState) {
205 + mStack.peek().activityState);
210 mStack.pop();
212 ActivityState top = !mStack.isEmpty() ? mStack.peek().activityState : null;
233 if (oldState != mStack.peek().activityState) {
236 + mStack.peek().activityState);
239 mStack.pop();
256 mStack.push(new StateEntry(data, state));
265 while (!mStack.isEmpty()) {
266 mStack.pop().activityState.onDestroy();
268 mStack.clear();
293 mStack.push(new StateEntry(data, activityState));
305 Parcelable list[] = new Parcelable[mStack.size()];
307 for (StateEntry entry : mStack) {
321 for (StateEntry entry : mStack) {
330 Utils.assertTrue(!mStack.isEmpty());
331 return mStack.peek().activityState;