Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f39a4ed authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "[TeX] Updated the comments for the Histogram class" am: 4cdefcca am:...

Merge "[TeX] Updated the comments for the Histogram class" am: 4cdefcca am: 4b6b0914 am: de6639fc

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2428473



Change-Id: I54f4f05c3359740d67aebbf4402cf42081b16775
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents c777f304 de6639fc
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ import android.annotation.NonNull;

import com.android.internal.util.FrameworkStatsLog;

/** CounterHistogram encapsulates StatsD write API calls */
/** Histogram encapsulates StatsD write API calls */
public final class Histogram {

    private final long mMetricIdHash;
@@ -42,10 +42,10 @@ public final class Histogram {
                /*count*/ 1, binIndex);
    }

    /** Used by CounterHistogram to map data sample to corresponding bin */
    /** Used by Histogram to map data sample to corresponding bin */
    public interface BinOptions {
        /**
         * Returns bins count to be used by counter histogram
         * Returns bins count to be used by a histogram
         *
         * @return bins count used to initialize Options, including overflow & underflow bins
         * @hide
@@ -62,7 +62,7 @@ public final class Histogram {
        int getBinForSample(float sample);
    }

    /** Used by CounterHistogram to map data sample to corresponding bin for on uniform bins */
    /** Used by Histogram to map data sample to corresponding bin for uniform bins */
    public static final class UniformOptions implements BinOptions {

        private final int mBinCount;