OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:toFixed
(Results
1 - 19
of
19
) sorted by null
/development/samples/GlobalTime/src/com/android/globaltime/
Annulus.java
70
vertices[vidx++] =
toFixed
(centerX + innerRadius * cosTheta);
71
vertices[vidx++] =
toFixed
(centerY + innerRadius * sinTheta);
72
vertices[vidx++] =
toFixed
(Z);
74
vertices[vidx++] =
toFixed
(centerX + outerRadius * cosTheta);
75
vertices[vidx++] =
toFixed
(centerY + outerRadius * sinTheta);
76
vertices[vidx++] =
toFixed
(Z);
78
colors[cidx++] =
toFixed
(rInner);
79
colors[cidx++] =
toFixed
(gInner);
80
colors[cidx++] =
toFixed
(bInner);
81
colors[cidx++] =
toFixed
(aInner)
[
all
...]
LatLongSphere.java
66
vertices[vidx++] =
toFixed
(2.0f * fi - 1.0f);
67
vertices[vidx++] =
toFixed
(0.5f - fj);
68
vertices[vidx++] =
toFixed
(0.0f);
72
vertices[vidx++] =
toFixed
(x * radius + centerX);
73
vertices[vidx++] =
toFixed
(y * radius + centerY);
74
vertices[vidx++] =
toFixed
(z * radius + centerZ);
78
texcoords[tidx++] =
toFixed
(1.0f - (theta / (TWO_PI)));
79
texcoords[tidx++] =
toFixed
(fj);
84
normals[nidx++] =
toFixed
(x * norm);
85
normals[nidx++] =
toFixed
(y * norm)
[
all
...]
Shape.java
84
public static int
toFixed
(float x) {
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
GLVertex.java
52
static public int
toFixed
(float x) {
57
vertexBuffer.put(
toFixed
(x));
58
vertexBuffer.put(
toFixed
(y));
59
vertexBuffer.put(
toFixed
(z));
78
vertexBuffer.put(
toFixed
(x));
79
vertexBuffer.put(
toFixed
(y));
80
vertexBuffer.put(
toFixed
(z));
84
vertexBuffer.put(
toFixed
(temp.x));
85
vertexBuffer.put(
toFixed
(temp.y));
86
vertexBuffer.put(
toFixed
(temp.z))
[
all
...]
/external/webkit/JavaScriptCore/tests/mozilla/ecma_3/Number/
15.7.4.5-1.js
22
* SUMMARY: Testing Number.prototype.
toFixed
(fractionDigits)
31
var summary = 'Testing Number.prototype.
toFixed
(fractionDigits)';
45
actual = testNum.
toFixed
(4);
52
* 15.7.4.5 Number.prototype.
toFixed
(fractionDigits)
54
* An implementation is permitted to extend the behaviour of
toFixed
56
* case
toFixed
would not necessarily throw RangeError for such values.
59
actual = catchError('testNum.
toFixed
(-4)');
64
actual = catchError('testNum.
toFixed
(21)');
71
actual = 0.00001.
toFixed
(2);
76
actual = 0.000000000000000000001.
toFixed
(20)
[
all
...]
/external/webkit/SunSpider/resources/
sunspider-compare-results.js
243
var meanString = mean.
toFixed
(1).toString();
248
var error = "+/- " + ((tDist(count) * stdErr / mean) * 100).
toFixed
(1) + "% ";
271
var width = mean.
toFixed
(1).toString().length;
273
var candidate = categoryMeans[category].
toFixed
(1).toString().length;
277
var candidate = testMeansByCategory[category][test].
toFixed
(1).toString().length;
309
var fixedRatio = (ratio < 1.2) ? ratio.
toFixed
(3).toString() : ((ratio < 10) ? ratio.
toFixed
(2).toString() : ratio.
toFixed
(1).toString());
sunspider-analyze-results.js
178
var meanString = mean.
toFixed
(1).toString();
186
return meanString + "ms +/- " + ((tDist(n) * stdErr / mean) * 100).
toFixed
(1) + "%";
207
var width = mean.
toFixed
(1).toString().length;
209
var candidate = categoryMeans[category].
toFixed
(2).toString().length;
213
var candidate = testMeansByCategory[category][test].
toFixed
(2).toString().length;
/external/webkit/JavaScriptCore/runtime/
CommonIdentifiers.h
73
macro(
toFixed
) \
NumberPrototype.cpp
60
putDirectFunctionWithoutTransition(exec, new (exec) NativeFunctionWrapper(exec, prototypeFunctionStructure, 1, exec->propertyNames().
toFixed
, numberProtoFuncToFixed), DontEnum);
233
return throwError(exec, RangeError, "
toFixed
() digits argument must be between 0 and 20");
/frameworks/base/libs/surfaceflinger/
Transform.cpp
234
const float
toFixed
= 65536.0f;
238
point[0] = v[0] *
toFixed
;
239
point[1] = v[1] *
toFixed
;
/external/v8/tools/
tickprocessor.js
490
TickProcessor.CALL_PROFILE_CUTOFF_PCT.
toFixed
(1) +
498
print(' ' + padLeft(ticksCount, 5) + ' ' + padLeft(pct.
toFixed
(1), 5) + '%');
521
padLeft(rec.selfPercent.
toFixed
(1), 5) + '% ' +
522
padLeft(nonLibPct.
toFixed
(1), 5) + '% ' +
536
padLeft(rec.parentTotalPercent.
toFixed
(1), 5) + '% ' +
/external/v8/test/mjsunit/
function-names.js
89
"toString", "toLocaleString", "valueOf", "
toFixed
", "toExponential",
undeletable-functions.js
87
"toString", "toLocaleString", "valueOf", "
toFixed
", "toExponential",
/external/webkit/WebCore/inspector/front-end/
utilities.js
765
substitution = substitution.
toFixed
(token.precision);
766
return !isNaN(substitution) ? substitution : (token.precision > -1 ? Number(0).
toFixed
(token.precision) : 0);
StylesSidebarPane.js
[
all
...]
/external/v8/src/
v8natives.js
841
throw new $RangeError("
toFixed
() digits argument must be between 0 and 20");
924
"
toFixed
", NumberToFixed,
/external/v8/benchmarks/
base.js
161
return value.
toFixed
(0);
/external/webkit/SunSpider/tests/sunspider-0.9/
string-unpack-code.js
[
all
...]
/external/webkit/SunSpider/tests/sunspider-0.9.1/
string-unpack-code.js
[
all
...]
Completed in 1109 milliseconds