/frameworks/base/core/java/android/gesture/ |
H A D | Prediction.java | 22 public double score; field in class:Prediction 26 score = predictionScore;
|
/frameworks/av/media/utils/ |
H A D | ProcessInfo.cpp | 39 int32_t score = INVALID_ADJ; local 40 status_t err = service->getProcessStatesAndOomScoresFromPids(length, &pid, &state, &score); 45 ALOGV("pid %d state %d score %d", pid, state, score); 46 if (score <= NATIVE_ADJ) { 47 ALOGE("pid %d invalid OOM adjustments value %d", pid, score); 52 *priority = score;
|
/frameworks/base/core/java/android/view/textclassifier/ |
H A D | LangId.java | 64 ClassificationResult(String language, float score) { argument 66 mScore = score;
|
H A D | SmartSelection.java | 112 ClassificationResult(String collection, float score) { argument 114 mScore = score;
|
/frameworks/base/core/java/android/service/chooser/ |
H A D | ChooserTarget.java | 71 * The score given to this item. It can be normalized. 82 * <p>The creator of a target may supply a ranking score. This score is assumed to be relative 99 * @param score ranking score for this target between 0.0f and 1.0f, inclusive 103 public ChooserTarget(CharSequence title, Icon icon, float score, argument 107 if (score > 1.f || score < 0.f) { 108 throw new IllegalArgumentException("Score " + score + " out of range; " 111 mScore = score; [all...] |
/frameworks/base/core/java/com/android/internal/inputmethod/ |
H A D | LocaleUtils.java | 43 * Calculates a matching score for the single desired locale. 49 * @return A score based on the locale matching for the default subtype enabling. 78 @NonNull public final byte[] mScore; // matching score of the i-th system languages. 80 ScoreEntry(@NonNull byte[] score, int index) { argument 81 mScore = new byte[score.length]; 82 set(score, index); 85 private void set(@NonNull byte[] score, int index) { argument 87 mScore[i] = score[i]; 93 * Update score and index if the given score i 95 updateIfBetter(@onNull byte[] score, int index) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | Face.java | 72 * @param score Confidence level between {@value #SCORE_MIN}-{@value #SCORE_MAX}. 88 public Face(Rect bounds, int score, int id, argument 91 if (score < SCORE_MIN || score > SCORE_MAX) { 103 mScore = score; 123 * @param score Confidence level between {@value #SCORE_MIN}-{@value #SCORE_MAX}. 132 public Face(Rect bounds, int score) { argument 133 this(bounds, score, ID_UNSUPPORTED, 249 return String.format("{ bounds: %s, score: %s, id: %d, " +
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
H A D | PasspointNetworkScoreTest.java | 56 int score) { 63 expectedScore = score; 334 * Go through the list of the test data {@link #TEST_DATA_LIST} and verify the score for each. 54 TestData(boolean homeProvider, boolean activeNetwork, int rssi, boolean internet, NetworkDetail.Ant type, Map<ANQPElementType, ANQPElement> elements, int score) argument
|
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | VideoFormats.cpp | 184 size_t width, height, fps, score; local 191 score = width * height * fps * (!interlaced + 1); 196 && score >= width * height * fps * (!interlaced + 1)) { 512 uint32_t score = width * height * framesPerSecond; local 514 score *= 2; 517 if (first || score > bestScore) { 518 bestScore = score;
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkFactory.java | 38 * can be filtered 3 ways: by NetworkCapabilities, by score and more complexly by 40 * or score forces re-evaluation of all current requests. 65 * msg.arg1 = score - the score of the any network currently satisfying this 67 * exceed this score it should not try to connect, holding the request 70 * or higher) score for this request, transmitted to each 72 * with the same NetworkRequest but an updated score. 74 * allowing for a better score in the future. 85 * Internally used to set our best-guess score. 86 * msg.arg1 = new score 157 public int score; field in class:NetworkFactory.NetworkRequestInfo 160 NetworkRequestInfo(NetworkRequest request, int score) argument 173 handleAddRequest(NetworkRequest request, int score) argument 197 handleSetScore(int score) argument 226 acceptRequest(NetworkRequest request, int score) argument 262 needNetworkFor(NetworkRequest networkRequest, int score) argument 271 addNetworkRequest(NetworkRequest networkRequest, int score) argument 280 setScoreFilter(int score) argument [all...] |
H A D | NetworkAgent.java | 91 /* centralize place where base network score, and network score scaling, will be 98 * network score. 99 * obj = network score Integer 209 NetworkCapabilities nc, LinkProperties lp, int score) { 210 this(looper, context, logTag, ni, nc, lp, score, null); 214 NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc) { 226 new LinkProperties(lp), new NetworkCapabilities(nc), score, misc); 383 * Called by the bearer code when it has a new score for this network. 385 public void sendNetworkScore(int score) { argument 208 NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, NetworkCapabilities nc, LinkProperties lp, int score) argument 213 NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc) argument [all...] |
/frameworks/base/core/java/android/service/notification/ |
H A D | StatusBarNotification.java | 75 int initialPid, int score, Notification notification, UserHandle user, 74 StatusBarNotification(String pkg, String opPkg, int id, String tag, int uid, int initialPid, int score, Notification notification, UserHandle user, long postTime) argument
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | CommonTimeManagementService.java | 209 public InterfaceScoreRule(String prefix, byte score) { argument 211 mScore = score;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | 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; 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 > 212 classifierComputeScore(float vectorAccel, float sharpness, float underExposure, float colorfulness, float contrast, float score) argument 248 subComputeScore(float sharpness, float underExposure, float overExposure, float contrastRating, float colorfulness, float brightness, float score) argument [all...] |
/frameworks/minikin/libs/minikin/ |
H A D | FontFamily.cpp | 124 int score = abs(style1.getWeight() - style2.getWeight()); local 126 score += 2; 128 return score;
|
H A D | FontCollection.cpp | 123 // Calculates a font score. 124 // The score of the font family is based on three subscores. 132 // The returned score reflects this priority order. 152 // The highest 2 bits are for coverage score, then following 28 bits are for language score, 153 // then the last 1 bit is for variant score. 157 // Calculates a font score based on variation sequence coverage. 211 // supported font, then the font obtains a score of 0. 213 // a match in subtag gets a score of 2 and a match in scripts gains a score o 232 uint32_t score = 0; local 271 const uint32_t score = calcFamilyScore(ch, vs, variant, langListId, family); local [all...] |
H A D | LineBreaker.cpp | 36 // constants are larger than any reasonable actual width score. 434 float jScore = mCandidates[j].score; 438 // compute width score for line 471 float score = jScore + widthScore + additionalPenalty; local 472 if (score <= best) { 473 best = score; 477 mCandidates[i].score = best + mCandidates[i].penalty + mLinePenalty; 481 ALOGD("break %zd: score=%g, prev=%zd", i, mCandidates[i].score, mCandidates[i].prev);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | TelephonyNetworkFactory.java | 215 public void needNetworkFor(NetworkRequest networkRequest, int score) { argument
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/flow/ |
H A D | OSUInfo.java | 175 private ScoreEntry(T data, int score) { argument 177 mScore = score; 209 int score = languageScore(iconInfo.getLanguage(), locale); 211 // Best size score is 1024 for a exact match, i.e. 2048 if both sides match 213 score += (256 - delta) * 4; // Prefer down-scaling 215 score += 256 + delta; // Before up-scaling 219 score += (256 - delta) * 4; 221 score += 256 + delta; 223 matches.add(new ScoreEntry<>(iconInfo, score));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | PhoneSwitcher.java | 223 protected void needNetworkFor(NetworkRequest networkRequest, int score) { argument 224 if (VDBG) log("needNetworkFor " + networkRequest + ", " + score);
|
/frameworks/av/media/libstagefright/ |
H A D | VideoFrameScheduler.cpp | 226 int64_t score = 0; local 228 // simplest score: number of deltas that are near multiples 236 score = matches; 243 score *= max(0, err); 247 // or use the error as a negative score 251 score = -delta * err; 254 if (i == 0 || score > bestScore) { 255 bestScore = score;
|
/frameworks/av/services/camera/libcameraservice/utils/ |
H A D | ClientManager.h | 36 ClientPriority(int32_t score, int32_t state) : argument 37 mScore(score), mState(state) {} 85 const std::set<KEY>& conflictingKeys, int32_t score, int32_t ownerId, int32_t state); 87 int32_t score, int32_t ownerId, int32_t state); 151 const std::set<KEY>& conflictingKeys, int32_t score, int32_t ownerId, int32_t state) : 153 mPriority(score, state), 158 std::set<KEY>&& conflictingKeys, int32_t score, int32_t ownerId, int32_t state) : 161 mPriority(score, state), mOwnerId{ownerId} {} 150 ClientDescriptor(const KEY& key, const VALUE& value, int32_t cost, const std::set<KEY>& conflictingKeys, int32_t score, int32_t ownerId, int32_t state) argument 157 ClientDescriptor(KEY&& key, VALUE&& value, int32_t cost, std::set<KEY>&& conflictingKeys, int32_t score, int32_t ownerId, int32_t state) argument
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | NetworkAgentInfo.java | 51 * interested in using it. Default sort order is descending by score. 89 // for the default network connection, the one with the higher score should be chosen. 145 // If true, becoming unvalidated will lower the network's score. This is only meaningful if the 198 // a request is moved to a network with a better score, regardless of whether the network is or 222 // This represents the last score received from the NetworkAgent. 255 LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler, 263 currentScore = score; 406 // TODO: We may want to refactor this into a NetworkScore class that takes a base score from 408 // score. The NetworkScore class would provide a nice place to centralize score constant 254 NetworkAgentInfo(Messenger messenger, AsyncChannel ac, Network net, NetworkInfo info, LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler, NetworkMisc misc, NetworkRequest defaultRequest, ConnectivityService connService) argument [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiInfo.java | 167 public int score; field in class:WifiInfo 292 score = 0; 323 score = source.score; 589 append(", score: ").append(Integer.toString(score)); 620 dest.writeInt(score); 651 info.score = in.readInt();
|
/frameworks/minikin/include/minikin/ |
H A D | LineBreaker.h | 197 float score; // best score found for this break member in struct:minikin::LineBreaker::Candidate
|