Implement dialog for updating ss test ref images This change introduces a user interface that streamlines the workflow for updating "golden" reference images after making intentional UI changes in screenshot tests. The new `UpdateReferenceImagesDialog` provides a two-pane layout where users can view and manage newly generated screenshots. The left pane displays a tree of all available previews, grouped by file and function. The right pane shows the rendered images for the selected previews. Users can select which images to accept using checkboxes. On confirmation, the new images are copied to the correct reference image directory (e.g., `src/screenshotTestDebug/reference/`). The dialog is also context-aware; triggering the action from a specific function or class pre-selects the relevant previews in the tree. Bug: 439995792 Test: Existing. Tested in local env Change-Id: I98d6773aaaf3e0d450e43a1cb7648f6bce2e6359 
9 files changed
tree: 605e04acb08eb4c4a708d4fcccdf7ec6f5e82114
  1. .idea/
  2. adt-testutils/
  3. adt-ui/
  4. adt-ui-compose/
  5. adt-ui-model/
  6. analytics/
  7. android/
  8. android-adb/
  9. android-adb-ui/
  10. android-common/
  11. android-kotlin/
  12. android-lang/
  13. android-lang-databinding/
  14. android-lint/
  15. android-material/
  16. android-navigator/
  17. android-npw/
  18. android-plugin/
  19. android-templates/
  20. android-test-framework/
  21. android-transport/
  22. apkanalyzer/
  23. app-inspection/
  24. app-quality-insights/
  25. artwork/
  26. artwork-compose/
  27. as-driver/
  28. assistant/
  29. aswb/
  30. avd/
  31. backup/
  32. bleak/
  33. bleak-config/
  34. build-attribution/
  35. build-common/
  36. codenavigation/
  37. completion/
  38. compose-designer/
  39. compose-ide-plugin/
  40. connection-assistant/
  41. dagger/
  42. databinding/
  43. debuggers/
  44. deploy/
  45. design-plugin/
  46. designer/
  47. designer-perf-tests/
  48. device-explorer/
  49. device-explorer-common/
  50. device-explorer-files/
  51. device-explorer-monitor/
  52. device-manager-v2/
  53. execution/
  54. glance-designer/
  55. glasses-pairing/
  56. gmaven/
  57. gmd-code-completion/
  58. gradle-declarative-lang/
  59. gradle-declarative-lang-flags/
  60. gradle-declarative-lang-ide/
  61. gradle-declarative-lang-sync/
  62. gradle-dsl/
  63. gradle-dsl-declarative/
  64. gradle-dsl-flags/
  65. gradle-dsl-groovy/
  66. gradle-dsl-kotlin/
  67. gradle-dsl-toml/
  68. gradle-tooling/
  69. ide-perf-tests/
  70. ij-debugger-tests/
  71. inspectors-common/
  72. intellij-integration/
  73. intellij.android.avdmanager.tests/
  74. intellij.android.compose-common/
  75. intellij.android.device/
  76. intellij.android.device.tests/
  77. jps-build/
  78. jps-model/
  79. layout-inspector/
  80. layout-ui/
  81. layoutlib/
  82. layoutlib-loader/
  83. lint/
  84. logcat/
  85. manual-tests/
  86. memory-usage/
  87. ml-api/
  88. mlkit/
  89. native/
  90. native-symbolizer/
  91. nav/
  92. observable/
  93. observable-demo/
  94. observable-ui/
  95. old-agp-tests/
  96. platform-performance-testing/
  97. preview-designer/
  98. preview-elements/
  99. preview-fast-compile/
  100. profilers/
  101. profilers-android/
  102. profilers-atrace/
  103. profilers-integration/
  104. profilers-ui/
  105. project-system/
  106. project-system-apk/
  107. project-system-gradle/
  108. project-system-gradle-models/
  109. project-system-gradle-psd/
  110. project-system-gradle-repository-search/
  111. project-system-gradle-sync/
  112. project-system-gradle-sync-test-utils/
  113. project-system-gradle-upgrade/
  114. project-system-integration-tests/
  115. render-resources/
  116. rendering/
  117. room/
  118. rt/
  119. samples-browser/
  120. screenshot-testing/
  121. sdk-updates/
  122. searchable-options/
  123. server-flags/
  124. settings-sync/
  125. smali/
  126. streaming/
  127. studio/
  128. studio-labs/
  129. studio-updater/
  130. swingp/
  131. sync-memory-tests/
  132. sync-perf-tests/
  133. testartifacts/
  134. threading-checker/
  135. transport-database/
  136. ultimate/
  137. utp/
  138. visual-lint/
  139. wear-designer/
  140. wear-dwf/
  141. wear-pairing/
  142. wear-preview-elements/
  143. wear-whs/
  144. whats-new-assistant/
  145. wizard/
  146. wizard-model/
  147. .editorconfig
  148. .gitallowed
  149. .gitattributes
  150. .gitignore
  151. get_aosp_changes.sh
  152. icon-robots.txt
  153. intellij.yaml
  154. PREUPLOAD.cfg
  155. README.md
README.md