Lines Matching defs:tr

2672             TaskRecord tr = mRecentTasks.get(i);
2673 if (task.userId == tr.userId
2674 && ((task.affinity != null && task.affinity.equals(tr.affinity))
2675 || (task.intent != null && task.intent.filterEquals(tr.intent)))) {
2682 task = tr;
5765 TaskRecord tr = mRecentTasks.get(i);
5767 if (tr.userId != userId) continue;
5776 || (tr.intent == null)
5777 || ((tr.intent.getFlags()
5781 rti.id = tr.numActivities > 0 ? tr.taskId : -1;
5782 rti.persistentId = tr.taskId;
5784 tr.intent != null ? tr.intent : tr.affinityIntent);
5788 rti.origActivity = tr.origActivity;
5789 rti.description = tr.lastDescription;
5821 TaskRecord tr = mRecentTasks.get(i);
5822 if (tr.taskId == id) {
5823 return tr;
5833 TaskRecord tr = taskForIdLocked(id);
5834 if (tr != null) {
5835 return mMainStack.getTaskThumbnailsLocked(tr);
5845 TaskRecord tr = taskForIdLocked(id);
5846 if (tr != null) {
5847 return mMainStack.getTaskTopThumbnailLocked(tr);
5867 private void cleanUpRemovedTaskLocked(TaskRecord tr, int flags) {
5870 tr.intent != null ? tr.intent : tr.affinityIntent);
5873 Slog.w(TAG, "Now component for base intent of task: " + tr);
5878 mServices.cleanUpRemovedTaskLocked(tr, component, baseIntent);
5888 if (proc.userId != tr.userId) {
5927 TaskRecord tr = null;
5932 tr = t;
5937 if (tr != null) {
5938 if (tr.numActivities <= 0) {
5942 cleanUpRemovedTaskLocked(tr, flags);
5947 + " but numActivities=" + tr.numActivities
5948 + ": " + tr);
6011 TaskRecord tr = taskForIdLocked(task);
6012 if (tr != null) {
6021 mMainStack.moveTaskToFrontLocked(tr, null, options);
9164 TaskRecord tr = mRecentTasks.get(i);
9166 if (tr.realActivity == null ||
9167 !dumpPackage.equals(tr.realActivity)) {
9172 pw.println(tr);
12461 TaskRecord tr = srec.task;
12464 if (tr != r.task) {