diff options
author | Steve Block <steveblock@google.com> | 2012-01-06 19:20:56 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2012-01-08 13:19:13 +0000 |
commit | 3762c311729fe9f3af085c14c5c1fb471d994c03 (patch) | |
tree | 7d4caccad80ac7327c7bff96dafc857d5f4631ad /services/input/SpriteController.cpp | |
parent | 7a939077bd14521c7d351af98df7ed75a8ec9c15 (diff) | |
download | frameworks_base-3762c311729fe9f3af085c14c5c1fb471d994c03.zip frameworks_base-3762c311729fe9f3af085c14c5c1fb471d994c03.tar.gz frameworks_base-3762c311729fe9f3af085c14c5c1fb471d994c03.tar.bz2 |
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/157220
Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
Diffstat (limited to 'services/input/SpriteController.cpp')
-rw-r--r-- | services/input/SpriteController.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/services/input/SpriteController.cpp b/services/input/SpriteController.cpp index 0ae2ab8..b15d4c8 100644 --- a/services/input/SpriteController.cpp +++ b/services/input/SpriteController.cpp @@ -160,7 +160,7 @@ void SpriteController::doUpdateSprites() { status_t status = update.state.surfaceControl->setSize(desiredWidth, desiredHeight); if (status) { - LOGE("Error %d resizing sprite surface from %dx%d to %dx%d", + ALOGE("Error %d resizing sprite surface from %dx%d to %dx%d", status, update.state.surfaceWidth, update.state.surfaceHeight, desiredWidth, desiredHeight); } else { @@ -172,7 +172,7 @@ void SpriteController::doUpdateSprites() { if (update.state.surfaceVisible) { status = update.state.surfaceControl->hide(); if (status) { - LOGE("Error %d hiding sprite surface after resize.", status); + ALOGE("Error %d hiding sprite surface after resize.", status); } else { update.state.surfaceVisible = false; } @@ -200,7 +200,7 @@ void SpriteController::doUpdateSprites() { Surface::SurfaceInfo surfaceInfo; status_t status = surface->lock(&surfaceInfo); if (status) { - LOGE("Error %d locking sprite surface before drawing.", status); + ALOGE("Error %d locking sprite surface before drawing.", status); } else { SkBitmap surfaceBitmap; ssize_t bpr = surfaceInfo.s * bytesPerPixel(surfaceInfo.format); @@ -228,7 +228,7 @@ void SpriteController::doUpdateSprites() { status = surface->unlockAndPost(); if (status) { - LOGE("Error %d unlocking and posting sprite surface after drawing.", status); + ALOGE("Error %d unlocking and posting sprite surface after drawing.", status); } else { update.state.surfaceDrawn = true; update.surfaceChanged = surfaceChanged = true; @@ -260,7 +260,7 @@ void SpriteController::doUpdateSprites() { && (becomingVisible || (update.state.dirty & DIRTY_ALPHA))) { status = update.state.surfaceControl->setAlpha(update.state.alpha); if (status) { - LOGE("Error %d setting sprite surface alpha.", status); + ALOGE("Error %d setting sprite surface alpha.", status); } } @@ -271,7 +271,7 @@ void SpriteController::doUpdateSprites() { update.state.positionX - update.state.icon.hotSpotX, update.state.positionY - update.state.icon.hotSpotY); if (status) { - LOGE("Error %d setting sprite surface position.", status); + ALOGE("Error %d setting sprite surface position.", status); } } @@ -284,7 +284,7 @@ void SpriteController::doUpdateSprites() { update.state.transformationMatrix.dsdy, update.state.transformationMatrix.dtdy); if (status) { - LOGE("Error %d setting sprite surface transformation matrix.", status); + ALOGE("Error %d setting sprite surface transformation matrix.", status); } } @@ -293,14 +293,14 @@ void SpriteController::doUpdateSprites() { && (becomingVisible || (update.state.dirty & DIRTY_LAYER))) { status = update.state.surfaceControl->setLayer(surfaceLayer); if (status) { - LOGE("Error %d setting sprite surface layer.", status); + ALOGE("Error %d setting sprite surface layer.", status); } } if (becomingVisible) { status = update.state.surfaceControl->show(surfaceLayer); if (status) { - LOGE("Error %d showing sprite surface.", status); + ALOGE("Error %d showing sprite surface.", status); } else { update.state.surfaceVisible = true; update.surfaceChanged = surfaceChanged = true; @@ -308,7 +308,7 @@ void SpriteController::doUpdateSprites() { } else if (becomingHidden) { status = update.state.surfaceControl->hide(); if (status) { - LOGE("Error %d hiding sprite surface.", status); + ALOGE("Error %d hiding sprite surface.", status); } else { update.state.surfaceVisible = false; update.surfaceChanged = surfaceChanged = true; @@ -372,7 +372,7 @@ sp<SurfaceControl> SpriteController::obtainSurface(int32_t width, int32_t height String8("Sprite"), 0, width, height, PIXEL_FORMAT_RGBA_8888); if (surfaceControl == NULL || !surfaceControl->isValid() || !surfaceControl->getSurface()->isValid()) { - LOGE("Error creating sprite surface."); + ALOGE("Error creating sprite surface."); return NULL; } return surfaceControl; |