Home
last modified time | relevance | path

Searched refs:COMPLEX_UNIT_PX (Results 1 – 25 of 35) 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/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/core/java/android/util/
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()
/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.kt149 verify(mockSmallClockView).setTextSize(eq(TypedValue.COMPLEX_UNIT_PX), eq(100f)) in defaultSmallClock_events_onFontSettingChanged()
157 verify(mockLargeClockView).setTextSize(eq(TypedValue.COMPLEX_UNIT_PX), eq(200f)) in defaultLargeClock_events_onFontSettingChanged()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardMessageArea.java88 setTextSize(TypedValue.COMPLEX_UNIT_PX, array.getDimensionPixelSize(0, 0)); in onDensityOrFontScaleChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DBaseTooltipView.java19 import static android.util.TypedValue.COMPLEX_UNIT_PX;
211 mTextView.setTextSize(COMPLEX_UNIT_PX, mFontSize); in updateTextView()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewFallbackLineSpacingTest.java98 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, 100); in testFallbackLineSpacing()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DSysUiOverlay.java60 return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_PX, value, metrics); in dpToPx()
DResourceHelper.java722 new UnitEntry("px", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_PX, 1.0f),
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DHybridGroupManager.java134 reusableView.setTextSize(TypedValue.COMPLEX_UNIT_PX, mOverflowNumberSize); in bindOverflowNumber()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleOverflowContainerView.java237 mEmptyStateTitle.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize); in updateFontSize()
238 mEmptyStateSubtitle.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize); in updateFontSize()
DBubbleFlyoutView.java226 mMessageText.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize); in updateFontSize()
227 mSenderText.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize); in updateFontSize()
DBubbleExpandedView.java450 mManageButton.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize); in updateFontSize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardBottomAreaViewBinder.kt224 TypedValue.COMPLEX_UNIT_PX, in <lambda>()
228 TypedValue.COMPLEX_UNIT_PX, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleTileViewHelper.java34 import static android.util.TypedValue.COMPLEX_UNIT_PX;
374 text.setTextSize(TypedValue.COMPLEX_UNIT_PX, in getLineHeightFromResource()
597 views.setTextViewTextSize(R.id.text_content, COMPLEX_UNIT_PX, textSizePx); in createDndRemoteViews()
1146 views.setTextViewTextSize(R.id.name, TypedValue.COMPLEX_UNIT_PX, in setViewForContentLayout()
1351 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, in buildStaticLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayView.java465 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, (int) fontSizePx); in updateTextSize()
469 (int) maxFontSize, FONT_SEARCH_STEP_PX, TypedValue.COMPLEX_UNIT_PX); in updateTextSize()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java187 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, in setStyle()
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
DDefaultClockController.kt134 view.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSizePx) in onFontSettingChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarView.java165 mCarrierLabel.setTextSize(TypedValue.COMPLEX_UNIT_PX, in onConfigurationChanged()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
DCarSetupWizardLayout.java618 button.setTextSize(TypedValue.COMPLEX_UNIT_PX, dimension); in setButtonTextSize()
DCarSetupWizardBaseLayout.java818 button.setTextSize(TypedValue.COMPLEX_UNIT_PX, dimension); in setButtonTextSize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlViewHolder.kt304 status.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize) in getStatusText()
/frameworks/base/core/java/android/widget/
DFastScroller.java332 mPrimaryText.setTextSize(TypedValue.COMPLEX_UNIT_PX, mTextSize); in updateAppearance()
333 mSecondaryText.setTextSize(TypedValue.COMPLEX_UNIT_PX, mTextSize); in updateAppearance()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java939 mPreviewText.setTextSize(TypedValue.COMPLEX_UNIT_PX, mKeyTextSize); in showKey()
942 mPreviewText.setTextSize(TypedValue.COMPLEX_UNIT_PX, mPreviewTextSizeLarge); in showKey()

12