Home
last modified time | relevance | path

Searched refs:measurements (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/packages/DocumentsUI/app-perf-tests/src/com/android/documentsui/
DFilesAppPerfTest.java66 long[] measurements = new long[NUM_MEASUREMENTS]; in runFilesStartPerformanceTest() local
79 measurements[i] = LauncherActivity.measurement; in runFilesStartPerformanceTest()
83 : KEY_FILES_WARM_START_PERFORMANCE_MEDIAN, measurements); in runFilesStartPerformanceTest()
86 private void reportMetrics(String key, long[] measurements) { in reportMetrics() argument
88 Arrays.sort(measurements); in reportMetrics()
89 final long median = measurements[NUM_MEASUREMENTS / 2 - 1]; in reportMetrics()
/frameworks/base/packages/DocumentsUI/perf-tests/src/com/android/documentsui/
DFilesActivityPerfTest.java83 final List<Long> measurements = new ArrayList<Long>(); in testFilesListedPerformance() local
107 measurements.add(System.currentTimeMillis() - mStartTime); in testFilesListedPerformance()
124 assertEquals(i + 1, measurements.size()); in testFilesListedPerformance()
130 assertEquals(NUM_MEASUREMENTS, measurements.size()); in testFilesListedPerformance()
133 status.putDouble(KEY_FILES_LISTED_PERFORMANCE_FIRST, measurements.get(0)); in testFilesListedPerformance()
135 final Long[] rawMeasurements = measurements.toArray(new Long[NUM_MEASUREMENTS]); in testFilesListedPerformance()
/frameworks/base/location/java/android/location/
DGpsMeasurementsEvent.java79 public GpsMeasurementsEvent(GpsClock clock, GpsMeasurement[] measurements) { in GpsMeasurementsEvent() argument
83 if (measurements == null || measurements.length == 0) { in GpsMeasurementsEvent()
89 Collection<GpsMeasurement> measurementCollection = Arrays.asList(measurements); in GpsMeasurementsEvent()
DGnssMeasurementsEvent.java96 public GnssMeasurementsEvent(GnssClock clock, GnssMeasurement[] measurements) { in GnssMeasurementsEvent() argument
100 if (measurements == null || measurements.length == 0) { in GnssMeasurementsEvent()
106 Collection<GnssMeasurement> measurementCollection = Arrays.asList(measurements); in GnssMeasurementsEvent()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkDiagnostics.java280 ArrayList<Measurement> measurements = new ArrayList(totalMeasurementCount()); in getMeasurements() local
285 measurements.add(entry.getValue()); in getMeasurements()
291 measurements.add(entry.getValue()); in getMeasurements()
296 measurements.add(entry.getValue()); in getMeasurements()
303 measurements.add(entry.getValue()); in getMeasurements()
309 measurements.add(entry.getValue()); in getMeasurements()
314 measurements.add(entry.getValue()); in getMeasurements()
318 return measurements; in getMeasurements()
/frameworks/base/media/jni/audioeffect/
Dandroid_media_Visualizer.cpp635 int32_t measurements[2]; in android_media_visualizer_native_getPeakRms() local
638 2, measurements)); in android_media_visualizer_native_getPeakRms()
641 env->SetIntField(jPeakRmsObj, fields.fidPeak, measurements[MEASUREMENT_IDX_PEAK]); in android_media_visualizer_native_getPeakRms()
642 env->SetIntField(jPeakRmsObj, fields.fidRms, measurements[MEASUREMENT_IDX_RMS]); in android_media_visualizer_native_getPeakRms()
/frameworks/base/docs/html/training/custom-views/
Doptimizing-view.jd55 to be. If it finds conflicting measurements, it may need to traverse the hierarchy multiple times.
67 shape of its children, and thus avoid traversing its children to calculate measurements. The
/frameworks/av/include/media/
DVisualizer.h125 status_t getIntMeasurements(uint32_t type, uint32_t number, int32_t *measurements);
/frameworks/native/opengl/tests/hwc/
DhwcCommit.cpp272 vector<meas> measurements; variable
446 measurements.push_back(meas); in main()
447 measPtr = &measurements[measurements.size() - 1]; in main()
593 printOverlapLine(indent, *it, measurements[it in main()
602 printOverlapLine(indent, *it, measurements[it in main()
611 printOverlapLine(indent, *it, measurements[it in main()
/frameworks/av/media/libmedia/
DVisualizer.cpp221 status_t Visualizer::getIntMeasurements(uint32_t type, uint32_t number, int32_t *measurements) { in getIntMeasurements() argument
247 &replySize, measurements); in getIntMeasurements()
/frameworks/base/docs/html/design/downloads/
Dindex.jd24 <p>The toolkit contains detailed specs and measurements of all of the primary Android Wear UI compo…
84 <p>Detailed specifications and measurements for the the background canvas, notification cards, and
/frameworks/base/services/core/jni/
Dcom_android_server_location_GnssLocationProvider.cpp1309 GpsMeasurement* measurements, in translate_gps_measurements() argument
1325 &measurements[i]); in translate_gps_measurements()
1335 GnssMeasurement* measurements, in translate_gnss_measurements() argument
1351 &measurements[i]); in translate_gnss_measurements()
1400 env, data->measurements, data->measurement_count); in measurement_callback()
1424 env, data->measurements, data->measurement_count); in gnss_measurement_callback()
/frameworks/base/docs/html/guide/topics/ui/
Dhow-android-draws.jd43 its measurements. The second pass happens in
59 children's measurements. A parent {@link android.view.View} may call
Dcustom-components.jd168 accurately report the measurements of its contained parts. This is made
184 the restrictions on the width and height measurements you should produce. A
203 measurements. Failure to do this will result in an exception being
Ddeclaring-layout.jd207 <p>You can specify width and height with exact measurements, though you probably
219 pixels is not recommended. Instead, using relative measurements such as
/frameworks/base/docs/html/training/multiscreen/
Dscreendensities.jd49 measurements.</p>
/frameworks/base/docs/html/training/wearables/watch-faces/
Dissues.jd127 resolutions. Your watch face should adapt to these variations by using relative measurements
/frameworks/base/docs/html/design/wear/
Dwatchfaces.jd230 <p>For more information about measurements and positioning of system UI elements, see
423 <p>To obtain watch face design examples and detailed measurements for the system UI elements, see
/frameworks/base/docs/html/training/testing/
Dperformance.jd43 integrate UI performance measurements into your testing practices.
693 So, how many times should you run a test, before the measurements become meaningful? 10
/frameworks/base/docs/html/ndk/guides/audio/
Doutput-latency.jd216 published measurements</a>.</p>
/frameworks/base/docs/html/guide/topics/sensors/
Dsensors_position.jd367 include some bias, but their measurements contain fewer jumps from corrections applied through
Dsensors_motion.jd431 include some bias, but their measurements contain fewer jumps from corrections applied through
/frameworks/base/docs/html/about/versions/
Djelly-bean.jd272 raw measurements as well as estimated biases to apps. </p>