Home
last modified time | relevance | path

Searched refs:sum (Results 1 – 8 of 8) sorted by relevance

/development/samples/SimpleJNI/src/com/example/android/simplejni/
DSimpleJNI.java29 int sum = Native.add(2, 3); in onCreate() local
30 tv.setText("2 + 3 = " + Integer.toString(sum)); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DSensorTest.java47 float sum = 0; in RunAve() local
49 sum += weights[i]; in RunAve()
51 mWeightScale = 1 / sum; in RunAve()
66 float sum = 0; in computeAve() local
68 sum += mWeights[i] * mSamples[index]; in computeAve()
74 return sum * mWeightScale; in computeAve()
/development/tools/axl/
Dchewperf.py59 bytes = sum(x[1] for x in chewed)
81 print "%s\t%s" % (buckets.items()[x][0], sum(window) / len(window))
/development/tools/repo_diff/service/repodiff/mappers/
Dmappers.go206 var sum int
208 sum += getAttr(d)
210 return sum
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceRandom.java204 float sum = 0.0f; in adjustEventFactors() local
206 sum += mFactors[i] / 100.0f; in adjustEventFactors()
207 mFactors[i] = sum; in adjustEventFactors()
/development/vndk/tools/definition-tool/assets/visual/
Ddep-graph.js201 let root = tagHierarchy(depDumps).sum(function(d) { return 1; });
/development/tools/winscope/
Dyarn.lock2349 hash-sum@^1.0.2:
2351 …resolved "https://registry.yarnpkg.com/hash-sum/-/hash-sum-1.0.2.tgz#33b40777754c6432573c120cc3808…
5214 hash-sum "^1.0.2"
5239 hash-sum "^1.0.2"
/development/samples/SearchableDictionary/res/raw/
Ddefinitions.txt199 contributor - n. someone who contributes (or promises to contribute) a sum of money