Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/coretests/src/android/app/admin/
DPasswordMetricsTest.java37 final PasswordMetrics metrics = new PasswordMetrics(); in testIsDefault() local
51 final PasswordMetrics metrics = new PasswordMetrics( in testIsNotDefault() local
58 final PasswordMetrics metrics = PasswordMetrics.computeForPassword(""); in testComputeForEmptyPassword() local
74 final PasswordMetrics metrics; in testParceling() local
98 final PasswordMetrics metrics = PasswordMetrics.computeForPassword("6B~0z1Z3*8A"); in testComputeForPassword_metrics() local
/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()
228 public static Metrics isBoring(CharSequence text, TextPaint paint, Metrics metrics) { in isBoring()
[all …]
/frameworks/base/core/java/android/util/
DTypedValue.java265 public static float complexToDimension(int data, DisplayMetrics metrics) in complexToDimension()
290 DisplayMetrics metrics) in complexToDimensionPixelOffset()
317 DisplayMetrics metrics) in complexToDimensionPixelSize()
336 public static float complexToDimensionNoisy(int data, DisplayMetrics metrics) in complexToDimensionNoisy()
367 DisplayMetrics metrics) in applyDimension()
396 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
232 static int getPixelValue(@NonNull String value, @NonNull DisplayMetrics metrics) { in getPixelValue()
240 DisplayMetrics metrics = mBridgeContext.getMetrics(); in getActionBarHeight() local
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteDialogHelper.java43 DisplayMetrics metrics = context.getResources().getDisplayMetrics(); in getDialogWidth() local
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DFullscreenRotationTest.java39 public void afterTest(Bundle metrics) { in afterTest()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTests.java337 DisplayMetrics metrics = new DisplayMetrics(); in testGetResourceNameVariants() local
374 DisplayMetrics metrics = new DisplayMetrics(); in testStringEscaping() local
428 DisplayMetrics metrics = new DisplayMetrics(); in testColorTypedValue() local
/frameworks/support/core-utils/tests/java/android/support/v4/app/
DFrameMetricsAggregatorTest.java53 FrameMetricsAggregator metrics = new FrameMetricsAggregator(); in testFrameMetrics() local
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DResizeHWLayerActivity.java36 DisplayMetrics metrics = getResources().getDisplayMetrics(); in onCreate() local
DGlTextureViewActivity.java53 DisplayMetrics metrics = mTextureView.getContext().getResources().getDisplayMetrics(); in onSurfaceTextureAvailable() 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.java31 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
DViewLayersActivity3.java57 final DisplayMetrics metrics = r.getDisplayMetrics(); in getView() local
DViewLayersActivity2.java60 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
/frameworks/rs/
DrsScriptC_LibGL.cpp225 static void SetMetrics(Font::Rect *metrics, in SetMetrics()
246 Font::Rect metrics; in rsrMeasureTextAlloc() local
255 Font::Rect metrics; in rsrMeasureText() local
/frameworks/base/services/core/java/com/android/server/pm/
DParallelPackageParser.java58 DisplayMetrics metrics, File cacheDir, PackageParser.Callback callback) { in ParallelPackageParser()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java107 DisplayMetrics metrics = new DisplayMetrics(); in init() local
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DContentFrameLayout.java95 final DisplayMetrics metrics = getContext().getResources().getDisplayMetrics(); in onMeasure() local
DTooltipPopup.java154 final DisplayMetrics metrics = res.getDisplayMetrics(); in computePosition() local
/frameworks/base/core/java/android/content/res/
DResources.java217 public Resources(AssetManager assets, DisplayMetrics metrics, Configuration config) { in Resources()
240 final DisplayMetrics metrics = new DisplayMetrics(); in Resources() local
1805 public void updateConfiguration(Configuration config, DisplayMetrics metrics) { in updateConfiguration()
1812 public void updateConfiguration(Configuration config, DisplayMetrics metrics, in updateConfiguration()
1823 public static void updateSystemConfiguration(Configuration config, DisplayMetrics metrics, in updateSystemConfiguration()
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
DTransformTestActivity.java129 DisplayMetrics metrics = context.getResources().getDisplayMetrics(); in TransformView() local

123