Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleTouchHandler.java58 private final BubbleStackView mStack; field in BubbleTouchHandler
77 mStack = stackView; in BubbleTouchHandler()
87 mTouchedView = mStack.getTargetView(event); in onTouch()
107 final boolean isStack = mStack.equals(mTouchedView); in onTouch()
108 final boolean isFlyout = mStack.getFlyoutView().equals(mTouchedView); in onTouch()
120 mStack.onGestureStart(); in onTouch()
123 mViewPositionOnTouchDown.set(mStack.getStackPosition()); in onTouch()
124 mStack.onDragStart(); in onTouch()
126 mStack.onFlyoutDragStart(); in onTouch()
130 mStack.onBubbleDragStart(mTouchedView); in onTouch()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStackTests.java82 private ActivityStack mStack; field in ActivityStackTests
88 mStack = mDefaultDisplay.createStack(WINDOWING_MODE_UNDEFINED, ACTIVITY_TYPE_STANDARD, in setUp()
90 spyOn(mStack); in setUp()
91 mTask = new TaskBuilder(mSupervisor).setStack(mStack).build(); in setUp()
97 mStack.removeTask(mTask, "testEmptyTaskCleanupOnRemove", REMOVE_TASK_MODE_DESTROYING); in testEmptyTaskCleanupOnRemove()
105 mStack.removeTask(mTask, "testOccupiedTaskCleanupOnRemove", REMOVE_TASK_MODE_DESTROYING); in testOccupiedTaskCleanupOnRemove()
112 assertNull(mStack.getResumedActivity()); in testResumedActivity()
114 assertEquals(r, mStack.getResumedActivity()); in testResumedActivity()
116 assertNull(mStack.getResumedActivity()); in testResumedActivity()
124 assertEquals(r, mStack.getResumedActivity()); in testResumedActivityFromTaskReparenting()
[all …]
DActivityRecordTests.java93 private TestActivityStack mStack; field in ActivityRecordTests
99 mStack = (TestActivityStack) new StackBuilder(mRootActivityContainer).build(); in setUp()
100 mTask = mStack.getChildAt(0); in setUp()
110 assertEquals(mStack.onActivityRemovedFromStackInvocationCount(), 1); in testStackCleanupOnClearingTask()
116 assertEquals(mStack.onActivityRemovedFromStackInvocationCount(), 1); in testStackCleanupOnActivityRemoval()
121 mStack.removeTask(mTask, null /*reason*/, REMOVE_TASK_MODE_MOVING); in testStackCleanupOnTaskRemoval()
123 assertNull(mService.mRootActivityContainer.getStack(mStack.mStackId)); in testStackCleanupOnTaskRemoval()
128 final TaskRecord newTask = new TaskBuilder(mService.mStackSupervisor).setStack(mStack) in testNoCleanupMovingActivityInSameStack()
131 assertEquals(mStack.onActivityRemovedFromStackInvocationCount(), 0); in testNoCleanupMovingActivityInSameStack()
173 mStack.mTranslucentActivityWaiting = topActivity; in testPausingWhenVisibleFromStopped()
[all …]
DAppChangeTransitionTests.java56 private TaskStack mStack; field in AppChangeTransitionTests
61 mStack = createTaskStackOnDisplay(WINDOWING_MODE_UNDEFINED, ACTIVITY_TYPE_STANDARD, dc); in setUpOnDisplay()
62 mTask = createTaskInStack(mStack, 0 /* userId */); in setUpOnDisplay()
150 mStack.reparent(mDisplayContent.getDisplayId(), new Rect(), true); in testNoChangeWhenMoveDisplay()
DActivityTestsBase.java208 private ActivityStack mStack; field in ActivityTestsBase.ActivityBuilder
249 mStack = stack; in setStack()
283 .setStack(mStack).build(); in build()
348 private ActivityStack mStack; field in ActivityTestsBase.TaskBuilder
394 mStack = stack; in setStack()
399 if (mStack == null && mCreateStack) { in build()
400 mStack = mSupervisor.mRootActivityContainer.getDefaultDisplay().createStack( in build()
421 if (mStack != null) { in build()
422 mStack.moveToFront("test"); in build()
423 mStack.addTask(task, true, "creating test task"); in build()
[all …]
DTaskStackTests.java109 assertEquals(stack, task.mStack); in testStackRemoveImmediately()
114 assertNull(task.mStack); in testStackRemoveImmediately()
130 assertNull(task.mStack); in testRemoveContainer()
DActivityMetricsLaunchObserverTests.java64 private TestActivityStack mStack; field in ActivityMetricsLaunchObserverTests
81 mStack = mRootActivityContainer.getDefaultDisplay().createStack( in setUpAMLO()
83 mTask = new TaskBuilder(mSupervisor).setStack(mStack).build(); in setUpAMLO()
DRecentTasksTest.java103 private ActivityStack mStack; field in RecentTasksTest
123 mStack = mTestService.mRootActivityContainer.getDefaultDisplay().createStack( in setUp()
262 .setStack(mStack).build(); in testAddTasksDifferentStacks_expectNoRemove()
278 .setStack(mStack) in testAddTaskCompatibleActivityType_expectRemove()
287 .setStack(mStack) in testAddTaskCompatibleActivityType_expectRemove()
302 .setStack(mStack) in testAddTaskCompatibleActivityTypeDifferentUser_expectNoRemove()
312 .setStack(mStack) in testAddTaskCompatibleActivityTypeDifferentUser_expectNoRemove()
327 .setStack(mStack) in testAddTaskCompatibleWindowingMode_expectRemove()
336 .setStack(mStack) in testAddTaskCompatibleWindowingMode_expectRemove()
353 .setStack(mStack) in testAddTaskIncompatibleWindowingMode_expectNoRemove()
[all …]
DAppWindowTokenTests.java78 TaskStack mStack; field in AppWindowTokenTests
86 mStack = createTaskStackOnDisplay(mDisplayContent); in setUp()
87 mTask = createTaskInStack(mStack, 0 /* userId */); in setUp()
490 mStack.setBounds(stackBounds); in testTransitionAnimationBounds()
DDisplayContentTests.java121 exitingAppToken.getTask().mStack.mExitingAppTokens.add(exitingAppToken); in testForAllWindows()
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DPduComposer.java107 private BufferStack mStack = null; field in PduComposer
147 mStack = new BufferStack(); in PduComposer()
355 mStack.newbuf(); in appendEncodedString()
356 PositionMarker start = mStack.mark(); in appendEncodedString()
362 mStack.pop(); in appendEncodedString()
364 mStack.copy(); in appendEncodedString()
563 mStack.newbuf(); in appendHeader()
564 PositionMarker fstart = mStack.mark(); in appendHeader()
577 mStack.pop(); in appendHeader()
579 mStack.copy(); in appendHeader()
[all …]
/frameworks/base/tools/lock_agent/java/com/android/lock_checker/
DOnThreadLockChecker.java119 final AnnotatedStackTraceElement[] mStack; field in OnThreadLockChecker.OrderData
124 this.mStack = stack; in OrderData()
228 AnnotatedStackTraceElement[] mStack; field in OnThreadLockChecker.Violation
239 this.mStack = stack; in Violation()
292 inner.setStackTrace(synthesizeStackTrace(mOppositeData.mStack)); in getException()
295 outer.setStackTrace(synthesizeStackTrace(mStack)); in getException()
319 sb.append(getAnnotatedStackString(mOppositeData.mStack, STACK_OFFSET, in toString()
320 describeLocking(mAlreadyHeld, "will lock"), getTo(mOppositeData.mStack, mLock) in toString()
328 sb.append(getAnnotatedStackString(mStack, STACK_OFFSET, in toString()
330 getTo(mStack, mAlreadyHeld) + 1, " | ")); in toString()
[all …]
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackView.java139 private TaskStack mStack = new TaskStack(); field in TaskStackView
255 mStack.setCallbacks(this); in TaskStackView()
356 mStack.setTasks(stack, allowNotifyStackChanges && isInitialized); in setTasks()
361 return mStack; in getStack()
369 mLayoutAlgorithm.setTaskOverridesForInitialState(mStack, false /* ignoreScrollToFront */); in updateToInitialState()
545 ArrayList<Task> tasks = mStack.getTasks(); in bindVisibleTaskViews()
567 int taskIndex = mStack.indexOfTask(task); in bindVisibleTaskViews()
611 final int taskIndex = mStack.indexOfTask(task); in bindVisibleTaskViews()
671 int taskIndex = mStack.indexOfTask(task); in relayoutTaskViews()
830 mLayoutAlgorithm.update(mStack, mIgnoreTasks, launchState, mLastScrollPPercent); in updateLayoutAlgorithm()
[all …]
/frameworks/rs/
DrsDebugHelper.h35 mStack.update(2); in DebugHelper()
41 ALOGV("%s", mStack.toString().string()); in dump()
48 CallStack mStack;
/frameworks/base/services/core/java/com/android/server/wm/
DTask.java65 TaskStack mStack; field in Task
124 mStack = stack; in Task()
143 return mStack != null ? mStack.getDisplayContent() : null; in getDisplayContent()
189 return hasWindowsAlive() && mStack.isSelfOrChildAnimating(); in shouldDeferRemoval()
215 if (stack == mStack) { in reparent()
217 "task=" + this + " already child of stack=" + mStack); in reparent()
223 + " from stack=" + mStack); in reparent()
252 mStack.positionChildAt(position, this, false /* includingParents */); in positionAt()
309 final DisplayContent displayContent = mStack.getDisplayContent(); in setBounds()
485 final DisplayContent displayContent = mStack.getDisplayContent(); in getDimBounds()
[all …]
DTaskRecord.java271 private ActivityStack mStack; field in TaskRecord
459 throw new IllegalArgumentException("TaskRecord: invalid stack=" + mStack); in createTask()
1001 return (T) mStack; in getStack()
1012 final ActivityStack oldStack = mStack; in setStack()
1013 mStack = stack; in setStack()
1018 if (oldStack != mStack) { in setStack()
1026 if (mStack != null) { in setStack()
1039 return mStack != null ? mStack.mStackId : INVALID_STACK_ID; in getStackId()
1054 return mStack; in getParent()
1144 if (mStack != null) { in topRunningActivityLocked()
[all …]
DWindowStateAnimator.java883 task.mStack.getDimBounds(mTmpStackBounds); in setSurfaceBoundariesLocked()
886 task.mStack.getFinalAnimationSourceHintBounds(mTmpSourceBounds); in setSurfaceBoundariesLocked()
896 && !task.mStack.lastAnimatingBoundsWasToFullscreen()) { in setSurfaceBoundariesLocked()
897 mTmpSourceBounds.set(task.mStack.mPreAnimationBounds); in setSurfaceBoundariesLocked()
911 task.mStack.getFinalAnimationBounds(mTmpAnimatingBounds); in setSurfaceBoundariesLocked()
1489 if (task != null && task.mStack.isForceScaled()) { in isForceScaled()
DWindowState.java1268 if (task != null && task.mStack.isAnimatingBounds()) { in updateResizingWindowIfNeeded()
1402 if (task.mStack != null) { in getStack()
1403 return task.mStack; in getStack()
1422 final TaskStack stack = task.mStack; in getVisibleBounds()
1822 && (task.mStack.isAdjustedForMinimizedDockedStack() in handleWindowMovedIfNeeded()
1823 || task.mStack.isAdjustedForIme()); in handleWindowMovedIfNeeded()
1862 if (task != null && task.mStack != null && !task.mStack.fillsParent()) { in isObscuringDisplay()
2276 if (task != null && task.mStack != null && task.mStack.isAdjustedForIme()) { in applyAdjustForImeIfNeeded()
2277 task.mStack.applyAdjustForImeIfNeeded(task); in applyAdjustForImeIfNeeded()
2618 && (mAppToken.getTask().mStack.shouldIgnoreInput() || mAppToken.hiddenRequested); in cantReceiveTouchInput()
[all …]
DTaskStack.java537 final TaskStack currentStack = task.mStack; in addTask()
543 + ", but it is already attached to stackId=" + task.mStack.mStackId); in addTask()
547 task.mStack = this; in addTask()
713 task.mStack = null; in removeChild()
DAppWindowToken.java1032 return task.mStack; in getStack()
1052 } else if (mLastParent != null && mLastParent.mStack != null) { in onParentChanged()
1053 task.mStack.mExitingAppTokens.remove(this); in onParentChanged()
1320 if (currentTask.mStack != task.mStack) { in reparent()
DTaskPositioner.java454 mTask.mStack.getDimBounds(mTmpRect); in notifyMoveLocked()
DWindowManagerService.java4409 ? focusedApp.getTask().mStack : null; in getImeFocusStackLocked()
7780 final TaskStack stack = task.mStack; in handleTaskFocusChange()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/
DRecentsTaskLoadPlan.java72 private TaskStack mStack; field in RecentsTaskLoadPlan
160 mStack = new TaskStack(); in preloadPlan()
161 mStack.setTasks(allTasks, false /* notifyStackChanges */); in preloadPlan()
174 ArrayList<Task> tasks = mStack.getTasks(); in executePlan()
206 return mStack; in getTaskStack()
211 if (mStack != null) { in hasTasks()
212 return mStack.getTaskCount() > 0; in hasTasks()
/frameworks/base/core/java/android/os/
DParcel.java215 private RuntimeException mStack; field in Parcel
408 p.mStack = new RuntimeException(); in obtain()
423 if (DEBUG_RECYCLE) mStack = null; in recycle()
3175 p.mStack = new RuntimeException(); in obtain()
3187 mStack = new RuntimeException(); in Parcel()
3224 if (mStack != null) { in finalize()
3225 Log.w(TAG, "Client did not call Parcel.recycle()", mStack); in finalize()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt51739 Landroid/os/Parcel;->mStack:Ljava/lang/RuntimeException;