/cts/tests/tests/util/src/android/util/cts/ |
TypedValueTest.java | 75 final float EXPECTED = TypedValue.applyDimension((10 >> TypedValue.COMPLEX_UNIT_SHIFT) 193 notes = "Test applyDimension().", 194 method = "applyDimension", 205 assertEquals(10.0f, TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_PX, 10, dm)); 207 .applyDimension(TypedValue.COMPLEX_UNIT_DIP, 10, dm)); 208 assertEquals(10 * dm.scaledDensity, TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, 211 TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_PT, 10, dm)); 212 assertEquals(10 * dm.xdpi, TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_IN, 10, dm)); 213 assertEquals(10 * dm.xdpi * (1.0f / 25.4f), TypedValue.applyDimension( 216 assertEquals(0.0f, TypedValue.applyDimension(-1, 10, dm)) [all...] |
/frameworks/base/core/java/android/util/ |
TypedValue.java | 229 return applyDimension( 254 return (int)applyDimension( 282 final float f = applyDimension( 320 public static float applyDimension(int unit, float value,
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentLayout.java | 211 int padding = (int)TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP,
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
FragmentLayoutSupport.java | 214 int padding = (int)TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP,
|
/packages/apps/Settings/src/com/android/settings/widget/ |
ChartGridView.java | 145 TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, 10, res.getDisplayMetrics()));
|
/frameworks/base/core/java/android/widget/ |
CalendarView.java | 387 mWeekMinVisibleHeight = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 389 mListScrollTopOffset = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 391 mBottomBuffer = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 393 mSelectedDateVerticalBarWidth = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 395 mWeekSeperatorLineWidth = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, [all...] |
NumberPicker.java | 515 int defSelectionDividerHeight = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, [all...] |
TextView.java | [all...] |
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
MultiWaveView.java | 818 mSnapMargin = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, [all...] |
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatteryHistoryChart.java | 437 mThinLineWidth = (int)TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP,
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TextViewTest.java | 487 assertEquals(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_PX, 20f, metrics), 491 assertEquals(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 20f, metrics), 495 assertEquals(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, 20f, metrics), 500 assertEquals(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, 20f, metrics), 504 assertEquals(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, 200f, metrics), [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
WindowManagerService.java | [all...] |
/prebuilt/sdk/11/ |
android.jar | |
/prebuilt/sdk/12/ |
android.jar | |
/prebuilt/sdk/13/ |
android.jar | |
/prebuilt/sdk/14/ |
android.jar | |
/prebuilt/sdk/4/ |
android.jar | |
/prebuilt/sdk/5/ |
android.jar | |
/prebuilt/sdk/6/ |
android.jar | |
/prebuilt/sdk/9/ |
android.jar | |