Files
Lawnchair/quickstep
minch 0933ba83d8 Introduce a function getFristTaskView()
- Introduce a function `getFirstTaskView()` in RecentsView to get the
  first TaskView inside RecentsView.
- Replace `getTaskViewAt(0)` with this newly introduced function.
- Let `RecentsView.isTaskInExpectedScrollPosition()` accept a TaskView
  instead of index of the TaskView. This can avoid using the index at
  the callsites of this function.
- Change `getTaskViews()` to be a public function, thus it can be
  used outside of the RecentsView.

Flag: EXEMPT as no functionality changes
Bug: 379942019
Test: Ensure the TaskViews required are correct in the following
      scrnarios:
      1. Swiping up from home screen to enter overview with empty or
         multiple tasks
      2. Swiping up from a fullscreen app to enter overview with
         one or multiple tasks
      3. Dimissing one or multiple tasks, exit and re-enter overview
         w/o newly opened tasks
      4. Remvoing all the tasks, re-enter overview w/o newly opened
         tasks
Change-Id: If63ad6dc9f5106be08d867090fdaf616117dcd82
2024-12-09 22:43:14 +00:00
..