diff options
author | Andreas Gampe <agampe@google.com> | 2014-11-21 14:19:06 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-11-21 14:19:06 -0800 |
commit | 2ab8298dc37851aab4623ba3f98d71055d653a73 (patch) | |
tree | e31d76f1c16ec8e980983392b09287515bcec2f1 /libs/hwui/tests | |
parent | 4c9041cf837cda13c749b148661d18c3fab0fbd6 (diff) | |
parent | 99377df12ee696e01cd9071132f122801a9862ce (diff) | |
download | frameworks_base-2ab8298dc37851aab4623ba3f98d71055d653a73.zip frameworks_base-2ab8298dc37851aab4623ba3f98d71055d653a73.tar.gz frameworks_base-2ab8298dc37851aab4623ba3f98d71055d653a73.tar.bz2 |
resolved conflicts for merge of 99377df1 to lmp-mr1-dev-plus-aosp
Change-Id: I3a98f55832ac447b1ed0dd129c7a93d088025943
Diffstat (limited to 'libs/hwui/tests')
-rw-r--r-- | libs/hwui/tests/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/tests/main.cpp b/libs/hwui/tests/main.cpp index 2d99e9f..d847d13 100644 --- a/libs/hwui/tests/main.cpp +++ b/libs/hwui/tests/main.cpp @@ -66,7 +66,7 @@ sp<RenderNode> createCard(int x, int y, int width, int height) { return node; } -int main(int argc, char* argv[]) { +int main() { createTestEnvironment(); // create the native surface @@ -111,7 +111,7 @@ int main(int argc, char* argv[]) { for (int i = 0; i < 150; i++) { ATRACE_NAME("UI-Draw Frame"); - for (int ci = 0; ci < cards.size(); ci++) { + for (size_t ci = 0; ci < cards.size(); ci++) { cards[ci]->mutateStagingProperties().setTranslationX(i); cards[ci]->mutateStagingProperties().setTranslationY(i); cards[ci]->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); |