Home
last modified time | relevance | path

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

1234

/frameworks/base/core/tests/coretests/src/android/app/admin/
DPasswordMetricsTest.java55 final PasswordMetrics metrics = new PasswordMetrics(); in testIsDefault() local
78 final PasswordMetrics metrics; in testParceling() local
102 final PasswordMetrics metrics = in testComputeForPassword_metrics() local
328 PasswordMetrics metrics = in testGetTargetQualityMetrics_noneComplexityReturnsDefaultMetrics() local
336 PasswordMetrics metrics = in testGetTargetQualityMetrics_qualityNotAllowedReturnsMinQualityMetrics() local
345 PasswordMetrics metrics = getTargetQualityMetrics( in testGetTargetQualityMetrics_highComplexityNumericComplex() local
354 PasswordMetrics metrics = getTargetQualityMetrics( in testGetTargetQualityMetrics_mediumComplexityAlphabetic() local
363 PasswordMetrics metrics = getTargetQualityMetrics( in testGetTargetQualityMetrics_lowComplexityAlphanumeric() local
422 PasswordMetrics metrics = getMinimumMetrics( in testGetMinimumMetrics_userInputStricter() local
435 PasswordMetrics metrics = getMinimumMetrics( in testGetMinimumMetrics_actualRequiredQualityStricter() local
/frameworks/base/core/java/android/text/
DBoringLayout.java55 Alignment align, float spacingMult, float spacingAdd, BoringLayout.Metrics metrics, in make()
81 Alignment align, float spacingmult, float spacingadd, BoringLayout.Metrics metrics, in make()
104 Alignment align, float spacingMult, float spacingAdd, BoringLayout.Metrics metrics, in replaceOrMake()
138 Alignment align, float spacingMult, float spacingAdd, BoringLayout.Metrics metrics, in replaceOrMake()
157 init(getText(), paint, align, metrics, includePad, trust); in replaceOrMake() local
174 float spacingMult, float spacingAdd, BoringLayout.Metrics metrics, boolean includePad) { in BoringLayout()
203 float spacingMult, float spacingAdd, BoringLayout.Metrics metrics, boolean includePad, in BoringLayout()
227 init(getText(), paint, align, metrics, includePad, trust); in BoringLayout() local
231 BoringLayout.Metrics metrics, boolean includePad, boolean trustWidth) { in init()
297 public static Metrics isBoring(CharSequence text, TextPaint paint, Metrics metrics) { in isBoring()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DTextViewPrecomputedTextPerfTest.java87 BoringLayout.Metrics metrics = new BoringLayout.Metrics(); in testNewLayout_RandomText() local
106 BoringLayout.Metrics metrics = new BoringLayout.Metrics(); in testNewLayout_RandomText_Selectable() local
126 BoringLayout.Metrics metrics = new BoringLayout.Metrics(); in testNewLayout_PrecomputedText() local
148 BoringLayout.Metrics metrics = new BoringLayout.Metrics(); in testNewLayout_PrecomputedText_Selectable() local
171 BoringLayout.Metrics metrics = new BoringLayout.Metrics(); in testSetText_RandomText() local
188 BoringLayout.Metrics metrics = new BoringLayout.Metrics(); in testSetText_RandomText_Selectable() local
206 BoringLayout.Metrics metrics = new BoringLayout.Metrics(); in testSetText_PrecomputedText() local
226 BoringLayout.Metrics metrics = new BoringLayout.Metrics(); in testSetText_PrecomputedText_Selectable() local
/frameworks/base/apct-tests/perftests/core/src/android/text/
DBoringLayoutCreateDrawPerfTest.java93 final BoringLayout.Metrics metrics = BoringLayout.isBoring(text, mTextPaint); in timeCreate() local
117 final BoringLayout.Metrics metrics = BoringLayout.isBoring(text, mTextPaint); in timeDraw() local
147 BoringLayout.Metrics metrics) { in createLayout()
/frameworks/base/core/java/android/util/
DTypedValue.java283 public static float complexToDimension(int data, DisplayMetrics metrics) in complexToDimension()
308 DisplayMetrics metrics) in complexToDimensionPixelOffset()
335 DisplayMetrics metrics) in complexToDimensionPixelSize()
354 public static float complexToDimensionNoisy(int data, DisplayMetrics metrics) in complexToDimensionNoisy()
385 DisplayMetrics metrics) in applyDimension()
414 public float getDimension(DisplayMetrics metrics) in getDimension()
/frameworks/av/drm/libmediadrm/tests/
DDrmMetrics_test.cpp59 MediaDrmMetrics metrics; in TEST_F() local
67 MediaDrmMetrics metrics; in TEST_F() local
126 MediaDrmMetrics metrics; in TEST_F() local
269 MediaDrmMetrics metrics; in TEST_F() local
333 MediaDrmMetrics metrics; in TEST_F() local
380 FakeMediaDrmMetrics metrics; in TEST_F() local
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
DBridgeContextTest.java55 DisplayMetrics metrics = new DisplayMetrics(); in basic() local
102 DisplayMetrics metrics = new DisplayMetrics(); in checkNoErrorWhenUsingDefaults() local
/frameworks/base/cmds/statsd/tests/
Dstatsd_test_util.h218 T* metrics) { in backfillStringInDimension()
300 T* metrics) { in backfillStartEndTimestampForMetrics()
315 void backfillStartEndTimestampForSkippedBuckets(const int64_t timeBaseNs, T* metrics) { in backfillStartEndTimestampForSkippedBuckets()
/frameworks/av/drm/libmediadrm/
DDrmMetrics.cpp65 PersistableBundle *metrics) { in ExportCounterMetric()
96 const android::CounterMetric<T> &counter, PersistableBundle *metrics) { in ExportCounterMetricWithAttributeNames()
110 PersistableBundle *metrics) { in ExportEventMetric()
144 PersistableBundle *metrics) { in ExportSessionLifespans()
240 void MediaDrmMetrics::Export(PersistableBundle *metrics) { in Export()
264 DrmFrameworkMetrics metrics; in GetSerializedMetrics() local
DPluginMetricsReporting.cpp34 status_t reportVendorMetrics(const std::string& metrics, in reportVendorMetrics()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DFrameworkActionBar.java139 DisplayMetrics metrics = mBridgeContext.getMetrics(); in createMenuPopup() local
230 static int getPixelValue(@NonNull String value, @NonNull DisplayMetrics metrics) { in getPixelValue()
238 DisplayMetrics metrics = mBridgeContext.getMetrics(); in getActionBarHeight() local
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DFullscreenRotationTest.java40 public void afterTest(Bundle metrics) { in afterTest()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DSysUiOverlay.java59 private static float dpToPx(DisplayMetrics metrics, float value) { in dpToPx()
67 DisplayMetrics metrics = context.getResources().getDisplayMetrics(); in SysUiOverlay() 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/cmds/statsd/tests/e2e/
DDimensionInCondition_e2e_simple_cond_test.cpp155 StatsLogReport::DurationMetricDataWrapper metrics; in TEST() local
450 StatsLogReport::DurationMetricDataWrapper metrics; in TEST() local
671 StatsLogReport::DurationMetricDataWrapper metrics; in TEST() local
DDimensionInCondition_e2e_combination_AND_cond_test.cpp224 StatsLogReport::DurationMetricDataWrapper metrics; in TEST() local
560 StatsLogReport::DurationMetricDataWrapper metrics; in TEST() local
810 StatsLogReport::DurationMetricDataWrapper metrics; in TEST() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/tuner/
DTunablePaddingTest.java116 DisplayMetrics metrics = new DisplayMetrics(); in testTuning() local
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DGamePerformanceTest.java76 final Map<String, Double> metrics = in testGraphicBufferMetrics() local
/frameworks/layoutlib/bridge/src/android/view/
DIWindowManagerImpl.java34 public IWindowManagerImpl(Configuration config, DisplayMetrics metrics, int rotation, in IWindowManagerImpl()
/frameworks/base/core/java/com/android/internal/widget/
DWeightedLinearLayout.java58 final DisplayMetrics metrics = getContext().getResources().getDisplayMetrics(); in onMeasure() local
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DViewLayersActivity2.java60 final DisplayMetrics metrics = r.getDisplayMetrics(); in getView() local
DViewLayersActivity3.java57 final DisplayMetrics metrics = r.getDisplayMetrics(); in getView() local
DViewLayersActivity.java110 final DisplayMetrics metrics = r.getDisplayMetrics(); in getView() local
DTransparentListActivity.java113 final DisplayMetrics metrics = r.getDisplayMetrics(); in getView() local

1234