Home
last modified time | relevance | path

Searched refs:mTextSize (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/text/style/
DTextAppearanceSpan.java35 private final int mTextSize; field in TextAppearanceSpan
67 mTextSize = a.getDimensionPixelSize(com.android.internal.R.styleable. in TextAppearanceSpan()
117 mTextSize = size; in TextAppearanceSpan()
125 mTextSize = src.readInt(); in TextAppearanceSpan()
159 dest.writeInt(mTextSize); in writeToParcelInternal()
203 return mTextSize; in getTextSize()
260 if (mTextSize > 0) { in updateMeasureState()
261 ds.setTextSize(mTextSize); in updateMeasureState()
/frameworks/minikin/libs/minikin/
DWordBreaker.cpp43 mTextSize = size; in setText()
138 for (i = mLast; i < mTextSize; i++) { in next()
206 } while (result != icu::BreakIterator::DONE && (size_t)result != mTextSize in next()
207 && !isBreakValid(mText, mTextSize, result)); in next()
/frameworks/base/core/tests/coretests/src/android/graphics/
DPaintTest.java47 public final float mTextSize; field in PaintTest.HintingTestCase
54 mTextSize = textSize; in HintingTestCase()
85 paint.setTextSize(testCase.mTextSize); in testHintingWidth()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
DTextViewBindingObject.java124 private float mTextSize = 10f; field in TextViewBindingObject
151 return mTextSize; in getTextSize()
286 mTextSize = 20f; in changeValues()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialTextsView.java63 private float mTextSize; field in RadialTextsView
192 mTextSize = mCircleRadius * mTextSizeMultiplier; in onDraw()
211 mTextSize, mTextGridHeights, mTextGridWidths); in onDraw()
223 drawTexts(canvas, mTextSize, mTypefaceLight, mTexts, mTextGridWidths, mTextGridHeights); in onDraw()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java87 private float mTextSize; field in Paint_Delegate
484 return delegate.mTextSize; in nGetTextSize()
495 if (delegate.mTextSize != textSize) { in nSetTextSize()
496 delegate.mTextSize = textSize; in nSetTextSize()
1201 if (mTextSize != paint.mTextSize) { in set()
1202 mTextSize = paint.mTextSize; in set()
1242 mTextSize = 20.f; in reset()
1283 info.mFont = font.deriveFont(mTextSize); in updateFontObject()
/frameworks/base/core/java/android/widget/
DRadialTimePickerView.java133 private final int[] mTextSize = new int[3]; field in RadialTimePickerView
343 mTextSize[HOURS] = res.getDimensionPixelSize(R.dimen.timepicker_text_size_normal); in RadialTimePickerView()
344 mTextSize[MINUTES] = res.getDimensionPixelSize(R.dimen.timepicker_text_size_normal); in RadialTimePickerView()
345 mTextSize[HOURS_INNER] = res.getDimensionPixelSize(R.dimen.timepicker_text_size_inner); in RadialTimePickerView()
719 drawTextElements(canvas, mTextSize[HOURS], mTypeface, mTextColor[HOURS], mOuterTextHours, in drawHoursClipped()
725 drawTextElements(canvas, mTextSize[HOURS_INNER], mTypeface, mTextColor[HOURS_INNER], in drawHoursClipped()
751 drawTextElements(canvas, mTextSize[MINUTES], mTypeface, mTextColor[MINUTES], mMinutesText, in drawMinutesClipped()
828 mTextSize[HOURS], mOuterTextX[HOURS], mOuterTextY[HOURS]); in calculatePositionsHours()
834 mTextSize[HOURS_INNER], mInnerTextX, mInnerTextY); in calculatePositionsHours()
844 mTextSize[MINUTES], mOuterTextX[MINUTES], mOuterTextY[MINUTES]); in calculatePositionsMinutes()
DFastScroller.java130 private float mTextSize; field in FastScroller
320 if (mTextSize > 0) { in updateAppearance()
321 mPrimaryText.setTextSize(TypedValue.COMPLEX_UNIT_PX, mTextSize); in updateAppearance()
322 mSecondaryText.setTextSize(TypedValue.COMPLEX_UNIT_PX, mTextSize); in updateAppearance()
364 mTextSize = ta.getDimensionPixelSize(index, 0); in setStyle()
DNumberPicker.java257 private final int mTextSize; field in NumberPicker
748 mTextSize = (int) mInputText.getTextSize(); in NumberPicker()
754 paint.setTextSize(mTextSize); in NumberPicker()
1760 int totalTextHeight = selectorIndices.length * mTextSize; in initializeSelectorWheel()
1764 mSelectorElementHeight = mTextSize + mSelectorTextGapHeight; in initializeSelectorWheel()
1776 setFadingEdgeLength((mBottom - mTop - mTextSize) / 2); in initializeFadingEdges()
/frameworks/minikin/include/minikin/
DWordBreaker.h61 size_t mTextSize; variable
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java341 float mTextSize; field in AssistStructure.ViewNodeText
362 mTextSize = in.readFloat(); in ViewNodeText()
377 out.writeFloat(mTextSize); in writeToParcel()
987 return mText != null ? mText.mTextSize : 0; in getTextSize()
1216 t.mTextSize = size; in setTextStyle()
/frameworks/base/media/java/android/media/
DCea708CaptionRenderer.java1688 private float mTextSize; field in Cea708CCWidget.CCWindowLayout
1922 paint.setTextSize(mTextSize); in initWindow()
2036 mTextSize = endFontSize * mFontScale; in updateTextSize()
2037 mCCView.setTextSize(mTextSize); in updateTextSize()