/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/env/ |
D | BorderedText.java | 34 private final float textSize; field in BorderedText 42 public BorderedText(final float textSize) { in BorderedText() argument 43 this(Color.WHITE, Color.BLACK, textSize); in BorderedText() 54 public BorderedText(final int interiorColor, final int exteriorColor, final float textSize) { in BorderedText() argument 56 interiorPaint.setTextSize(textSize); in BorderedText() 63 exteriorPaint.setTextSize(textSize); in BorderedText() 66 exteriorPaint.setStrokeWidth(textSize / 8); in BorderedText() 70 this.textSize = textSize; in BorderedText() 100 return textSize; in getTextSize()
|
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/ |
D | BorderedText.java | 34 private final float textSize; field in BorderedText 42 public BorderedText(final float textSize) { in BorderedText() argument 43 this(Color.WHITE, Color.BLACK, textSize); in BorderedText() 54 public BorderedText(final int interiorColor, final int exteriorColor, final float textSize) { in BorderedText() argument 56 interiorPaint.setTextSize(textSize); in BorderedText() 63 exteriorPaint.setTextSize(textSize); in BorderedText() 66 exteriorPaint.setStrokeWidth(textSize / 8); in BorderedText() 70 this.textSize = textSize; in BorderedText() 100 return textSize; in getTextSize()
|
/external/skia/gm/ |
D | downsamplebitmap.cpp | 78 const SkScalar textSize = 72; in make_text() local 81 bm.allocPixels(info.makeWH(int(textSize * 8), int(textSize * 6))); in make_text() 88 font.setSize(textSize); in make_text() 91 canvas.drawString("Hamburgefons", textSize/2, 1.2f*textSize, font, paint); in make_text() 93 canvas.drawString("Hamburgefons", textSize/2, 2.4f*textSize, font, paint); in make_text() 95 canvas.drawString("Hamburgefons", textSize/2, 3.6f*textSize, font, paint); in make_text() 97 canvas.drawString("Hamburgefons", textSize/2, 4.8f*textSize, font, paint); in make_text()
|
D | imageblur2.cpp | 32 constexpr SkScalar textSize = 12; in DEF_SIMPLE_GM() local 34 SkFont font(sk_tool_utils::create_portable_typeface(), textSize); in DEF_SIMPLE_GM() 52 SkIntToScalar(y * dy + textSize * i + textSize), in DEF_SIMPLE_GM()
|
D | texteffects.cpp | 22 SkScalar uPos, SkScalar uWidth, SkScalar textSize) { in create_underline() argument 28 if (start > last && last + textSize / 12 < start) { in create_underline() 108 for (SkScalar textSize = 100; textSize > 10; textSize -= 20) { variable 110 sk_tool_utils::create_portable_typeface(fam[font], SkFontStyle()), textSize); 111 const SkScalar uWidth = textSize / 15; 129 SkPath underline = create_underline(intercepts, start, end, uPos, uWidth, textSize); 134 canvas->translate(0, textSize * 1.3f);
|
D | scaledemoji.cpp | 68 for (SkScalar textSize : { 70, 180, 270, 340 }) { in onDraw() 69 font.setSize(textSize); in onDraw() 117 for (SkScalar textSize : { 70, 180, 270, 340 }) { in onDraw() 118 font.setSize(textSize); in onDraw()
|
D | scaledemoji_rendering.cpp | 52 for (SkScalar textSize : { 70, 150 }) { in onDraw() 53 font.setSize(textSize); in onDraw()
|
/external/skqp/gm/ |
D | downsamplebitmap.cpp | 78 const SkScalar textSize = 72; in make_text() local 81 bm.allocPixels(info.makeWH(int(textSize * 8), int(textSize * 6))); in make_text() 88 font.setSize(textSize); in make_text() 91 canvas.drawString("Hamburgefons", textSize/2, 1.2f*textSize, font, paint); in make_text() 93 canvas.drawString("Hamburgefons", textSize/2, 2.4f*textSize, font, paint); in make_text() 95 canvas.drawString("Hamburgefons", textSize/2, 3.6f*textSize, font, paint); in make_text() 97 canvas.drawString("Hamburgefons", textSize/2, 4.8f*textSize, font, paint); in make_text()
|
D | imageblur2.cpp | 32 constexpr SkScalar textSize = 12; in DEF_SIMPLE_GM() local 34 SkFont font(sk_tool_utils::create_portable_typeface(), textSize); in DEF_SIMPLE_GM() 52 SkIntToScalar(y * dy + textSize * i + textSize), in DEF_SIMPLE_GM()
|
D | texteffects.cpp | 22 SkScalar uPos, SkScalar uWidth, SkScalar textSize) { in create_underline() argument 28 if (start > last && last + textSize / 12 < start) { in create_underline() 108 for (SkScalar textSize = 100; textSize > 10; textSize -= 20) { variable 110 sk_tool_utils::create_portable_typeface(fam[font], SkFontStyle()), textSize); 111 const SkScalar uWidth = textSize / 15; 129 SkPath underline = create_underline(intercepts, start, end, uPos, uWidth, textSize); 134 canvas->translate(0, textSize * 1.3f);
|
D | scaledemoji.cpp | 70 for (SkScalar textSize : { 70, 180, 270, 340 }) { in onDraw() 71 font.setSize(textSize); in onDraw() 121 for (SkScalar textSize : { 70, 180, 270, 340 }) { in onDraw() 122 font.setSize(textSize); in onDraw()
|
D | scaledemoji_rendering.cpp | 54 for (SkScalar textSize : { 70, 150 }) { in onDraw() 55 font.setSize(textSize); in onDraw()
|
/external/skia/src/gpu/text/ |
D | GrTextContext.cpp | 132 SkScalar scaled_text_size(const SkScalar textSize, const SkMatrix& viewMatrix) { in scaled_text_size() argument 133 SkScalar scaledTextSize = textSize; in scaled_text_size() 156 SkScalar textSize = font.getSize(); in InitDistanceFieldFont() local 157 SkScalar scaledTextSize = scaled_text_size(textSize, viewMatrix); in InitDistanceFieldFont() 162 *textRatio = textSize / kSmallDFFontSize; in InitDistanceFieldFont() 165 *textRatio = textSize / kMediumDFFontSize; in InitDistanceFieldFont() 168 *textRatio = textSize / kLargeDFFontSize; in InitDistanceFieldFont() 180 SkScalar textSize, in InitDistanceFieldMinMaxScale() argument 184 SkScalar scaledTextSize = scaled_text_size(textSize, viewMatrix); in InitDistanceFieldMinMaxScale()
|
/external/skqp/src/core/ |
D | SkTextBlob.cpp | 38 size_t SkTextBlob::RunRecord::StorageSize(uint32_t glyphCount, uint32_t textSize, in StorageSize() argument 51 if (textSize) { // Extended run. in StorageSize() 54 size = safe->add(size, textSize); in StorageSize() 88 SkASSERT(textSize() > 0); in validate() 91 SkASSERT(textBuffer() + textSize() <= (char*)NextUnchecked(this)); in validate() 101 + StorageSize(run->glyphCount(), run->textSize(), run->positioning(), &safe)); in NextUnchecked() 416 if (run->textSize() != 0) { in mergeRun() 466 int count, int textSize, SkPoint offset, in allocInternal() argument 468 if (count <= 0 || textSize < 0) { in allocInternal() 473 if (textSize != 0 || !this->mergeRun(font, positioning, count, offset)) { in allocInternal() [all …]
|
D | SkTextBlobPriv.h | 86 …RunRecord(uint32_t count, uint32_t textSize, const SkPoint& offset, const SkFont& font, GlyphPosi… in RunRecord() argument 94 if (textSize > 0) { in RunRecord() 96 *this->textSizePtr() = textSize; in RunRecord() 141 uint32_t textSize() const { return isExtended() ? *this->textSizePtr() : 0; } in textSize() function 154 static size_t StorageSize(uint32_t glyphCount, uint32_t textSize, 250 uint32_t textSize() const { in textSize() function 252 return fCurrentRun->textSize(); in textSize()
|
/external/skia/src/core/ |
D | SkTextBlob.cpp | 38 size_t SkTextBlob::RunRecord::StorageSize(uint32_t glyphCount, uint32_t textSize, in StorageSize() argument 51 if (textSize) { // Extended run. in StorageSize() 54 size = safe->add(size, textSize); in StorageSize() 88 SkASSERT(textSize() > 0); in validate() 91 SkASSERT(textBuffer() + textSize() <= (char*)NextUnchecked(this)); in validate() 101 + StorageSize(run->glyphCount(), run->textSize(), run->positioning(), &safe)); in NextUnchecked() 416 if (run->textSize() != 0) { in mergeRun() 466 int count, int textSize, SkPoint offset, in allocInternal() argument 468 if (count <= 0 || textSize < 0) { in allocInternal() 473 if (textSize != 0 || !this->mergeRun(font, positioning, count, offset)) { in allocInternal() [all …]
|
D | SkTextBlobPriv.h | 86 …RunRecord(uint32_t count, uint32_t textSize, const SkPoint& offset, const SkFont& font, GlyphPosi… in RunRecord() argument 94 if (textSize > 0) { in RunRecord() 96 *this->textSizePtr() = textSize; in RunRecord() 141 uint32_t textSize() const { return isExtended() ? *this->textSizePtr() : 0; } in textSize() function 154 static size_t StorageSize(uint32_t glyphCount, uint32_t textSize, 250 uint32_t textSize() const { in textSize() function 252 return fCurrentRun->textSize(); in textSize()
|
/external/icu/icu4c/source/test/perf/ubrkperf/ |
D | ubrkperfold.cpp | 169 int32_t textSize = 0; variable 294 brkit->setText(UnicodeString(text, textSize)); in doForwardTest() 321 UniCharCount startOffset = 0, breakOffset = 0, numUniChars = textSize; in doForwardTest() 361 int32_t timePerCU = (int)(float(1000) * ((float)loopTime/(float)textSize)); in doForwardTest() 364 printf("number of code units %d average time per code unit %d\n", textSize, timePerCU); in doForwardTest() 367 printf("time=%d\nevents=%d\nsize=%d\n", elapsedTime, noBreaks, textSize); in doForwardTest() 379 brkit->setText(UnicodeString(text, textSize)); in doIsBoundTest() 381 for(j = 0; j < textSize; j++) { in doIsBoundTest() 395 for(j = 0; j < textSize; j++) { in doIsBoundTest() 405 int32_t timePerCU = (int)(float(1000) * ((float)loopTime/(float)textSize)); in doIsBoundTest() [all …]
|
D | 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);
|
/external/skqp/src/gpu/text/ |
D | GrTextContext.cpp | 132 void GrTextContext::InitDistanceFieldPaint(const SkScalar textSize, in InitDistanceFieldPaint() argument 140 SkScalar scaledTextSize = textSize; in InitDistanceFieldPaint() 163 *textRatio = textSize / kSmallDFFontSize; in InitDistanceFieldPaint() 168 *textRatio = textSize / kMediumDFFontSize; in InitDistanceFieldPaint() 173 *textRatio = textSize / kLargeDFFontSize; in InitDistanceFieldPaint()
|
/external/skia/samplecode/ |
D | SampleLCD.cpp | 35 SkScalar textSize = SkIntToScalar(6); in onDrawContent() local 45 font.setSize(textSize); in onDrawContent() 46 textSize += delta; in onDrawContent()
|
/external/skqp/samplecode/ |
D | SampleLCD.cpp | 35 SkScalar textSize = SkIntToScalar(6); in onDrawContent() local 45 font.setSize(textSize); in onDrawContent() 46 textSize += delta; in onDrawContent()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowPaint.java | 39 private float textSize; field in ShadowPaint 172 return textSize; in getTextSize() 176 protected void setTextSize(float textSize) { in setTextSize() argument 177 this.textSize = textSize; in setTextSize()
|
/external/setupdesign/main/src/com/google/android/setupdesign/template/ |
D | HeaderMixin.java | 104 float textSize = in applyPartnerCustomizationStyle() local 107 if (textSize != 0) { in applyPartnerCustomizationStyle() 108 setTextSize(textSize); in applyPartnerCustomizationStyle()
|
/external/skia/docs/ |
D | SkFont_Reference.bmh | 636 #Method void setSize(SkScalar textSize) 974 for (SkScalar textSize : { 12, 18, 24, 32 } ) { 975 font.setSize(textSize); 976 SkDebugf("textSize: %g spacing: %g\n", textSize, font.getSpacing()); 980 textSize: 12 spacing: 13.9688 981 textSize: 18 spacing: 20.9531 982 textSize: 24 spacing: 27.9375 983 textSize: 32 spacing: 37.25
|