summaryrefslogtreecommitdiff
path: root/libs/hwui/tests/common/scenes/MagnifierAnimation.cpp
AgeCommit message (Collapse)Author
2020-05-06Switch Java calls to enableZ and disableZ; remove isRecordingForLeon Scroggins III
Bug: 155422223 Test: make insertInOrderBarrier and insertReorderBarrier are @hide and deprecated. Remove them and update all callers to enableZ and disableZ, which are already public. Update native code to refer to enableZ instead of insertReorderBarrier. In addition, remove @hide Canvas#isRecordingFor. This method was originally used to prevent a single RenderNode from being in two display lists. This is now supported, so there's no reason to avoid it. The one caller used it to determine whether to reorder drawing its child Views (which, as the comment says, makes sense to determine based on whether the Canvas isHardwareAccelerated) and whether to call insertReorderBarrier/insertInOrderBarrier (now enableZ/disableZ). In the latter case, there is no need for a conditional, since enableZ/disableZ only work on a hardware Canvas. Change-Id: Ib216a19d6aeff40b2e23532bacd62d1795c2ab27
2020-02-14[HWUI] Remove references to gui/Surface.Alec Mouri
ANativeWindow usage now has enough feature parity so that we can use that instead. Bug: 137012798 Test: builds Test: Scroll through settings Change-Id: I0054315058b28bcb5e779a6f71a3cfb164625a5f
2019-01-24Store SkFont in android::PaintMike Reed
Test: CTS Change-Id: I974fad5a7a8cf54007f0a30f4fe4ae6eb6e01ae1
2018-01-03Refactor TestUtils::drawUtf8ToCanvas usage in macrobench testsStan Iliev
Set text encoding inside TestUtils::drawUtf8ToCanvas and use TestUtils::drawUtf8ToCanvas instead Canvas::drawText. This CL is a follow-up of ag/3287411. Test: Ran macrobench tests Change-Id: I1b2f014d17f26ccc8fbdae9cfeea4ac25fd4c51f
2017-11-10Create magnifier bench sceneJohn Reck
Test: this Change-Id: Iea1033fda55ff0946b5cd8d28ecba29453b937ca