Searched refs:bucketWidth (Results 1 – 5 of 5) sorted by relevance
/frameworks/layoutlib/bridge/tests/src/android/util/imagepool/ |
D | ImagePoolImplTest.java | 86 int bucketWidth = 800; in testImageDisposedAndRecycled() local 91 new int[]{bucketWidth, bucketHeight}, in testImageDisposedAndRecycled() 93 bucketHeight * bucketWidth * 4 * 3)); in testImageDisposedAndRecycled() 110 assertEquals(bufferedImageForImg1.getWidth(), bucketWidth); in testImageDisposedAndRecycled() local 137 int bucketWidth = 800; in testBufferedImageReleased() local 140 new int[]{bucketWidth, bucketHeight}, in testBufferedImageReleased() 142 bucketWidth * bucketWidth * 4 * 2)); in testBufferedImageReleased() 167 int bucketWidth = 999; in testPoolWidthHeightNotBigEnough() local 170 new ImagePoolPolicy(new int[]{bucketWidth, bucketHeight}, new int[]{1, 1}, in testPoolWidthHeightNotBigEnough() 171 bucketWidth * bucketWidth * 4 * 2)); in testPoolWidthHeightNotBigEnough() [all …]
|
/frameworks/base/core/java/android/net/ |
D | RssiCurve.java | 63 public final int bucketWidth; field in RssiCurve 84 public RssiCurve(int start, int bucketWidth, byte[] rssiBuckets) { in RssiCurve() argument 85 this(start, bucketWidth, rssiBuckets, DEFAULT_ACTIVE_NETWORK_RSSI_BOOST); in RssiCurve() 96 public RssiCurve(int start, int bucketWidth, byte[] rssiBuckets, int activeNetworkRssiBoost) { in RssiCurve() argument 98 this.bucketWidth = bucketWidth; in RssiCurve() 108 bucketWidth = in.readInt(); in RssiCurve() 123 out.writeInt(bucketWidth); in writeToParcel() 155 int index = (rssi - start) / bucketWidth; in lookupScore() 182 bucketWidth == rssiCurve.bucketWidth && in equals() 189 … return Objects.hash(start, bucketWidth, activeNetworkRssiBoost) ^ Arrays.hashCode(rssiBuckets); in hashCode() [all …]
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | ScoredNetworkTest.java | 190 assertEquals(CURVE.bucketWidth, newNetwork.rssiCurve.bucketWidth); in shouldWriteAndReadFromParcelWhenAllFieldsSet() 216 assertEquals(CURVE.bucketWidth, newNetwork.rssiCurve.bucketWidth); in shouldWriteAndReadFromParcelWithoutBundle()
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 6344 field public final int bucketWidth;
|
/frameworks/base/api/ |
D | system-current.txt | 6396 field public final int bucketWidth;
|