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

1 2 3 4 5

  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
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 39 String text, int maxWidth, float textSize, int color,
41 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/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 57 FontPlatformData(SkTypeface*, float textSize, bool fakeBold, bool fakeItalic,
59 FontPlatformData(const FontPlatformData& src, float textSize);
FontPlatformDataAndroid.cpp 103 FontPlatformData::FontPlatformData(SkTypeface* tf, float textSize, bool fakeBold, bool fakeItalic,
105 : m_typeface(tf), m_textSize(textSize), m_emSizeInFontUnits(0), m_fakeBold(fakeBold), m_fakeItalic(fakeItalic),
116 FontPlatformData::FontPlatformData(const FontPlatformData& src, float textSize)
117 : m_typeface(src.m_typeface), m_textSize(textSize), m_emSizeInFontUnits(src.m_emSizeInFontUnits), m_fakeBold(src.m_fakeBold), m_fakeItalic(src.m_fakeItalic),
  /packages/apps/Camera/src/com/android/camera/drawable/
TextDrawable.java 45 float textSize = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP,
47 mPaint.setTextSize(textSize);
  /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...]
  /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);
  /frameworks/base/libs/hwui/
TextDropShadowCache.h 34 ShadowText(): len(0), radius(0.0f), textSize(0.0f), typeface(NULL),
45 textSize = paint->getTextSize();
85 float textSize;
TextDropShadowCache.cpp 36 hash = JenkinsHashMix(hash, android::hash_type(textSize));
65 if (lhs.textSize < rhs.textSize) return -1;
66 if (lhs.textSize > rhs.textSize) return +1;
  /sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/
DropDownEditor.java 38 final float textSize = v.getResources().getDimensionPixelSize(R.dimen.editor_text_size);
47 v.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize);
56 v.setTextSize(TypedValue.COMPLEX_UNIT_PX, 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,
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DetermineFovActivity.java 218 float textSize = TEXT_SIZE * DetermineFovActivity.this.getResources()
220 paint.setTextSize(textSize);
221 canvas.drawText(mMeasuredText + " " + mFovDegrees + " degrees.", textSize,
222 2 * textSize * (1.0f + TEXT_PADDING), paint);
224 textSize, textSize * (1.0f + TEXT_PADDING), paint);
  /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/Gallery2/src/com/android/camera/drawable/
TextDrawable.java 49 float textSize = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP,
51 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/legacy/src/animator/
SkDrawPaint.h 62 SkScalar textSize;
  /external/skia/src/animator/
SkDrawPaint.h 62 SkScalar textSize;
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
CustomBar.java 269 ResourceValue textSize = res.findItemInStyle(textStyle, "textSize",
271 textSize = res.resolveResValue(textSize);
273 if (textSize != null) {
275 if (ResourceHelper.parseFloatAttribute("textSize", textSize.getValue(), out,

Completed in 1934 milliseconds

1 2 3 4 5