Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/wm/
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()
/frameworks/base/core/java/android/util/
DTypedValue.java110 COMPLEX_UNIT_PX,
121 public static final int COMPLEX_UNIT_PX = 0; field in TypedValue
425 case COMPLEX_UNIT_PX: in applyDimension()
467 case COMPLEX_UNIT_PX: in deriveDimension()
663 if (units < TypedValue.COMPLEX_UNIT_PX || units > TypedValue.COMPLEX_UNIT_MM) { in createComplexDimension()
684 if (units < TypedValue.COMPLEX_UNIT_PX || units > TypedValue.COMPLEX_UNIT_MM) { in createComplexDimension()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DFontSizeUtils.java38 v.setTextSize(TypedValue.COMPLEX_UNIT_PX, in updateFontSize()
55 v.setTextSize(TypedValue.COMPLEX_UNIT_PX, updatedTextPixelSize); in updateFontSizeFromStyle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuMessageView.java19 import static android.util.TypedValue.COMPLEX_UNIT_PX;
168 mTextView.setTextSize(COMPLEX_UNIT_PX, textSize); in updateResources()
173 mUndoButton.setTextSize(COMPLEX_UNIT_PX, textSize); in updateResources()
DMenuEduTooltipView.java19 import static android.util.TypedValue.COMPLEX_UNIT_PX;
178 mMessageView.setTextSize(COMPLEX_UNIT_PX, mFontSize); in updateMessageView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardIndicationAreaBinder.kt112 TypedValue.COMPLEX_UNIT_PX, in <lambda>()
116 TypedValue.COMPLEX_UNIT_PX, in <lambda>()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DDialogTitle.java69 setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); in onMeasure()
/frameworks/base/core/java/com/android/internal/widget/
DDialogTitle.java70 setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); in onMeasure()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/clocks/
DDefaultClockProviderTest.kt153 verify(mockSmallClockView).setTextSize(eq(TypedValue.COMPLEX_UNIT_PX), eq(100f)) in createClock()
161 verify(mockLargeClockView).setTextSize(eq(TypedValue.COMPLEX_UNIT_PX), eq(200f)) in createClock()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardMessageArea.java95 setTextSize(TypedValue.COMPLEX_UNIT_PX, array.getDimensionPixelSize(0, 0)); in onDensityOrFontScaleChanged()
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
DAnimatableClockView.kt29 import android.util.TypedValue.COMPLEX_UNIT_PX in <lambda>()
221 lastUnconstrainedTextSize = if (type == COMPLEX_UNIT_PX) size else Float.MAX_VALUE in <lambda>()
235 super.setTextSize(COMPLEX_UNIT_PX, size) in <lambda>()
DDefaultClockController.kt156 view.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSizePx) in onFontSettingChanged()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewFallbackLineSpacingTest.java98 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, 100); in testFallbackLineSpacing()
DTextViewPopulateCharacterBoundsTest.java83 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); in createTextView()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DSysUiOverlay.java60 return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_PX, value, metrics); in dpToPx()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DHybridGroupManager.java159 reusableView.setTextSize(TypedValue.COMPLEX_UNIT_PX, mOverflowNumberSize); in bindOverflowNumber()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleOverflowContainerView.java244 mEmptyStateTitle.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize); in updateFontSize()
245 mEmptyStateSubtitle.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize); in updateFontSize()
DBubbleFlyoutView.java225 mMessageText.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize); in updateFontSize()
226 mSenderText.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize); in updateFontSize()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/view/
DA11yMenuAdapter.java139 shortcutLabel.setTextSize(android.util.TypedValue.COMPLEX_UNIT_PX, mLargeTextSize); in configureShortcutSize()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java153 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, in setStyle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleTileViewHelper.java34 import static android.util.TypedValue.COMPLEX_UNIT_PX;
380 text.setTextSize(TypedValue.COMPLEX_UNIT_PX, in getLineHeightFromResource()
603 views.setTextViewTextSize(R.id.text_content, COMPLEX_UNIT_PX, textSizePx); in createDndRemoteViews()
1152 views.setTextViewTextSize(R.id.name, TypedValue.COMPLEX_UNIT_PX, in setViewForContentLayout()
1357 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, in buildStaticLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/fontscaling/
DFontScalingDialogDelegate.kt251 TypedValue.COMPLEX_UNIT_PX, in createTextPreview()
/frameworks/base/core/tests/coretests/src/android/util/
DTypedValueTest.kt253 TypedValue.COMPLEX_UNIT_PX, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayView.java566 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, (int) fontSizePx); in updateTextSize()
570 (int) maxFontSize, FONT_SEARCH_STEP_PX, TypedValue.COMPLEX_UNIT_PX); in updateTextSize()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
DCarSetupWizardLayout.java618 button.setTextSize(TypedValue.COMPLEX_UNIT_PX, dimension); in setButtonTextSize()

12