/external/skia/samplecode/ |
SampleLCD.cpp | 32 SkScalar textSize = SkIntToScalar(6); 41 paint.setTextSize(textSize); 42 textSize += delta;
|
/frameworks/base/core/jni/android/graphics/ |
HarfbuzzSkia.h | 52 SkScalar textSize;
|
TextLayoutCache.h | 97 SkScalar 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);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
StringUtils.java | 180 final int textSize = (int)p.measureText(text);
181 if (textSize > maxSize) {
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PurgeableBitmapView.java | 50 private final int textSize = 32; 63 mPaint.setTextSize(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);
|
/external/skia/src/animator/ |
SkDrawPaint.h | 70 SkScalar textSize;
|
/frameworks/base/libs/hwui/ |
TextDropShadowCache.h | 35 ShadowText(): radius(0), len(0), textSize(0.0f), typeface(NULL) { 43 textSize = paint->getTextSize(); 63 float textSize; 79 LTE_FLOAT(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);
|
/external/skia/src/core/ |
SkPictureFlat.cpp | 122 SkScalar textSize = buffer.readScalar(); 123 if (textSize != defaultPaint.getTextSize()) 125 "textSize:%g ", SkScalarToFloat(textSize));
|
SkPicturePlayback.cpp | [all...] |
/external/webkit/Source/WebKit/android/nav/ |
CachedInput.h | 82 void setTextSize(float textSize) { mTextSize = textSize; } 84 float textSize() const { return mTextSize; }
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
CustomBar.java | 225 ResourceValue textSize = res.findItemInStyle(textStyle, "textSize"); 226 textSize = res.resolveResValue(textSize); 228 if (textSize != null) { 230 if (ResourceHelper.parseFloatAttribute("textSize", textSize.getValue(), out,
|
/external/webkit/Source/WebCore/rendering/svg/ |
SVGInlineTextBox.cpp | 613 FloatSize textSize(fragment.width, fragment.height); 617 textSize.scale(scalingFactor); 620 FloatRect shadowRect(FloatPoint(textOrigin.x(), textOrigin.y() - scaledFont.fontMetrics().floatAscent()), 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...] |
/external/icu4c/test/perf/ubrkperf/ |
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/webkit/Source/WebKit/android/jni/ |
WebSettings.cpp | 344 jint textSize = env->GetIntField(obj, gFieldIds->mTextSize); 345 float zoomFactor = textSize / 100.0f;
|
/external/webkit/Source/WebKit/win/ |
FullscreenVideoController.cpp | 66 static const int textSize = 11; 523 desc.setComputedSize(textSize);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
LatinKeyboard.java | 205 private static int getTextWidth(Paint paint, String text, float textSize, Rect bounds) { 206 paint.setTextSize(textSize); 220 float textSize = origTextSize * Math.min(width / textWidth, 1.0f); 222 textWidth = getTextWidth(paint, language, textSize, bounds); 224 final boolean useMiddleName = (textSize / origTextSize < MINIMUM_SCALE_OF_LANGUAGE_NAME) 231 textSize = origTextSize * Math.min(width / textWidth, 1.0f); 232 useShortName = (textSize / origTextSize < MINIMUM_SCALE_OF_LANGUAGE_NAME) 241 textSize = origTextSize * Math.min(width / textWidth, 1.0f); 243 paint.setTextSize(textSize); 331 private static final int[] ATTR_TEXT_SIZE = { android.R.attr.textSize }; [all...] |
/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...] |
SoftKeyboardView.java | 243 float textSize; 255 textSize = env 263 textSize, true, mSoftKeyDown.getColorHl(), 289 textSize = env 297 textSize, mSoftKeyDown.needBalloon(), mSoftKeyDown
|
/frameworks/support/v4/java/android/support/v4/view/ |
PagerTitleStrip.java | 60 android.R.attr.textSize 90 final int textSize = a.getDimensionPixelSize(2, 0); 91 if (textSize != 0) { 92 mPrevText.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); 93 mCurrText.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); 94 mNextText.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize);
|
/external/skia/src/pdf/ |
SkPDFDevice.cpp | 843 SkScalar textSize = paint.getTextSize(); 844 SkScalar height = SkScalarMul(textSize, kStdUnderline_Thickness); 847 SkScalar top = SkScalarMulAdd(textSize, kStdUnderline_Offset, y); 852 SkScalar top = SkScalarMulAdd(textSize, kStdStrikeThru_Offset, y); [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BrowserSettings.java | 38 import android.webkit.WebSettings.TextSize; 187 * Update from TextSize enum to zoom percent 573 private TextSize getTextSize() { 574 String textSize = mPrefs.getString(PREF_TEXT_SIZE, "NORMAL"); 575 return TextSize.valueOf(textSize);
|