Searched defs:textSize (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/libs/hwui/
H A DTextDropShadowCache.h37 ShadowText(): len(0), radius(0.0f), textSize(0.0f), typeface(nullptr),
48 textSize = paint->getTextSize();
88 float textSize; member in struct:android::uirenderer::ShadowText
H A DOpenGLRenderer.cpp2458 const float textSize = paintCopy.getTextSize(); local
2459 const float strokeWidth = std::max(textSize * kStdUnderline_Thickness, 1.0f);
2473 top = y + textSize * kStdUnderline_Offset;
2481 top = y + textSize * kStdStrikeThru_Offset;
/frameworks/support/design/src/android/support/design/widget/
H A DCollapsingTextHelper.java117 void setExpandedTextSize(float textSize) {
118 if (mExpandedTextSize != textSize) {
119 mExpandedTextSize = textSize;
124 void setCollapsedTextSize(float textSize) {
125 if (mCollapsedTextSize != textSize) {
126 mCollapsedTextSize = textSize;
420 private void setInterpolatedTextSize(final float textSize) { argument
427 if (isClose(textSize, mCollapsedTextSize)) {
435 if (isClose(textSize, mExpandedTextSize)) {
440 mScale = textSize / mExpandedTextSiz
[all...]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DRadialTextsView.java236 float textSize, float[] textGridHeights, float[] textGridWidths) {
245 mPaint.setTextSize(textSize);
268 private void drawTexts(Canvas canvas, float textSize, Typeface typeface, String[] texts, argument
270 mPaint.setTextSize(textSize);
235 calculateGridSizes(float numbersRadius, float xCenter, float yCenter, float textSize, float[] textGridHeights, float[] textGridWidths) argument
/frameworks/base/core/java/android/widget/
H A DRadialTimePickerView.java804 float textSize, float[] x, float[] y) {
806 paint.setTextSize(textSize);
818 private void drawTextElements(Canvas canvas, float textSize, Typeface typeface, argument
821 paint.setTextSize(textSize);
803 calculatePositions(Paint paint, float radius, float xCenter, float yCenter, float textSize, float[] x, float[] y) argument
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp484 float textSize = paint.getTextSize(); local
485 float strokeWidth = fmax(textSize * kStdUnderline_Thickness, 1.0f);
487 SkScalar top = y + textSize * kStdUnderline_Offset - 0.5f * strokeWidth;
488 SkScalar bottom = y + textSize * kStdUnderline_Offset + 0.5f * strokeWidth;
492 SkScalar top = y + textSize * kStdStrikeThru_Offset - 0.5f * strokeWidth;
493 SkScalar bottom = y + textSize * kStdStrikeThru_Offset + 0.5f * strokeWidth;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java476 /*package*/ static void setTextSize(Paint thisPaint, float textSize) { argument
483 delegate.mTextSize = textSize;
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp436 static void setTextSize(JNIEnv* env, jobject paint, jfloat textSize) { argument
438 getNativePaint(env, paint)->setTextSize(textSize);
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java1246 * @param textSize set the paint's text size.
1248 public native void setTextSize(float textSize); argument
1407 * settings for typeface, textSize, etc. If metrics is not null, return the
1446 * typeface, textSize, etc. If metrics is not null, return the fontmetric

Completed in 753 milliseconds