/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
FontMac.cpp | 60 const float textSize = platformData.m_size >= 0 ? platformData.m_size : 12; 64 paint->setTextSize(SkFloatToScalar(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);
|
SubtitleView.java | 90 int textSize = 15; 107 textSize = a.getDimensionPixelSize(attr, textSize); 130 setTextSize(textSize);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
StringUtils.java | 180 final int textSize = (int)p.measureText(text);
181 if (textSize > maxSize) {
|
/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);
|
/external/skia/gm/ |
coloremoji.cpp | 57 const int textSize[] = { 10, 30, 50 }; 59 SkASSERT(sizeof(textSize) == sizeof(textYOffset)); 60 for (size_t y = 0; y < sizeof(textSize) / sizeof(int); ++y) { 61 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);
|
/packages/apps/Camera2/src/com/android/camera/drawable/ |
TextDrawable.java | 49 float textSize = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, 51 mPaint.setTextSize(textSize);
|
/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/chromium_org/third_party/skia/src/animator/ |
SkDrawPaint.h | 62 SkScalar textSize;
|
/external/skia/src/animator/ |
SkDrawPaint.h | 62 SkScalar 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;
|
/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);
|
/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);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
CustomBar.java | 285 ResourceValue textSize = res.findItemInStyle(textStyle, "textSize", 287 textSize = res.resolveResValue(textSize); 289 if (textSize != null) { 291 if (ResourceHelper.parseFloatAttribute("textSize", textSize.getValue(), out,
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
AmPmCirclesView.java | 163 int textSize = mAmPmCircleRadius * 3 / 4; 164 mPaint.setTextSize(textSize);
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
TimeZonePickerView.java | 122 int textSize = (int) (mAutoCompleteTextView.getTextSize() * 1.25); 123 searchIcon.setBounds(0, 0, textSize, 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);
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/ |
CCombo3.java | 504 Point textSize = m_text.computeSize(areaWidth - buttonSize.x, areaHeight); 508 m_text.setSize(areaWidth - buttonSize.x, Math.max(textSize.y, areaHeight));
|
CSpinner.java | 510 Point textSize = m_text.computeSize(SWT.DEFAULT, SWT.DEFAULT); 513 int width = textSize.x + arrowWidth; 514 int height = Math.max(spinnerSize.y, textSize.y);
|
CTableCombo.java | 544 Point textSize = m_text.computeSize(wHint, SWT.DEFAULT, changed); 554 height = Math.max(hHint, Math.max(textSize.y, arrowSize.y) + 2 * borderWidth); 555 width = Math.max(wHint, Math.max(textSize.x + arrowSize.x, tableWidth) + 2 * borderWidth);
|
/frameworks/base/core/jni/android/graphics/ |
TextLayoutCache.h | 101 SkScalar 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/chromium_org/third_party/icu/source/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...] |