diff options
author | Chris Craik <ccraik@google.com> | 2014-12-11 14:29:51 -0800 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2014-12-11 14:29:51 -0800 |
commit | c2379070a46f208bce490b938e0673ba00373e2e (patch) | |
tree | 03de6d4d7a829847d8b072de23ca0c37d963f472 | |
parent | 596d4e7230ae1858aaafbae7987e46d65181f1bd (diff) | |
download | frameworks_base-c2379070a46f208bce490b938e0673ba00373e2e.zip frameworks_base-c2379070a46f208bce490b938e0673ba00373e2e.tar.gz frameworks_base-c2379070a46f208bce490b938e0673ba00373e2e.tar.bz2 |
Correct layer size formatting in trace
bug:18722704
Change-Id: Icef9aaa62633b2d86ad250f43d4c8fa5cc0b6842
-rw-r--r-- | libs/hwui/RenderNode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/RenderNode.cpp b/libs/hwui/RenderNode.cpp index 810e487..787ee62 100644 --- a/libs/hwui/RenderNode.cpp +++ b/libs/hwui/RenderNode.cpp @@ -429,9 +429,9 @@ void RenderNode::setViewProperties(OpenGLRenderer& renderer, T& handler) { clipFlags = 0; // all clipping done by saveLayer } - ATRACE_FORMAT("%s alpha caused %ssaveLayer %ux%u", + ATRACE_FORMAT("%s alpha caused %ssaveLayer %dx%d", getName(), clipFlags ? "" : "unclipped ", - layerBounds.getWidth(), layerBounds.getHeight()); + (int)layerBounds.getWidth(), (int)layerBounds.getHeight()); SaveLayerOp* op = new (handler.allocator()) SaveLayerOp( layerBounds.left, layerBounds.top, layerBounds.right, layerBounds.bottom, |