Searched refs:hist (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | ColorCutQuantizer.java | 91 final int[] hist = mHistogram = new int[1 << (QUANTIZE_WORD_WIDTH * 3)]; in quantize() local 97 hist[quantizedColor]++; in quantize() 106 for (int color = 0; color < hist.length; color++) { in quantize() 107 if (hist[color] > 0) { in quantize() 120 for (int color = 0; color < hist.length; color++) { in quantize() 121 if (hist[color] > 0) { in quantize() 134 mQuantizedColors.add(new Swatch(approximateToRgb888(color), hist[color])); in quantize() 254 final int[] hist = mHistogram; in fitBox() local 265 count += hist[color]; in fitBox() 350 final int[] hist = mHistogram; in findSplitPoint() local [all …]
|
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/ |
D | TimeStatsHelper.cpp | 45 hist[histogramConfig[HISTOGRAM_SIZE - 1]]++; in insert() 49 hist[*iter]++; in insert() 54 for (const auto& ele : hist) { in totalTime() 63 for (const auto& ele : hist) { in averageTime() 74 int32_t count = (hist.count(bucket) == 0) ? 0 : hist.at(bucket); in toString() 204 for (const auto& histEle : ele.second.hist) { in toProto() 229 for (const auto& histEle : presentToPresentLegacy.hist) { in toProto() 234 for (const auto& histEle : frameDurationLegacy.hist) { in toProto() 239 for (const auto& histEle : renderEngineTimingLegacy.hist) { in toProto()
|
/frameworks/av/media/libnblog/ |
D | ReportPerformance.cpp | 261 for (auto hist = hists.begin(); hist != hists.end(); ++hist) { in writeToFile() local 262 hfs << hist->first << ", "; in writeToFile() 263 for (auto bucket = hist->second.begin(); bucket != hist->second.end(); ++bucket) { in writeToFile() 266 if (std::next(bucket) != end(hist->second)) { in writeToFile() 270 if (std::next(hist) != end(hists)) { in writeToFile()
|
/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.cpp | 108 histogramToProto(mTimeStats.frameDurationLegacy.hist, mMaxPulledHistogramBuckets); in populateGlobalAtom() 110 histogramToProto(mTimeStats.renderEngineTimingLegacy.hist, in populateGlobalAtom() 128 histogramToProto(globalSlice.second.displayDeadlineDeltas.hist, in populateGlobalAtom() 131 histogramToProto(globalSlice.second.displayPresentDeltas.hist, in populateGlobalAtom() 178 histogramToProto(present2PresentHist->second.hist, mMaxPulledHistogramBuckets); in populateLayerAtom() 183 histogramToProto(post2presentHist->second.hist, mMaxPulledHistogramBuckets); in populateLayerAtom() 188 histogramToProto(acquire2presentHist->second.hist, mMaxPulledHistogramBuckets); in populateLayerAtom() 193 histogramToProto(latch2presentHist->second.hist, mMaxPulledHistogramBuckets); in populateLayerAtom() 198 histogramToProto(desired2presentHist->second.hist, mMaxPulledHistogramBuckets); in populateLayerAtom() 203 histogramToProto(post2acquireHist->second.hist, mMaxPulledHistogramBuckets); in populateLayerAtom() [all …]
|
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/include/timestatsproto/ |
D | TimeStatsHelper.h | 36 std::unordered_map<int32_t, int32_t> hist;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowProcessController.java | 910 ActivityRecord hist = mActivities.get(0); in updateIntentForHeavyWeightActivity() local 911 intent.putExtra(HeavyWeightSwitcherActivity.KEY_CUR_APP, hist.packageName); in updateIntentForHeavyWeightActivity() 912 intent.putExtra(HeavyWeightSwitcherActivity.KEY_CUR_TASK, hist.getTask().mTaskId); in updateIntentForHeavyWeightActivity()
|
/frameworks/av/media/libstagefright/ |
D | MediaCodec.cpp | 933 std::string hist = mLatencyHist.emit(); in updateMediametrics() local 934 mediametrics_setCString(mMetricsHandle, kCodecLatencyHist, hist.c_str()); in updateMediametrics() 1156 std::string hist = recentHist.emit(); in updateEphemeralMediametrics() local 1157 mediametrics_setCString(item, kCodecRecentLatencyHist, hist.c_str()); in updateEphemeralMediametrics()
|