/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | LoadAverageService.java | 99 int textSize = 10; in LoadView() local 102 textSize = 9; in LoadView() 104 textSize = (int)(10*density); in LoadView() 105 if (textSize < 10) { in LoadView() 106 textSize = 10; in LoadView() 111 mLoadPaint.setTextSize(textSize); in LoadView() 116 mAddedPaint.setTextSize(textSize); in LoadView() 122 mRemovedPaint.setTextSize(textSize); in LoadView() 127 mShadowPaint.setTextSize(textSize); in LoadView() 134 mShadow2Paint.setTextSize(textSize); in LoadView()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | CollapsingTextHelper.java | 125 void setExpandedTextSize(float textSize) { 126 if (mExpandedTextSize != textSize) { 127 mExpandedTextSize = textSize; 132 void setCollapsedTextSize(float textSize) { 133 if (mCollapsedTextSize != textSize) { 134 mCollapsedTextSize = textSize; 493 private void setInterpolatedTextSize(float textSize) { in setInterpolatedTextSize() argument 494 calculateUsingTextSize(textSize); in setInterpolatedTextSize() 507 private void calculateUsingTextSize(final float textSize) { in calculateUsingTextSize() argument 514 if (isClose(textSize, mCollapsedTextSize)) { in calculateUsingTextSize() [all …]
|
D | TabLayout.java | 1588 float textSize = mTabTextSize; local 1596 textSize = mTabTextMultiLineSize; 1603 if (textSize != curTextSize || (curMaxLines >= 0 && maxLines != curMaxLines)) { 1607 if (mMode == MODE_FIXED && textSize > curTextSize && curLineCount == 1) { 1614 if (layout == null || approximateLineWidth(layout, 0, textSize) 1621 mTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); 1794 private float approximateLineWidth(Layout layout, int line, float textSize) { in approximateLineWidth() argument 1795 return layout.getLineWidth(line) * (textSize / layout.getPaint().getTextSize()); in approximateLineWidth()
|
/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/support/v7/appcompat/src/android/support/v7/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()
|
/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/hwui/ |
D | Canvas.cpp | 55 float textSize = paint.getTextSize(); in drawTextDecorations() local 56 float strokeWidth = fmax(textSize * kStdUnderline_Thickness, 1.0f); in drawTextDecorations() 58 SkScalar top = y + textSize * kStdUnderline_Offset - 0.5f * strokeWidth; in drawTextDecorations() 59 SkScalar bottom = y + textSize * kStdUnderline_Offset + 0.5f * strokeWidth; in drawTextDecorations() 63 SkScalar top = y + textSize * kStdStrikeThru_Offset - 0.5f * strokeWidth; in drawTextDecorations() 64 SkScalar bottom = y + textSize * kStdStrikeThru_Offset + 0.5f * strokeWidth; in drawTextDecorations()
|
/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/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/support/design/tests/src/android/support/design/testutils/ |
D | TestUtilsMatchers.java | 88 public static Matcher withTextSize(final float textSize) { 100 if (Math.abs(textSize - ourTextSize) > 1.0f) { 102 "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/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/v4/java/android/support/v4/view/ |
D | PagerTitleStrip.java | 70 android.R.attr.textSize, 132 final int textSize = a.getDimensionPixelSize(1, 0); in PagerTitleStrip() local 133 if (textSize != 0) { in PagerTitleStrip() 134 setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); in PagerTitleStrip()
|
/frameworks/base/core/java/android/webkit/ |
D | WebSettings.java | 495 int textSize = getTextZoom(); in getTextSize() local 497 int delta = Math.abs(textSize - size.value); in getTextSize()
|
/frameworks/base/docs/html-intl/intl/zh-cn/training/multiscreen/ |
D | screendensities.jd | 62 android:textSize="20sp" />
|
/frameworks/base/docs/html-intl/intl/ja/training/multiscreen/ |
D | screendensities.jd | 62 android:textSize="20sp" />
|
/frameworks/base/docs/html-intl/intl/ru/training/multiscreen/ |
D | screendensities.jd | 62 android:textSize="20sp" />
|
/frameworks/base/docs/html-intl/intl/ko/training/multiscreen/ |
D | screendensities.jd | 62 android:textSize="20sp" />
|
/frameworks/base/core/java/android/widget/ |
D | RadialTimePickerView.java | 853 float textSize, float[] x, float[] y) { in calculatePositions() argument 855 paint.setTextSize(textSize); in calculatePositions() 867 private void drawTextElements(Canvas canvas, float textSize, Typeface typeface, in drawTextElements() argument 870 paint.setTextSize(textSize); in drawTextElements()
|
/frameworks/base/docs/html/training/wearables/ui/ |
D | cards.jd | 163 android:textSize="20sp"/> 170 android:textSize="14sp"/>
|