summaryrefslogtreecommitdiff
path: root/libs/hwui/tests/common/scenes/RectGridAnimation.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
2019-08-29use rect version of join, the other is deprecatedMike Reed
Test: make Change-Id: I29f4ff6cea209ac5c053a525ff06cd1bfea6c9c0
2019-07-29pass Paint not SkPaint to CanvasMike Reed
Test: cts Change-Id: I9a3314bc3f221b6e884c8c84d7b0241f7c5be600
2017-11-03Format the world (or just HWUI)John Reck
Test: No code changes, just ran through clang-format Change-Id: Id23aa4ec7eebc0446fe3a30260f33e7fd455bb8c
2016-10-13use SkBlendMode instead of SkXfermodeMike Reed
use sk_sp versions of paint setters/getters Change-Id: I86591a0a8ec92e6039776cbf00424ea24f585b28
2016-07-28Use Canvas::create_recording_canvas instead of RecordingCanvas ctorStan Iliev
Modify HWUI tests to support different recording canvases. Delete TestCanvas class and use base Canvas class instead. Use Canvas::create_recording_canvas to create recording canvas instances instead of RecordingCanvas constructor. Change-Id: I651fb9bb4add0874d7110bac467a2eb1012357fc
2015-12-07Build hwui test scenes as common test codeChris Craik
And start using them in other non-macrobench tests Change-Id: If155b531f3c89f97491001c06d1996df527b9f85
2015-12-02Reorganize hwui test directoriesChris Craik
Now test-only common files reside in tests/common, and each test executable type (macrobench, microbench, and unit) has a subdir there. This change means the shared lib no longer has test code in it, and sets up a means for scenes to be shared between tests. Change-Id: I37b081f6977300e03fdd961b8e6439fde730605e