/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | DialogTitle.java | 68 final int textSize = a.getDimensionPixelSize( in onMeasure() local 70 if (textSize != 0) { in onMeasure() 72 setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); in onMeasure()
|
D | SearchView.java | 1090 final int textSize = (int) (mSearchSrcTextView.getTextSize() * 1.25); in getDecoratedHint() local 1091 mSearchHintIcon.setBounds(0, 0, textSize, textSize); in getDecoratedHint()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DialogTitle.java | 64 final int textSize = a.getDimensionPixelSize( in onMeasure() local 66 if (textSize != 0) { in onMeasure() 68 setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); in onMeasure()
|
D | SubtitleView.java | 97 int textSize = 15; in SubtitleView() local 114 textSize = a.getDimensionPixelSize(attr, textSize); in SubtitleView() 136 setTextSize(textSize); in SubtitleView()
|
/frameworks/base/libs/hwui/ |
D | TextDropShadowCache.cpp | 35 hash = JenkinsHashMix(hash, android::hash_type(textSize)); in hash() 65 if (lhs.textSize < rhs.textSize) return -1; in compare() 66 if (lhs.textSize > rhs.textSize) return +1; in compare()
|
D | TextDropShadowCache.h | 37 ShadowText(): glyphCount(0), radius(0.0f), textSize(0.0f), typeface(nullptr), in ShadowText() 46 , textSize(paint->getTextSize()) in ShadowText() 82 float textSize; member
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
D | CustomSurfaceView.java | 135 int textSize = canvas.getHeight() / 24; in invalidateSurface() local 137 paint.setTextSize(textSize); in invalidateSurface() 140 int y = textSize + mRandom.nextInt(canvas.getHeight() - textSize); in invalidateSurface()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | CollapsingTextHelper.java | 130 void setExpandedTextSize(float textSize) { 131 if (mExpandedTextSize != textSize) { 132 mExpandedTextSize = textSize; 137 void setCollapsedTextSize(float textSize) { 138 if (mCollapsedTextSize != textSize) { 139 mCollapsedTextSize = textSize; 531 private void setInterpolatedTextSize(float textSize) { in setInterpolatedTextSize() argument 532 calculateUsingTextSize(textSize); in setInterpolatedTextSize() 549 private void calculateUsingTextSize(final float textSize) { in calculateUsingTextSize() argument 559 if (isClose(textSize, mCollapsedTextSize)) { in calculateUsingTextSize() [all …]
|
D | TabLayout.java | 1607 float textSize = mTabTextSize; 1615 textSize = mTabTextMultiLineSize; 1622 if (textSize != curTextSize || (curMaxLines >= 0 && maxLines != curMaxLines)) { 1626 if (mMode == MODE_FIXED && textSize > curTextSize && curLineCount == 1) { 1633 if (layout == null || approximateLineWidth(layout, 0, textSize) 1640 mTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); 1779 private float approximateLineWidth(Layout layout, int line, float textSize) { in approximateLineWidth() argument 1780 return layout.getLineWidth(line) * (textSize / layout.getPaint().getTextSize()); in approximateLineWidth()
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.cpp | 56 float textSize = paint.getTextSize(); in drawTextDecorations() local 57 float strokeWidth = fmax(textSize * kStdUnderline_Thickness, 1.0f); in drawTextDecorations() 59 SkScalar top = y + textSize * kStdUnderline_Offset - 0.5f * strokeWidth; in drawTextDecorations() 60 SkScalar bottom = y + textSize * kStdUnderline_Offset + 0.5f * strokeWidth; in drawTextDecorations() 64 SkScalar top = y + textSize * kStdStrikeThru_Offset - 0.5f * strokeWidth; in drawTextDecorations() 65 SkScalar bottom = y + textSize * kStdStrikeThru_Offset + 0.5f * strokeWidth; in drawTextDecorations()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | CustomBar.java | 193 ResourceValue textSize = res.findItemInStyle(textStyle, "textSize", in setStyle() local 195 textSize = res.resolveResValue(textSize); in setStyle() 197 if (textSize != null) { in setStyle() 199 if (ResourceHelper.parseFloatAttribute("textSize", textSize.getValue(), out, in setStyle()
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZonePickerView.java | 122 int textSize = (int) (mAutoCompleteTextView.getTextSize() * 1.25); in updateHint() local 123 searchIcon.setBounds(0, 0, textSize, textSize); in updateHint()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | RadialTextsView.java | 236 float textSize, float[] textGridHeights, float[] textGridWidths) { in calculateGridSizes() argument 245 mPaint.setTextSize(textSize); in calculateGridSizes() 268 private void drawTexts(Canvas canvas, float textSize, Typeface typeface, String[] texts, in drawTexts() argument 270 mPaint.setTextSize(textSize); in drawTexts()
|
D | AmPmCirclesView.java | 163 int textSize = mAmPmCircleRadius * 3 / 4; in onDraw() local 164 mPaint.setTextSize(textSize); in onDraw()
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
D | AssistVisualizer.java | 40 final float textSize; field in AssistVisualizer.TextEntry 55 this.textSize = node.getTextSize(); in TextEntry() 121 + " size=" + te.textSize + " color=#" + Integer.toHexString(te.textColor) in logText()
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
D | PagerTitleStrip.java | 72 android.R.attr.textSize, 123 final int textSize = a.getDimensionPixelSize(1, 0); in PagerTitleStrip() local 124 if (textSize != 0) { in PagerTitleStrip() 125 setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); in PagerTitleStrip()
|
/frameworks/base/core/java/android/webkit/ |
D | WebSettings.java | 507 int textSize = getTextZoom(); in getTextSize() local 509 int delta = Math.abs(textSize - size.value); in getTextSize()
|
/frameworks/support/design/tests/src/android/support/design/testutils/ |
D | TestUtilsMatchers.java | 102 public static Matcher withTextSize(final float textSize) { 114 if (Math.abs(textSize - ourTextSize) > 1.0f) { 116 "text size " + ourTextSize + " is different than expected " + textSize;
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | PaintTest.java | 51 public HintingTestCase(String text, float textSize, float[] widthWithoutHinting, in HintingTestCase() argument 54 mTextSize = textSize; in HintingTestCase()
|
/frameworks/base/core/java/android/widget/ |
D | RadialTimePickerView.java | 878 float textSize, float[] x, float[] y) { in calculatePositions() argument 880 paint.setTextSize(textSize); in calculatePositions() 892 private void drawTextElements(Canvas canvas, float textSize, Typeface typeface, in drawTextElements() argument 895 paint.setTextSize(textSize); in drawTextElements()
|
D | SearchView.java | 1160 final int textSize = (int) (mSearchSrcTextView.getTextSize() * 1.25); in getDecoratedHint() local 1161 mSearchHintIcon.setBounds(0, 0, textSize, textSize); in getDecoratedHint()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 477 /*package*/ static void nSetTextSize(long nativePaint, float textSize) { in nSetTextSize() argument 484 if (delegate.mTextSize != textSize) { in nSetTextSize() 485 delegate.mTextSize = textSize; in nSetTextSize()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 1409 public void setTextSize(float textSize) { in setTextSize() argument 1410 nSetTextSize(mNativePaint, textSize); in setTextSize() 2917 private static native void nSetTextSize(long paintPtr, float textSize); in nSetTextSize() argument
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ |
D | AppCompatTextViewAutoSizeTest.java | 601 final int textSize = (int) autoSizeTextViewUniform.getTextSize(); 603 if (expectedSizesInPx[i] == textSize) {
|
/frameworks/base/core/jni/android/graphics/ |
D | Paint.cpp | 902 static void setTextSize(jlong paintHandle, jfloat textSize) { in setTextSize() argument 903 reinterpret_cast<Paint*>(paintHandle)->setTextSize(textSize); in setTextSize()
|