/frameworks/base/core/java/android/hardware/location/ |
D | ActivityRecognitionHardware.java | 104 int activityType = getActivityType(activity); in isActivitySupported() local 105 return activityType != INVALID_ACTIVITY_TYPE; in isActivitySupported() 130 int activityType = getActivityType(activity); in enableActivityEvent() local 131 if (activityType == INVALID_ACTIVITY_TYPE) { in enableActivityEvent() 135 int result = nativeEnableActivityEvent(activityType, eventType, reportLatencyNs); in enableActivityEvent() 137 mSupportedActivitiesEnabledEvents[activityType][eventType] = EVENT_TYPE_ENABLED; in enableActivityEvent() 149 int activityType = getActivityType(activity); in disableActivityEvent() local 150 if (activityType == INVALID_ACTIVITY_TYPE) { in disableActivityEvent() 154 int result = nativeDisableActivityEvent(activityType, eventType); in disableActivityEvent() 156 mSupportedActivitiesEnabledEvents[activityType][eventType] = EVENT_TYPE_DISABLED; in disableActivityEvent() [all …]
|
D | IActivityRecognitionHardware.aidl | 38 boolean isActivitySupported(in String activityType); in isActivitySupported() argument 56 boolean enableActivityEvent(in String activityType, int eventType, long reportLatencyNs); in enableActivityEvent() argument 62 boolean disableActivityEvent(in String activityType, int eventType); in disableActivityEvent() argument
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ConfigurationContainer.java | 611 public void setActivityType(/*@WindowConfiguration.ActivityType*/ int activityType) { in setActivityType() argument 613 if (currentActivityType == activityType) { in setActivityType() 618 + " activityType=" + activityTypeToString(activityType)); in setActivityType() 621 mRequestsTmpConfig.windowConfiguration.setActivityType(activityType); in setActivityType() 634 final int activityType = getActivityType(); in isActivityTypeHomeOrRecents() local 635 return activityType == ACTIVITY_TYPE_HOME || activityType == ACTIVITY_TYPE_RECENTS; in isActivityTypeHomeOrRecents() 712 /*@WindowConfiguration.ActivityType*/ final int activityType = getActivityType(); in isActivityTypeStandardOrUndefined() local 713 return activityType == ACTIVITY_TYPE_STANDARD || activityType == ACTIVITY_TYPE_UNDEFINED; in isActivityTypeStandardOrUndefined() 741 public boolean isCompatible(int windowingMode, int activityType) { in isCompatible() argument 744 final boolean sameActivityType = thisActivityType == activityType; in isCompatible() [all …]
|
D | TaskDisplayArea.java | 116 boolean contains(int windowingMode, int activityType) { in contains() argument 118 && ArrayUtils.contains(activityTypes, activityType); in contains() 206 Task getRootTask(int windowingMode, int activityType) { in getRootTask() argument 207 if (activityType == ACTIVITY_TYPE_HOME) { in getRootTask() 214 if (activityType == ACTIVITY_TYPE_UNDEFINED in getRootTask() 220 return rootTask.isCompatible(windowingMode, activityType); in getRootTask() 869 Task getOrCreateRootTask(int windowingMode, int activityType, boolean onTop) { 870 return getOrCreateRootTask(windowingMode, activityType, onTop, null /* candidateTask */, 892 Task getOrCreateRootTask(int windowingMode, int activityType, boolean onTop, 899 if (!alwaysCreateRootTask(resolvedWindowingMode, activityType)) { [all …]
|
D | ResetTargetTaskHelper.java | 232 final int activityType = mTargetRootTask.getActivityType(); in processPendingReparentActivities() local 237 activityType); in processPendingReparentActivities() 251 activityType, false /* onTop */); in processPendingReparentActivities()
|
D | RootWindowContainer.java | 321 void init(int activityType, String taskAffinity, Intent intent, ActivityInfo info, in init() argument 323 mActivityType = activityType; in init() 2393 ActivityRecord findTask(int activityType, String taskAffinity, Intent intent, ActivityInfo info, in findTask() argument 2396 + ", info=%s, preferredTDA=%s, includeLaunchedFromBubble=%b", activityType, in findTask() 2398 mTmpFindTaskResult.init(activityType, taskAffinity, intent, info, in findTask() 2660 Task getRootTask(int windowingMode, int activityType) { in getRootTask() argument 2662 final Task rootTask = getChildAt(i).getRootTask(windowingMode, activityType); in getRootTask() 2670 private Task getRootTask(int windowingMode, int activityType, in getRootTask() argument 2676 return display.getRootTask(windowingMode, activityType); in getRootTask() 2736 RootTaskInfo getRootTaskInfo(int windowingMode, int activityType) { in getRootTaskInfo() argument [all …]
|
D | SafeActivityOptions.java | 394 final int activityType = options.getLaunchActivityType(); in checkPermissions() local 395 if (activityType != ACTIVITY_TYPE_UNDEFINED in checkPermissions() 399 if (activityType == ACTIVITY_TYPE_ASSISTANT in checkPermissions()
|
/frameworks/base/core/java/android/window/ |
D | WindowMetricsController.java | 85 final int activityType; in getWindowMetricsInternal() local 95 activityType = winConfig.getActivityType(); in getWindowMetricsInternal() 99 mContext.getDisplayId(), token, bounds, isScreenRound, activityType); in getWindowMetricsInternal() 114 Rect bounds, boolean isScreenRound, int activityType) { in getWindowInsetsFromServerForDisplay() argument 125 WindowManager.LayoutParams.INVALID_WINDOW_TYPE, activityType, in getWindowInsetsFromServerForDisplay()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/ |
D | SnapshotWindowCreator.java | 54 int activityType, ShellExecutor removeExecutor, int id, in SnapshotWindowRecord() argument 56 super(activityType, removeExecutor, id, recordManager); in SnapshotWindowRecord()
|
D | WindowlessSnapshotWindowCreator.java | 104 int bgColor, boolean hasImeSurface, int activityType, in SnapshotWindowRecord() argument 107 super(activityType, removeExecutor, id, recordManager); in SnapshotWindowRecord()
|
D | StartingSurfaceDrawer.java | 264 SnapshotRecord(int activityType, ShellExecutor removeExecutor, int taskId, in SnapshotRecord() argument 266 mActivityType = activityType; in SnapshotRecord()
|
/frameworks/base/core/java/android/app/ |
D | WindowConfiguration.java | 405 public void setActivityType(@ActivityType int activityType) { in setActivityType() argument 406 if (mActivityType == activityType) { in setActivityType() 415 && activityType != ACTIVITY_TYPE_UNDEFINED) { in setActivityType() 417 + " activityType=" + activityTypeToString(activityType)); in setActivityType() 419 mActivityType = activityType; in setActivityType() 870 public static boolean supportSplitScreenWindowingMode(int activityType) { in supportSplitScreenWindowingMode() argument 871 return activityType != ACTIVITY_TYPE_ASSISTANT && activityType != ACTIVITY_TYPE_DREAM; in supportSplitScreenWindowingMode()
|
D | IActivityTaskManager.aidl | 210 ActivityTaskManager.RootTaskInfo getRootTaskInfo(int windowingMode, int activityType); in getRootTaskInfo() argument 212 …ActivityTaskManager.RootTaskInfo getRootTaskInfoOnDisplay(int windowingMode, int activityType, int… in getRootTaskInfoOnDisplay() argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/policy/ |
D | NewRootTaskInfo.kt | 84 activityType: ActivityType = Standard, in newRootTaskInfo() 95 setActivityType(activityType.toInt()) in newRootTaskInfo()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/ |
D | TestRunningTaskInfoBuilder.java | 84 @WindowConfiguration.ActivityType int activityType) { in setActivityType() 85 mActivityType = activityType; in setActivityType()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowTestsBase.java | 493 DisplayContent dc, int windowingMode, int activityType, int type) { in createWindowToken() argument 501 return createActivityRecord(dc, windowingMode, activityType); in createWindowToken() 613 WindowState createWindow(WindowState parent, int windowingMode, int activityType, in createWindow() argument 615 final WindowToken token = createWindowToken(dc, windowingMode, activityType, type); in createWindow() 748 int windowingMode, int activityType, boolean onTop, boolean twoLevelTask) { in createTaskWithActivity() argument 749 return createTask(taskDisplayArea, windowingMode, activityType, in createTaskWithActivity() 759 Task createTask(DisplayContent dc, int windowingMode, int activityType) { in createTask() argument 760 return createTask(dc.getDefaultTaskDisplayArea(), windowingMode, activityType); in createTask() 763 Task createTask(TaskDisplayArea taskDisplayArea, int windowingMode, int activityType) { in createTask() argument 764 return createTask(taskDisplayArea, windowingMode, activityType, in createTask() [all …]
|
D | RootTaskTests.java | 1023 TaskDisplayArea taskDisplayArea, int windowingMode, int activityType, boolean onTop) { in createTaskForShouldBeVisibleTest() argument 1025 windowingMode, activityType, onTop, false /* twoLevelTask */); in createTaskForShouldBeVisibleTest() 1030 int windowingMode, int activityType, boolean onTop, boolean twoLevelTask) { in createTaskForShouldBeVisibleTest() argument 1032 if (activityType == ACTIVITY_TYPE_HOME) { in createTaskForShouldBeVisibleTest() 1040 .setActivityType(activityType) in createTaskForShouldBeVisibleTest() 1050 .setActivityType(activityType) in createTaskForShouldBeVisibleTest()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ScreenshotPolicyImplTest.kt | 162 activityType = Home, 178 activityType = Undefined,
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/system/ |
D | RemoteTransitionTest.java | 167 private static ActivityManager.RunningTaskInfo createTaskInfo(int taskId, int activityType) { 170 taskInfo.configuration.windowConfiguration.setActivityType(activityType);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/data/model/ |
D | DisplayContentScenarios.kt | 214 activityType = ActivityType.Undefined, 226 activityType = ActivityType.Home, in launcher()
|
/frameworks/base/core/java/android/view/ |
D | InsetsState.java | 122 int legacySystemUiFlags, int windowType, @ActivityType int activityType, in calculateInsets() argument 171 if (clearsCompatInsets(windowType, legacyWindowFlags, activityType, forceConsumingTypes)) { in calculateInsets() 281 public Insets calculateVisibleInsets(Rect frame, int windowType, @ActivityType int activityType, in calculateVisibleInsets() argument 299 return clearsCompatInsets(windowType, windowFlags, activityType, forceConsumingTypes) in calculateVisibleInsets() 645 @ActivityType int activityType, @InsetsType int forceConsumingTypes) { in clearsCompatInsets() argument 652 && (forceConsumingTypes == 0 || activityType != ACTIVITY_TYPE_STANDARD); in clearsCompatInsets()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/systemsounds/ |
D | HomeSoundEffectControllerTest.java | 417 int activityType, int taskId, boolean playHomeTransitionSound) { in createRunningTaskInfo() argument 421 res.topActivityType = activityType; in createRunningTaskInfo()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/ |
D | DesktopModeWindowDecorViewModelTests.kt | 217 activityType = ACTIVITY_TYPE_UNDEFINED in testCreateCaptionOnChangeTransitionWhenNecessary() 542 activityType: Int = ACTIVITY_TYPE_STANDARD, in createTask() 550 .setActivityType(activityType) in createTask() 590 configuration.windowConfiguration.activityType = type in setActivityType()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/transition/ |
D | HomeTransitionObserverTest.java | 213 @ActivityType int activityType, in setupTransitionInfo() argument 216 when(taskInfo.getActivityType()).thenReturn(activityType); in setupTransitionInfo()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | WindowManagerImpl.java | 297 final int activityType = config.windowConfiguration.getActivityType(); in computeWindowInsets() local 301 activityType, null /* typeSideMap */); in computeWindowInsets()
|