Frameworks/base: Unused parameters in hwui

Remove Clang cutout for unused parameters. Fix warnings.

Remove Clang cutout for deprecated Skia function usage. Has been
fixed in the L push.

Change-Id: I7ea073ff67127cc1e14e798b655e2c50615fe8e7
diff --git a/libs/hwui/SpotShadow.cpp b/libs/hwui/SpotShadow.cpp
index dbedf94..576ba0e 100644
--- a/libs/hwui/SpotShadow.cpp
+++ b/libs/hwui/SpotShadow.cpp
@@ -912,6 +912,8 @@
         angleDataList[i].set(currentAngle, isPenumbra, i);
 #if DEBUG_SHADOW
         ALOGD("%s AngleList i %d %f", name, i, currentAngle);
+#else
+        (void)name;
 #endif
     }
     return maxAngleIndex;
@@ -941,6 +943,8 @@
         if (currentAngle < nextAngle) {
 #if DEBUG_SHADOW
             ALOGE("%s, is not CW, at index %d", name, currentIndex);
+#else
+            (void)name;
 #endif
             return false;
         }
@@ -1378,7 +1382,7 @@
 /**
  * Generate a triangle strip given two convex polygon
 **/
-void SpotShadow::generateTriangleStrip(bool isCasterOpaque, float shadowStrengthScale,
+void SpotShadow::generateTriangleStrip(bool isCasterOpaque, float /* shadowStrengthScale */,
         Vector2* penumbra, int penumbraLength, Vector2* umbra, int umbraLength,
         const Vector3* poly, int polyLength, VertexBuffer& shadowTriangleStrip,
         const Vector2& centroid) {