Home
last modified time | relevance | path

Searched refs:histogram (Results 1 – 20 of 20) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DMetricsUtils.java89 public static int addValueToLogHistogram(long x, SparseIntArray histogram, LogHistParms hp) { in addValueToLogHistogram() argument
117 int newValue = histogram.get(key) + 1; in addValueToLogHistogram()
118 histogram.put(key, newValue); in addValueToLogHistogram()
127 public static GenericBucket[] logHistogramToGenericBuckets(SparseIntArray histogram, in logHistogramToGenericBuckets() argument
129 GenericBucket[] protoArray = new GenericBucket[histogram.size()]; in logHistogramToGenericBuckets()
130 for (int i = 0; i < histogram.size(); ++i) { in logHistogramToGenericBuckets()
131 int key = histogram.keyAt(i); in logHistogramToGenericBuckets()
136 protoArray[i].count = histogram.valueAt(i); in logHistogramToGenericBuckets()
152 public static int addValueToLinearHistogram(int x, SparseIntArray histogram, int[] hp) { in addValueToLinearHistogram() argument
163 int newValue = histogram.get(bucket) + 1; in addValueToLinearHistogram()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/rtt/
DRttMetrics.java292 SparseIntArray histogram) { in consolidateOverallStatus() argument
294 new WifiMetricsProto.WifiRttLog.RttOverallStatusHistogramBucket[histogram.size()]; in consolidateOverallStatus()
295 for (int i = 0; i < histogram.size(); i++) { in consolidateOverallStatus()
297 h[i].statusType = histogram.keyAt(i); in consolidateOverallStatus()
298 h[i].count = histogram.valueAt(i); in consolidateOverallStatus()
320 consolidateIndividualStatus(SparseIntArray histogram) { in consolidateIndividualStatus() argument
322 new WifiMetricsProto.WifiRttLog.RttIndividualStatusHistogramBucket[histogram.size( in consolidateIndividualStatus()
324 for (int i = 0; i < histogram.size(); i++) { in consolidateIndividualStatus()
326 h[i].statusType = histogram.keyAt(i); in consolidateIndividualStatus()
327 h[i].count = histogram.valueAt(i); in consolidateIndividualStatus()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
DHistogramView.java81 private void drawHistogram(Canvas canvas, int[] histogram, int color, PorterDuff.Mode mode) { in drawHistogram() argument
83 for (int i = 0; i < histogram.length; i++) { in drawHistogram()
84 if (histogram[i] > max) { in drawHistogram()
85 max = histogram[i]; in drawHistogram()
91 float wl = w / histogram.length; in drawHistogram()
114 for (int i = 0; i < histogram.length; i++) { in drawHistogram()
116 float l = histogram[i] * wh; in drawHistogram()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareMetrics.java828 public static void addNanHalStatusToHistogram(int halStatus, SparseIntArray histogram) { in addNanHalStatusToHistogram() argument
830 int newValue = histogram.get(protoStatus) + 1; in addNanHalStatusToHistogram()
831 histogram.put(protoStatus, newValue); in addNanHalStatusToHistogram()
839 SparseIntArray histogram) { in histogramToProtoArray() argument
841 new WifiMetricsProto.WifiAwareLog.NanStatusHistogramBucket[histogram.size()]; in histogramToProtoArray()
843 for (int i = 0; i < histogram.size(); ++i) { in histogramToProtoArray()
845 protoArray[i].nanStatusType = histogram.keyAt(i); in histogramToProtoArray()
846 protoArray[i].count = histogram.valueAt(i); in histogramToProtoArray()
919 histogramToNanRequestProtoArray(SparseIntArray histogram) { in histogramToNanRequestProtoArray() argument
921 new WifiMetricsProto.WifiAwareLog.NdpRequestTypeHistogramBucket[histogram.size()]; in histogramToNanRequestProtoArray()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageCurves.java367 private void drawHistogram(Canvas canvas, int[] histogram, int color, PorterDuff.Mode mode) { in drawHistogram() argument
369 for (int i = 0; i < histogram.length; i++) { in drawHistogram()
370 if (histogram[i] > max) { in drawHistogram()
371 max = histogram[i]; in drawHistogram()
377 float wl = w / histogram.length; in drawHistogram()
392 for (int i = 0; i < histogram.length; i++) { in drawHistogram()
394 float l = histogram[i] * wh; in drawHistogram()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardParams.java171 private static int updateHistogramCounter(final SparseIntArray histogram, final int key) { in updateHistogramCounter() argument
172 final int index = histogram.indexOfKey(key); in updateHistogramCounter()
173 final int count = (index >= 0 ? histogram.get(key) : 0) + 1; in updateHistogramCounter()
174 histogram.put(key, count); in updateHistogramCounter()
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto645 // WiFi channel utilization histogram of various RF bands
648 // WiFi Tx and Rx throughput histogram at various RF bands
1603 // histogram of attach request results
1624 // histogram of publish request results
1627 // histogram of subscribe request results
1634 // histogram of create ndp request results
1637 // histogram of create ndp out-of-band (OOB) request results
1661 // histogram of durations of Aware being available
1664 // histogram of durations of Aware being enabled
1667 // histogram of duration (in ms) of attach sessions
[all …]
/packages/inputmethods/LatinIME/tools/make-keyboard-text/res/src/com/android/inputmethod/keyboard/internal/
DKeyboardTextsTable.tmpl85 // /* index:histogram */ "name",
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEmergencyContactsPreference.java214 MetricsLogger.histogram(getContext(), in setEmergencyContacts()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMetrics.java3773 final SparseIntArray histogram = entry.getValue(); in dump() local
3776 int count = histogram.get(i); in dump()
4631 SparseIntArray histogram = entry.getValue(); in consolidateProto() local
4632 for (int i = 0; i < histogram.size(); i++) { in consolidateProto()
4634 keyVal.rssi = histogram.keyAt(i); in consolidateProto()
4635 keyVal.count = histogram.valueAt(i); in consolidateProto()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dnb_wordlist.combined.gz
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...
Dsv_wordlist.combined.gz
Dro_wordlist.combined.gz