Fix Tab navigation in profiler editor tabs

Make the root panel of UnifiedProfilerFileEditor a focus cycle root with
a LayoutFocusTraversalPolicy, so Tab and Shift+Tab move between the
profiler's panels (e.g. a Heap Dump's class list, instance list and
fields), matching the Profiler tool window.

Previously, for offline captures, the nearest focus cycle root was the
platform's editor composite panel, whose policy resolves every Tab to
the editor's preferred focused component: the root JPanel. Tab thus
moved focus onto that panel, which shows no focus indicator, and kept it
there. Live tasks could hit the same trap whenever focus landed on the
root panel.

- Install the policy for offline sessions and live tasks only, leaving
  the PerfettoFileEditor delegate path unchanged.
- Return the first focusable descendant as the preferred focused
  component, falling back to the root panel while content loads.

Bug: 570986380
Test: Manually verified
Change-Id: I9581fbe02936f46221090d30b5e55376387fc098
1 file changed
tree: 9c4e836f7181c07d6ca6439239b6ac85fa7940a8
  1. .agents/
  2. .idea/
  3. adt-testutils/
  4. adt-ui/
  5. adt-ui-compose/
  6. adt-ui-model/
  7. agent/
  8. analytics/
  9. android/
  10. android-adb/
  11. android-adb-ui/
  12. android-common/
  13. android-concurrency/
  14. android-kotlin/
  15. android-lang/
  16. android-lang-databinding/
  17. android-lint/
  18. android-material/
  19. android-navigator/
  20. android-npw/
  21. android-plugin/
  22. android-templates/
  23. android-test-framework/
  24. android-transport/
  25. apkanalyzer/
  26. app-inspection/
  27. app-publishing/
  28. app-quality-insights/
  29. artwork/
  30. artwork-compose/
  31. as-driver/
  32. assistant/
  33. aswb/
  34. automation/
  35. avd/
  36. backup/
  37. bleak/
  38. bleak-config/
  39. build-attribution/
  40. build-common/
  41. cli-server/
  42. codenavigation/
  43. completion/
  44. compose-designer/
  45. compose-ide-plugin/
  46. connection-assistant/
  47. dagger/
  48. databinding/
  49. debuggers/
  50. deploy/
  51. design-plugin/
  52. designer/
  53. designer-perf-tests/
  54. device-explorer/
  55. device-explorer-common/
  56. device-explorer-files/
  57. device-explorer-monitor/
  58. device-manager-v2/
  59. emulator-snapshots/
  60. execution/
  61. glance-designer/
  62. gmaven/
  63. gmd-code-completion/
  64. gradle-declarative-lang/
  65. gradle-declarative-lang-flags/
  66. gradle-declarative-lang-ide/
  67. gradle-declarative-lang-sync/
  68. gradle-dsl/
  69. gradle-dsl-android/
  70. gradle-dsl-declarative/
  71. gradle-dsl-flags/
  72. gradle-dsl-groovy/
  73. gradle-dsl-kotlin/
  74. gradle-dsl-plugin/
  75. gradle-dsl-toml/
  76. gradle-tooling/
  77. ide-perf-tests/
  78. ij-debugger-tests/
  79. inspectors-common/
  80. intellij-integration/
  81. intellij.android.avdmanager.tests/
  82. intellij.android.compose-common/
  83. intellij.android.device/
  84. intellij.android.device.tests/
  85. jps-build/
  86. jps-model/
  87. layout-inspector/
  88. layout-ui/
  89. layoutlib/
  90. layoutlib-loader/
  91. lint/
  92. logcat/
  93. manual-tests/
  94. memory-usage/
  95. ml-api/
  96. mlkit/
  97. native/
  98. native-symbolizer/
  99. nav/
  100. observable/
  101. observable-demo/
  102. observable-ui/
  103. old-agp-tests/
  104. platform-performance-testing/
  105. play-publishing/
  106. preview-designer/
  107. preview-elements/
  108. preview-fast-compile/
  109. profilers/
  110. profilers-android/
  111. profilers-atrace/
  112. profilers-integration/
  113. profilers-ui/
  114. project-system/
  115. project-system-apk/
  116. project-system-gradle/
  117. project-system-gradle-models/
  118. project-system-gradle-psd/
  119. project-system-gradle-repository-search/
  120. project-system-gradle-sync/
  121. project-system-gradle-sync-test-utils/
  122. project-system-gradle-upgrade/
  123. project-system-integration-tests/
  124. render-resources/
  125. rendering/
  126. room/
  127. rt/
  128. samples-browser/
  129. screenshot-testing/
  130. sdk-updates/
  131. searchable-options/
  132. server-flags/
  133. settings-sync/
  134. smali/
  135. streaming/
  136. studio/
  137. studio-flags/
  138. studio-labs/
  139. studio-updater/
  140. swingp/
  141. sync-memory-tests/
  142. sync-perf-tests/
  143. testartifacts/
  144. threading-checker/
  145. tracer/
  146. transport-database/
  147. utp/
  148. visual-lint/
  149. wear-designer/
  150. wear-dwf/
  151. wear-pairing/
  152. wear-preview-elements/
  153. wear-whs/
  154. whats-new-assistant/
  155. wizard/
  156. wizard-model/
  157. .editorconfig
  158. .gitallowed
  159. .gitattributes
  160. .gitignore
  161. AGENTS.md
  162. get_aosp_changes.sh
  163. icon-robots.txt
  164. intellij.yaml
  165. PREUPLOAD.cfg
  166. README.md
README.md