Home
last modified time | relevance | path

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

12

/packages/experimental/procstatlog/
Dprocstatreport.py181 stime = sum([int(next[x]) - int(last[x]) for x in [2, 5, 6]])
182 utime = sum([int(next[x]) - int(last[x]) for x in [0, 1]])
183 idle = sum([int(next[x]) - int(last[x]) for x in [3, 4]])
272 total_switches = sum(context_switches.values())
340 "label_html": FAULTS_LABEL % {"major": sum(total_faults.values())},
371 "label_html": BINDER_LABEL % {"calls": sum(binder_calls.values())},
413 total_rx, total_tx = sum(rx.values()), sum(tx.values())
465 totals = [sum(ops.get(var, {}).values()) for var in yaffs_vars]
466 if not sum(totals): continue
527 total_reads, total_writes = sum(reads.values()), sum(writes.values())
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiCategory.java226 int sum = 0; in getPageIdFromCategoryId() local
230 return sum + lastSavedCategoryPageId; in getPageIdFromCategoryId()
232 sum += props.mPageCount; in getPageIdFromCategoryId()
252 int sum = 0; in getCategoryIdAndPageIdFromPagePosition() local
254 final int temp = sum; in getCategoryIdAndPageIdFromPagePosition()
255 sum += properties.mPageCount; in getCategoryIdAndPageIdFromPagePosition()
256 if (sum > position) { in getCategoryIdAndPageIdFromPagePosition()
313 int sum = 0; in getTotalPageCountOfAllCategories() local
315 sum += properties.mPageCount; in getTotalPageCountOfAllCategories()
317 return sum; in getTotalPageCountOfAllCategories()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java934 float sum = 0; in getGaussianMask() local
941 sum += mask[i]; in getGaussianMask()
943 sum += mask[symmetricIndex]; in getGaussianMask()
948 mask[i] /= sum; in getGaussianMask()
996 int sum = 0; in blur() local
1000 sum = addPixel(sum, src[rowPointer + dx], k[i]); in blur()
1002 tmp[x + rowPointer] = sum; in blur()
1012 int sum = 0; in blur() local
1016 sum = addPixel(sum, tmp[dy * w + x], k[i]); in blur()
1018 out[x + rowPointer] = sum; in blur()
/packages/apps/Mms/src/com/android/mms/util/
DBlobCache.java219 int sum = readInt(buf, IH_CHECKSUM); in loadIndex() local
220 if (checkSum(buf, 0, IH_CHECKSUM) != sum) { in loadIndex()
390 int sum = checkSum(data); in insertInternal() local
392 writeInt(header, BH_CHECKSUM, sum); in insertInternal()
494 int sum = readInt(header, BH_CHECKSUM); in getBlob() local
516 if (checkSum(blob, 0, length) != sum) { in getBlob()
517 Log.w(TAG, "blob checksum does not match: " + sum); in getBlob()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBlobCache.java218 int sum = readInt(buf, IH_CHECKSUM); in loadIndex() local
219 if (checkSum(buf, 0, IH_CHECKSUM) != sum) { in loadIndex()
399 int sum = checkSum(data); in insertInternal() local
401 writeInt(header, BH_CHECKSUM, sum); in insertInternal()
506 int sum = readInt(header, BH_CHECKSUM); in getBlob() local
528 if (checkSum(blob, 0, length) != sum) { in getBlob()
529 Log.w(TAG, "blob checksum does not match: " + sum); in getBlob()
/packages/services/Telephony/src/com/android/phone/
DEditPhoneNumberPreference.java159 CharSequence sum; in onBindView() local
165 sum = (mSummaryOn == null) ? getSummary() : mSummaryOn; in onBindView()
167 sum = (mSummaryOff == null) ? getSummary() : mSummaryOff; in onBindView()
170 sum = getSummary(); in onBindView()
173 if (sum != null) { in onBindView()
174 summaryView.setText(sum); in onBindView()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDataManager.java284 long sum = 0; in getTotalUsedCacheSize() local
286 sum += source.getTotalUsedCacheSize(); in getTotalUsedCacheSize()
288 return sum; in getTotalUsedCacheSize()
294 long sum = 0; in getTotalTargetCacheSize() local
296 sum += source.getTotalTargetCacheSize(); in getTotalTargetCacheSize()
298 return sum; in getTotalTargetCacheSize()
/packages/apps/Gallery2/jni/filters/
Dwbalance.c105 int sum; in estmateWhiteBox() local
123 sum++; in estmateWhiteBox()
126 *wr = r/sum; in estmateWhiteBox()
127 *wg = g/sum; in estmateWhiteBox()
128 *wb = b/sum; in estmateWhiteBox()
Dkmeans.h26 inline void sum(T values[], int len, int dimension, int stride, N dst[]) { in sum() function
73 N sum = 0; in euclideanDist() local
76 sum += diff * diff; in euclideanDist()
78 return sqrt(sum); in euclideanDist()
Dhsv.c24 double sum = poly[0]+poly[1]*f; in fastevalPoly() local
28 sum += poly[i]*f; in fastevalPoly()
30 return sum; in fastevalPoly()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_feature_matching.h31 …reAlign_u(short *patch,const unsigned char * const *f_img,int x_f,int y_f,float *sum,float *recip);
32 …reAlign_u(short *patch,const unsigned char * const *f_img,int x_f,int y_f,float *sum,float *recip);
50 float sum; variable
77 float sum; variable
Ddb_feature_matching.cpp402 inline void db_SignedSquareNormCorr11x11_Pre_u(unsigned char **f_img,int x_f,int y_f,float *sum,flo… in db_SignedSquareNormCorr11x11_Pre_u() argument
554 *sum= (float) fsum; in db_SignedSquareNormCorr11x11_Pre_u()
559 …PreAlign_u(short *patch,const unsigned char * const *f_img,int x_f,int y_f,float *sum,float *recip) in db_SignedSquareNormCorr5x5_PreAlign_u() argument
621 *sum= (float) fsum; in db_SignedSquareNormCorr5x5_PreAlign_u()
626 …PreAlign_u(short *patch,const unsigned char * const *f_img,int x_f,int y_f,float *sum,float *recip) in db_SignedSquareNormCorr21x21_PreAlign_u() argument
651 *sum= (float) fsum; in db_SignedSquareNormCorr21x21_PreAlign_u()
660 …PreAlign_u(short *patch,const unsigned char * const *f_img,int x_f,int y_f,float *sum,float *recip) in db_SignedSquareNormCorr11x11_PreAlign_u() argument
1118 *sum= (float) fsum; in db_SignedSquareNormCorr11x11_PreAlign_u()
1139 … int xi,int yi,float *sum,float *recip, in db_SignedSquareNormCorr11x11_PreAlign_AffinePatchWarp_u() argument
1178 *sum= (float) fsum; in db_SignedSquareNormCorr11x11_PreAlign_AffinePatchWarp_u()
[all …]
/packages/apps/Camera/jni/feature_stab/db_vlvm/
Ddb_feature_matching.h31 …reAlign_u(short *patch,const unsigned char * const *f_img,int x_f,int y_f,float *sum,float *recip);
32 …reAlign_u(short *patch,const unsigned char * const *f_img,int x_f,int y_f,float *sum,float *recip);
50 float sum; variable
77 float sum; variable
Ddb_feature_matching.cpp402 inline void db_SignedSquareNormCorr11x11_Pre_u(unsigned char **f_img,int x_f,int y_f,float *sum,flo… in db_SignedSquareNormCorr11x11_Pre_u() argument
554 *sum= (float) fsum; in db_SignedSquareNormCorr11x11_Pre_u()
559 …PreAlign_u(short *patch,const unsigned char * const *f_img,int x_f,int y_f,float *sum,float *recip) in db_SignedSquareNormCorr5x5_PreAlign_u() argument
621 *sum= (float) fsum; in db_SignedSquareNormCorr5x5_PreAlign_u()
626 …PreAlign_u(short *patch,const unsigned char * const *f_img,int x_f,int y_f,float *sum,float *recip) in db_SignedSquareNormCorr21x21_PreAlign_u() argument
651 *sum= (float) fsum; in db_SignedSquareNormCorr21x21_PreAlign_u()
660 …PreAlign_u(short *patch,const unsigned char * const *f_img,int x_f,int y_f,float *sum,float *recip) in db_SignedSquareNormCorr11x11_PreAlign_u() argument
1118 *sum= (float) fsum; in db_SignedSquareNormCorr11x11_PreAlign_u()
1139 … int xi,int yi,float *sum,float *recip, in db_SignedSquareNormCorr11x11_PreAlign_AffinePatchWarp_u() argument
1178 *sum= (float) fsum; in db_SignedSquareNormCorr11x11_PreAlign_AffinePatchWarp_u()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderEncoderTests.java562 long sum = 0;
565 sum += time == -1 ? 0 : time;
567 Log.d(TAG, "per search : " + (((double)sum) / sWords.size() / 1000000) + " : " + message
/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java480 float sum = 0; in invDistWeightedInterpolate() local
504 sum += w * p.value / weights; in invDistWeightedInterpolate()
508 return sum; in invDistWeightedInterpolate()
/packages/apps/Settings/src/com/android/settings/applications/
DApplicationsState.java732 long sum = 0; in sumCacheSizes() local
737 sum += mAppEntries.get(i).cacheSize; in sumCacheSizes()
741 return sum; in sumCacheSizes()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemView.java291 int sum = 0; in sumWidth() local
293 sum += i; in sumWidth()
295 return sum + (arr.length - 1) * mFolderDrawableResources.folderInBetweenPadding; in sumWidth()
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/inputmethods/LatinIME/dictionaries/
Den_emoji.combined.gz1dictionary=emoji:en,description=Emoji for English words,locale=en,date ...
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1404131686, ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1400639634, ...
Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Româna,date=1408019089, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...

12