From 99e95b0e1228dfeb2813590eedbef877ed2bd421 Mon Sep 17 00:00:00 2001 From: Fabrice Di Meglio Date: Wed, 30 Mar 2011 17:59:19 -0700 Subject: Code cleaning - suppress non useful code Change-Id: I3f3bffdd1f5d64a6b601d56bee3b5fc8147086bd --- core/jni/android/graphics/TextLayoutCache.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/core/jni/android/graphics/TextLayoutCache.h b/core/jni/android/graphics/TextLayoutCache.h index 31d802cdb1c6..b57286592be7 100644 --- a/core/jni/android/graphics/TextLayoutCache.h +++ b/core/jni/android/graphics/TextLayoutCache.h @@ -249,21 +249,6 @@ public: } } -#define SkAutoKern_AdjustF(prev, next) (((next) - (prev) + 32) >> 6 << 16) - - static int adjust(int prev, int next) { - int delta = next - prev; - if (delta >= 32) { - return -1; - } - else if (delta < -32) { - return +1; - } - else { - return 0; - } - } - static void computeAdvancesWithHarfbuzz(SkPaint* paint, const UChar* chars, size_t start, size_t count, size_t contextCount, int dirFlags, jfloat* outAdvances, jfloat* outTotalAdvance) { -- cgit v1.2.3-59-g8ed1b