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

1 2 3 4 5 6

  /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/chromium_org/third_party/skia/gm/
imageblur2.cpp 56 const SkScalar textSize = 12;
71 textPaint.setTextSize(textSize);
77 SkIntToScalar(y * dy + textSize * i + textSize),
coloremoji.cpp 56 const int textSize[] = { 10, 30, 50 };
58 SkASSERT(sizeof(textSize) == sizeof(textYOffset));
59 for (size_t y = 0; y < sizeof(textSize) / sizeof(int); ++y) {
60 paint.setTextSize(SkIntToScalar(textSize[y]));
  /external/chromium_org/third_party/skia/samplecode/
SampleLCD.cpp 39 SkScalar textSize = SkIntToScalar(6);
48 paint.setTextSize(textSize);
49 textSize += delta;
  /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 64 final int textSize = a.getDimensionPixelSize(
66 if (textSize != 0) {
67 // textSize is already expressed in pixels
68 setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize);
  /external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
content_editable_extractor.js 74 var textSize = 0;
108 textSize > 0 &&
112 textSize++;
128 selectionStartIndex = textSize;
138 selectionEndIndex = textSize;
149 lines[lineIndex].endIndex = textSize;
151 lines[lineIndex] = {startIndex: textSize, endIndex: textSize};
155 textSize++;
159 selectionStartIndex = textSize;
    [all...]
  /external/skia/gm/
coloremoji.cpp 62 const int textSize[] = { 10, 30, 50 };
64 SkASSERT(sizeof(textSize) == sizeof(textYOffset));
65 for (size_t y = 0; y < sizeof(textSize) / sizeof(int); ++y) {
66 paint.setTextSize(SkIntToScalar(textSize[y]));
  /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 36 ShadowText(): len(0), radius(0.0f), textSize(0.0f), typeface(NULL),
47 textSize = paint->getTextSize();
87 float textSize;
TextDropShadowCache.cpp 37 hash = JenkinsHashMix(hash, android::hash_type(textSize));
66 if (lhs.textSize < rhs.textSize) return -1;
67 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/chromium_org/third_party/icu/source/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/icu/icu4c/source/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);
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
CustomBar.java 185 ResourceValue textSize = res.findItemInStyle(textStyle, "textSize",
187 textSize = res.resolveResValue(textSize);
189 if (textSize != null) {
191 if (ResourceHelper.parseFloatAttribute("textSize", textSize.getValue(), out,
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
PurgeableBitmapView.java 50 private final int textSize = 32;
63 mPaint.setTextSize(textSize);
  /packages/apps/Camera2/src/com/android/camera/drawable/
TextDrawable.java 49 float textSize = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP,
51 mPaint.setTextSize(textSize);

Completed in 662 milliseconds

1 2 3 4 5 6