Home
last modified time | relevance | path

Searched refs:fMax (Results 1 – 25 of 42) sorted by relevance

12

/external/icu/icu4c/source/i18n/
Dsignificantdigitinterval.h30 : fMax(INT32_MAX), fMin(0) { } in SignificantDigitInterval()
37 fMax = INT32_MAX; in clear()
44 return ((fMax == rhs.fMax) && (fMin == rhs.fMin)); in equals()
51 fMax = count <= 0 ? INT32_MAX : count; in setMax()
58 return fMax; in getMax()
80 return fMin == 0 && fMax == INT32_MAX; in isNoConstraints()
84 int32_t fMax;
Dsmallintformatter.h30 IntDigitCountRange() : fMin(0), fMax(INT32_MAX) { } in IntDigitCountRange()
33 int32_t getMax() const { return fMax; } in getMax()
37 int32_t fMax; variable
Dsmallintformatter.cpp2583 fMax = max < fMin ? fMin : max; in IntDigitCountRange()
2588 return digitCount < fMin ? fMin : (digitCount < fMax ? digitCount : fMax); in pin()
Dprecision.cpp33 int32_t leastSigAllowed = fMax.getLeastSignificantInclusive(); in isRoundingRequired()
65 int32_t leastSig = fMax.getLeastSignificantInclusive(); in round()
79 if (fMax.getIntDigitCount() < interval.getIntDigitCount()) { in round()
92 interval.shrinkToFitWithin(fMax); in getIntervalForZero()
104 interval.shrinkToFitWithin(fMax); in getInterval()
124 interval.shrinkToFitWithin(fMax); in getInterval()
309 if (fFailIfOverMax && upperExponent > fMax.getIntDigitCount()) { in initVisibleDigits()
383 int32_t maxIntDigitCount = fMantissa.fMax.getIntDigitCount(); in getMultiplier()
Dprecision.h47 DigitInterval fMax; variable
85 fMax.equals(rhs.fMax) && in equals()
Dvalueformatter.cpp77 precision.fMax.getIntDigitCount()); in isNoGrouping()
130 fFixedPrecision->fMax.getIntDigitCount()); in formatInt32()
/external/skia/src/pathops/
DSkIntersections.h32 fMax = 0; // require that the caller set the max in SkIntersections()
60 fMax = 2; in conicHorizontal()
68 fMax = 2; in conicVertical()
77 fMax = 3; // 2; permit small coincident segment + non-coincident intersection in conicLine()
85 fMax = 3; in cubicHorizontal()
92 fMax = 3; in cubicVertical()
101 fMax = 3; in cubicLine()
126 fMax = 2; in lineHorizontal()
133 fMax = 2; in lineVertical()
141 fMax = 2; in lineLine()
[all …]
DSkDLineIntersection.cpp40 fMax = 2; in intersectRay()
81 fMax = 3; // note that we clean up so that there is no more than two in the end in intersect()
202 fMax = 3; // clean up parallel at the end will limit the result to 2 at the most in horizontal()
278 fMax = 3; // cleanup parallel lines will bring this back line in vertical()
/external/skia/src/views/
DSkProgressView.cpp18 fMax = 0; in SkProgressView()
32 if (fMax != max) in setMax()
34 fMax = SkToU16(max); in setMax()
61 if (fMax == 0) in onDraw()
75 percent = SkMax32(0, SkMin32(percent, fMax << 8)); // now its pinned in onDraw()
76 percent = SkFixedDiv(percent, fMax << 8); // now its 0.16 in onDraw()
81 U16CPU value = SkMax32(0, SkMin32(fValue, fMax)); in onDraw()
82 percent = SkFixedDiv(value, fMax); in onDraw()
/external/skia/src/animator/
DSkDisplayEvent.cpp48 kind(kUser), x(0), y(0), fLastCode((SkKey) -1), fMax((SkKey) -1), fTarget(nullptr) { in SkDisplayEvent()
98 if (fMax != (SkKey) -1 && fMax != code) in dumpEvent()
99 SkDebugf("keys=\"%c - %c\" ", code, fMax); in dumpEvent()
158 if (index != SK_PROPERTY(keys) || fMax == (SkKey) -1 || fMax == code) in getProperty()
161 size = SkUTF8_FromUnichar(fMax, scratch); in getProperty()
243 fMax = code; in setProperty()
248 fMax = (SkKey) SkUTF8_NextUnichar(&chars); in setProperty()
249 SkASSERT(fMax >= code); in setProperty()
DSkDisplayEvents.cpp60 …if ((int) evt->code > keyCode || (int) (evt->fMax != (SkKey) -1 ? evt->fMax : evt->code) < keyCode) in doEvent()
105 …if ((int) evt->code > keyCode || (int) (evt->fMax != (SkKey) -1 ? evt->fMax : evt->code) < keyCode) in removeEvent()
/external/pdfium/xfa/src/fwl/src/lightwidget/
Dscrollbar.cpp35 FWL_ERR CFWL_ScrollBar::GetRange(FX_FLOAT& fMin, FX_FLOAT& fMax) { in GetRange() argument
38 return static_cast<IFWL_ScrollBar*>(m_pIface)->GetRange(fMin, fMax); in GetRange()
40 FWL_ERR CFWL_ScrollBar::SetRange(FX_FLOAT fMin, FX_FLOAT fMax) { in SetRange() argument
43 return static_cast<IFWL_ScrollBar*>(m_pIface)->SetRange(fMin, fMax); in SetRange()
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_ScrollBar.cpp26 fMax = 0; in Default()
32 fMax = min; in Set()
35 fMax = max; in Set()
41 (IsFloatSmaller(x, fMax) || IsFloatEqual(x, fMax)); in In()
45 return fMax - fMin; in GetWidth()
65 if (IsFloatBigger(fScrollPos, ScrollRange.fMax)) in SetScrollRange()
66 fScrollPos = ScrollRange.fMax; in SetScrollRange()
91 SetPos(ScrollRange.fMax); in AddSmall()
101 SetPos(ScrollRange.fMax); in AddBig()
808 FX_FLOAT fMax = in OnNotify() local
[all …]
/external/skia/src/views/animated/
DSkProgressBarView.cpp19 fMax = 100; in SkProgressBarView()
26 if (newProg > 0 && newProg < fMax) in changeProgress()
95 fMax = max; in setMax()
/external/skia/include/views/animated/
DSkProgressBarView.h30 int getMax() const { return fMax; } in getMax()
42 int fMax; variable
/external/icu/icu4c/source/test/intltest/
Dnumberformat2test.cpp989 precision.fMax.setIntDigitCount(0); in TestDigitFormatter()
990 precision.fMax.setFracDigitCount(0); in TestDigitFormatter()
1024 precision.fMax.setIntDigitCount(1); in TestDigitFormatter()
1081 precision.fMantissa.fMax.setIntDigitCount(4); in TestSciFormatter()
1083 precision.fMantissa.fMax.setFracDigitCount(0); in TestSciFormatter()
1173 precision.fMax.setIntDigitCount(4); in TestValueFormatterIsFastFormattable()
1184 precision.fMax.setIntDigitCount(5); in TestValueFormatterIsFastFormattable()
1688 precision.fMax.setIntDigitCount(5); in TestLargeIntValue()
1710 precision.fMax.setIntDigitCount(5); in TestLargeIntValue()
1814 precision.fMax.setIntDigitCount(2); in TestIntInitVisibleDigits()
[all …]
/external/pdfium/xfa/include/fwl/lightwidget/
Dscrollbar.h17 FWL_ERR GetRange(FX_FLOAT& fMin, FX_FLOAT& fMax);
18 FWL_ERR SetRange(FX_FLOAT fMin, FX_FLOAT fMax);
/external/pdfium/xfa/include/fwl/basewidget/
Dfwl_scrollbar.h54 FWL_ERR GetRange(FX_FLOAT& fMin, FX_FLOAT& fMax);
55 FWL_ERR SetRange(FX_FLOAT fMin, FX_FLOAT fMax);
/external/skia/samplecode/
DSampleFilterQuality.cpp109 SkScalar fMax; member
117 fMax = max; in set()
124 fMax = 0; in setMod()
137 if (fValue > fMax) { in fixUp()
138 fValue = fMax; in fixUp()
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_ffwidgetacc.cpp859 FX_FLOAT fVal = 0, fMin = 0, fMax = 0; in CalculateWidgetAutoSize() local
866 if (this->GetMaxWidth(fMax) && fMax > 0) { in CalculateWidgetAutoSize()
867 size.x = std::min(size.x, fMax); in CalculateWidgetAutoSize()
870 fVal = 0, fMin = 0, fMax = 0; in CalculateWidgetAutoSize()
877 if (this->GetMaxHeight(fMax) && fMax > 0) { in CalculateWidgetAutoSize()
878 size.y = std::min(size.y, fMax); in CalculateWidgetAutoSize()
1074 FX_FLOAT fMin = 0, fMax = 0; in CalculateWidgetAutoWidth() local
1078 if (this->GetMaxWidth(fMax) && fMax > 0) { in CalculateWidgetAutoWidth()
1079 fWidthCalc = std::min(fWidthCalc, fMax); in CalculateWidgetAutoWidth()
1101 FX_FLOAT fMin = 0, fMax = 0; in CalculateWidgetAutoHeight() local
[all …]
/external/aac/libFDK/include/
Dcommon_fix.h255 #define fixMax(a,b) fMax(a,b)
330 FDK_INLINE FIXP_DBL fMax(FIXP_DBL a, FIXP_DBL b) in fMax() function
335 FDK_INLINE FIXP_SGL fMax(FIXP_SGL a, FIXP_SGL b) in fMax() function
340 FDK_INLINE INT fMax(INT a, INT b) in fMax() function
346 inline UINT fMax(UINT a, UINT b) in fMax() function
/external/pdfium/xfa/src/fwl/src/basewidget/
Dfwl_scrollbarimp.cpp29 FWL_ERR IFWL_ScrollBar::GetRange(FX_FLOAT& fMin, FX_FLOAT& fMax) { in GetRange() argument
30 return static_cast<CFWL_ScrollBarImp*>(GetImpl())->GetRange(fMin, fMax); in GetRange()
32 FWL_ERR IFWL_ScrollBar::SetRange(FX_FLOAT fMin, FX_FLOAT fMax) { in SetRange() argument
33 return static_cast<CFWL_ScrollBarImp*>(GetImpl())->SetRange(fMin, fMax); in SetRange()
166 FWL_ERR CFWL_ScrollBarImp::GetRange(FX_FLOAT& fMin, FX_FLOAT& fMax) { in GetRange() argument
168 fMax = m_fRangeMax; in GetRange()
171 FWL_ERR CFWL_ScrollBarImp::SetRange(FX_FLOAT fMin, FX_FLOAT fMax) { in SetRange() argument
173 m_fRangeMax = fMax; in SetRange()
/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_ScrollBar.h66 FX_FLOAT fMin, fMax; member
119 void SetScrollRange(FX_FLOAT fMin, FX_FLOAT fMax, FX_FLOAT fClientWidth);
/external/pdfium/xfa/src/fwl/src/basewidget/include/
Dfwl_scrollbarimp.h31 virtual FWL_ERR GetRange(FX_FLOAT& fMin, FX_FLOAT& fMax);
32 virtual FWL_ERR SetRange(FX_FLOAT fMin, FX_FLOAT fMax);
/external/aac/libPCMutils/src/
Dlimiter.cpp284 tmp1 = fMax(tmp1, fAbs(tmp2)); in applyLimiter()
289 tmp = fMax(tmp, threshold); in applyLimiter()
337 smoothState0 = fMax(smoothState0, gain); /* avoid overshooting target */ in applyLimiter()

12