/cts/tests/tests/text/src/android/text/style/cts/ |
RelativeSizeSpanTest.java | 56 float oldSize = tp.getTextSize(); 58 assertEquals(2.0f * proportion, tp.getTextSize()); 62 oldSize = tp.getTextSize(); 64 assertEquals(oldSize * proportion, tp.getTextSize()); 80 float oldSize = tp.getTextSize(); 82 assertEquals(oldSize * proportion, tp.getTextSize()); 86 oldSize = tp.getTextSize(); 88 assertEquals(oldSize * proportion, tp.getTextSize());
|
AbsoluteSizeSpanTest.java | 55 assertEquals(1.0f, tp.getTextSize()); 59 assertEquals(10.0f, tp.getTextSize()); 75 assertEquals(2.0f, tp.getTextSize()); 80 assertEquals(20.0f, tp.getTextSize());
|
TextAppearanceSpanTest.java | 85 assertEquals((float) 1, tp.getTextSize()); 89 assertEquals((float) 6, tp.getTextSize()); 113 assertEquals(-1, textAppearanceSpan.getTextSize()); 116 assertEquals(-1, textAppearanceSpan.getTextSize()); 123 assertEquals(6, textAppearanceSpan.getTextSize());
|
/frameworks/base/core/java/android/text/style/ |
RelativeSizeSpan.java | 54 ds.setTextSize(ds.getTextSize() * mProportion); 59 ds.setTextSize(ds.getTextSize() * mProportion);
|
/external/skia/gm/ |
gradtext.cpp | 122 canvas->translate(0, paint.getTextSize() * 4/3); 125 canvas->translate(0, paint.getTextSize() * 4/3); 138 canvas->translate(SkIntToScalar(20), paint.getTextSize()); 144 canvas->translate(0, paint.getTextSize() * 2); 149 canvas->translate(0, paint.getTextSize() * 2);
|
shadertext2.cpp | 129 canvas->translate(0, bmp.height() + labelPaint.getTextSize() + 15.f); 140 0, labelPaint.getTextSize() - 1, labelPaint); 158 0, labelPaint.getTextSize() - 1, labelPaint);
|
gammatext.cpp | 80 CGContextSetFontSize(cg, SkScalarToFloat(paint.getTextSize())); 184 y += paint.getTextSize() * 2;
|
arithmode.cpp | 65 canvas->drawText(str.c_str(), str.size(), x, y + paint.getTextSize(), paint);
|
twopointradial.cpp | 39 bounds.fLeft, bounds.fTop - paint.getTextSize()/2, paint);
|
drawbitmaprect.cpp | 138 blackPaint.getTextSize() + SK_Scalar1 * 3;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
TypefaceUtils.java | 75 final int labelSize = (int)paint.getTextSize();
|
/frameworks/base/graphics/java/android/graphics/ |
Paint.java | [all...] |
/developers/build/prebuilts/gradle/RenderScriptIntrinsic/RenderScriptIntrinsicSample/src/main/java/com/example/android/renderscriptintrinsic/ |
ThumbnailRadioButton.java | 101 paint.setTextSize(getTextSize());
|
/developers/samples/android/renderScript/RenderScriptIntrinsic/RenderScriptIntrinsicSample/src/main/java/com/example/android/renderscriptintrinsic/ |
ThumbnailRadioButton.java | 101 paint.setTextSize(getTextSize());
|
/frameworks/base/libs/hwui/ |
TextDropShadowCache.h | 47 textSize = paint->getTextSize();
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
CandidateView.java | 144 final int desiredHeight = ((int)mPaint.getTextSize()) + mVerticalPadding 179 final int y = (int) (((height - mPaint.getTextSize()) / 2) - mPaint.ascent());
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationItemViewCoordinates.java | 403 sendersFontSize = senders.getTextSize(); 416 subjectFontSize = subject.getTextSize(); 431 foldersFontSize = folders.getTextSize(); 474 dateFontSize = date.getTextSize(); 494 overflowFontSize = overflow.getTextSize();
|
/external/skia/bench/ |
TextBench.cpp | 81 fName.printf("text_%g", SkScalarToFloat(fPaint.getTextSize()));
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerView.java | 87 paint.setTextSize(textView.getTextSize());
|
CountingTimerView.java | 453 mPaintBigThin.setTextSize(mPaintBigThin.getTextSize() * sizeRatio); 454 mPaintMed.setTextSize(mPaintMed.getTextSize() * sizeRatio); 456 mTextHeight = mPaintBigThin.getTextSize();
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebSettingsTest.java | 450 assertEquals(TextSize.NORMAL, mSettings.getTextSize()); 453 assertEquals(TextSize.LARGER, mSettings.getTextSize()); 456 assertEquals(TextSize.LARGEST, mSettings.getTextSize()); 459 assertEquals(TextSize.SMALLER, mSettings.getTextSize()); 462 assertEquals(TextSize.SMALLEST, mSettings.getTextSize()); [all...] |
/external/skia/tools/lua/ |
glyph-usage.lua | 67 return paint:getFontID() * 1000 + paint:getTextSize()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PaintTest.java | 456 assertEquals(1.0f, p.getTextSize()); 459 assertEquals(2.0f, p.getTextSize()); 463 assertEquals(2.0f, p.getTextSize()); 467 assertEquals(0.0f, p.getTextSize());
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Xfermodes.java | 158 x + W/2, y - labelP.getTextSize()/2, labelP);
|
/external/chromium_org/third_party/skia/src/views/ |
SkTextBox.cpp | 257 SkScalar spacing = SkScalarMul(fPaint->getTextSize(), fSpacingMul) + fSpacingAdd;
|