summaryrefslogtreecommitdiff
path: root/core/java/android/view/TextureLayer.java
Commit message (Collapse)AuthorAgeFilesLines
* Move TextureLayer into android.graphicsLeon Scroggins III2020-06-021-154/+0
| | | | | | | | | | | | | | | | Bug: 155905258 Test: make and boot It is tightly integrated with android.graphics.HardwareRenderer, and this follows on I30d34055b6870dc1039f190a88f4a747cee17300, which moved the native component into android_graphics_TextureLayer.cpp, and Ifa044281a3c36cbc1b413175711e9b172cda640f, which registers its JNI along with other graphics classes. Make TextureLayer AutoCloseable, replacing destroy() with close(). Add annotations where appropriate. Change-Id: I1b146ff02a20751246636144c88fe6f8eec43514
* Remove @hide from MatrixLeon Scroggins III2020-05-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 152983829 Test: make Test: I77ec845b5503df6f90deb6a2176836d9aacb74d1 Make IDENTITY_MATRIX a public API. It had @UnsupportedAppUsage, and it is a useful thing to have. Replace printShortString with dump, to match Point#dump (added in I5e25dbbe47b3c690d7d763a0082beb8d8a9c86d3) and others. Make this public as well. Remove @UnsupportedAppUsage from native_instance, which appears to be a false positive (no usage found on the dashboard). Also make it private, forcing other classes to call ni(). Document why ni() needs to be @hide (usage by classes outside the package but inside the module). Also add a FIXME that PdfRenderer should *not* be calling it, since we plan for it to be outside the module. Make toShortString(StringBuilder) private. Switch its only external client to the public version. (While I see a few public "toShortString()" methods in the public API, I do not see any that take a StringBuilder parameter.) Fix a typo. Change-Id: I356fb6729764f1777830fc3a91216e869bf6de16
* Refactors and a potential public API for renderingJohn Reck2018-11-081-3/+5
| | | | | | | | | | | | | Split out the View/ViewRootImpl bits from the hardware rendering bits. Create a potential public API surface for hardware rendering Bug: 112709971 Test: builds & boots Change-Id: I9e6f44b07a170574a905f42338282c4bb7e95f56
* Rename & package shuffleJohn Reck2018-10-041-1/+1
| | | | | | | | | | Rename DisplayListCanvas -> RecordingCanvas Move RecordingCanvas to android.graphics Move RenderNode to android.graphics Bug: 112709971 Test: make & boot Change-Id: Iddeb6a89f8923ea81a1f37bbee4e9b1db8ede238
* Rename HardwareLayer -> TextureLayerJohn Reck2018-02-211-0/+152
Update name to reflect meaning/usage Change-Id: Iddb3621cbca147f96faa83380867baa49c382aab Fixes: 20461288 Test: builds & boots