Home
last modified time | relevance | path

Searched refs:COMPLEX_UNIT_PX (Results 1 – 25 of 62) sorted by relevance

123

/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DWatermark.java96 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 DFontScalePreviewFragment.java62 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 DTypedValue.java106 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 DDigitalAppWidgetProvider.kt45 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 DViewUtil.java99 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 DViewUtil.java80 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 DFontSizeUtils.java36 v.setTextSize(TypedValue.COMPLEX_UNIT_PX, in updateFontSize()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/views/
H A DSnackbar.java140 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 DDialogTitle.java70 setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); in onMeasure()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
H A DBaseTooltipView.java19 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 DKeyguardClockSwitch.java100 mLargeClockView.setTextSize(TypedValue.COMPLEX_UNIT_PX, mContext.getResources() in onDensityOrFontScaleChanged()
102 mClockView.setTextSize(TypedValue.COMPLEX_UNIT_PX, mContext.getResources() in onDensityOrFontScaleChanged()
H A DKeyguardMessageArea.java127 setTextSize(TypedValue.COMPLEX_UNIT_PX, array.getDimensionPixelSize(0, 0)); in onDensityOrFontScaleChanged()
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/widget/
H A DTextSizeHelper.kt106 mTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize)
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/widget/
H A DDeferredAppWidgetHostView.java51 mPaint.setTextSize(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_PX, in DeferredAppWidgetHostView()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DKeyPreviewView.java66 setTextSize(TypedValue.COMPLEX_UNIT_PX, key.selectPreviewTextSize(drawParams)); in setPreviewVisual()
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewFallbackLineSpacingTest.java98 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, 100); in testFallbackLineSpacing()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubbleOverflowContainerView.java215 mEmptyStateTitle.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize); in updateFontSize()
216 mEmptyStateSubtitle.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize); in updateFontSize()
H A DBubbleFlyoutView.java226 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 DSysUiOverlay.java60 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 DHybridGroupManager.java143 reusableView.setTextSize(TypedValue.COMPLEX_UNIT_PX, mOverflowNumberSize); in bindOverflowNumber()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DBubbleTextView.java196 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 DViewPagerTabs.java174 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, mTextSize); in addTab()
/aosp12/packages/apps/Dialer/java/com/android/incallui/autoresizetext/
H A DAutoResizeTextView.java43 private static final int DEFAULT_RESIZE_STEP_UNIT = TypedValue.COMPLEX_UNIT_PX;
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
H A DPeopleTileViewHelper.java34 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 DPawAnswerHint.java88 TypedValue.COMPLEX_UNIT_PX, context.getResources().getDimension(R.dimen.hint_text_size)); in onCreateView()

123