/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
CustomSurfaceView.java | 135 int textSize = canvas.getHeight() / 24; 137 paint.setTextSize(textSize); 140 int y = textSize + mRandom.nextInt(canvas.getHeight() - textSize);
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
AssistVisualizer.java | 40 final float textSize; 55 this.textSize = node.getTextSize(); 121 + " size=" + te.textSize + " color=#" + Integer.toHexString(te.textColor)
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
CustomBar.java | 193 ResourceValue textSize = res.findItemInStyle(textStyle, "textSize", 195 textSize = res.resolveResValue(textSize); 197 if (textSize != null) { 199 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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowPaint.java | 40 private float textSize; 180 return textSize; 184 public void setTextSize(float textSize) { 185 this.textSize = textSize;
|
/frameworks/base/core/java/com/android/internal/widget/ |
SubtitleView.java | 97 int textSize = 15; 114 textSize = a.getDimensionPixelSize(attr, textSize); 136 setTextSize(textSize);
|
/packages/apps/Dialer/java/com/android/incallui/autoresizetext/ |
AutoResizeTextView.java | 214 float textSize = computeTextSize( 216 super.setTextSize(resizeStepUnit, textSize);
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/ |
SubtitleView.java | 93 android.R.attr.textSize, 99 int textSize = a.getDimensionPixelSize(1, 15); 124 setTextSize(textSize);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
CaptionFragment.java | 230 final float textSize = Settings.Secure.getFloat(getContext().getContentResolver(), 233 if (0 <= textSize && textSize < .375) { 235 } else if (textSize < .75) { 237 } else if (textSize < 1.25) { 239 } else if (textSize < 1.75) { 241 } else if (textSize < 2.5) { 248 private void setCaptionsTextSize(String textSize) { 250 Settings.Secure.ACCESSIBILITY_CAPTIONING_FONT_SCALE, Float.parseFloat(textSize));
|
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/watchface/ |
DigitalWatchFaceService.java | 309 float textSize = resources.getDimension(isRound 315 mHourPaint.setTextSize(textSize); 316 mMinutePaint.setTextSize(textSize); 317 mSecondPaint.setTextSize(textSize); 319 mColonPaint.setTextSize(textSize);
|
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/watchface/ |
DigitalWatchFaceService.java | 309 float textSize = resources.getDimension(isRound 315 mHourPaint.setTextSize(textSize); 316 mMinutePaint.setTextSize(textSize); 317 mSecondPaint.setTextSize(textSize); 319 mColonPaint.setTextSize(textSize);
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
DigitalWatchFaceService.java | 303 float textSize = resources.getDimension(isRound 309 mHourPaint.setTextSize(textSize); 310 mMinutePaint.setTextSize(textSize); 311 mSecondPaint.setTextSize(textSize); 313 mColonPaint.setTextSize(textSize);
|
FitDistanceWatchFaceService.java | 303 float textSize = resources.getDimension(isRound 308 mHourPaint.setTextSize(textSize); 309 mMinutePaint.setTextSize(textSize); 310 mSecondPaint.setTextSize(textSize); 312 mColonPaint.setTextSize(textSize);
|
FitStepsWatchFaceService.java | 299 float textSize = resources.getDimension(isRound 304 mHourPaint.setTextSize(textSize); 305 mMinutePaint.setTextSize(textSize); 306 mSecondPaint.setTextSize(textSize); 308 mColonPaint.setTextSize(textSize);
|
/external/icu/icu4c/source/test/perf/ubrkperf/ |
ubrkperfold.cpp | 169 int32_t textSize = 0; 294 brkit->setText(UnicodeString(text, textSize)); 321 UniCharCount startOffset = 0, breakOffset = 0, numUniChars = textSize; 361 int32_t timePerCU = (int)(float(1000) * ((float)loopTime/(float)textSize)); 364 printf("number of code units %d average time per code unit %d\n", textSize, timePerCU); 367 printf("time=%d\nevents=%d\nsize=%d\n", elapsedTime, noBreaks, textSize); 379 brkit->setText(UnicodeString(text, textSize)); 381 for(j = 0; j < textSize; j++) { 395 for(j = 0; j < textSize; j++) { 405 int32_t timePerCU = (int)(float(1000) * ((float)loopTime/(float)textSize)); [all...] |
/external/skia/src/gpu/text/ |
GrAtlasTextContext.cpp | 618 SkScalar textSize = skPaint->getTextSize(); 619 SkScalar scaledTextSize = textSize; 642 *textRatio = textSize / kSmallDFFontSize; 647 *textRatio = textSize / kMediumDFFontSize; 652 *textRatio = textSize / kLargeDFFontSize; [all...] |
/external/skqp/src/gpu/text/ |
GrAtlasTextContext.cpp | 530 SkScalar textSize = skPaint->getTextSize(); 531 SkScalar scaledTextSize = textSize; 554 *textRatio = textSize / kSmallDFFontSize; 559 *textRatio = textSize / kMediumDFFontSize; 564 *textRatio = textSize / kLargeDFFontSize; 680 SkScalar textSize = paint.skPaint().getTextSize(); [all...] |
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
DialpadView.java | 217 int textSize = 221 primaryLettersView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); 222 secondaryLettersView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize);
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
CalculatorFormula.java | 98 // Prevent shrinking/resizing with our variable textSize. 111 // Re-calculate our textSize based on new width. 114 final float textSize = getVariableTextSize(getText()); 115 if (getTextSize() != textSize) { 116 setTextSizeInternal(TypedValue.COMPLEX_UNIT_PX, textSize, false /* notifyListener */);
|
DragController.java | 336 final float textSize = mDisplayResult.getTextSize() * mDisplayResult.getScaleX(); 337 mResultScale = textSize / result.getTextSize();
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
DataUsageSummaryPreference.java | 220 final int textSize = 222 usageNumberText.setSpan(new AbsoluteSizeSpan(textSize), 0, usageNumberText.length(),
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
WavePlotView.java | 132 final int textSize = 25; 135 mPaintGrid.setTextSize(textSize); 139 mPaintGridText.setTextSize(textSize);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowTextView.java | 35 private float textSize = 14.0f; 161 textSize = size; 382 return textSize;
|