HomeSort by relevance Sort by last modified time
    Searched refs:textSize (Results 1 - 25 of 87) sorted by null

1 2 3 4

  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
StringTexture.java 45 public static TextPaint getDefaultPaint(float textSize, int color) {
47 paint.setTextSize(textSize);
55 String text, float textSize, int color) {
56 return newInstance(text, getDefaultPaint(textSize, color));
60 String text, float textSize, int color,
62 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/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 39 SkScalar textSize = SkIntToScalar(6);
48 paint.setTextSize(textSize);
49 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/WebCore/platform/graphics/android/fonts/
FontPlatformData.h 56 FontPlatformData(SkTypeface*, float textSize, bool fakeBold, bool fakeItalic,
58 FontPlatformData(const FontPlatformData& src, float textSize);
FontPlatformDataAndroid.cpp 104 FontPlatformData::FontPlatformData(SkTypeface* tf, float textSize, bool fakeBold, bool fakeItalic,
106 : mTypeface(tf), mTextSize(textSize), mEmSizeInFontUnits(0), mFakeBold(fakeBold), mFakeItalic(fakeItalic),
117 FontPlatformData::FontPlatformData(const FontPlatformData& src, float textSize)
118 : mTypeface(src.mTypeface), mTextSize(textSize), mEmSizeInFontUnits(src.mEmSizeInFontUnits), 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 146 boolean isItalic, boolean isBold, int dir, int textSize) {
160 paint.setTextSize(textSize);
172 drawMetricsAroundText(canvas, x, y, textWidthHB, textWidthICU, textSize, Color.RED, Color.GREEN);
195 float textWidthICU, int textSize, int color, int colorICU) {
198 canvas.drawLine(x, y - textSize, x, y + 8, paint);
200 canvas.drawLine(x + textWidthHB, y - textSize, x + textWidthHB, y + 8, paint);
202 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);
  /sdk/testapps/customViewTest/libWithCustomView/src/com/android/tests/libwithcustom/
LabelView.java 75 int textSize = a.getDimensionPixelOffset(R.styleable.LabelView_textSize, 0);
76 if (textSize > 0) {
77 setTextSize(textSize);
  /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,
picoapi.h 375 'textSize' is the maximum size in number of bytes accessible in
391 const pico_Int16 textSize,
  /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...]
SoftKeyboardView.java 243 float textSize;
255 textSize = env
263 textSize, true, mSoftKeyDown.getColorHl(),
289 textSize = env
297 textSize, mSoftKeyDown.needBalloon(), mSoftKeyDown
  /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 62 SkScalar textSize;
SkDrawPaint.cpp 58 SK_MEMBER(textSize, Float),
74 textAlign((SkPaint::Align) -1), textScaleX(SK_ScalarNaN), textSize(SK_ScalarNaN),
257 if (SkScalarIsNaN(textSize) == false)
258 paint->setTextSize(textSize);
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
CustomBar.java 265 ResourceValue textSize = res.findItemInStyle(textStyle, "textSize",
267 textSize = res.resolveResValue(textSize);
269 if (textSize != null) {
271 if (ResourceHelper.parseFloatAttribute("textSize", textSize.getValue(), out,
  /development/samples/ApiDemos/src/com/example/android/apis/accessibility/
CustomViewAccessibilityActivity.java 217 context.getTheme().resolveAttribute(android.R.attr.textSize, typedValue, true);
218 final int textSize = (int) typedValue.getDimension(
220 mTextPaint.setTextSize(textSize);

Completed in 4296 milliseconds

1 2 3 4