Skip to content

evidence: Android tap markers with a verified display mapping #230

Open

Description

@ElbertePlinio

Problem

Android captures have no pointer markers. android_tap runs adb shell input tap x y and takes no captures of its own. android_screenshot runs exec-out screencap -p. A marker needs a verified mapping between the tap coordinates and the captured image.

Where it was found

Planning for #200. Moved out of #200 by maintainer decision.

Findings from the #200 design brainstorm

  • AOSP injects taps in logical display coordinates, and SurfaceFlinger captures the logical layer stack. Neither path justifies density multiplication.
  • input defaults to the logical default display. screencap selects a physical display. Their numeric IDs are different namespaces.

Acceptance criteria

  • A tap marker appears only when the default display, rotation and logical size are verified around the input and the capture, and the PNG size matches.
  • No automatic density multiplication.
  • Unknown or changed mappings stay unmarked.
  • MCP arguments and responses stay unchanged; paired captures are evidence-only and default off.

Checklist

  • Display identity, rotation and logical size recorded around tap and capture
  • Evidence-only paired captures for android_tap
  • Viewer marker for verified taps
  • Emulator proof at all four rotations, with density and resolution overrides
  • Release note

Refs #199, #200. A swipe tool is tracked separately.

Activity

  1. added
    enhancement
    on Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions