Home
last modified time | relevance | path

Searched refs:mStack (Results 1 – 6 of 6) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/
DDocumentStackTest.java47 private DocumentStack mStack; field in DocumentStackTest
71 mStack = new DocumentStack(); in setUp()
76 assertFalse(mStack.hasLocationChanged()); in testInitialStateEmpty()
77 assertTrue(mStack.isEmpty()); in testInitialStateEmpty()
78 assertEquals(0, mStack.size()); in testInitialStateEmpty()
79 assertNull(mStack.getRoot()); in testInitialStateEmpty()
84 mStack.push(DIR_1); in testPushDocument_ModifiesStack()
85 mStack.push(DIR_2); in testPushDocument_ModifiesStack()
86 assertEquals(DIR_2, mStack.peek()); in testPushDocument_ModifiesStack()
91 mStack.push(DIR_1); in testPopDocument_ModifiesStack()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DStateManager.java44 private Stack<StateEntry> mStack = new Stack<StateEntry>(); field in StateManager
60 if (!mStack.isEmpty()) { in startState()
72 mStack.push(new StateEntry(data, state)); in startState()
90 if (!mStack.isEmpty()) { in startStateForResult()
101 mStack.push(new StateEntry(data, state)); in startStateForResult()
107 if (mStack.isEmpty()) { in createOptionsMenu()
115 for (StateEntry entry : mStack) { in onConfigurationChange()
123 if (!mStack.isEmpty()) getTopState().resume(); in resume()
129 if (!mStack.isEmpty()) getTopState().onPause(); in pause()
137 if (!mStack.isEmpty()) { in clearActivityResult()
[all …]
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduComposer.java105 private BufferStack mStack = null; field in PduComposer
141 mStack = new BufferStack(); in PduComposer()
345 mStack.newbuf(); in appendEncodedString()
346 final PositionMarker start = mStack.mark(); in appendEncodedString()
352 mStack.pop(); in appendEncodedString()
354 mStack.copy(); in appendEncodedString()
549 mStack.newbuf(); in appendHeader()
550 final PositionMarker fstart = mStack.mark(); in appendHeader()
563 mStack.pop(); in appendHeader()
565 mStack.copy(); in appendHeader()
[all …]
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DTraceHelperForTest.java25 private final ThreadLocal<LinkedList<TraceInfo>> mStack = field in TraceHelperForTest
50 LinkedList<TraceInfo> stack = mStack.get(); in beginSection()
66 LinkedList<TraceInfo> stack = mStack.get(); in endSection()
83 LinkedList<TraceInfo> stack = mStack.get(); in beginFlagsOverride()
94 LinkedList<TraceInfo> stack = mStack.get(); in endFlagsOverride()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DCreatePickedDocumentTask.java45 private final DocumentStack mStack; field in CreatePickedDocumentTask
63 mStack = stack; in CreatePickedDocumentTask()
77 DocumentInfo cwd = mStack.peek(); in run()
82 mLastAccessed.setLastAccessed(mOwner, mStack); in run()
DSetLastAccessedStackTask.java27 private final DocumentStack mStack; field in SetLastAccessedStackTask
38 mStack = stack; in SetLastAccessedStackTask()
44 mLastAccessed.setLastAccessed(mOwner, mStack); in run()