Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • util
  • android
  • AndroidWindow.h
Find file
BlameHistoryPermalink
  • Cody Northrop's avatar
    Tests: Change screen orientation for traces on Android · 6fe87f4a
    Cody Northrop authored Jul 10, 2020
    This CL adds a reverse JNI call to our Android Native Activity that
    sets the orientation of the screen based on width and height.
    
    To achieve this we:
    * Attach to the java thread once at the beginning to grab JNI env.
    * Detach from the thread once when platform sends APP_CMD_DESTROY
    * Set the orientation during test init
    
    Bug: angleproject:4327
    Change-Id: Ifbe31a6a84dd60a0dfe7d7032962c99b290d8b81
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2289054Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com>
    Commit-Queue: Cody Northrop <cnorthrop@google.com>
    6fe87f4a
AndroidWindow.h 1.09 KB
EditWeb IDE
×

Replace AndroidWindow.h

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.