Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/view/
DAppTransitionAnimationSpec.java17 public final int taskId; field in AppTransitionAnimationSpec
21 public AppTransitionAnimationSpec(int taskId, Bitmap bitmap, Rect rect) { in AppTransitionAnimationSpec() argument
22 this.taskId = taskId; in AppTransitionAnimationSpec()
28 taskId = in.readInt(); in AppTransitionAnimationSpec()
40 dest.writeInt(taskId); in writeToParcel()
59 return "{taskId: " + taskId + ", bitmap: " + bitmap + ", rect: " + rect + "}"; in toString()
DIWindowManager.aidl111 void addAppToken(int addPos, IApplicationToken token, int taskId, int stackId, in addAppToken() argument
128 void setAppTask(IBinder token, int taskId, int stackId, in Rect taskBounds, in setAppTask() argument
243 void cancelTaskWindowTransition(int taskId); in cancelTaskWindowTransition() argument
248 void cancelTaskThumbnailTransition(int taskId); in cancelTaskThumbnailTransition() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/component/
DScreenPinningRequestEvent.java29 public final int taskId; field in ScreenPinningRequestEvent
31 public ScreenPinningRequestEvent(Context context, int taskId) { in ScreenPinningRequestEvent() argument
33 this.taskId = taskId; in ScreenPinningRequestEvent()
/frameworks/base/services/core/java/com/android/server/am/
DTaskPersister.java164 final String taskString = Integer.toString(task.taskId); in removeThumbnails()
394 private TaskRecord taskIdToTask(int taskId, ArrayList<TaskRecord> tasks) { in taskIdToTask() argument
395 if (taskId < 0) { in taskIdToTask()
400 if (task.taskId == taskId) { in taskIdToTask()
404 Slog.e(TAG, "Restore affiliation error looking for taskId=" + taskId); in taskIdToTask()
449 final int taskId = task.taskId; in restoreTasksForUserLocked() local
450 if (mStackSupervisor.anyTaskForIdLocked(taskId, in restoreTasksForUserLocked()
453 Slog.wtf(TAG, "Existing task with taskId " + taskId + "found"); in restoreTasksForUserLocked()
460 mStackSupervisor.setNextTaskIdForUserLocked(taskId, userId); in restoreTasksForUserLocked()
463 recoveredTaskIds.add(taskId); in restoreTasksForUserLocked()
[all …]
DRecentTasks.java126 boolean taskIdTakenForUserLocked(int taskId, int userId) { in taskIdTakenForUserLocked() argument
128 return mPersistedTaskIds.get(userId).get(taskId); in taskIdTakenForUserLocked()
159 mPersistedTaskIds.get(task.userId).put(task.taskId, true); in syncPersistentTaskIdsLocked()
234 if (tr.taskId == id) { in taskForIdLocked()
411 || cur.mNextAffiliateTaskId != prev.taskId) { in moveAffiliatedTasksToFront()
485 final boolean isAffiliated = task.mAffiliatedTaskId != task.taskId in addLocked()
702 return rhs.taskId - lhs.taskId;
712 if (startTask.taskId == affiliateId && startTask.mPrevAffiliate == null && in processNextAffiliateChainLocked()
DActivityStackSupervisor.java777 void setNextTaskIdForUserLocked(int taskId, int userId) { in setNextTaskIdForUserLocked() argument
779 if (taskId > currentTaskId) { in setNextTaskIdForUserLocked()
780 mCurTaskIdForUser.put(userId, taskId); in setNextTaskIdForUserLocked()
1230 task.taskId, r.shortComponentName); in realStartActivityLocked()
1880 mWindowManager.resizeTask(task.taskId, task.mBounds, task.mOverrideConfig, in findTaskToMoveToFrontLocked()
2051 final int taskId = mResizingTasksDuringAnimation.valueAt(i); in notifyAppTransitionDone() local
2052 if (anyTaskForIdLocked(taskId, !RESTORE_FROM_RECENTS, INVALID_STACK_ID) != null) { in notifyAppTransitionDone()
2053 mWindowManager.setTaskDockedResizing(taskId, false); in notifyAppTransitionDone()
2088 mTmpConfigs.put(task.taskId, task.mOverrideConfig); in resizeStackUncheckedLocked()
2089 mTmpBounds.put(task.taskId, task.mBounds); in resizeStackUncheckedLocked()
[all …]
DTaskRecord.java141 final int taskId; // Unique identifier for this task. field in TaskRecord
281 taskId = _taskId; in TaskRecord()
302 taskId = _taskId; in TaskRecord()
341 taskId = _taskId; in TaskRecord()
517 mPrevAffiliateTaskId = prevAffiliate == null ? INVALID_TASK_ID : prevAffiliate.taskId; in setPrevAffiliate()
522 mNextAffiliateTaskId = nextAffiliate == null ? INVALID_TASK_ID : nextAffiliate.taskId; in setNextAffiliate()
1103 if (taskId == mAffiliatedTaskId) { in updateTaskDescription()
1134 out.attribute(null, ATTR_TASKID, String.valueOf(taskId)); in saveToXml()
1237 int taskId = INVALID_TASK_ID; in restoreFromXml() local
1259 if (taskId == INVALID_TASK_ID) taskId = Integer.parseInt(attrValue); in restoreFromXml()
[all …]
DActivityStack.java584 final ActivityRecord topRunningActivityLocked(IBinder token, int taskId) { in topRunningActivityLocked() argument
587 if (task.taskId == taskId) { in topRunningActivityLocked()
626 if (task.taskId == id) { in taskForIdLocked()
711 mWindowManager.moveTaskToTop(task.taskId); in moveToFront()
2485 System.identityHashCode(next), next.task.taskId, next.shortComponentName); in resumeTopActivityInnerLocked()
2639 final int taskId = rTask.taskId; in startActivityLocked() local
2641 if (!r.mLaunchTaskBehind && (taskForIdLocked(taskId) == null || newTask)) { in startActivityLocked()
2646 mWindowManager.moveTaskToTop(taskId); in startActivityLocked()
2790 group.taskId = task.taskId; in validateAppTokensLocked()
2909 mWindowManager.moveTaskToBottom(targetTask.taskId); in resetTargetTaskIfNeededLocked()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DSystemServicesProxy.java149 public void onActivityForcedResizable(String packageName, int taskId) { } in onActivityForcedResizable() argument
184 public void onActivityForcedResizable(String packageName, int taskId)
186 mHandler.obtainMessage(H.ON_ACTIVITY_FORCED_RESIZABLE, taskId, 0, packageName)
426 public boolean startTaskInDockedMode(int taskId, int createMode) { in startTaskInDockedMode() argument
433 mIam.startActivityFromRecents(taskId, options.toBundle()); in startTaskInDockedMode()
436 Log.e(TAG, "Failed to dock task: " + taskId + " with createMode: " + createMode, e); in startTaskInDockedMode()
442 public boolean moveTaskToDockedStack(int taskId, int createMode, Rect initialBounds) { in moveTaskToDockedStack() argument
448 return mIam.moveTaskToDockedStack(taskId, createMode, true /* onTop */, in moveTaskToDockedStack()
533 public void cancelWindowTransition(int taskId) { in cancelWindowTransition() argument
537 WindowManagerGlobal.getWindowManagerService().cancelTaskWindowTransition(taskId); in cancelWindowTransition()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerTest.java49 int taskId = recentTask.persistentId; in testTaskIdsForUser() local
50 assertEquals("The task id " + taskId + " should not belong to user " + userId, in testTaskIdsForUser()
51 taskId / UserHandle.PER_USER_RANGE, userId); in testTaskIdsForUser()
DTaskPersisterTest.java55 int taskId = (int) (Math.random() * UserHandle.PER_USER_RANGE); in getRandomTaskIdForUser() local
56 taskId += UserHandle.PER_USER_RANGE * userId; in getRandomTaskIdForUser()
57 return taskId; in getRandomTaskIdForUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DForcedResizableInfoActivityController.java61 public void onActivityForcedResizable(String packageName, int taskId) { in ForcedResizableInfoActivityController()
62 activityForcedResizable(packageName, taskId); in ForcedResizableInfoActivityController()
94 private void activityForcedResizable(String packageName, int taskId) { in activityForcedResizable() argument
98 mPendingTaskIds.add(taskId); in activityForcedResizable()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskGroup.java24 public int taskId = -1; field in TaskGroup
29 return "id=" + taskId + " tokens=" + tokens; in toString()
DAppTransition.java316 Bitmap getAppTransitionThumbnailHeader(int taskId) { in getAppTransitionThumbnailHeader() argument
317 AppTransitionAnimationSpec spec = mNextAppTransitionAnimationsSpecs.get(taskId); in getAppTransitionThumbnailHeader()
661 void getNextAppTransitionStartRect(int taskId, Rect rect) { in getNextAppTransitionStartRect() argument
662 AppTransitionAnimationSpec spec = mNextAppTransitionAnimationsSpecs.get(taskId); in getNextAppTransitionStartRect()
667 Slog.wtf(TAG, "Starting rect for task: " + taskId + " requested, but not available", in getNextAppTransitionStartRect()
903 Bitmap thumbnailHeader, final int taskId, int uiMode, int orientation) { in createThumbnailAspectScaleAnimationLocked() argument
911 getNextAppTransitionStartRect(taskId, mTmpRect); in createThumbnailAspectScaleAnimationLocked()
1051 @Nullable Rect surfaceInsets, boolean freeform, int taskId) { in createAspectScaledThumbnailEnterExitAnimationLocked() argument
1069 containingFrame, surfaceInsets, taskId); in createAspectScaledThumbnailEnterExitAnimationLocked()
1072 containingFrame, surfaceInsets, taskId); in createAspectScaledThumbnailEnterExitAnimationLocked()
[all …]
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java1807 int taskId = Integer.parseInt(taskIdStr);
1822 mAm.moveTaskToStack(taskId, stackId, toTop);
1889 int taskId = Integer.parseInt(taskIdStr);
1896 mAm.positionTaskInStack(taskId, stackId, position);
2063 int taskId = Integer.parseInt(taskIdStr);
2064 mAm.startLockTaskMode(taskId);
2074 final int taskId = Integer.parseInt(taskIdStr);
2079 mAm.setTaskResizeable(taskId, resizeableMode);
2086 final int taskId = Integer.parseInt(taskIdStr);
2092 taskResize(taskId, bounds, 0, false);
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DTaskKeyLruCache.java55 protected void entryRemoved(boolean evicted, Integer taskId, V oldV, V newV) { in TaskKeyLruCache()
57 mEvictionCallback.onEntryEvicted(mKeys.get(taskId)); in TaskKeyLruCache()
59 mKeys.remove(taskId); in TaskKeyLruCache()
/frameworks/base/core/java/android/service/voice/
DIVoiceInteractionSession.aidl36 void taskStarted(in Intent intent, int taskId); in taskStarted() argument
37 void taskFinished(in Intent intent, int taskId); in taskFinished() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DScreenPinningRequest.java57 private int taskId; field in ScreenPinningRequest
74 public void showPrompt(int taskId, boolean allowCancel) { in showPrompt() argument
82 this.taskId = taskId; in showPrompt()
120 ActivityManagerNative.getDefault().startSystemLockTaskMode(taskId); in onClick()
DRecentsSystemUser.java88 public void startScreenPinning(int taskId) { in startScreenPinning() argument
90 mImpl.onStartScreenPinning(mContext, taskId); in startScreenPinning()
DIRecentsSystemUserCallbacks.aidl30 void startScreenPinning(int taskId); in startScreenPinning() argument
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DMainInteractionSession.java334 public void onTaskStarted(Intent intent, int taskId) { in onTaskStarted() argument
335 super.onTaskStarted(intent, taskId); in onTaskStarted()
336 mCurrentTask = taskId; in onTaskStarted()
340 public void onTaskFinished(Intent intent, int taskId) { in onTaskFinished() argument
341 super.onTaskFinished(intent, taskId); in onTaskFinished()
342 if (mCurrentTask == taskId) { in onTaskFinished()
/frameworks/base/core/java/android/app/
DIActivityManager.java98 public int startActivityFromRecents(int taskId, Bundle options) in startActivityFromRecents() argument
141 public ActivityManager.TaskThumbnail getTaskThumbnail(int taskId) throws RemoteException; in getTaskThumbnail() argument
148 public void moveTaskToStack(int taskId, int stackId, boolean toTop) throws RemoteException; in moveTaskToStack() argument
149 public boolean moveTaskToDockedStack(int taskId, int createMode, boolean toTop, boolean animate, in moveTaskToDockedStack() argument
208 public void positionTaskInStack(int taskId, int stackId, int position) throws RemoteException; in positionTaskInStack() argument
211 public boolean isInHomeStack(int taskId) throws RemoteException; in isInHomeStack() argument
214 public void setFocusedTask(int taskId) throws RemoteException; in setFocusedTask() argument
472 public boolean removeTask(int taskId) throws RemoteException; in removeTask() argument
560 public void startSystemLockTaskMode(int taskId) throws RemoteException; in startSystemLockTaskMode() argument
562 public void startLockTaskMode(int taskId) throws RemoteException; in startLockTaskMode() argument
[all …]
DITaskStackListener.aidl42 void onActivityForcedResizable(String packageName, int taskId); in onActivityForcedResizable() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/recents/
DIRecentsSystemUserCallbacks.aidl30 void startScreenPinning(int taskId); in startScreenPinning() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackLayoutAlgorithm.java677 int taskId = mTaskIndexOverrideMap.keyAt(i); in updateFocusStateOnScroll() local
678 float x = mTaskIndexMap.get(taskId); in updateFocusStateOnScroll()
679 float overrideX = mTaskIndexOverrideMap.get(taskId, 0f); in updateFocusStateOnScroll()
687 mTaskIndexOverrideMap.put(taskId, newOverrideX); in updateFocusStateOnScroll()
695 mTaskIndexOverrideMap.put(taskId, newOverrideX); in updateFocusStateOnScroll()
1281 int taskId = mTaskIndexOverrideMap.keyAt(i); in dump() local
1282 float x = mTaskIndexMap.get(taskId); in dump()
1283 float overrideX = mTaskIndexOverrideMap.get(taskId, 0f); in dump()
1286 writer.print("taskId= "); writer.print(taskId); in dump()

12