Home
last modified time | relevance | path

Searched defs:metrics (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/base/core/java/android/text/
DBoringLayout.java42 BoringLayout.Metrics metrics, boolean includepad) { in make()
52 BoringLayout.Metrics metrics, boolean includepad, in make()
67 BoringLayout.Metrics metrics, in replaceOrMake()
89 BoringLayout.Metrics metrics, in replaceOrMake()
114 metrics, includepad, trust); in replaceOrMake() local
122 BoringLayout.Metrics metrics, boolean includepad) { in BoringLayout()
137 BoringLayout.Metrics metrics, boolean includepad, in BoringLayout()
165 metrics, includepad, trust); in BoringLayout() local
172 BoringLayout.Metrics metrics, boolean includepad, in init()
242 public static Metrics isBoring(CharSequence text, TextPaint paint, Metrics metrics) { in isBoring()
[all …]
/frameworks/base/core/java/android/util/
DTypedValue.java241 public static float complexToDimension(int data, DisplayMetrics metrics) in complexToDimension()
266 DisplayMetrics metrics) in complexToDimensionPixelOffset()
293 DisplayMetrics metrics) in complexToDimensionPixelSize()
312 public static float complexToDimensionNoisy(int data, DisplayMetrics metrics) in complexToDimensionNoisy()
343 DisplayMetrics metrics) in applyDimension()
372 public float getDimension(DisplayMetrics metrics) in getDimension()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DFrameworkActionBar.java141 DisplayMetrics metrics = mBridgeContext.getMetrics(); in createMenuPopup() local
231 static int getPixelValue(@NonNull String value, @NonNull DisplayMetrics metrics) { in getPixelValue()
239 DisplayMetrics metrics = mBridgeContext.getMetrics(); in getActionBarHeight() local
DNavigationBar.java141 DisplayMetrics metrics = context.getMetrics(); in getShortestWidth() local
/frameworks/base/core/java/com/android/internal/widget/
DWeightedLinearLayout.java58 final DisplayMetrics metrics = getContext().getResources().getDisplayMetrics(); in onMeasure() local
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/
DWindowManagerImpl.java30 public WindowManagerImpl(DisplayMetrics metrics) { in WindowManagerImpl()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DViewLayersActivity.java110 final DisplayMetrics metrics = r.getDisplayMetrics(); in getView() local
DViewLayersActivity2.java60 final DisplayMetrics metrics = r.getDisplayMetrics(); in getView() local
DViewLayersActivity3.java57 final DisplayMetrics metrics = r.getDisplayMetrics(); in getView() local
DTransparentListActivity.java113 final DisplayMetrics metrics = r.getDisplayMetrics(); in getView() local
DViewLayersActivity4.java64 final DisplayMetrics metrics = r.getDisplayMetrics(); in getView() local
DListActivity.java115 final DisplayMetrics metrics = r.getDisplayMetrics(); in getView() local
DViewLayersActivity5.java129 final DisplayMetrics metrics = r.getDisplayMetrics(); in getView() local
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DTextTest.java85 DisplayMetrics metrics = mRes.getDisplayMetrics(); in initTextScript() local
/frameworks/rs/
DrsScriptC_LibGL.cpp229 static void SetMetrics(Font::Rect *metrics, in SetMetrics()
250 Font::Rect metrics; in rsrMeasureTextAlloc() local
259 Font::Rect metrics; in rsrMeasureText() local
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DContentFrameLayout.java80 final DisplayMetrics metrics = getContext().getResources().getDisplayMetrics(); in onMeasure() local
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java108 DisplayMetrics metrics = new DisplayMetrics(); in init() local
/frameworks/base/core/java/android/view/
DViewConfiguration.java285 final DisplayMetrics metrics = res.getDisplayMetrics(); in ViewConfiguration() local
364 final DisplayMetrics metrics = context.getResources().getDisplayMetrics(); in get() local
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
DTransformTestActivity.java129 DisplayMetrics metrics = context.getResources().getDisplayMetrics(); in TransformView() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DScreenPinningRequest.java141 DisplayMetrics metrics = new DisplayMetrics(); in onAttachedToWindow() local
/frameworks/base/services/core/java/com/android/server/policy/
DIconUtilities.java62 DisplayMetrics metrics = mDisplayMetrics = resources.getDisplayMetrics(); in IconUtilities() local
/frameworks/base/core/java/android/content/res/
DResources.java248 public Resources(AssetManager assets, DisplayMetrics metrics, Configuration config) { in Resources()
263 public Resources(AssetManager assets, DisplayMetrics metrics, Configuration config, in Resources()
1969 DisplayMetrics metrics) { in updateConfiguration()
1977 DisplayMetrics metrics, CompatibilityInfo compat) { in updateConfiguration()
2124 public static void updateSystemConfiguration(Configuration config, DisplayMetrics metrics, in updateSystemConfiguration()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DErrorFragment.java217 FontMetricsInt metrics = getFontMetricsInt(mTextView); in onCreateView() local
DErrorSupportFragment.java219 FontMetricsInt metrics = getFontMetricsInt(mTextView); in onCreateView() local
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java237 final DisplayMetrics metrics = getResources().getDisplayMetrics(); in onMeasure() local

123