/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
D | Task.java | 217 public ComponentName topActivity; field in Task 236 ComponentName topActivity) { in Task() argument 243 this.topActivity = topActivity; in Task() 250 TaskDescription taskDescription, int resizeMode, ComponentName topActivity, in Task() argument 267 this.topActivity = topActivity; in Task() 291 this.topActivity = o.topActivity; in copyFrom() 347 return topActivity != null in getTopComponent() 348 ? topActivity in getTopComponent()
|
/frameworks/base/core/java/android/app/ |
D | TaskInfo.java | 77 public ComponentName topActivity; field in TaskInfo 176 topActivity = ComponentName.readFromParcel(source); in readFromParcel() 208 ComponentName.writeToParcel(topActivity, dest); in writeToParcel() 232 + " topActivity=" + topActivity + " origActivity=" + origActivity in toString()
|
D | ActivityManager.java | 2430 public ComponentName topActivity; 2473 if (topActivity != null) { 2475 topActivity.writeToParcel(dest, 0); 2505 topActivity = ComponentName.readFromParcel(source); 2547 if (topActivity != null) { 2548 sb.append(" topActivity=").append(topActivity);
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/ |
D | CarFacetButtonController.java | 119 if (stackInfo.topActivity != null && stackInfo.displayId == Display.DEFAULT_DISPLAY) { in taskChanged() 141 String packageName = validStackInfo.topActivity.getPackageName(); in taskChanged() 143 findFacetButtonByComponentName(validStackInfo.topActivity); in taskChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipManager.java | 86 final ComponentName topActivity = topPipActivityInfo.first; 88 mTouchHandler.onActivityUnpinned(topActivity); 92 WindowManagerWrapper.getInstance().setPipVisibility(topActivity != null);
|
D | PipMediaController.java | 232 final ComponentName topActivity = PipUtils.getTopPinnedActivity(mContext, in resolveActiveMediaController() local 234 if (topActivity != null) { in resolveActiveMediaController() 237 if (controller.getPackageName().equals(topActivity.getPackageName())) { in resolveActiveMediaController()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/misc/ |
D | SystemServicesProxy.java | 233 ComponentName topActivity = recentsStackInfo != null ? in isRecentsActivityVisible() local 234 recentsStackInfo.topActivity : null; in isRecentsActivityVisible() 235 return (recentsStackVisibleNotOccluded && topActivity != null in isRecentsActivityVisible() 236 && topActivity.getPackageName().equals(RecentsImpl.RECENTS_PACKAGE) in isRecentsActivityVisible() 237 && LegacyRecentsImpl.RECENTS_ACTIVITIES.contains(topActivity.getClassName())); in isRecentsActivityVisible()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AssistDataRequester.java | 222 IBinder topActivity = activityTokens.get(i); in requestData() local 230 receiverExtras, topActivity, 0 /* flags */) in requestData() 232 ASSIST_CONTEXT_FULL, this, receiverExtras, topActivity, in requestData()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | RecentTaskInfoCompat.java | 39 return mInfo.topActivity; in getTopActivity()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RecentsAnimationTest.java | 93 ActivityRecord topActivity = new ActivityBuilder(mService).setCreateTask(true).build(); in testRecentsActivityVisiblility() local 94 topActivity.fullscreen = true; in testRecentsActivityVisiblility() 95 topActivity.getActivityStack().moveToFront("testRecentsActivityVisiblility"); in testRecentsActivityVisiblility()
|
D | ActivityRecordTests.java | 166 final ActivityRecord topActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testPausingWhenVisibleFromStopped() local 167 mStack.mTranslucentActivityWaiting = topActivity; in testPausingWhenVisibleFromStopped() 441 ActivityRecord topActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testShouldPauseWhenMakeClientVisible() local 442 topActivity.changeWindowTranslucency(false); in testShouldPauseWhenMakeClientVisible()
|
D | ActivityStarterTests.java | 829 final ActivityRecord topActivity = new ActivityBuilder(mService) in testReparentTopFocusedActivityToSecondaryDisplay() local 838 .setIntent(topActivity.intent) in testReparentTopFocusedActivityToSecondaryDisplay() 843 assertEquals(secondaryDisplay, topActivity.getDisplay()); in testReparentTopFocusedActivityToSecondaryDisplay()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/ |
D | PipManager.java | 623 ComponentName topActivity = runningTasks.get(0).topActivity; in isSettingsShown() local 626 if (topActivity.getPackageName().equals(packageName)) { in isSettingsShown() 628 if (className == null || topActivity.getClassName().equals(className)) { in isSettingsShown()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsWrapper.java | 65 return tasks.get(0).topActivity.getPackageName(); in getTopPkgName()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | InstantAppNotifier.java | 222 if (info == null || info.topActivity == null) return; in checkAndPostForStack() 223 String pkg = info.topActivity.getPackageName(); in checkAndPostForStack()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
D | PhoneStateMonitor.java | 175 return runningTaskInfo.topActivity.equals(mDefaultHome); in isLauncherShowing()
|
D | AssistHandleReminderExpBehavior.java | 96 handleTaskStackTopChanged(taskInfo.taskId, taskInfo.topActivity);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityStack.java | 768 final ActivityRecord topActivity = getTopActivity(); in setWindowingModeInSurfaceTransaction() local 780 && topActivity != null && topActivity.isNonResizableOrForcedResizable() in setWindowingModeInSurfaceTransaction() 781 && !topActivity.noDisplay) { in setWindowingModeInSurfaceTransaction() 784 final String packageName = topActivity.appInfo.packageName; in setWindowingModeInSurfaceTransaction() 791 if (!animate && topActivity != null) { in setWindowingModeInSurfaceTransaction() 792 mStackSupervisor.mNoAnimActivities.add(topActivity); in setWindowingModeInSurfaceTransaction() 1963 final ActivityRecord topActivity = getTopActivity(); in isTopActivityVisible() local 1964 return topActivity != null && topActivity.visible; in isTopActivityVisible() 2518 final ActivityRecord topActivity = topRunningActivityLocked(); in cancelInitializingActivities() local 2536 if (r == topActivity) { in cancelInitializingActivities() [all …]
|
D | WindowProcessController.java | 547 ActivityRecord topActivity = task.getTopActivity(); in hasActivityInVisibleTask() local 548 if (topActivity != null && topActivity.visible) { in hasActivityInVisibleTask()
|
D | TaskRecord.java | 708 final ActivityRecord topActivity = getTopActivity(); in reparent() local 710 final boolean mightReplaceWindow = topActivity != null in reparent() 721 windowManager.setWillReplaceWindow(topActivity.appToken, animate); in reparent() 775 mService.mStackSupervisor.mNoAnimActivities.add(topActivity); in reparent() 815 windowManager.scheduleClearWillReplaceWindows(topActivity.appToken, !kept); in reparent() 1695 boolean topActivity = true; in updateTaskDescription() 1714 if (topActivity) { in updateTaskDescription() 1724 topActivity = false; in updateTaskDescription() 2399 info.topActivity = mReuseActivitiesReport.top != null in fillTaskInfo()
|
D | ActivityStackSupervisor.java | 2471 final ActivityRecord topActivity = task.getTopActivity(); in handleForcedResizableTaskIfNeeded() local 2472 if (topActivity == null || topActivity.noDisplay in handleForcedResizableTaskIfNeeded() 2473 || !topActivity.isNonResizableOrForcedResizable()) { in handleForcedResizableTaskIfNeeded() 2477 task.taskId, reason, topActivity.appInfo.packageName); in handleForcedResizableTaskIfNeeded()
|
D | RootActivityContainer.java | 1304 info.topActivity = top != null ? top.intent.getComponent() : null; in getStackInfo() 2022 final ActivityRecord topActivity = mActivityDisplays.get(i).topRunningActivity(); in topRunningActivity() local 2023 if (topActivity != null) { in topRunningActivity() 2024 return topActivity; in topRunningActivity()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/ |
D | RecentsTaskLoadPlan.java | 154 t.taskDescription, t.resizeMode, t.topActivity, isLocked); in preloadPlan()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/ |
D | LegacyRecentsImpl.java | 387 logDockAttempt(mContext, runningTask.topActivity, runningTask.resizeMode); in splitPrimaryTask() 391 runningTask.topActivity.flattenToShortString()); in splitPrimaryTask()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | AutomaticBrightnessController.java | 847 if (info == null || info.topActivity == null) { in updateForegroundApp() 850 final String packageName = info.topActivity.getPackageName(); in updateForegroundApp()
|