Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DTask.java217 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/
DTaskInfo.java77 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()
DActivityManager.java2430 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/
DCarFacetButtonController.java119 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/
DPipManager.java86 final ComponentName topActivity = topPipActivityInfo.first;
88 mTouchHandler.onActivityUnpinned(topActivity);
92 WindowManagerWrapper.getInstance().setPipVisibility(topActivity != null);
DPipMediaController.java232 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/
DSystemServicesProxy.java233 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/
DAssistDataRequester.java222 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/
DRecentTaskInfoCompat.java39 return mInfo.topActivity; in getTopActivity()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentsAnimationTest.java93 ActivityRecord topActivity = new ActivityBuilder(mService).setCreateTask(true).build(); in testRecentsActivityVisiblility() local
94 topActivity.fullscreen = true; in testRecentsActivityVisiblility()
95 topActivity.getActivityStack().moveToFront("testRecentsActivityVisiblility"); in testRecentsActivityVisiblility()
DActivityRecordTests.java166 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()
DActivityStarterTests.java829 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/
DPipManager.java623 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/
DWifiPermissionsWrapper.java65 return tasks.get(0).topActivity.getPackageName(); in getTopPkgName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DInstantAppNotifier.java222 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/
DPhoneStateMonitor.java175 return runningTaskInfo.topActivity.equals(mDefaultHome); in isLauncherShowing()
DAssistHandleReminderExpBehavior.java96 handleTaskStackTopChanged(taskInfo.taskId, taskInfo.topActivity);
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStack.java768 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 …]
DWindowProcessController.java547 ActivityRecord topActivity = task.getTopActivity(); in hasActivityInVisibleTask() local
548 if (topActivity != null && topActivity.visible) { in hasActivityInVisibleTask()
DTaskRecord.java708 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()
DActivityStackSupervisor.java2471 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()
DRootActivityContainer.java1304 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/
DRecentsTaskLoadPlan.java154 t.taskDescription, t.resizeMode, t.topActivity, isLocked); in preloadPlan()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/
DLegacyRecentsImpl.java387 logDockAttempt(mContext, runningTask.topActivity, runningTask.resizeMode); in splitPrimaryTask()
391 runningTask.topActivity.flattenToShortString()); in splitPrimaryTask()
/frameworks/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java847 if (info == null || info.topActivity == null) { in updateForegroundApp()
850 final String packageName = info.topActivity.getPackageName(); in updateForegroundApp()

12