/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]));
|
downsamplebitmap.cpp | 96 DownsampleBitmapTextGM(float textSize, SkPaint::FilterLevel filterLevel) 97 : INHERITED(filterLevel), fTextSize(textSize)
|
filterbitmap.cpp | 109 FilterBitmapTextGM(float textSize) 110 : fTextSize(textSize)
|
/external/chromium_org/third_party/skia/samplecode/ |
SampleLCD.cpp | 39 SkScalar textSize = SkIntToScalar(6); 48 paint.setTextSize(textSize); 49 textSize += delta;
|
/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...] |
/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);
|
/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...] |
/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);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PurgeableBitmapView.java | 50 private final int textSize = 32; 63 mPaint.setTextSize(textSize);
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
FontPlatformData.cpp | 176 FontPlatformData::FontPlatformData(PassRefPtr<SkTypeface> tf, const char* family, float textSize, bool syntheticBold, bool syntheticItalic, FontOrientation orientation, bool subpixelTextPosition) 181 , m_textSize(textSize) 198 FontPlatformData::FontPlatformData(const FontPlatformData& src, float textSize) 203 , m_textSize(textSize)
|
FontPlatformData.h | 84 FontPlatformData(PassRefPtr<SkTypeface>, const char* name, float textSize, bool syntheticBold, bool syntheticItalic, FontOrientation = Horizontal, bool subpixelTextPosition = defaultUseSubpixelPositioning()); 85 FontPlatformData(const FontPlatformData& src, float textSize);
|
/external/chromium_org/third_party/skia/src/animator/ |
SkDrawPaint.h | 62 SkScalar textSize;
|
SkDrawPaint.cpp | 56 SK_MEMBER(textSize, Float), 72 textAlign((SkPaint::Align) -1), textScaleX(SK_ScalarNaN), textSize(SK_ScalarNaN), 255 if (SkScalarIsNaN(textSize) == false) 256 paint->setTextSize(textSize);
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
FontMac.cpp | 55 const float textSize = platformData.m_textSize >= 0 ? platformData.m_textSize : 12; 59 paint->setTextSize(SkFloatToScalar(textSize));
|
/external/chromium_org/third_party/skia/experimental/PdfViewer/ |
SkPdfUtils.h | 65 SkRect bBox, SkMatrix matrix, double textSize);
|
/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);
|
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/ |
DigitalWatchFaceService.java | 267 float textSize = resources.getDimension(isRound 272 mHourPaint.setTextSize(textSize); 273 mMinutePaint.setTextSize(textSize); 274 mSecondPaint.setTextSize(textSize); 276 mColonPaint.setTextSize(textSize);
|
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/ |
DigitalWatchFaceService.java | 267 float textSize = resources.getDimension(isRound 272 mHourPaint.setTextSize(textSize); 273 mMinutePaint.setTextSize(textSize); 274 mSecondPaint.setTextSize(textSize); 276 mColonPaint.setTextSize(textSize);
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
DigitalWatchFaceService.java | 267 float textSize = resources.getDimension(isRound 272 mHourPaint.setTextSize(textSize); 273 mMinutePaint.setTextSize(textSize); 274 mSecondPaint.setTextSize(textSize); 276 mColonPaint.setTextSize(textSize);
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrDistanceFieldTextContext.cpp | 456 SkScalar textSize = fSkPaint.getTextSize(); 457 SkScalar scaledTextSize = textSize; 470 fTextRatio = textSize / kSmallDFFontSize; 473 fTextRatio = textSize / kMediumDFFontSize; 476 fTextRatio = textSize / kLargeDFFontSize;
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/ |
DrawUtils.java | 64 Point textSize = gc.stringExtent(text); 66 if (textSize.x > width) { 69 gc.drawString(text, x + (width - textSize.x) / 2, textStartY);
|