HomeSort by relevance Sort by last modified time
    Searched refs:round (Results 1 - 25 of 186) sorted by null

1 2 3 4 5 6 7 8

  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Math/
15.8.2.15.js 24 ECMA Section: 15.8.2.15 Math.round(x)
39 Math.round( 3.5 ) == 4
40 Math.round( -3.5 ) == 3
42 - Math.round(x) == Math.floor( x + 0.5 )
43 except if x = -0. in that case, Math.round(x) = -0
55 var TITLE = "Math.round(x)";
69 array[item++] = new TestCase( SECTION, "Math.round.length", 1, Math.round.length );
71 array[item++] = new TestCase( SECTION, "Math.round()", Number.NaN, Math.round() );
    [all...]
  /external/webkit/WebCore/platform/mac/
ThreadCheck.mm 65 void setDefaultThreadViolationBehavior(ThreadViolationBehavior behavior, ThreadViolationRound round)
67 ASSERT(round < MaximumThreadViolationRound);
68 if (round >= MaximumThreadViolationRound)
73 threadViolationBehavior[round] = behavior;
76 void reportThreadViolation(const char* function, ThreadViolationRound round)
78 ASSERT(round < MaximumThreadViolationRound);
79 if (round >= MaximumThreadViolationRound)
83 if (threadViolationBehavior[round] == NoThreadCheck)
87 WebCoreReportThreadViolation(function, round);
93 void WebCoreReportThreadViolation(const char* function, WebCore::ThreadViolationRound round)
    [all...]
  /bionic/libm/src/
s_llround.c 5 #define roundit round
s_round.c 33 round(double x) function
s_lround.c 35 #define roundit round
  /frameworks/base/core/java/com/android/internal/util/
FastMath.java 25 * Fast round from float to int. This is faster than Math.round()
29 public static int round(float x) { method in class:FastMath
  /frameworks/base/awt/org/apache/harmony/awt/gl/render/
JavaTextRenderer.java 51 c.translate((int)Math.round(at.getTranslateX()), (int)Math.round(at.getTranslateY()));
62 drawClipGlyphVector(wr, color, glyphVector, (int)Math.round(x + at.getTranslateX()), (int)Math.round(y + at.getTranslateY()),
65 Math.min((int)Math.round(c.getMaxX()), (int)Math.round(rBounds.getMaxX())),
66 Math.min((int)Math.round(c.getMaxY()), (int)Math.round(rBounds.getMaxY())));
78 c.translate((int)Math.round(at.getTranslateX()), (int)Math.round(at.getTranslateY()))
    [all...]
  /frameworks/base/services/java/com/android/server/
TwilightCalculator.java 86 float n = Math.round(daysSince2000 - J0 - arcLongitude);
113 mSunset = Math.round((solarTransitJ2000 + hourAngle) * DateUtils.DAY_IN_MILLIS) + UTC_2000;
114 mSunrise = Math.round((solarTransitJ2000 - hourAngle) * DateUtils.DAY_IN_MILLIS) + UTC_2000;
  /external/srec/audio/AudioIn/UNIX/include/
filter.h 45 typeAccum round; // used for roundoff member in struct:fir_struct
  /frameworks/base/awt/org/apache/harmony/awt/gl/color/
LUTColorConverter.java 68 from8lRGBtosRGB_LUT[i] = (byte) Math.round(v * 255.0f);
82 from16lRGBtosRGB_LUT[i] = (byte) Math.round(v * 255.0f);
96 fromsRGBto8lRGB_LUT[i] = (byte) Math.round(v * 255.0f);
110 fromsRGBto16lRGB_LUT[i] = (short) Math.round(v * 65535.0f);
  /external/opencore/codecs_v2/video/m4v_h263/enc/src/
dct.cpp 43 Int round; local
54 round = 1 << (FDCT_SHIFT - 1);
119 k1 = mla724(k12, k5, round);
120 k0 = mla724(k12, k2, round);
137 k1 = mla392(k0, k14, round);
214 k1 = mla724(k12, k5, round);
215 k0 = mla724(k12, k2, round);
232 k1 = mla392(k0, k14, round);
272 Int round; local
283 round = 1 << (FDCT_SHIFT - 1)
478 Int round; local
657 Int round; local
868 Int round; local
1055 Int round; local
    [all...]
fastquant_inline.h 31 __inline int32 aan_scale(int32 q_value, int32 coeff, int32 round, int32 QPdiv2)
33 q_value = coeff * q_value + round;
84 __inline int32 smlabb(int32 q_value, int32 coeff, int32 round)
86 q_value = coeff * q_value + round;
175 int32 round, int32 QPdiv2)
179 smlabb q_value, coeff, q_value, round
222 __inline int32 smlabb(int32 q_value, int32 coeff, int32 round)
226 smlabb q_value, coeff, q_value, round
270 int32 round, int32 QPdiv2)
274 mla q_value, coeff, q_value, round
    [all...]
dct_inline.h 40 __inline int32 mla392(int32 k0, int32 k14, int32 round)
46 k1 = k0 * 392 + round;
125 __inline int32 mla392(int32 k0, int32 k14, int32 round)
131 smlabt k1, k0, k14, round
189 __inline int32 mla392(int32 k0, int32 k14, int32 round)
196 mla k1, k0, k1, round
287 __inline int32 mla392(int32 k0, int32 k14, int32 round)
292 register int32 cc = (int32)round;
  /dalvik/libcore/xml/src/main/java/org/apache/xpath/functions/
FuncSubstring.java 70 start = Math.round(start);
77 int end = (int) (Math.round(len) + start) - 1;
  /frameworks/base/awt/org/apache/harmony/awt/gl/font/
AndroidLineMetrics.java 57 * thicknesses rounded to int ((int)round(value + 0.5))
67 lUnderlineThickness = Math.round(underlineThickness);//(int)metrics[11];
75 lStrikethroughThickness = Math.round(strikethroughThickness); //(int)metrics[13];
Glyph.java 97 return Math.round((float)glMetrics.getBounds2D().getWidth());
104 return Math.round((float)glMetrics.getBounds2D().getHeight());
  /frameworks/base/awt/javax/imageio/plugins/jpeg/
JPEGQTable.java 143 int rounded = Math.round(theTable[i] * scaleFactor);
  /frameworks/base/awt/java/awt/
Point.java 180 setLocation((int)Math.round(x), (int)Math.round(y));
  /frameworks/base/core/java/android/widget/
Scroller.java 204 mCurrX = mStartX + Math.round(x * mDeltaX);
205 mCurrY = mStartY + Math.round(x * mDeltaY);
212 mCurrX = mStartX + Math.round(distance * mCoeffX);
217 mCurrY = mStartY + Math.round(distance * mCoeffY);
327 mFinalX = startX + Math.round(totalDistance * mCoeffX);
332 mFinalY = startY + Math.round(totalDistance * mCoeffY);
  /external/srec/audio/AudioIn/UNIX/src/
filter.c 45 /* bRounded = round(b*2^15); */
106 pFIR->round = (1 << (scale-1));
283 accum += pFIR->round;
285 accum -= pFIR->round;
  /external/webkit/WebCore/inspector/front-end/
Color.js 221 h = Math.round(h);
222 s = Math.round(s*100);
223 l = Math.round(l*100);
245 var r = Math.round(hueToRGB(p, q, tr) * 255);
246 var g = Math.round(hueToRGB(p, q, tg) * 255);
247 var b = Math.round(hueToRGB(p, q, tb) * 255);
SummaryBar.js 151 var percents = segments.map(function(s) { return Math.max(Math.round(100 * s.value / total), 1) });
249 var segmentWidth = Math.round(w * percents[i] / 100);
259 ctx.moveTo(x + (i * Math.round(w / 20)) + 0.5, y);
260 ctx.lineTo(x + (i * Math.round(w / 20)) + 0.5, y + h);
267 ctx.moveTo(x + (i * Math.round(w / 20)) + 1.5, y);
268 ctx.lineTo(x + (i * Math.round(w / 20)) + 1.5, y + h);
  /external/icu4c/i18n/
digitlst.h 169 * The maximum fraction digits helps us round properly.
209 // Public round() method for BigDecimal format.
212 * Round the representation to the given number of digits.
216 void round(int32_t maximumDigits);
  /external/skia/src/core/
SkScan.cpp 70 r.round(&ir);
  /external/skia/src/images/
SkPageFlipper.cpp 70 rect.round(&r);

Completed in 745 milliseconds

1 2 3 4 5 6 7 8