Searched defs:stack (Results 26 - 50 of 57) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/am/
H A DAppErrors.java170 if (info.stack != null) {
173 for (int pos = 0; pos < info.stack.length(); pos++) {
174 if (info.stack.charAt(pos) == '\n') {
176 pw.write(info.stack, lastPos, pos-lastPos);
181 if (lastPos < info.stack.length()) {
183 pw.write(info.stack, lastPos, info.stack.length()-lastPos);
528 * @param stackTrace Full crash stack trace, may be null.
1055 BadProcessInfo(long time, String shortMsg, String longMsg, String stack) { argument
1059 this.stack
1065 final String stack; field in class:AppErrors.BadProcessInfo
[all...]
H A DActivityStarter.java136 * an activity and associated task and stack.
546 final ActivityStack stack = mSupervisor.mFocusedStack;
547 if (voiceSession == null && (stack.mResumedActivity == null
548 || stack.mResumedActivity.info.applicationInfo.uid != callingUid)) {
552 sourceRecord, startFlags, stack, callerApp);
623 // We launch an activity while being in home stack, which means either launcher or
624 // recents into docked stack. We don't want the launched activity to be alone in a
625 // docked stack, so we want to immediately launch recents too.
636 // The activity was already running in the pinned stack so it wasn't started, but either
745 final ActivityStack stack
2292 removePendingActivityLaunchesLocked(ActivityStack stack) argument
[all...]
H A DTaskRecord.java176 * The modes to control how the stack is moved to the front when calling
186 // Moves the stack to the front if it was not at the front
188 // Only moves the stack to the front if it was focused or front most already
190 // Do not move the stack as a part of reparenting
257 /** Current stack. Setter must always be used to update the value. */
274 * task stack. */
281 // do not want to delete the stack when the task goes empty.
313 // The information is persisted and used to determine the appropriate stack to launch the
530 // re-restore the task so it can have the proper stack association.
542 // Do not move the task to another stack her
944 setStack(ActivityStack stack) argument
[all...]
/frameworks/base/tools/aapt2/xml/
H A DXmlDom.cpp22 #include <stack>
43 std::stack<xml::Element*> node_stack;
65 static void FinishPendingText(Stack* stack) { argument
66 if (stack->last_text_node != nullptr) {
67 if (!stack->last_text_node->text.empty()) {
68 CHECK(!stack->node_stack.empty());
69 stack->node_stack.top()->AppendChild(std::move(stack->last_text_node));
73 stack->last_text_node = nullptr;
79 Stack* stack local
96 Stack* stack = reinterpret_cast<Stack*>(XML_GetUserData(parser)); local
107 Stack* stack = reinterpret_cast<Stack*>(XML_GetUserData(parser)); local
145 Stack* stack = reinterpret_cast<Stack*>(XML_GetUserData(parser)); local
155 Stack* stack = reinterpret_cast<Stack*>(XML_GetUserData(parser)); local
176 Stack* stack = reinterpret_cast<Stack*>(XML_GetUserData(parser)); local
186 Stack stack; local
[all...]
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DDelegateMethodAdapter.java217 // Push this.getField("this$0") on the call stack.
247 // we pushed on the call stack. The return type remains unchanged.
389 public void visitFrame(int type, int nLocal, Object[] local, int nStack, Object[] stack) { argument
391 mOrgWriter.visitFrame(type, nLocal, local, nStack, stack);
H A DStubMethodAdapter.java160 /* Pops the stack, depending on the return type.
266 // Pop the last word from the stack since invoke will generate its own return.
306 public void visitFrame(int type, int nLocal, Object[] local, int nStack, Object[] stack) { argument
308 mParentVisitor.visitFrame(type, nLocal, local, nStack, stack);
H A DAsmAnalyzer.java658 public void visitFrame(int type, int local, Object[] local2, int stack, Object[] stack2) { argument
687 // instruction to load a constant from the stack
H A DDependencyFinder.java536 public void visitFrame(int type, int local, Object[] local2, int stack, Object[] stack2) { argument
565 // instruction to load a constant from the stack
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsImpl.java146 TaskStack stack = plan.getTaskStack();
154 updateDummyStackViewLayout(mBackgroundLayoutAlgorithm, stack, windowRect);
162 stack.getStackTasks());
271 // Register the task stack listener
351 // Check if the top task is in the home stack, and start the recents activity
486 TaskStack stack = sInstanceLoadPlan.getTaskStack();
487 if (stack.getTaskCount() > 0) {
492 // At this point, we don't know anything about the stack state. So only
496 updateHeaderBarLayout(stack, null /* window rect override*/);
519 * Transitions to the next recent task in the stack
732 updateDummyStackViewLayout(TaskStackLayoutAlgorithm stackLayout, TaskStack stack, Rect windowRect) argument
775 updateHeaderBarLayout(TaskStack stack, Rect windowRectOverride) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsView.java221 public void onReload(TaskStack stack, boolean isResumingFromVisible) { argument
224 final boolean isTaskStackEmpty = stack.getTaskCount() == 0;
237 // Update the stack
239 updateStack(stack, true /* setStackViewTasks */);
260 * Called from RecentsActivity when the task stack is updated.
262 public void updateStack(TaskStack stack, boolean setStackViewTasks) { argument
264 mTaskStackView.setTasks(stack, true /* allowNotifyStackChanges */);
268 if (stack.getTaskCount() > 0) {
323 * Returns whether the last task launched was in the freeform stack or not.
329 /** Launches the focused task from the first stack i
[all...]
H A DTaskStackLayoutAlgorithm.java109 * The layout logic for a TaskStackView. This layout needs to be able to calculate the stack layout
112 * more prominently in the stack.
150 * The various stack/freeform states.
162 * @param freeformHeightPct the percentage of the stack height (not including paddings) to
172 * Resolves the stack state for the layout given a task stack.
174 public static StackState getStackStateForStack(TaskStack stack) { argument
177 int freeformCount = stack.getFreeformTaskCount();
178 int stackCount = stack.getStackTaskCount();
189 * Computes the freeform and stack rec
521 update(TaskStack stack, ArraySet<Task.TaskKey> ignoreTasksSet, RecentsActivityLaunchState launchState) argument
628 setTaskOverridesForInitialState(TaskStack stack, boolean ignoreScrollToFront) argument
[all...]
H A DTaskStackView.java115 /* The visual representation of a task stack view */
123 // The thresholds at which to show/hide the stack action button.
139 /** Do not update the stack and layout to the initial state. */
141 /** Update both the stack and layout to the initial state. */
195 // The stable stack bounds are the full bounds that we were measured with from RecentsView
198 // The current stack bounds are dynamic and may change as the user drags and drops
275 // Set the stack first
359 // Reset the stack state
374 // Since we always animate to the same place in (the initial state), always reset the stack
384 * Sets the stack task
386 setTasks(TaskStack stack, boolean allowNotifyStackChanges) argument
1500 onStackTaskAdded(TaskStack stack, Task newTask) argument
1514 onStackTaskRemoved(TaskStack stack, Task removedTask, Task newFrontMostTask, AnimationProps animation, boolean fromDockGesture, boolean dismissRecentsIfAllRemoved) argument
1557 onStackTasksRemoved(TaskStack stack) argument
1577 onStackTasksUpdated(TaskStack stack) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DWindowTestUtils.java71 public static Task createTaskInStack(WindowManagerService service, TaskStack stack, argument
73 final Task newTask = new Task(sNextTaskId++, stack, userId, service, null, EMPTY, 0, false,
75 stack.addTask(newTask, POSITION_TOP);
178 TestTask(int taskId, TaskStack stack, int userId, WindowManagerService service, Rect bounds, argument
181 super(taskId, stack, userId, service, bounds, overrideConfig, resizeMode,
240 TestTask createTask(int taskId, TaskStack stack, int userId, Rect bounds, argument
243 return new TestTask(taskId, stack, userId, mService, bounds, overrideConfig, resizeMode,
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphReader.java42 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/native/services/surfaceflinger/
H A DDisplayDevice.cpp456 void DisplayDevice::setLayerStack(uint32_t stack) { argument
457 mLayerStack = stack;
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduComposer.java101 * 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/packages/SystemUI/src/com/android/systemui/recents/model/
H A DTaskStack.java74 * An interface for a task filter to query whether a particular task should show in a stack.
128 // Update the stack id now, after we've moved the task, and before we update the
215 * The task stack contains a list of multiple tasks.
221 /** Task stack callbacks */
224 * Notifies when a new task has been added to the stack.
226 void onStackTaskAdded(TaskStack stack, Task newTask); argument
229 * Notifies when a task has been removed from the stack.
231 void onStackTaskRemoved(TaskStack stack, Task removedTask, Task newFrontMostTask, argument
236 * Notifies when all tasks have been removed from the stack.
238 void onStackTasksRemoved(TaskStack stack); argument
243 onStackTasksUpdated(TaskStack stack) argument
676 setTasks(Context context, TaskStack stack, boolean notifyStackChanges) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DAmbientState.java17 package com.android.systemui.statusbar.stack;
H A DNotificationChildrenContainer.java17 package com.android.systemui.statusbar.stack;
647 * When moving into the bottom stack, the bottom visible child in an expanded group adjusts its
/frameworks/base/services/core/java/com/android/server/wm/
H A DDockedStackDividerController.java61 * Keeps information about the docked stack divider.
321 TaskStack stack = mDisplayContent.getDockedStackIgnoringVisibility();
323 // If the stack is invisible, we policy force hide it in WindowAnimator.shouldForceHide
324 final boolean visible = stack != null;
361 TaskStack stack = mDisplayContent.getDockedStackLocked();
362 if (stack == null) {
364 // stack was already removed. This is because we are on AM thread and the removal of the
366 // keep putting it in the same place it was before the stack was removed to have
371 stack.getDimBounds(mTmpRect);
373 int side = stack
837 getMinimizeAmount(TaskStack stack, float t) argument
852 adjustMaximizeAmount(TaskStack stack, float t, float naturalAmount) argument
868 getClipRevealMeetFraction(TaskStack stack) argument
[all...]
H A DTask.java100 // state regardless of it's stack affilation. As the floating state drives
102 // stack moves and we in fact do so when moving from full screen to pinned.
105 Task(int taskId, TaskStack stack, int userId, WindowManagerService service, Rect bounds, argument
110 mStack = stack;
169 // TODO: This should probably return false if mChildren.isEmpty() regardless if the stack
199 void reparent(TaskStack stack, int position, boolean moveParents) { argument
200 if (stack == mStack) {
202 "task=" + this + " already child of stack=" + mStack);
205 + " from stack=" + mStack);
209 // If we are moving from the fullscreen stack t
[all...]
H A DDisplayContent.java154 /** Unique identifier of this stack. */
288 /** Detect user tapping outside of current focused stack bounds .*/
402 final TaskStack stack = w.getStack();
403 if (stack != null) {
404 stack.setAnimationBackground(winAnimator, color);
423 final TaskStack stack = w.getStack();
424 if (stack != null) {
425 stack.setAnimationBackground(winAnimator, color);
479 // App stack below focused app stack
1745 moveStackToDisplay(TaskStack stack, boolean onTop) argument
3315 addStackToDisplay(TaskStack stack, boolean onTop) argument
3327 removeStackFromDisplay(TaskStack stack) argument
3332 addChild(TaskStack stack, boolean toTop) argument
3373 findPositionForStack(int requestedPosition, TaskStack stack, boolean adding) argument
[all...]
/frameworks/base/tools/bit/
H A Dmain.cpp261 string stack = get_bundle_string(results, &found, "stack", NULL); local
263 printf("%s\n", stack.c_str());
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp127 // Validate the projection stack (in fact, it's never needed)
152 // Validate the texture stack
387 stack = new matrixf_t[depth];
396 delete [] stack;
402 stack[depth].loadIdentity();
409 stack[depth].load(rhs);
415 stack[depth].load(rhs);
421 stack[depth].multiply(rhs);
427 stack[depth].translate(x,y,z);
433 stack[dept
912 matrix_stack_t* stack = 0; local
[all...]
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp362 // .stack
363 FragmentRef* stack = NULL; local
365 stack = FragmentRef::Create(
368 stack = FragmentRef::Null();
378 stack, // FragRef
2030 /// setupGNUStackInfo - setup the section flag of .note.GNU-stack in output
2038 // 2. check the stack info from the input objects
2039 // FIXME: since we alway emit .note.GNU-stack in output now, we may be able
2040 // to check this from the output .note.GNU-stack directly after section
2046 const LDSection* sect = (*obj)->context()->getSection(".note.GNU-stack");
[all...]

Completed in 1490 milliseconds

123