diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2011-03-30 18:39:38 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-03-30 18:39:38 -0700 |
commit | 0fb1ac0038c9e67b5f321aa2ec7f7bfec5db6db2 (patch) | |
tree | 789ce1deb94cfe77d1dc1d3361db36a6c759c8ea /core/jni/android | |
parent | 47015057b1d03b7605487e2f94d563c976321cd5 (diff) | |
parent | 99e95b0e1228dfeb2813590eedbef877ed2bd421 (diff) | |
download | frameworks_base-0fb1ac0038c9e67b5f321aa2ec7f7bfec5db6db2.zip frameworks_base-0fb1ac0038c9e67b5f321aa2ec7f7bfec5db6db2.tar.gz frameworks_base-0fb1ac0038c9e67b5f321aa2ec7f7bfec5db6db2.tar.bz2 |
Merge "Code cleaning - suppress non useful code"
Diffstat (limited to 'core/jni/android')
-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 36b7404..bced40c 100644 --- a/core/jni/android/graphics/TextLayoutCache.h +++ b/core/jni/android/graphics/TextLayoutCache.h @@ -258,21 +258,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) { |