Home
last modified time | relevance | path

Searched refs:COMPLEX_UNIT_SP (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/util/
DTypedValueTest.kt171 assertThat(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, 10f, metrics)) in <lambda>()
173 assertThat(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, 50f, metrics)) in <lambda>()
175 assertThat(TypedValue.deriveDimension(TypedValue.COMPLEX_UNIT_SP, 20f, metrics)) in <lambda>()
177 assertThat(TypedValue.deriveDimension(TypedValue.COMPLEX_UNIT_SP, 100f, metrics)) in <lambda>()
229 TypedValue.COMPLEX_UNIT_SP, in <lambda>()
247 assertThat(TypedValue.deriveDimension(TypedValue.COMPLEX_UNIT_SP, 23f, metrics)) in <lambda>()
255 TypedValue.COMPLEX_UNIT_SP, in <lambda>()
/frameworks/base/services/core/java/com/android/server/input/debug/
DRotaryInputValueView.java19 import static android.util.TypedValue.COMPLEX_UNIT_SP;
101 return (int) TypedValue.applyDimension(COMPLEX_UNIT_SP, dimensionSp, dm); in applyDimensionSp()
DRotaryInputGraphView.java19 import static android.util.TypedValue.COMPLEX_UNIT_SP;
242 return (int) TypedValue.applyDimension(COMPLEX_UNIT_SP, dimensionSp, dm);
DFocusEventDebugView.java20 import static android.util.TypedValue.COMPLEX_UNIT_SP;
398 (int) TypedValue.applyDimension(COMPLEX_UNIT_SP, KEY_VIEW_TEXT_SIZE_SP, dm); in PressedKeyView()
/frameworks/base/core/java/android/util/
DTypedValue.java112 COMPLEX_UNIT_SP,
126 public static final int COMPLEX_UNIT_SP = 2; field in TypedValue
429 case COMPLEX_UNIT_SP: in applyDimension()
476 case COMPLEX_UNIT_SP: in deriveDimension()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DConfigurableTexts.java80 text.setTextSize(TypedValue.COMPLEX_UNIT_SP, sp); in setTextSizeH()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationContentInflaterTest.java357 .thenReturn((int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, 10, in testNotificationViewHeightTooSmallFailsValidation()
368 .thenReturn((int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, 17, in testNotificationViewPassesValidation()
DNotificationRowContentBinderImplTest.kt456 TypedValue.COMPLEX_UNIT_SP, in <lambda>()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCaptivePortalLoginActivity.java336 private final float mDpPerSp = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, 1,
/frameworks/base/core/java/android/hardware/input/
DKeyboardLayoutPreviewDrawable.java428 mSpToPxMultiplier = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, 1, in ResourceProvider()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java735 new UnitEntry("sp", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_SP, 1.0f),
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h365 COMPLEX_UNIT_SP = 2, enumerator
/frameworks/base/tools/aapt2/
DResourceValues.cpp422 case Res_value::COMPLEX_UNIT_SP: in ComplexToString()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp5391 { "sp", strlen("sp"), Res_value::TYPE_DIMENSION, Res_value::COMPLEX_UNIT_SP, 1.0f },
7590 case Res_value::COMPLEX_UNIT_SP: printf("sp"); break; in print_complex()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31930 field public static final int COMPLEX_UNIT_SP = 2; // 0x2
/frameworks/base/core/api/
Dcurrent.txt50420 field public static final int COMPLEX_UNIT_SP = 2; // 0x2