/frameworks/base/tools/preload/ |
H A D | Proc.java | 46 /** Maps thread ID to operation stack. */ 96 LinkedList<Operation> stack = stacks.get(threadId); 97 if (stack == null) { 98 stack = new LinkedList<Operation>(); 99 stacks.put(threadId, stack); 102 if (!stack.isEmpty()) { 103 stack.getLast().subops.add(o); 106 stack.add(o); 118 LinkedList<Operation> stack = stacks.get(threadId); 120 if (stack [all...] |
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | Volley.java | 39 * @param stack An {@link HttpStack} to use for the network, or null for default. 42 public static RequestQueue newRequestQueue(Context context, HttpStack stack) { argument 53 if (stack == null) { 55 stack = new HurlStack(); 59 stack = new HttpClientStack(AndroidHttpClient.newInstance(userAgent)); 63 Network network = new BasicNetwork(stack);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | StackActivity.java | 36 setContentView(R.layout.stack); 38 StackView stack = (StackView) findViewById(R.id.stack_view); 39 stack.setAdapter(new ArrayAdapter<Drawable>(this, android.R.layout.simple_list_item_1, 57 stack.setDisplayedChild(0);
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityStackSupervisor.java | 137 /** The stack containing the launcher app */ 140 /** The non-home stack currently receiving input or launching the next activity. If home is 206 /** Stack id of the front stack when user switched, indexed by userId. */ 266 boolean isFrontStack(ActivityStack stack) { argument 267 return !(stack.isHomeStack() ^ getFocusedStack().isHomeStack()); 305 ActivityStack stack = mStacks.get(stackNdx); 306 TaskRecord task = stack.taskForIdLocked(id); 336 final ActivityStack stack = task.stack; 337 final ActivityRecord r = stack [all...] |
H A D | ActivityRecord.java | 56 * An entry in the history stack, representing an activity. 144 private boolean inHistory; // are we in the history stack? 486 Slog.d(TAG, "!!! REMOVE THIS LOG !!! setTask: nearly removed stack=" + 487 (newTask == null ? null : newTask.stack)); 639 // stack. 642 && task.stack.topRunningActivityLocked(null) == this)) 783 final ActivityStack stack = task.stack; 784 Message msg = stack.mHandler.obtainMessage(ActivityStack.LAUNCH_TICK_MSG, this); 785 stack [all...] |
H A D | TaskRecord.java | 57 /** Current stack */ 58 ActivityStack stack; field in class:TaskRecord 155 if (!r.finishing && r != notTop && stack.okToShow(r)) { 163 * Reorder the history stack so that the activity at the given index is 168 + " to stack at top", new RuntimeException("here").fillInStackTrace()); 220 if (stack.finishActivityLocked(r, Activity.RESULT_CANCELED, null, "clear", false)) { 237 * stack to the given task, then look for 238 * an instance of that activity in the stack and, if found, finish all 265 if (stack.finishActivityLocked(r, Activity.RESULT_CANCELED, null, "clear", 278 stack [all...] |
H A D | CompatModePackages.java | 297 final ActivityStack stack = mService.getFocusedStack(); 298 ActivityRecord starting = stack.restartPackage(packageName); 317 stack.ensureActivityConfigurationLocked(starting, 0); 320 stack.ensureActivitiesVisibleLocked(starting, 0);
|
/frameworks/base/core/java/android/util/ |
H A D | JsonWriter.java | 125 private final List<JsonScope> stack = new ArrayList<JsonScope>(); field in class:JsonWriter 127 stack.add(JsonScope.EMPTY_DOCUMENT); 240 stack.add(empty); 253 throw new IllegalStateException("Nesting problem: " + stack); 256 stack.remove(stack.size() - 1); 265 * Returns the value on the top of the stack. 268 return stack.get(stack.size() - 1); 272 * Replace the value on the top of the stack wit [all...] |
H A D | JsonReader.java | 205 private final List<JsonScope> stack = new ArrayList<JsonScope>(); field in class:JsonReader 536 stack.clear(); 537 stack.add(JsonScope.CLOSED); 564 return stack.get(stack.size() - 1); 568 return stack.remove(stack.size() - 1); 572 stack.add(newTop); 576 * Replace the value on the top of the stack with the given value. 579 stack [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
H A D | Task.java | 29 Task(AppWindowToken wtoken, TaskStack stack, int userId) { argument 32 mStack = stack;
|
H A D | StackBox.java | 117 * Return the stackId of the stack that intersects the passed point. 120 * @return -1 if point is outside of mBounds, otherwise the stackId of the containing stack. 175 TaskStack stack = mFirst.split(stackId, relativeStackBoxId, position, weight); 176 if (stack != null) { 177 return stack; 183 TaskStack stack = new TaskStack(mService, stackId, mDisplayContent); 200 firstStack = stack; 205 secondStack = stack; 213 firstStack = stack; 218 secondStack = stack; [all...] |
H A D | DimLayer.java | 51 /** Owning stack */ 54 DimLayer(WindowManagerService service, TaskStack stack) { argument 55 mStack = stack; 56 mDisplayContent = stack.getDisplayContent();
|
H A D | DisplayContent.java | 49 /** Unique identifier of this stack. */ 96 * is stored in display order with the current bottom stack at 0. */ 102 /** Detect user tapping outside of current focused stack bounds .*/ 105 /** Detect user tapping outside of current focused stack bounds .*/ 167 * Retrieve the tasks on this display in stack order from the bottommost TaskStack up. 253 if (DEBUG_STACK) Slog.d(TAG, "createStack: inserting stack at " + 300 final TaskStack stack = box.mStack; 301 if (stack != null && stack.mStackId == HOME_STACK_ID) { 302 // Never delete the home stack, eve [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | GraphReader.java | 42 public void execute(CommandStack stack); argument 88 public void execute(CommandStack stack) { argument 90 stack.getFactory().addPackage(mPackageName); 105 public void execute(CommandStack stack) { argument 120 public void execute(CommandStack stack) { argument 123 filter = stack.getFactory().createFilterByClassName(mClassName, 125 stack.getContext()); 129 stack.getBuilder().addFilter(filter); 143 public void execute(CommandStack stack) { argument 144 stack 158 execute(CommandStack stack) argument 173 execute(CommandStack stack) argument 190 execute(CommandStack stack) argument 217 execute(CommandStack stack) argument [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | RecentsCreateFragment.java | 143 final DocumentStack stack = mAdapter.getItem(position); 144 ((DocumentsActivity) getActivity()).onStackPicked(stack); 171 final DocumentStack stack = new DocumentStack(); 172 DurableUtils.readFromArray(rawStack, stack); 175 // providers; we update the stack during the actual 178 stack.updateRoot(matchingRoots); 179 result.add(stack); 181 Log.w(TAG, "Failed to resolve stack: " + e); 223 final DocumentStack stack = getItem(position); 224 iconMime.setImageDrawable(stack [all...] |
H A D | DocumentsActivity.java | 296 // Restore last stack for calling package 305 DurableUtils.readFromArray(rawStack, mState.stack); 315 // Update the restored stack to ensure we have freshest data 318 mState.stack.updateRoot(matchingRoots); 319 mState.stack.updateDocuments(getContentResolver()); 321 Log.w(TAG, "Failed to restore stack: " + e); 322 mState.stack.reset(); 335 // Show drawer when no stack restored, but only when requesting 446 if (mState.stack.size() <= 1) { 680 final int size = mState.stack 861 onStackPicked(DocumentStack stack) argument 1147 public DocumentStack stack = new DocumentStack(); field in class:DocumentsActivity.State [all...] |
H A D | RecentsProvider.java | 79 public static final String STACK = "stack"; 93 public static final String STACK = "stack"; 308 final DocumentStack stack = new DocumentStack(); 316 DurableUtils.readFromArray(rawStack, stack); 318 if (stack.root != null && predicate.apply(stack.root.authority)) { 350 DurableUtils.readFromArray(rawStack, stack); 352 if (stack.root != null && predicate.apply(stack.root.authority)) {
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
H A D | PathV3.inc | 18 #include <stack> 34 // SepTable - stack of result separators 39 // -> push current into stack 54 std::stack<size_t> slash_stack;
|
/frameworks/compile/mclinker/lib/Support/Windows/ |
H A D | PathV3.inc | 12 #include <stack> 27 // SepTable - stack of result separators 32 // -> push current into stack 47 std::stack<size_t> slash_stack;
|
/frameworks/compile/mclinker/include/mcld/MC/ |
H A D | InputBuilder.h | 16 #include <stack> 99 std::stack<InputTree::iterator> m_ReturnStack;
|
/frameworks/compile/mclinker/lib/Support/ |
H A D | DefSymParser.cpp | 36 std::stack<const char*> operatorStack; 37 std::stack<unsigned long> operandStack; 66 // top of stack, we clear stack till top is lower precedence 88 // pop off any remaining operators from operator stack 102 // operand stack, use them in evaluate expression and push result 103 // back to stack 138 // once complete queue is processed, stack top is result
|
/frameworks/compile/slang/ |
H A D | slang_rs_object_ref_count.h | 21 #include <stack> 76 std::stack<Scope*> mScopeStack;
|
/frameworks/ex/variablespeed/jni/ |
H A D | variablespeed.h | 33 #include <stack> 104 std::stack<int16*> freeBuffers_;
|
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
H A D | PduComposer.java | 101 * Message compose buffer stack. 1042 private int currentStackSize; // Current stack size 1062 private LengthRecordNode stack = null; field in class:PduComposer.BufferStack 1068 * Create a new message buffer and push it into the stack. 1083 temp.next = stack; 1084 stack = temp; 1093 * Pop the message before and record current message in the stack. 1099 mMessage = stack.currentMessage; 1100 mPosition = stack.currentPosition; 1102 toCopy = stack; [all...] |
/frameworks/base/tools/aapt/ |
H A D | XMLNode.cpp | 1119 if (st->stack.size() > 0) { 1120 st->stack.itemAt(st->stack.size()-1)->addChild(node); 1124 st->stack.push(node); 1140 if (st->stack.size() > 0) { 1141 st->stack.itemAt(st->stack.size()-1)->addChild(node); 1145 st->stack.push(node); 1159 if (st->stack.size() == 0) { 1162 sp<XMLNode> parent = st->stack [all...] |