Home
last modified time | relevance | path

Searched refs:launchState (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/
DRecentsTvActivity.java191 RecentsActivityLaunchState launchState = config.getLaunchState(); in updateRecentsTasks() local
193 loader.preloadTasks(plan, -1, !launchState.launchedFromHome); in updateRecentsTasks()
197 mLaunchedFromHome = launchState.launchedFromHome; in updateRecentsTasks()
200 loadOpts.runningTaskId = launchState.launchedToTaskId; in updateRecentsTasks()
218 if (launchState.launchedToTaskId != -1) { in updateRecentsTasks()
223 if (t.key.id == launchState.launchedToTaskId) { in updateRecentsTasks()
369 RecentsActivityLaunchState launchState = config.getLaunchState(); in onResume() local
370 boolean wasLaunchedByAm = !launchState.launchedFromHome && in onResume()
371 !launchState.launchedFromApp; in onResume()
446 RecentsActivityLaunchState launchState = config.getLaunchState(); in onStop() local
[all …]
DRecentsTvImpl.java101 RecentsActivityLaunchState launchState = config.getLaunchState(); in startRecentsActivity() local
102 launchState.launchedFromHome = fromHome; in startRecentsActivity()
103 launchState.launchedFromApp = fromThumbnail; in startRecentsActivity()
104 launchState.launchedToTaskId = (runningTask != null) ? runningTask.id : -1; in startRecentsActivity()
105 launchState.launchedWithAltTab = mTriggeredFromAltTab; in startRecentsActivity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsActivity.java369 RecentsActivityLaunchState launchState = config.getLaunchState(); in reloadStackView() local
371 loader.preloadTasks(loadPlan, launchState.launchedToTaskId, in reloadStackView()
372 !launchState.launchedFromHome); in reloadStackView()
376 loadOpts.runningTaskId = launchState.launchedToTaskId; in reloadStackView()
377 loadOpts.numVisibleTasks = launchState.launchedNumVisibleTasks; in reloadStackView()
378 loadOpts.numVisibleTaskThumbnails = launchState.launchedNumVisibleThumbnails; in reloadStackView()
385 boolean animateNavBarScrim = !launchState.launchedViaDockGesture; in reloadStackView()
390 boolean wasLaunchedByAm = !launchState.launchedFromHome && in reloadStackView()
391 !launchState.launchedFromApp; in reloadStackView()
397 if (launchState.launchedWithAltTab) { in reloadStackView()
[all …]
DRecentsActivityLaunchState.java53 RecentsActivityLaunchState launchState = Recents.getConfiguration().getLaunchState(); in getInitialFocusTaskIndex() local
55 if (!launchState.launchedWithAltTab && debugFlags.isFastToggleRecentsEnabled()) { in getInitialFocusTaskIndex()
64 if (!launchState.launchedWithAltTab && debugFlags.isFastToggleRecentsEnabled()) { in getInitialFocusTaskIndex()
DRecentsImpl.java310 RecentsActivityLaunchState launchState = config.getLaunchState(); in toggleRecents() local
311 if (!launchState.launchedWithAltTab) { in toggleRecents()
809 RecentsActivityLaunchState launchState = Recents.getConfiguration().getLaunchState(); in startRecentsActivity() local
831 launchState.launchedFromHome = !useThumbnailTransition && !mLaunchedWhileDocking; in startRecentsActivity()
832 launchState.launchedFromApp = useThumbnailTransition || mLaunchedWhileDocking; in startRecentsActivity()
833 launchState.launchedViaDockGesture = mLaunchedWhileDocking; in startRecentsActivity()
834 launchState.launchedViaDragGesture = mDraggingInRecents; in startRecentsActivity()
835 launchState.launchedToTaskId = runningTaskId; in startRecentsActivity()
836 launchState.launchedWithAltTab = mTriggeredFromAltTab; in startRecentsActivity()
851 launchState.launchedNumVisibleTasks = stackVr.numVisibleTasks; in startRecentsActivity()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackAnimationHelper.java124 RecentsActivityLaunchState launchState = config.getLaunchState(); in prepareForEnterAnimation() local
164 } else if (launchState.launchedFromApp && !launchState.launchedViaDockGesture) { in prepareForEnterAnimation()
175 } else if (launchState.launchedFromHome) { in prepareForEnterAnimation()
180 } else if (launchState.launchedViaDockGesture) { in prepareForEnterAnimation()
197 RecentsActivityLaunchState launchState = config.getLaunchState(); in startEnterAnimation() local
235 if (launchState.launchedFromApp && !launchState.launchedViaDockGesture) { in startEnterAnimation()
257 } else if (launchState.launchedFromHome) { in startEnterAnimation()
278 } else if (launchState.launchedViaDockGesture) { in startEnterAnimation()
DTaskStackLayoutAlgorithm.java482 RecentsActivityLaunchState launchState = Recents.getConfiguration().getLaunchState(); in update() local
538 if (launchState.launchedFromHome) { in update()
557 boolean scrollToFront = launchState.launchedFromHome || in update()
558 launchState.launchedViaDockGesture; in update()
559 if (launchState.launchedWithAltTab) { in update()
577 RecentsActivityLaunchState launchState = Recents.getConfiguration().getLaunchState(); in setTaskOverridesForInitialState() local
581 boolean scrollToFront = launchState.launchedFromHome || in setTaskOverridesForInitialState()
582 launchState.launchedViaDockGesture; in setTaskOverridesForInitialState()
584 if (ignoreScrollToFront || (!launchState.launchedWithAltTab && !scrollToFront)) { in setTaskOverridesForInitialState()
713 RecentsActivityLaunchState launchState = Recents.getConfiguration().getLaunchState(); in getInitialFocusState() local
[all …]
DRecentsView.java171 RecentsActivityLaunchState launchState = config.getLaunchState(); in onReload() local
194 if (launchState.launchedViaDockGesture || launchState.launchedFromApp in onReload()
396 RecentsActivityLaunchState launchState = Recents.getConfiguration().getLaunchState(); in onLayout() local
397 if (launchState.launchedViaDragGesture) { in onLayout()
608 RecentsActivityLaunchState launchState = Recents.getConfiguration().getLaunchState(); in onBusEvent() local
609 if (!launchState.launchedViaDockGesture && !launchState.launchedFromApp in onBusEvent()
DTaskStackView.java1320 RecentsActivityLaunchState launchState = config.getLaunchState(); in onFirstLayout() local
1321 int focusedTaskIndex = launchState.getInitialFocusTaskIndex(mStack.getTaskCount()); in onFirstLayout()
1963 RecentsActivityLaunchState launchState = config.getLaunchState(); in onBusEvent()
1965 false /* scrollToTask */, launchState.launchedWithAltTab); in onBusEvent()
1995 RecentsActivityLaunchState launchState = Recents.getConfiguration().getLaunchState(); in onBusEvent() local
1996 launchState.reset(); in onBusEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/views/
DRecentsTvView.java100 RecentsActivityLaunchState launchState = config.getLaunchState(); in init() local