/frameworks/base/media/java/android/media/ |
D | Utils.java | 66 if (lhs.getUpper().compareTo(rhs.getLower()) < 0) { in sortDistinctRanges() 68 } else if (lhs.getLower().compareTo(rhs.getUpper()) > 0) { in sortDistinctRanges() 89 one[ix].getUpper().compareTo(range.getLower()) < 0) { in intersectSortedDistinctRanges() 100 if (one[ix].getLower().compareTo(range.getUpper()) <= 0) { in intersectSortedDistinctRanges() 121 if (lhs.getUpper().compareTo(rhs.getLower()) < 0) { in binarySearchDistinctRanges() 123 } else if (lhs.getLower().compareTo(rhs.getUpper()) > 0) { in binarySearchDistinctRanges() 160 return Range.create(divUp(range.getLower(), factor), range.getUpper() / factor); 171 return Range.create(divUp(range.getLower(), factor), range.getUpper() / factor); 188 scaleRatio(range.getLower(), num, den), 194 divUp(range.getLower(), align) * align,
|
D | MediaCodecInfo.java | 1169 int lmin = mInputChannelRanges[i].getLower(); in getMinInputChannelCount() 1263 mSampleRates[i] = mSampleRateRanges[i].getLower(); in createDiscreteSampleRates() 1274 if (!range.getLower().equals(range.getUpper())) { in limitSampleRates() 1437 if (mBitrateRange.getLower().equals(mBitrateRange.getUpper())) { in getDefaultFormat() 1438 format.setInteger(MediaFormat.KEY_BIT_RATE, mBitrateRange.getLower()); in getDefaultFormat() 1589 Utils.divUp(mBlockCountRange.getLower(), heightInBlocks), in getSupportedWidthsFor() 1590 (int)Math.ceil(mBlockAspectRatioRange.getLower().doubleValue() in getSupportedWidthsFor() 1607 (int)Math.ceil(mAspectRatioRange.getLower().doubleValue() in getSupportedWidthsFor() 1633 Utils.divUp(mBlockCountRange.getLower(), widthInBlocks), in getSupportedHeightsFor() 1639 mBlockAspectRatioRange.getLower().doubleValue())); in getSupportedHeightsFor() [all …]
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | EventIndex.java | 161 return Range.create(lastTimeSlot.getLower() - offset, in getMostRecentActiveTimeSlot() 316 return timeSlot.getUpper() - timeSlot.getLower(); in getDuration() 327 return (int) ((toSlot.getLower() - fromSlot.getLower()) / getDuration(fromSlot)); in diffTimeSlots() 337 long startTime = latestTimeSlot.getLower(); in getActiveTimeSlotsForType() 372 } else if (longerSlot.getLower() < shorterSlot.getLower()) { in combineTimeSlotLists()
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | AudioCodecAttributes.java | 70 out.writeFloat(mBitrateRangeKbps.getLower()); in writeToParcel() 73 out.writeFloat(mBandwidthRangeKhz.getLower()); in writeToParcel()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryChargeCalculatorTest.java | 63 assertThat(batteryUsageStats.getDischargedPowerRange().getLower()) in testDischargeTotals() 102 assertThat(batteryUsageStats.getDischargedPowerRange().getLower()) in testDischargeTotals_chargeUahUnavailable()
|
/frameworks/base/core/java/com/android/internal/colorextraction/types/ |
D | Tonal.java | 462 mHue.getLower() + (mHue.getUpper() - mHue.getLower()) / 2f, in getCenter() 463 mSaturation.getLower() + (mSaturation.getUpper() - mSaturation.getLower()) / 2f, in getCenter() 464 mLightness.getLower() + (mLightness.getUpper() - mLightness.getLower()) / 2f in getCenter()
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableRange.java | 77 mNestedTypeMarshaler.marshal(value.getLower(), buffer); in marshal() 117 int lowerSize = mNestedTypeMarshaler.calculateMarshalSize(value.getLower()); in calculateMarshalSize()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | RecurrenceRuleTest.java | 132 final long length = cycle.getUpper().toEpochSecond() - cycle.getLower().toEpochSecond(); in testSane() 140 lastStart = cycle.getLower(); in testSane()
|
/frameworks/av/services/mediatranscoding/tests/TranscodingUidPolicyTestApp/src/com/android/tests/transcoding/ |
D | ResourcePolicyTestActivity.java | 71 int width = vcaps.getSupportedWidths().getLower(); in getTestFormat() 72 int height = vcaps.getSupportedHeightsFor(width).getLower(); in getTestFormat() 73 int bitrate = vcaps.getBitrateRange().getLower(); in getTestFormat()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | AndroidCamera2Capabilities.java | 47 mSupportedPreviewFpsRange.add(new int[] { fpsRange.getLower(), fpsRange.getUpper() }); in AndroidCamera2Capabilities() 75 mMinExposureCompensation = ecRange.getLower(); in AndroidCamera2Capabilities()
|
D | AndroidCamera2Settings.java | 97 setPreviewFpsRange(previewFpsRange.getLower(), previewFpsRange.getUpper()); in AndroidCamera2Settings() 211 (defaultFpsRange != null && mPreviewFpsRangeMin == defaultFpsRange.getLower() && in matchesTemplateDefault()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | StaticMetadata.java | 968 return range.getLower(); in getSensitivityMinimumOrDefault() 1021 return range.getLower(); in getExposureMinimumOrDefault() 1427 minFps = fpsRanges[i].getLower(); in getAeAvailableTargetFpsRangesChecked() 1459 if (candidateRange.getLower() > targetRange.getLower()) { in getAeMaxTargetFpsRange() 1465 if (candidateRange.getLower() >= targetRange.getLower() && in getAeMaxTargetFpsRange() 1630 compensationRange.getLower() <= DEFAULT_RANGE.getLower() && in getAeCompensationRangeChecked()
|
/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/ |
D | PowerMetrics.java | 49 mDrainedPower = (dischargedPowerRange.getLower() + dischargedPowerRange.getUpper()) / 2; in PowerMetrics()
|
/frameworks/base/core/java/android/util/ |
D | Range.java | 87 public T getLower() { in getLower() method in Range
|
/frameworks/base/services/people/java/com/android/server/people/prediction/ |
D | SharesheetModelScorer.java | 95 getFreqDecayedOnElapsedTime(now - timeSlot.getLower())); in computeScore() 106 getFreqDecayedOnElapsedTime(now - timeSlot.getLower())); in computeScore()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | VibratorInfoTest.java | 244 assertEquals(50, info.getAbsoluteFrequency(info.getFrequencyRange().getLower()), in testAbsoluteFrequency_validRangeReturnsOriginalValue() 271 assertEquals(0.1f, info.getMaxAmplitude(info.getFrequencyRange().getLower()), in testGetMaxAmplitude_validMappingReturnsMappedValues()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | RangeTest.java | 153 assertAction("lower", object, expected, object.getLower()); in assertLower()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | EventIndexTest.java | 155 assertEquals(expectedLower, actualSlot.getLower().longValue()); in assertTimeSlot()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | MultipathPolicyTracker.java | 286 final long start = cycle.getLower().toInstant().toEpochMilli(); in getRemainingDailyBudget() 307 final long cycleStart = policy.cycleIterator().next().getLower() in getUserPolicyOpportunisticQuotaBytes()
|
/frameworks/base/core/java/android/os/ |
D | VibratorInfo.java | 564 return Float.compare(mRelativeFrequencyRange.getLower(), in isEmpty() 578 float relativeMinFrequency = mRelativeFrequencyRange.getLower(); in toHertz()
|
D | BatteryUsageStats.java | 538 PowerCalculator.printPowerMah(pw, dischargedPowerRange.getLower()); in dump() 539 if (!dischargedPowerRange.getLower().equals(dischargedPowerRange.getUpper())) { in dump()
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | CameraOps.java | 129 mISOmin = irange.getLower(); in resume() 132 mExpMin = lrange.getLower(); in resume()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | Camera2SurfaceViewTestCase.java | 731 if (fpsRange == null || fpsRange.getLower() <= 0 || fpsRange.getUpper() <= 0) { in getMaxPreviewSizeForFpsRange() 740 new long[]{(long) (1e9 / fpsRange.getUpper()), (long) (1e9 / fpsRange.getLower())}; in getMaxPreviewSizeForFpsRange()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | CameraOps.java | 125 mISOmin = irange.getLower(); in resume() 128 mExpMin = lrange.getLower(); in resume()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | DataUsageController.java | 128 start = cycle.getLower().toInstant().toEpochMilli(); in getDataUsageInfo()
|