Home
last modified time | relevance | path

Searched refs:minValue (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/media/java/android/media/
DAudioGain.java76 int minValue, int maxValue, int defaultValue, int stepValue, in AudioGain() argument
81 mMinValue = minValue; in AudioGain()
107 public int minValue() { in minValue() method in AudioGain
/frameworks/minikin/tests/unittest/
DFontUtilsTest.cpp47 Fvar(uint32_t tag, float minValue, float defaultValue, float maxValue) in Fvar()
48 : tag(tag), minValue(minValue), defaultValue(defaultValue), maxValue(maxValue) {} in Fvar()
51 float minValue; member
72 head = writeU32(floatToFixed(fvar.minValue), out.data(), head); in buildFvarTable()
/frameworks/base/libs/hwui/utils/
DMathUtils.h86 static inline T clamp(T a, T minValue, T maxValue) { in clamp() argument
87 return std::min(std::max(a, minValue), maxValue); in clamp()
/frameworks/base/core/java/com/android/internal/widget/
DNumericTextView.java137 public final void setRange(int minValue, int maxValue) { in setRange() argument
138 if (mMinValue != minValue) { in setRange()
139 mMinValue = minValue; in setRange()
/frameworks/av/media/libaudiofoundation/include/media/
DAudioGain.h41 void setMinValueInMb(int minValue) { mGain.min_value = minValue; } in setMinValueInMb() argument
/frameworks/base/core/java/android/service/controls/templates/
DRangeTemplate.java68 float minValue, in RangeTemplate() argument
74 mMinValue = minValue; in RangeTemplate()
/frameworks/native/services/inputflinger/reader/mapper/
DJoystickInputMapper.cpp103 mAxes.keyAt(i), axis.rawAxisInfo.minValue, axis.rawAxisInfo.maxValue, in dump()
140 float scale = 1.0f / (axisInfo.splitValue - rawAxisInfo.minValue); in configure()
146 float scale = 2.0f / (rawAxisInfo.maxValue - rawAxisInfo.minValue); in configure()
147 float offset = avg(rawAxisInfo.minValue, rawAxisInfo.maxValue) * -scale; in configure()
152 float scale = 1.0f / (rawAxisInfo.maxValue - rawAxisInfo.minValue); in configure()
DInputMapper.cpp86 axis.minValue, axis.maxValue, axis.flat, axis.fuzz, axis.resolution); in dumpRawAbsoluteAxisInfo()
DTouchInputMapper.cpp875 mTiltXCenter = avg(mRawPointerAxes.tiltX.minValue, mRawPointerAxes.tiltX.maxValue); in configureSurface()
876 mTiltYCenter = avg(mRawPointerAxes.tiltY.minValue, mRawPointerAxes.tiltY.maxValue); in configureSurface()
910 } else if (mRawPointerAxes.orientation.minValue < 0) { in configureSurface()
911 mOrientationScale = -M_PI_2 / mRawPointerAxes.orientation.minValue; in configureSurface()
944 mOrientedRanges.distance.min = mRawPointerAxes.distance.minValue * mDistanceScale; in configureSurface()
1055 int32_t touchScreenLeft = mRawPointerAxes.x.minValue; in configureVirtualKeys()
1056 int32_t touchScreenTop = mRawPointerAxes.y.minValue; in configureVirtualKeys()
2200 left = float(rawTop - mRawPointerAxes.y.minValue) * mYScale + mYTranslate; in cookPointerData()
2201 right = float(rawBottom - mRawPointerAxes.y.minValue) * mYScale + mYTranslate; in cookPointerData()
2226 bottom = float(rawRight - mRawPointerAxes.x.minValue) * mXScale + mXTranslate; in cookPointerData()
[all …]
DTouchInputMapper.h48 inline int32_t getRawWidth() const { return x.maxValue - x.minValue + 1; } in getRawWidth()
49 inline int32_t getRawHeight() const { return y.maxValue - y.minValue + 1; } in getRawHeight()
DMultiTouchInputMapper.cpp349 mRawPointerAxes.slot.minValue == 0 && mRawPointerAxes.slot.maxValue > 0) { in configureRawPointerAxes()
/frameworks/rs/script_api/
DGenerateTestFiles.cpp334 } else if (!param.minValue.empty()) { in writeJavaInputAllocationDefinition()
336 << vectorSize << ", " << seed << ", " << param.minValue << ", " << param.maxValue in writeJavaInputAllocationDefinition()
353 double minValue = 0.0; in writeJavaRandomCompatibleFloatAllocation() local
361 minValue = -maxValue; in writeJavaRandomCompatibleFloatAllocation()
367 minValue = 0.0; in writeJavaRandomCompatibleFloatAllocation()
372 minValue = -maxValue - 1.0; in writeJavaRandomCompatibleFloatAllocation()
376 *mJava << minValue << ", " << maxValue << ")"; in writeJavaRandomCompatibleFloatAllocation()
DSpecification.cpp190 minValue = testOption.substr(6, pComma - 6); in parseParameterDefinition()
220 if (!minValue.empty()) { in parseParameterDefinition()
DSpecification.h103 std::string minValue; member
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DToggleRangeBehavior.kt101 isChecked = rangeTemplate.currentValue != rangeTemplate.minValue in <lambda>()
285 return MathUtils.constrainedMap(rangeTemplate.minValue, rangeTemplate.maxValue, in <lambda>()
291 rangeTemplate.minValue, rangeTemplate.maxValue, i).toInt() in <lambda>()
/frameworks/base/core/java/android/widget/
DTimePickerSpinnerDelegate.java122 int minValue = mMinuteSpinner.getMinValue(); in TimePickerSpinnerDelegate()
124 if (oldVal == maxValue && newVal == minValue) { in TimePickerSpinnerDelegate()
131 } else if (oldVal == minValue && newVal == maxValue) { in TimePickerSpinnerDelegate()
DRadialTimePickerView.java1119 final int minValue; in adjustPicker() local
1126 minValue = 0; in adjustPicker()
1130 minValue = 1; in adjustPicker()
1136 minValue = 0; in adjustPicker()
1141 final int clampedValue = MathUtils.constrain(nextValue, minValue, maxValue); in adjustPicker()
DNumberPicker.java1472 public void setMinValue(int minValue) { in setMinValue() argument
1473 if (mMinValue == minValue) { in setMinValue()
1476 if (minValue < 0) { in setMinValue()
1479 mMinValue = minValue; in setMinValue()
/frameworks/layoutlib/bridge/src/android/view/
DBridgeInflater.java476 String minValue = attrs.getAttributeValue(BridgeConstants.NS_TOOLS_URI, "minValue"); in setupViewInContext() local
477 if (minValue != null) { in setupViewInContext()
478 numberPicker.setMinValue(Integer.parseInt(minValue)); in setupViewInContext()
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h63 int32_t minValue; // minimum value member
71 minValue = 0; in clear()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScoreCard.java1824 public double minValue = Double.POSITIVE_INFINITY; field in WifiScoreCard.PerUnivariateStatistic
1837 minValue = Math.min(minValue, value); in update()
1853 minValue = Math.min(minValue, stats.getMinValue()); in merge()
1894 .setMinValue(minValue) in toUnivariateStatistic()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiScoreCardTest.java335 .rssi.minValue, TOL); in testRssiPollUpdates()
388 .elapsedMs.minValue, TOL); in testDurationStatistics()
459 .rssi.minValue, TOL); in testFirmwareRoam()
533 .rssi.minValue, TOL); in checkSerializationBssidExample()
539 .elapsedMs.minValue, TOL); in checkSerializationBssidExample()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBstatsCpuTimesValidationTest.java645 long actualvalue, double minValue, double maxValue) { in assertValueRange() argument
647 actualvalue, minValue, maxValue); in assertValueRange()
649 assertTrue(errorMsg, actualvalue > minValue); in assertValueRange()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java933 int steps = (sourceGain.maxValue() - sourceGain.minValue()) in updateAudioConfigLocked()
935 int gainValue = sourceGain.minValue(); in updateAudioConfigLocked()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java807 private long jitterize(long minValue, long maxValue) { in jitterize() argument
809 long spread = maxValue - minValue; in jitterize()
814 return minValue + random.nextInt((int)spread); in jitterize()

12