Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/hardware/location/
DActivityRecognitionHardware.java100 int activityType = getActivityType(activity); in isActivitySupported() local
101 return activityType != INVALID_ACTIVITY_TYPE; in isActivitySupported()
120 int activityType = getActivityType(activity); in enableActivityEvent() local
121 if (activityType == INVALID_ACTIVITY_TYPE) { in enableActivityEvent()
125 int result = nativeEnableActivityEvent(activityType, eventType, reportLatencyNs); in enableActivityEvent()
127 mSupportedActivitiesEnabledEvents[activityType][eventType] = EVENT_TYPE_ENABLED; in enableActivityEvent()
137 int activityType = getActivityType(activity); in disableActivityEvent() local
138 if (activityType == INVALID_ACTIVITY_TYPE) { in disableActivityEvent()
142 int result = nativeDisableActivityEvent(activityType, eventType); in disableActivityEvent()
144 mSupportedActivitiesEnabledEvents[activityType][eventType] = EVENT_TYPE_DISABLED; in disableActivityEvent()
[all …]
DIActivityRecognitionHardware.aidl36 boolean isActivitySupported(in String activityType); in isActivitySupported() argument
51 boolean enableActivityEvent(in String activityType, int eventType, long reportLatencyNs); in enableActivityEvent() argument
56 boolean disableActivityEvent(in String activityType, int eventType); in disableActivityEvent() argument
/frameworks/base/services/core/java/com/android/server/wm/
DTaskDisplayArea.java164 ActivityStack getStack(int windowingMode, int activityType) { in getStack() argument
165 if (activityType == ACTIVITY_TYPE_HOME) { in getStack()
167 } else if (activityType == ACTIVITY_TYPE_RECENTS) { in getStack()
177 if (activityType == ACTIVITY_TYPE_UNDEFINED in getStack()
183 if (stack.isCompatible(windowingMode, activityType)) { in getStack()
884 ActivityStack getOrCreateStack(int windowingMode, int activityType, boolean onTop) { in getOrCreateStack() argument
885 return getOrCreateStack(windowingMode, activityType, onTop, null /* intent */, in getOrCreateStack()
897 ActivityStack getOrCreateStack(int windowingMode, int activityType, boolean onTop, in getOrCreateStack() argument
903 activityType)) { in getOrCreateStack()
904 ActivityStack stack = getStack(windowingMode, activityType); in getOrCreateStack()
[all …]
DConfigurationContainer.java442 public void setActivityType(/*@WindowConfiguration.ActivityType*/ int activityType) { in setActivityType() argument
444 if (currentActivityType == activityType) { in setActivityType()
449 + " activityType=" + activityTypeToString(activityType)); in setActivityType()
452 mRequestsTmpConfig.windowConfiguration.setActivityType(activityType); in setActivityType()
477 /*@WindowConfiguration.ActivityType*/ final int activityType = getActivityType(); in isActivityTypeStandardOrUndefined() local
478 return activityType == ACTIVITY_TYPE_STANDARD || activityType == ACTIVITY_TYPE_UNDEFINED; in isActivityTypeStandardOrUndefined()
509 public boolean isCompatible(int windowingMode, int activityType) { in isCompatible() argument
512 final boolean sameActivityType = thisActivityType == activityType; in isCompatible()
519 if ((activityType != ACTIVITY_TYPE_UNDEFINED && activityType != ACTIVITY_TYPE_STANDARD) in isCompatible()
DResetTargetTaskHelper.java243 final int activityType = mTargetStack.getActivityType(); in processPendingReparentActivities() local
248 activityType); in processPendingReparentActivities()
262 activityType, false /* onTop */); in processPendingReparentActivities()
DRootWindowContainer.java2418 ActivityStack getStack(int windowingMode, int activityType) { in getStack() argument
2420 final ActivityStack stack = getChildAt(i).getStack(windowingMode, activityType); in getStack()
2428 private ActivityStack getStack(int windowingMode, int activityType, in getStack() argument
2434 return display.getStack(windowingMode, activityType); in getStack()
2490 ActivityManager.StackInfo getStackInfo(int windowingMode, int activityType) { in getStackInfo() argument
2491 final ActivityStack stack = getStack(windowingMode, activityType); in getStackInfo()
2495 ActivityManager.StackInfo getStackInfo(int windowingMode, int activityType, int displayId) { in getStackInfo() argument
2496 final ActivityStack stack = getStack(windowingMode, activityType, displayId); in getStackInfo()
2859 final int activityType = resolveActivityType(r, options, candidateTask); in getLaunchStack() local
2890 stack = taskDisplayArea.getOrCreateStack(r, options, candidateTask, activityType, in getLaunchStack()
[all …]
DLaunchParamsController.java149 final int activityType = activity != null in layoutTask() local
152 mTmpParams.mWindowingMode, activity, task, activityType)); in layoutTask()
DActivityStack.java518 ActivityStack(ActivityTaskManagerService atmService, int id, int activityType, in ActivityStack() argument
523 setActivityType(activityType); in ActivityStack()
797 public boolean isCompatible(int windowingMode, int activityType) { in isCompatible() argument
799 if (activityType == ACTIVITY_TYPE_UNDEFINED) { in isCompatible()
802 activityType = ACTIVITY_TYPE_STANDARD; in isCompatible()
804 return super.isCompatible(windowingMode, activityType); in isCompatible()
DRecentTasks.java1851 final int activityType = t1.getActivityType(); in hasCompatibleActivityTypeAndWindowingMode() local
1853 final boolean isUndefinedType = activityType == ACTIVITY_TYPE_UNDEFINED; in hasCompatibleActivityTypeAndWindowingMode()
1862 final boolean isCompatibleType = activityType == otherActivityType in hasCompatibleActivityTypeAndWindowingMode()
DActivityStackSupervisor.java2459 int activityType = ACTIVITY_TYPE_UNDEFINED; in startActivityFromRecents() local
2465 activityType = activityOptions.getLaunchActivityType(); in startActivityFromRecents()
2472 if (activityType == ACTIVITY_TYPE_HOME || activityType == ACTIVITY_TYPE_RECENTS) { in startActivityFromRecents()
DTask.java1367 final int activityType = getActivityType(); in addChild() local
1408 r.setActivityType(activityType); in addChild()
3372 final int activityType = getActivityType();
3374 || activityType == ACTIVITY_TYPE_HOME
3375 || activityType == ACTIVITY_TYPE_RECENTS
3376 || activityType == ACTIVITY_TYPE_ASSISTANT;
DActivityRecord.java2092 int activityType = ACTIVITY_TYPE_UNDEFINED; in setActivityType() local
2096 activityType = ACTIVITY_TYPE_HOME; in setActivityType()
2105 activityType = ACTIVITY_TYPE_RECENTS; in setActivityType()
2108 activityType = ACTIVITY_TYPE_ASSISTANT; in setActivityType()
2112 activityType = ACTIVITY_TYPE_DREAM; in setActivityType()
2114 setActivityType(activityType); in setActivityType()
DDisplayContent.java2213 ActivityStack getStack(int windowingMode, int activityType) { in getStack() argument
2216 .getStack(windowingMode, activityType); in getStack()
5181 static boolean alwaysCreateStack(int windowingMode, int activityType) { in alwaysCreateStack() argument
5184 return activityType == ACTIVITY_TYPE_STANDARD in alwaysCreateStack()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowTestsBase.java149 DisplayContent dc, int windowingMode, int activityType, int type) { in createWindowToken() argument
154 return createActivityRecord(dc, windowingMode, activityType); in createWindowToken()
157 ActivityRecord createActivityRecord(DisplayContent dc, int windowingMode, int activityType) { in createActivityRecord() argument
158 return createTestActivityRecord(dc, windowingMode, activityType); in createActivityRecord()
162 windowingMode, int activityType) { in createTestActivityRecord() argument
163 final ActivityStack stack = createTaskStackOnDisplay(windowingMode, activityType, dc); in createTestActivityRecord()
179 WindowState createWindowOnStack(WindowState parent, int windowingMode, int activityType, in createWindowOnStack() argument
181 final WindowToken token = createWindowToken(dc, windowingMode, activityType, type); in createWindowOnStack()
265 ActivityStack createTaskStackOnDisplay(int windowingMode, int activityType, DisplayContent dc) { in createTaskStackOnDisplay() argument
269 .setActivityType(activityType) in createTaskStackOnDisplay()
[all …]
DTaskDisplayAreaTests.java247 private void assertGetOrCreateStack(int windowingMode, int activityType, Task candidateTask, in assertGetOrCreateStack() argument
250 final ActivityStack stack = taskDisplayArea.getOrCreateStack(windowingMode, activityType, in assertGetOrCreateStack()
DActivityTestsBase.java459 StackBuilder setActivityType(int activityType) { in setActivityType() argument
460 mActivityType = activityType; in setActivityType()
DActivityStackTests.java990 TaskDisplayArea taskDisplayArea, int windowingMode, int activityType, boolean onTop) { in createStackForShouldBeVisibleTest() argument
992 if (activityType == ACTIVITY_TYPE_HOME) { in createStackForShouldBeVisibleTest()
1005 .setActivityType(activityType) in createStackForShouldBeVisibleTest()
DRecentTasksTest.java1208 @WindowConfiguration.ActivityType int activityType) { in setTaskActivityType() argument
1210 config1.windowConfiguration.setActivityType(activityType); in setTaskActivityType()
/frameworks/base/core/java/android/app/
DWindowConfiguration.java359 public void setActivityType(@ActivityType int activityType) { in setActivityType() argument
360 if (mActivityType == activityType) { in setActivityType()
369 && activityType != ACTIVITY_TYPE_UNDEFINED) { in setActivityType()
371 + " activityType=" + activityTypeToString(activityType)); in setActivityType()
373 mActivityType = activityType; in setActivityType()
815 public static boolean supportSplitScreenWindowingMode(int activityType) { in supportSplitScreenWindowingMode() argument
816 return activityType != ACTIVITY_TYPE_ASSISTANT && activityType != ACTIVITY_TYPE_DREAM; in supportSplitScreenWindowingMode()
DIActivityTaskManager.aidl265 ActivityManager.StackInfo getStackInfo(int windowingMode, int activityType); in getStackInfo() argument
267 ActivityManager.StackInfo getStackInfoOnDisplay(int windowingMode, int activityType, in getStackInfoOnDisplay() argument
DActivityOptions.java1343 public void setLaunchActivityType(int activityType) { in setLaunchActivityType() argument
1344 mLaunchActivityType = activityType; in setLaunchActivityType()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DOverviewProxyRecentsImpl.java156 final int activityType = runningTask != null in splitPrimaryTask() local
161 activityType == ACTIVITY_TYPE_HOME || activityType == ACTIVITY_TYPE_RECENTS; in splitPrimaryTask()
DRecentsOnboarding.java152 int activityType = info.configuration.windowConfiguration.getActivityType();
153 if (activityType == ACTIVITY_TYPE_STANDARD) {
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DRemoteAnimationTargetCompat.java39 public final int activityType; field in RemoteAnimationTargetCompat
68 activityType = app.windowConfiguration.getActivityType(); in RemoteAnimationTargetCompat()
DActivityManagerWrapper.java325 int windowingMode, int activityType, final Consumer<Boolean> resultCallback, in startActivityFromRecentsAsync() argument
335 || activityType != ACTIVITY_TYPE_UNDEFINED) { in startActivityFromRecentsAsync()
340 options.setLaunchActivityType(activityType); in startActivityFromRecentsAsync()

12