Home
last modified time | relevance | path

Searched refs:mMetrics (Results 1 – 4 of 4) sorted by relevance

/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DDeviceInfoResult.java69 private Map<String, String> mMetrics = new HashMap<String, String>(); field in DeviceInfoResult
80 if (mMetrics.isEmpty()) { in serialize()
88 Map<String, String> metricsCopy = new HashMap<String, String>(mMetrics); in serialize()
240 mMetrics.put(DeviceInfoConstants.FEATURES, parseFeatures(parser)); in parse()
242 mMetrics.put(DeviceInfoConstants.PROCESSES, parseProcess(parser)); in parse()
244 mMetrics.put(DeviceInfoConstants.SYS_LIBRARIES, parseSystemLibraries(parser)); in parse()
246 mMetrics.put(DeviceInfoConstants.OPEN_GL_COMPRESSED_TEXTURE_FORMATS, in parse()
335 mMetrics.put(parser.getAttributeName(i), parser.getAttributeValue(i)); in addMetricsFromAttributes()
346 if (mMetrics.isEmpty()) { in populateMetrics()
348 mMetrics.putAll(metrics); in populateMetrics()
[all …]
DTestPackageResult.java65 private Map<String, String> mMetrics = new HashMap<String, String>(); field in TestPackageResult
247 mMetrics.putAll(metrics); in populateMetrics()
319 return mMetrics; in getMetrics()
/cts/tests/leanbackjank/app/src/android/cts/jank/leanback/ui/
DMainFragment.java55 private DisplayMetrics mMetrics; field in MainFragment
97 mMetrics = new DisplayMetrics(); in prepareBackgroundManager()
98 getActivity().getWindowManager().getDefaultDisplay().getMetrics(mMetrics); in prepareBackgroundManager()
/cts/tests/tests/content/src/android/content/res/cts/
DConfigTest.java90 final DisplayMetrics mMetrics; field in ConfigTest.TotalConfig
94 mMetrics = new DisplayMetrics(); in TotalConfig()
122 mMetrics.widthPixels = value; in setProperty()
123 mMetrics.noncompatWidthPixels = value; in setProperty()
126 mMetrics.heightPixels = value; in setProperty()
127 mMetrics.noncompatHeightPixels = value; in setProperty()
131 mMetrics.density = (((float)value)/((float)DisplayMetrics.DENSITY_DEFAULT)); in setProperty()
132 mMetrics.noncompatDensity = mMetrics.density; in setProperty()
188 return new Resources(assmgr, mMetrics, mConfig); in getResources()