Home
last modified time | relevance | path

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

12

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeUtils.kt53 val topActivityInfo = in calculateInitialBounds() constant
54 taskInfo.topActivityInfo ?: return positionInScreen(idealSize, screenBounds) in calculateInitialBounds()
60 if (isFixedOrientationPortrait(topActivityInfo.screenOrientation)) { in calculateInitialBounds()
74 if (isFixedOrientationLandscape(topActivityInfo.screenOrientation)) { in calculateInitialBounds()
84 if (isFixedOrientationLandscape(topActivityInfo.screenOrientation)) { in calculateInitialBounds()
117 if (isFixedOrientationPortrait(taskInfo.topActivityInfo!!.screenOrientation)) { in maximumSizeMaintainingAspectRatio()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/systemsounds/
DHomeSoundEffectController.java87 if (currentTask == null || currentTask.topActivityInfo == null) { in start()
157 mLastActivityHasNoHomeSound = hasFlagNoSound(currentTask.topActivityInfo); in updateLastTaskInfo()
160 boolean isHomePackage = currentTask.topActivityInfo.packageName.equals( in updateLastTaskInfo()
164 mLastHomePackageName = currentTask.topActivityInfo.packageName; in updateLastTaskInfo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/systemsounds/
DHomeSoundEffectControllerTest.java419 res.topActivityInfo = new ActivityInfo(); in createRunningTaskInfo()
420 res.topActivityInfo.packageName = packageName; in createRunningTaskInfo()
425 res.topActivityInfo.privateFlags &= ~ActivityInfo.PRIVATE_FLAG_HOME_TRANSITION_SOUND; in createRunningTaskInfo()
427 res.topActivityInfo.privateFlags |= ActivityInfo.PRIVATE_FLAG_HOME_TRANSITION_SOUND; in createRunningTaskInfo()
/frameworks/base/core/java/android/app/
DTaskInfo.java221 public ActivityInfo topActivityInfo; field in TaskInfo
486 topActivityInfo = source.readTypedObject(ActivityInfo.CREATOR); in readFromParcel()
533 dest.writeTypedObject(topActivityInfo, flags); in writeToParcel()
574 + " topActivityInfo=" + topActivityInfo in toString()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashscreenWindowCreator.java128 : taskInfo.topActivityInfo; in addSplashScreenStartingWindow()
245 if (taskInfo.topActivityInfo == null) { in estimateTaskBackgroundColor()
248 final ActivityInfo activityInfo = taskInfo.topActivityInfo; in estimateTaskBackgroundColor()
DWindowlessSplashWindowCreator.java61 : taskInfo.topActivityInfo; in addSplashScreenStartingWindow()
DSplashscreenContentDrawer.java160 : taskInfo.topActivityInfo; in createContext()
253 : taskInfo.topActivityInfo; in createLayoutParameters()
420 : info.taskInfo.topActivityInfo; in makeSimpleSplashScreenContentView()
445 : info.taskInfo.topActivityInfo; in makeSplashScreenContentView()
/frameworks/base/services/core/java/com/android/server/wm/
DTask.java3433 info.topActivityInfo = top != null ? top.info : null;
3534 if (info.topActivityInfo != null
3535 && task.effectiveUid != info.topActivityInfo.applicationInfo.uid) {
3537 info.topActivityInfo = new ActivityInfo(info.topActivityInfo);
3538 info.topActivityInfo.applicationInfo =
3539 new ApplicationInfo(info.topActivityInfo.applicationInfo);
3543 info.topActivityInfo.packageName = "";
3544 info.topActivityInfo.taskAffinity = "";
3545 info.topActivityInfo.processName = "";
3546 info.topActivityInfo.name = "";
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDragLayout.java279 Drawable icon1 = mIconProvider.getIcon(taskInfo1.topActivityInfo); in prepare()
299 Drawable topOrLeftIcon = mIconProvider.getIcon(topOrLeftTask.topActivityInfo); in prepare()
302 bottomOrRightTask.topActivityInfo); in prepare()
/frameworks/base/services/core/java/com/android/server/ambientcontext/
DAmbientContextManagerPerUserService.java198 if (!callingPackage.equals(task.topActivityInfo.packageName)) { in onStartConsentActivity()
199 Slog.e(TAG, "Recent task package name: " + task.topActivityInfo.packageName in onStartConsentActivity()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/
DShellTaskOrganizer.java755 ActivityInfo topActivityInfo = info.getTaskInfo().topActivityInfo; in logSizeCompatRestartButtonEventReported() local
756 if (topActivityInfo == null) { in logSizeCompatRestartButtonEventReported()
760 topActivityInfo.applicationInfo.uid, event); in logSizeCompatRestartButtonEventReported()
/frameworks/base/services/core/java/com/android/server/camera/
DCameraServiceProxy.java743 if (task.topActivityInfo != null && packageName.equals(
744 task.topActivityInfo.packageName)) {
748 (task.topActivityInfo.resizeMode != RESIZE_MODE_UNRESIZEABLE);
753 task.topActivityInfo.screenOrientation);
756 task.topActivityInfo.screenOrientation);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DSplitDecorManager.java254 if (mIcon == null && resizingTask.topActivityInfo != null) { in onResizing()
255 mIcon = mIconProvider.getIcon(resizingTask.topActivityInfo); in onResizing()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DStageTaskListener.java148 getChildTaskInfo(t -> t.topActivityInfo != null); in getTopChildTaskUid()
149 return taskInfo != null ? taskInfo.topActivityInfo.applicationInfo.uid : 0; in getTopChildTaskUid()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DDesktopModeWindowDecorationTests.java502 taskInfo.topActivityInfo = new ActivityInfo(); in createTaskInfo()
503 taskInfo.topActivityInfo.applicationInfo = new ApplicationInfo(); in createTaskInfo()
DDesktopModeWindowDecorViewModelTests.kt552 topActivityInfo = activityInfo in createTask()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipTaskOrganizer.java820 mTaskInfo.topActivityInfo); in onTaskAppeared()
1097 mPipBoundsAlgorithm.getMinimalSize(info.topActivityInfo)); in onTaskInfoChanged()
1838 final boolean hasTopActivityInfo = mTaskInfo.topActivityInfo != null; in animateResizePip()
1841 mContext, currentBounds, destinationBounds, mTaskInfo.topActivityInfo, in animateResizePip()
DPipTransition.java997 taskInfo.topActivityInfo); in startEnterAnimation()
1052 final boolean hasTopActivityInfo = taskInfo.topActivityInfo != null; in startEnterAnimation()
1055 mContext, currentBounds, destinationBounds, taskInfo.topActivityInfo, in startEnterAnimation()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipTaskOrganizerTest.java307 info.topActivityInfo = createActivityInfo(minSize); in createTaskInfo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/
DActivityTransitionAnimatorTest.kt396 taskInfo.topActivityInfo = ActivityInfo().apply { applicationInfo = ApplicationInfo() } in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/startingsurface/
DStartingSurfaceDrawerTests.java346 taskInfo.topActivityInfo = info; in createWindowInfo()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/
DSplitScreenControllerTests.java318 info.topActivityInfo = activityInfo; in createTaskInfo()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/draganddrop/
DDragAndDropPolicyTest.java232 info.topActivityInfo = activityInfo; in createTaskInfo()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipTransition.java451 mPipBoundsState.setBoundsStateForEntry(pipTask.topActivity, pipTask.topActivityInfo, in getEnterPipTransaction()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDesktopModeWindowDecoration.java559 final ActivityInfo activityInfo = mTaskInfo.topActivityInfo;

12