diff options
| author | 2011-03-30 17:59:19 -0700 | |
|---|---|---|
| committer | 2011-03-30 17:59:19 -0700 | |
| commit | 99e95b0e1228dfeb2813590eedbef877ed2bd421 (patch) | |
| tree | 1cc48eb6d8fefa4bddbbc74fbbd23a667c61d472 | |
| parent | 790ac975d2dec3340f2e564b7ed356a1ec4a6412 (diff) | |
Code cleaning - suppress non useful code
Change-Id: I3f3bffdd1f5d64a6b601d56bee3b5fc8147086bd
| -rw-r--r-- | core/jni/android/graphics/TextLayoutCache.h | 15 |
1 files changed, 0 insertions, 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) { |