# Android PDF idle tile comparison

Device: pooled Pixel Tablet emulator, Android API 36, landscape 2560×1600, light theme. Native T3 Code development client for each commit; each checkout runs its own fresh server with T3CODE_DEV_SEED=0 and its own Metro bundle. No agent turn runs.

Base: 0fbd32628b41e1de98f14b2ac178b50409cabc91.
Head: 89bae42e9394f8b904bee2f0eeb6677958590b37.

1. Run `python3 seed.py <project-folder>` to create the five-page A4 PDF, and add that folder as a project with `t3 project add` against each isolated server.
2. In each checkout, temporarily add `initialScale={4}` to the `<Pdf>` in `apps/mobile/src/components/PdfPreview.android.tsx`. This is the same setup used by triage: it sets the native viewer's zoom field without relying on unsupported synthetic pinch input. No native rendering or cache code is modified.
3. Install each matching client with `vp run mobile:install android --session <session> --metro <reachable-Metro-origin>`, then pair to that checkout's server. Clear the mobile app's state between sides to remove retained connections.
4. Open New thread > PDF-demo > Open files > sample.pdf, in the tablet's right pane.
5. Run `python3 boundary-driver.py <session>`. It performs eight slow one-finger pans (seven upward pans of 1100 pixels, then one downward pan of 300 pixels) and records 25 seconds without input, then captures two screenshots separated by at least 500 ms. Each run gets a new timestamped output directory. Android screenrecord only encodes changed frames; the device's clock and draft age can also change independently of the PDF.
6. Inspect the recordings and consecutive frames in the PDF pane. The reported defect is persistent sharp/blurry tile switching while idle at the page 1/2 boundary.
