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

1 2 3 4 5 6 7 8

  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
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 39 String text, int maxWidth, float textSize, int color,
41 TextPaint paint = StringTexture.getDefaultPaint(textSize, color);
  /external/skia/gm/
imageblur2.cpp 54 const SkScalar textSize = 12;
70 textPaint.setTextSize(textSize);
75 SkIntToScalar(y * dy + textSize * i + textSize),
texteffects.cpp 201 SkScalar uPos, SkScalar uWidth, SkScalar textSize) {
207 if (start > last && last + textSize / 12 < start) {
240 for (SkScalar textSize = 100; textSize > 10; textSize -= 20) {
241 paint.setTextSize(textSize);
242 const SkScalar uWidth = textSize / 15;
254 SkPath underline = create_underline(intersections, start, end, uPos, uWidth, textSize);
258 canvas->translate(0, textSize * 1.3f);
284 for (SkScalar textSize = 100; textSize > 10; textSize -= 20)
    [all...]
  /external/skia/src/core/
SkTextBlobRunIterator.h 32 uint32_t textSize() const;
SkTextBlob.cpp 114 // ... | RunRecord | Glyphs[] | Pos[] | TextSize | Clusters[] | Text[] | ...
117 // To determine the length of the extended run data, the TextSize must be read.
135 RunRecord(uint32_t count, uint32_t textSize, const SkPoint& offset, const SkPaint& font, GlyphPositioning pos)
143 if (textSize > 0) {
145 *this->textSizePtr() = textSize;
177 uint32_t textSize() const { return isExtended() ? *this->textSizePtr() : 0; }
180 // clusters follow the textSize.
190 static size_t StorageSize(int glyphCount, int textSize,
197 if (textSize > 0) { // Extended run.
200 + textSize;
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/widget/
TextSizeHelper.java 92 float textSize = mMaxTextSize;
107 textSize = midTextSize;
113 if (mTextView.getTextSize() != textSize) {
115 mTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize);
  /external/skia/samplecode/
SampleLCD.cpp 37 SkScalar textSize = SkIntToScalar(6);
46 paint.setTextSize(textSize);
47 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);
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
DialogTitle.java 68 final int textSize = a.getDimensionPixelSize(
70 if (textSize != 0) {
71 // textSize is already expressed in pixels
72 setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
CaptionFragment.java 226 final float textSize = Settings.Secure.getFloat(getContext().getContentResolver(),
229 if (0 <= textSize && textSize < .375) {
231 } else if (textSize < .75) {
233 } else if (textSize < 1.25) {
235 } else if (textSize < 1.75) {
237 } else if (textSize < 2.5) {
244 private void setCaptionsTextSize(String textSize) {
246 Settings.Secure.ACCESSIBILITY_CAPTIONING_FONT_SCALE, Float.parseFloat(textSize));
  /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 37 ShadowText(): glyphCount(0), radius(0.0f), textSize(0.0f), typeface(nullptr),
46 , textSize(paint->getTextSize())
82 float textSize;
TextDropShadowCache.cpp 35 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/icu/icu4c/source/test/perf/ubrkperf/
ubrkperf.cpp 96 UniCharCount startOffset = 0, breakOffset = 0, numUniChars = textSize;
136 int32_t timePerCU = (int)(float(1000) * ((float)loopTime/(float)textSize));
139 printf("number of code units %d average time per code unit %d\n", textSize, timePerCU);
142 printf("time=%d\nevents=%d\nsize=%d\n", elapsedTime, noBreaks, textSize);
ubrkperfold.cpp 169 int32_t textSize = 0;
294 brkit->setText(UnicodeString(text, textSize));
321 UniCharCount startOffset = 0, breakOffset = 0, numUniChars = textSize;
361 int32_t timePerCU = (int)(float(1000) * ((float)loopTime/(float)textSize));
364 printf("number of code units %d average time per code unit %d\n", textSize, timePerCU);
367 printf("time=%d\nevents=%d\nsize=%d\n", elapsedTime, noBreaks, textSize);
379 brkit->setText(UnicodeString(text, textSize));
381 for(j = 0; j < textSize; j++) {
395 for(j = 0; j < textSize; j++) {
405 int32_t timePerCU = (int)(float(1000) * ((float)loopTime/(float)textSize));
    [all...]
  /external/svox/pico/lib/
picoctrl.h 68 picoos_int16 textSize,
  /frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
CustomSurfaceView.java 135 int textSize = canvas.getHeight() / 24;
137 paint.setTextSize(textSize);
140 int y = textSize + mRandom.nextInt(canvas.getHeight() - 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/support/design/src/android/support/design/widget/
CollapsingTextHelper.java 130 void setExpandedTextSize(float textSize) {
131 if (mExpandedTextSize != textSize) {
132 mExpandedTextSize = textSize;
137 void setCollapsedTextSize(float textSize) {
138 if (mCollapsedTextSize != textSize) {
139 mCollapsedTextSize = textSize;
531 private void setInterpolatedTextSize(float textSize) {
532 calculateUsingTextSize(textSize);
549 private void calculateUsingTextSize(final float textSize) {
559 if (isClose(textSize, mCollapsedTextSize))
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
PurgeableBitmapView.java 50 private final int textSize = 32;
63 mPaint.setTextSize(textSize);
  /cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/
FontScaleActivity.java 49 new int[] { android.R.attr.textSize }, 0, 0);
53 throw new AssertionError("android:attr/textSize not found");
  /frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
CustomBar.java 193 ResourceValue textSize = res.findItemInStyle(textStyle, "textSize",
195 textSize = res.resolveResValue(textSize);
197 if (textSize != null) {
199 if (ResourceHelper.parseFloatAttribute("textSize", textSize.getValue(), out,

Completed in 3196 milliseconds

1 2 3 4 5 6 7 8