/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
StringTexture.java | 44 public static TextPaint getDefaultPaint(float textSize, int color) { 46 paint.setTextSize(textSize); 54 String text, float textSize, int color) { 55 return newInstance(text, getDefaultPaint(textSize, color)); 59 String text, float textSize, int color, 61 TextPaint paint = getDefaultPaint(textSize, color);
|
MultiLineTexture.java | 38 String text, int maxWidth, float textSize, int color, 40 TextPaint paint = StringTexture.getDefaultPaint(textSize, color);
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
FontPlatformDataLinux.h | 84 FontPlatformData(float textSize, bool fakeBold, bool fakeItalic) 86 , m_textSize(textSize) 95 FontPlatformData(SkTypeface*, const char* name, float textSize, bool fakeBold, bool fakeItalic, FontOrientation = Horizontal, TextOrientation = TextOrientationVerticalRight); 96 FontPlatformData(const FontPlatformData& src, float textSize);
|
FontPlatformDataLinux.cpp | 86 FontPlatformData::FontPlatformData(SkTypeface* tf, const char* family, float textSize, bool fakeBold, bool fakeItalic, FontOrientation orientation, TextOrientation textOrientation) 89 , m_textSize(textSize) 100 FontPlatformData::FontPlatformData(const FontPlatformData& src, float textSize) 103 , m_textSize(textSize)
|
/frameworks/base/core/jni/android/graphics/ |
HarfbuzzSkia.h | 52 SkScalar textSize;
|
TextLayoutCache.cpp | 222 dirFlags(0), typeface(NULL), textSize(0), textSkewX(0), textScaleX(0), flags(0), 231 textSize = paint->getTextSize(); 246 textSize(other.textSize), 269 if (lhs.textSize < rhs.textSize) return -1; 270 if (lhs.textSize > rhs.textSize) return +1; 357 fontData->textSize = paint->getTextSize();
|
/frameworks/base/libs/hwui/ |
TextDropShadowCache.h | 35 ShadowText(): radius(0), len(0), textSize(0.0f), typeface(NULL) { 43 textSize = paint->getTextSize(); 63 float textSize; 79 LTE_FLOAT(textSize) {
|
/external/skia/samplecode/ |
SampleLCD.cpp | 32 SkScalar textSize = SkIntToScalar(6); 41 paint.setTextSize(textSize); 42 textSize += delta;
|
/frameworks/base/core/java/com/android/internal/widget/ |
DialogTitle.java | 61 final int textSize = a.getDimensionPixelSize( 63 if (textSize != 0) { 64 // textSize is already expressed in pixels 65 setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize);
|
/external/webkit/Source/WebKit/android/nav/ |
CachedInput.h | 82 void setTextSize(float textSize) { mTextSize = textSize; } 84 float textSize() const { return mTextSize; }
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
FontPlatformData.h | 55 FontPlatformData(SkTypeface*, float textSize, bool fakeBold, bool fakeItalic); 56 FontPlatformData(const FontPlatformData& src, float textSize);
|
FontPlatformDataAndroid.cpp | 100 FontPlatformData::FontPlatformData(SkTypeface* tf, float textSize, bool fakeBold, bool fakeItalic) 101 : mTypeface(tf), mTextSize(textSize), mFakeBold(fakeBold), mFakeItalic(fakeItalic) 111 FontPlatformData::FontPlatformData(const FontPlatformData& src, float textSize) 112 : mTypeface(src.mTypeface), mTextSize(textSize), mFakeBold(src.mFakeBold), mFakeItalic(src.mFakeItalic),
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
LoadAverageService.java | 99 int textSize = 10; 102 textSize = 9; 104 textSize = (int)(10*density); 105 if (textSize < 10) { 106 textSize = 10; 111 mLoadPaint.setTextSize(textSize); 116 mAddedPaint.setTextSize(textSize); 122 mRemovedPaint.setTextSize(textSize); 127 mShadowPaint.setTextSize(textSize); 134 mShadow2Paint.setTextSize(textSize); [all...] |
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
BiDiTestView.java | 140 boolean isItalic, boolean isBold, int dir, int textSize) { 154 paint.setTextSize(textSize); 166 drawMetricsAroundText(canvas, x, y, textWidthHB, textWidthICU, textSize, Color.RED, Color.GREEN); 189 float textWidthICU, int textSize, int color, int colorICU) { 192 canvas.drawLine(x, y - textSize, x, y + 8, paint); 194 canvas.drawLine(x + textWidthHB, y - textSize, x + textWidthHB, y + 8, paint); 196 canvas.drawLine(x + textWidthICU, y - textSize, x + textWidthICU, y + 8, paint);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
LabelView.java | 76 int textSize = a.getDimensionPixelOffset(R.styleable.LabelView_textSize, 0); 77 if (textSize > 0) { 78 setTextSize(textSize);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
LatinKeyboard.java | 206 private static int getTextWidth(Paint paint, String text, float textSize, Rect bounds) { 207 paint.setTextSize(textSize); 221 float textSize = origTextSize * Math.min(width / textWidth, 1.0f); 223 textWidth = getTextWidth(paint, language, textSize, bounds); 225 final boolean useMiddleName = (textSize / origTextSize < MINIMUM_SCALE_OF_LANGUAGE_NAME) 232 textSize = origTextSize * Math.min(width / textWidth, 1.0f); 233 useShortName = (textSize / origTextSize < MINIMUM_SCALE_OF_LANGUAGE_NAME) 242 textSize = origTextSize * Math.min(width / textWidth, 1.0f); 244 paint.setTextSize(textSize); 334 style, new int[] { android.R.attr.textSize }); [all...] |
/external/icu4c/test/perf/ubrkperf/ |
ubrkperf.cpp | 90 UniCharCount startOffset = 0, breakOffset = 0, numUniChars = textSize; 130 int32_t timePerCU = (int)(float(1000) * ((float)loopTime/(float)textSize)); 133 printf("number of code units %d average time per code unit %d\n", textSize, timePerCU); 136 printf("time=%d\nevents=%d\nsize=%d\n", elapsedTime, noBreaks, textSize);
|
ubrkperfold.cpp | 164 int32_t textSize = 0; 289 brkit->setText(UnicodeString(text, textSize)); 316 UniCharCount startOffset = 0, breakOffset = 0, numUniChars = textSize; 356 int32_t timePerCU = (int)(float(1000) * ((float)loopTime/(float)textSize)); 359 printf("number of code units %d average time per code unit %d\n", textSize, timePerCU); 362 printf("time=%d\nevents=%d\nsize=%d\n", elapsedTime, noBreaks, textSize); 374 brkit->setText(UnicodeString(text, textSize)); 376 for(j = 0; j < textSize; j++) { 390 for(j = 0; j < textSize; j++) { 400 int32_t timePerCU = (int)(float(1000) * ((float)loopTime/(float)textSize)); [all...] |
/external/svox/pico/lib/ |
picoctrl.h | 68 picoos_int16 textSize,
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
CustomBar.java | 225 ResourceValue textSize = res.findItemInStyle(textStyle, "textSize"); 226 textSize = res.resolveResValue(textSize); 228 if (textSize != null) { 230 if (ResourceHelper.parseFloatAttribute("textSize", textSize.getValue(), out,
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
CandidateView.java | 370 int textSize = 1; 371 mCandidatesPaint.setTextSize(textSize); 374 textSize++; 375 mCandidatesPaint.setTextSize(textSize); 379 mImeCandidateTextSize = textSize; 380 mRecommendedCandidateTextSize = textSize * 3 / 4; 392 textSize = 1; 393 mFootnotePaint.setTextSize(textSize); 396 textSize++; 397 mFootnotePaint.setTextSize(textSize); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PurgeableBitmapView.java | 50 private final int textSize = 32; 63 mPaint.setTextSize(textSize);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
StringUtils.java | 180 final int textSize = (int)p.measureText(text);
181 if (textSize > maxSize) {
|
/external/skia/src/animator/ |
SkDrawPaint.h | 70 SkScalar textSize;
|
SkDrawPaint.cpp | 66 SK_MEMBER(textSize, Float), 82 textAlign((SkPaint::Align) -1), textScaleX(SK_ScalarNaN), textSize(SK_ScalarNaN), 265 if (SkScalarIsNaN(textSize) == false) 266 paint->setTextSize(textSize);
|