/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocationClustering.java | 221 // The score we want to minimize is: 299 // step 5: calculate the final score 300 float score = totalDistance * (float) Math.sqrt(realK); local 302 if (score < bestScore) { 303 bestScore = score; 308 if (score == 0) {
|
/packages/apps/TV/src/com/android/tv/recommendation/ |
Recommender.java | 98 * @param baseScore Base(Minimum) score of the score evaluated by {@code evaluator}. 99 * @param weight Weight value to rearrange the score evaluated by {@code evaluator}. 114 * @return Top {@code size} channels recommended sorted by score in descending order. If {@code 124 double score = evaluator.getScaledEvaluatorScore(cr.getChannel().getId()); local 125 if (score > maxScore) { 126 maxScore = score; 249 * The implementation should return the recommendation score for the given channel ID. The 251 * gives up to calculate the score for the channel. 254 * @return The recommendation score 297 double score = mEvaluator.evaluateChannel(channelId); local [all...] |
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/ |
RecommenderTest.java | 123 // recommendChannels must be sorted by score in decreasing order. 143 // recommendChannels must be sorted by score in decreasing order. 252 // Add a log to recalculate the recommendation score. 261 // by setting score to each channel. 332 double score = Math.pow(0.5, channelIdList.size()); local 334 // Channel with smaller id has smaller score than channel with higher id. 335 mEvaluator.setChannelScore(channelId, score); 336 score *= 2.0; 348 Double score = mChannelScore.get(channelId); local 349 return score == null ? NOT_RECOMMENDED : score [all...] |
/system/core/adb/client/ |
usb_osx.cpp | 142 SInt32 score; local 156 &plugInInterface, &score); 197 score = 0; 202 &plugInInterface, &score);
|
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/ |
GLBenchmarkTest.java | 240 String score = getData(testResult, "score"); local 245 score = String.valueOf((long)(Double.parseDouble(score) / 1.0E6)); 247 CLog.i(String.format("%s: %s (fps=%s)", testName, score, fps)); 249 if (score != null && !score.trim().equals("0")) { 250 benchmarkResult.put(testKey, score);
|
/external/ImageMagick/MagickCore/ |
type.c | 382 score; 468 score=0; 470 score+=32; 474 score+=25; 475 score+=(16*(800-((ssize_t) MagickMax(MagickMin(font_weight,900),p->weight)- 478 score+=8; 482 score+=(8*(range-((ssize_t) MagickMax(stretch,p->stretch)- 485 if (score > max_score) 487 max_score=score; 374 score; local [all...] |
opencl.c | 127 score; 556 device->score=MAGICKCORE_OPENCL_UNDEFINED_SCORE; 779 device_benchmark->score=MAGICKCORE_OPENCL_UNDEFINED_SCORE; 786 if (device_benchmark->score != MAGICKCORE_OPENCL_UNDEFINED_SCORE) 789 clEnv->cpu_score=device_benchmark->score; 796 Set the score for all devices that match this device. 802 device->score=device_benchmark->score; 855 if (LocaleCompare((char *) keyword,"score") == 0) 856 device_benchmark->score=StringToDouble(token,(char **) NULL) 126 score; member in struct:__anon13453 2902 score, local [all...] |
/external/deqp/modules/gles2/accuracy/ |
es2aTextureFilteringTests.cpp | 309 int score = measureAccuracy(log, referenceFrame, renderedFrame, bestScoreDiff, worstScoreDiff); local 310 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, de::toString(score).c_str()); 621 int score = measureAccuracy(log, referenceFrame, renderedFrame, bestScoreDiff, worstScoreDiff); local 622 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, de::toString(score).c_str());
|
es2aTextureMipmapTests.cpp | 366 int score = measureAccuracy(log, idealFrame, renderedFrame, bestScoreDiff, worstScoreDiff); local 367 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, de::toString(score).c_str()); 633 int score = measureAccuracy(log, idealFrame, renderedFrame, bestScoreDiff, worstScoreDiff); local 634 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, de::toString(score).c_str());
|
/external/deqp/modules/gles3/accuracy/ |
es3aTextureFilteringTests.cpp | 297 int score = measureAccuracy(log, referenceFrame, renderedFrame, bestScoreDiff, worstScoreDiff); local 298 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, de::toString(score).c_str()); 628 int score = measureAccuracy(log, referenceFrame, renderedFrame, bestScoreDiff, worstScoreDiff); local 629 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, de::toString(score).c_str());
|
es3aTextureMipmapTests.cpp | 358 int score = measureAccuracy(log, idealFrame, renderedFrame, bestScoreDiff, worstScoreDiff); local 359 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, de::toString(score).c_str()); 621 int score = measureAccuracy(log, idealFrame, renderedFrame, bestScoreDiff, worstScoreDiff); local 622 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, de::toString(score).c_str());
|
/external/freetype/src/autofit/ |
afhints.h | 273 FT_Pos score; /* used during stem matching */ member in struct:AF_SegmentRec_ 295 FT_Int score; /* used during stem matching */ member in struct:AF_EdgeRec_
|
/external/libtextclassifier/ |
types.h | 222 float score; member in struct:libtextclassifier2::ClassificationResult 225 // Internal score used for conflict resolution. 228 explicit ClassificationResult() : score(-1.0f), priority_score(-1.0) {} 232 score(arg_score), 238 score(arg_score), 246 << result.score << ")"; 277 best_score = span.classification[0].score;
|
/external/tensorflow/tensorflow/contrib/pi_examples/camera/ |
camera.cc | 319 const float score = scores_flat(pos); local 320 LOG(INFO) << labels[label_index] << " (" << label_index << "): " << score; local 322 if ((pos == 0) && (score > print_threshold)) {
|
/external/tensorflow/tensorflow/contrib/pi_examples/label_image/ |
label_image.cc | 275 const float score = scores_flat(pos); local 276 LOG(INFO) << labels[label_index] << " (" << label_index << "): " << score; local
|
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/ |
tree_utils.cc | 53 float score = score_fn(i); local 54 if (score < *best_score) { 57 *best_score = score; 59 } else if (score < *second_best_score) { 60 *second_best_score = score; 92 // score is actually returned. 138 float score = 0; local 142 score += 148 score += 152 return score; [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
NetworkAgentInfo.java | 53 * interested in using it. Default sort order is descending by score. 91 // for the default network connection, the one with the higher score should be chosen. 147 // If true, becoming unvalidated will lower the network's score. This is only meaningful if the 200 // a request is moved to a network with a better score, regardless of whether the network is or 224 // This represents the last score received from the NetworkAgent. 249 LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler, 257 currentScore = score; 424 // TODO: We may want to refactor this into a NetworkScore class that takes a base score from 426 // score. The NetworkScore class would provide a nice place to centralize score constant 438 int score = currentScore; local [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
ImageGoodnessFilter.java | 16 // Takes sharpness score, rates the image good if above 10, bad otherwise 88 .addOutputPort("score", Signature.PORT_OPTIONAL, floatT) 138 float score = 0.0f; local 139 score = computePictureScore(vectorAccel, sharpness, underExposure, overExposure, 141 if (scoreMean == 0) scoreMean = score; 142 else scoreMean = scoreMean * (1 - DECAY) + score * DECAY; 148 colorfulness, contrastRating, score); 156 if (score >= GREAT_SCORE) { 158 } else if (score >= GOOD_SCORE) { 160 } else if (score >= OK_SCORE) 229 float score = 0.0f; local [all...] |
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/ |
RunLocalBenchmarksActivity.java | 231 scoreView.setText("Computing score..."); 244 int score = res.getScore(); local 245 if (score == 0) { 246 score = 1; 248 stats.addValue(score); 257 for (double score : testLevelScores) { 258 stats.addValue(score); 265 protected void onPostExecute(Integer score) { 268 view.setText("Score: " + score); [all...] |
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/synthetic/ |
TestInterface.java | 129 float score = mTI.testPowerManagement(b); local 269 float score = (float) (stats.getMean() / (stats.getStandardDeviation() * decreaseOverTime)); local 271 postTextToView(mTextStatus, "Score: " + score); 272 return score;
|
/frameworks/base/wifi/java/android/net/wifi/ |
WifiInfo.java | 151 public int score; field in class:WifiInfo 189 score = 0; 217 score = source.score; 490 append(", score: ").append(Integer.toString(score)); 521 dest.writeInt(score); 550 info.score = in.readInt();
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_feature_matching.cpp | 2930 double score; local 2968 double score; local [all...] |
/dalvik/dx/src/com/android/dx/ssa/back/ |
FirstFitLocalCombiningAllocator.java | 873 // the highest score of fits tried so far 912 int score = fitWidth - curMovesRequired.cardinality(); local 914 if (score > maxScore) { 915 maxScore = score; [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
WalkerFactory.java | 903 XNumber score = pat.getStaticScore(); local 912 attrPat.setStaticScore(score); 941 // We need to keep the new nodetest from affecting the score... 942 XNumber score = tail.getStaticScore(); local 944 tail.setStaticScore(score); 945 selfPattern.setStaticScore(score); [all...] |
/external/eigen/Eigen/src/OrderingMethods/ |
Eigen_Colamd.h | 146 IndexType score ; /* the score used to maintain heap, if col is alive */ member in union:internal::colamd_col::__anon19687 523 Col [col].shared2.score = 0 ; 694 Kills dense or empty columns and rows, calculates an initial score for 723 IndexType score ; /* current column score */ local 728 IndexType min_score ; /* smallest column score */ 812 /* now find the initial matlab score for each column */ 820 score = 0 ; 836 score += Row [row].shared1.degree - 1 [all...] |