/aosp12/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | Watermark.java | 96 TypedValue.COMPLEX_UNIT_PX, mTextWidth*2, dm); in Watermark() 98 TypedValue.COMPLEX_UNIT_PX, mTextHeight*3, dm); in Watermark() 100 TypedValue.COMPLEX_UNIT_PX, 0xb0000000, dm); in Watermark() 102 TypedValue.COMPLEX_UNIT_PX, 0x60ffffff, dm); in Watermark() 104 TypedValue.COMPLEX_UNIT_PX, 7, dm); in Watermark() 106 TypedValue.COMPLEX_UNIT_PX, 0, dm); in Watermark() 108 TypedValue.COMPLEX_UNIT_PX, 0, dm); in Watermark()
|
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/ |
H A D | FontScalePreviewFragment.java | 62 title.setTextSize(TypedValue.COMPLEX_UNIT_PX, adjustedTextSizeTitle); in onCreateView() 67 subtitle.setTextSize(TypedValue.COMPLEX_UNIT_PX, adjustedTextSizeSubtitle); in onCreateView() 72 sampleContent.setTextSize(TypedValue.COMPLEX_UNIT_PX, adjustedTextSizeContent); in onCreateView()
|
/aosp12/frameworks/base/core/java/android/util/ |
H A D | TypedValue.java | 106 COMPLEX_UNIT_PX, 117 public static final int COMPLEX_UNIT_PX = 0; field in TypedValue 406 case COMPLEX_UNIT_PX: in applyDimension() 534 if (units < TypedValue.COMPLEX_UNIT_PX || units > TypedValue.COMPLEX_UNIT_MM) { in createComplexDimension() 555 if (units < TypedValue.COMPLEX_UNIT_PX || units > TypedValue.COMPLEX_UNIT_MM) { in createComplexDimension()
|
/aosp12/packages/apps/DeskClock/src/com/android/alarmclock/ |
H A D | DigitalAppWidgetProvider.kt | 45 import android.util.TypedValue.COMPLEX_UNIT_PX 372 rv.setTextViewTextSize(R.id.date, COMPLEX_UNIT_PX, sizes.mFontSizePx.toFloat()) 373 rv.setTextViewTextSize(R.id.nextAlarm, COMPLEX_UNIT_PX, sizes.mFontSizePx.toFloat()) 374 rv.setTextViewTextSize(R.id.clock, COMPLEX_UNIT_PX, sizes.mClockFontSizePx.toFloat()) 484 clock.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mClockFontSizePx.toFloat()) 485 date.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mFontSizePx.toFloat()) 486 nextAlarm.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mFontSizePx.toFloat()) 487 nextAlarmIcon.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mIconFontSizePx.toFloat())
|
/aosp12/packages/apps/PhoneCommon/src/com/android/phone/common/util/ |
H A D | ViewUtil.java | 99 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, originalTextSize); in resizeText() 102 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, in resizeText()
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/util/ |
H A D | ViewUtil.java | 80 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, originalTextSize); in resizeText() 84 TypedValue.COMPLEX_UNIT_PX, Math.max(minTextSize, originalTextSize * ratio)); in resizeText()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | FontSizeUtils.java | 36 v.setTextSize(TypedValue.COMPLEX_UNIT_PX, in updateFontSize()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/views/ |
H A D | Snackbar.java | 140 labelView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSizePx); in show() 141 actionView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSizePx); in show()
|
/aosp12/frameworks/base/core/java/com/android/internal/widget/ |
H A D | DialogTitle.java | 70 setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); in onMeasure()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
H A D | BaseTooltipView.java | 19 import static android.util.TypedValue.COMPLEX_UNIT_PX; 211 mTextView.setTextSize(COMPLEX_UNIT_PX, mFontSize); in updateTextView()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | KeyguardClockSwitch.java | 100 mLargeClockView.setTextSize(TypedValue.COMPLEX_UNIT_PX, mContext.getResources() in onDensityOrFontScaleChanged() 102 mClockView.setTextSize(TypedValue.COMPLEX_UNIT_PX, mContext.getResources() in onDensityOrFontScaleChanged()
|
H A D | KeyguardMessageArea.java | 127 setTextSize(TypedValue.COMPLEX_UNIT_PX, array.getDimensionPixelSize(0, 0)); in onDensityOrFontScaleChanged()
|
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
H A D | TextSizeHelper.kt | 106 mTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize)
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
H A D | DeferredAppWidgetHostView.java | 51 mPaint.setTextSize(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_PX, in DeferredAppWidgetHostView()
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | KeyPreviewView.java | 66 setTextSize(TypedValue.COMPLEX_UNIT_PX, key.selectPreviewTextSize(drawParams)); in setPreviewVisual()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | TextViewFallbackLineSpacingTest.java | 98 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, 100); in testFallbackLineSpacing()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
H A D | BubbleOverflowContainerView.java | 215 mEmptyStateTitle.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize); in updateFontSize() 216 mEmptyStateSubtitle.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize); in updateFontSize()
|
H A D | BubbleFlyoutView.java | 226 mMessageText.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize); in updateFontSize() 227 mSenderText.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize); in updateFontSize()
|
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | SysUiOverlay.java | 60 return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_PX, value, metrics); in dpToPx()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
H A D | HybridGroupManager.java | 143 reusableView.setTextSize(TypedValue.COMPLEX_UNIT_PX, mOverflowNumberSize); in bindOverflowNumber()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | BubbleTextView.java | 196 setTextSize(TypedValue.COMPLEX_UNIT_PX, grid.iconTextSizePx); in BubbleTextView() 201 setTextSize(TypedValue.COMPLEX_UNIT_PX, grid.allAppsIconTextSizePx); in BubbleTextView() 205 setTextSize(TypedValue.COMPLEX_UNIT_PX, grid.folderChildTextSizePx); in BubbleTextView()
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/ |
H A D | ViewPagerTabs.java | 174 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, mTextSize); in addTab()
|
/aosp12/packages/apps/Dialer/java/com/android/incallui/autoresizetext/ |
H A D | AutoResizeTextView.java | 43 private static final int DEFAULT_RESIZE_STEP_UNIT = TypedValue.COMPLEX_UNIT_PX;
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
H A D | PeopleTileViewHelper.java | 34 import static android.util.TypedValue.COMPLEX_UNIT_PX; 373 text.setTextSize(TypedValue.COMPLEX_UNIT_PX, in getLineHeightFromResource() 595 views.setTextViewTextSize(R.id.text_content, COMPLEX_UNIT_PX, textSizePx); in createDndRemoteViews() 1144 views.setTextViewTextSize(R.id.name, TypedValue.COMPLEX_UNIT_PX, in setViewForContentLayout() 1343 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, in buildStaticLayout()
|
/aosp12/packages/apps/Dialer/java/com/android/incallui/answer/impl/hint/ |
H A D | PawAnswerHint.java | 88 TypedValue.COMPLEX_UNIT_PX, context.getResources().getDimension(R.dimen.hint_text_size)); in onCreateView()
|