/frameworks/base/core/java/android/gesture/ |
H A D | Prediction.java | 22 public double score; field in class:Prediction 26 score = predictionScore;
|
/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/base/core/java/android/service/notification/ |
H A D | StatusBarNotification.java | 42 private final int score; field in class:StatusBarNotification 46 int initialPid, int score, Notification notification, UserHandle user) { 47 this(pkg, opPkg, id, tag, uid, initialPid, score, notification, user, 52 int initialPid, int score, Notification notification, UserHandle user, 63 this.score = score; 82 this.score = in.readInt(); 119 out.writeInt(this.score); 152 this.score, no, this.user, this.postTime); 159 this.score, thi 45 StatusBarNotification(String pkg, String opPkg, int id, String tag, int uid, int initialPid, int score, Notification notification, UserHandle user) argument 51 StatusBarNotification(String pkg, String opPkg, int id, String tag, int uid, int initialPid, int score, Notification notification, UserHandle user, long postTime) argument [all...] |
/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)) { 513 uint32_t score = width * height * framesPerSecond; local 515 score *= 2; 518 if (first || score > bestScore) { 519 bestScore = score;
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkAgent.java | 83 /* centralize place where base network score, and network score scaling, will be 90 * network score. 91 * obj = network score Integer 129 NetworkCapabilities nc, LinkProperties lp, int score) { 130 this(looper, context, logTag, ni, nc, lp, score, null); 134 NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc) { 146 new LinkProperties(lp), new NetworkCapabilities(nc), score, misc); 236 * Called by the bearer code when it has a new score for this network. 238 public void sendNetworkScore(int score) { argument 128 NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, NetworkCapabilities nc, LinkProperties lp, int score) argument 133 NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc) argument [all...] |
H A D | NetworkFactory.java | 36 * can be filtered 3 ways: by NetworkCapabilities, by score and more complexly by 38 * or score forces re-evaluation of all current requests. 63 * msg.arg1 = score - the score of the any network currently satisfying this 65 * exceed this score it should not try to connect, holding the request 68 * or higher) score for this request, transmitted to each 70 * with the same NetworkRequest but an updated score. 72 * allowing for a better score in the future. 83 * Internally used to set our best-guess score. 84 * msg.arg1 = new score 155 public int score; field in class:NetworkFactory.NetworkRequestInfo 158 NetworkRequestInfo(NetworkRequest request, int score) argument 165 handleAddRequest(NetworkRequest request, int score) argument 188 handleSetScore(int score) argument 217 acceptRequest(NetworkRequest request, int score) argument 253 needNetworkFor(NetworkRequest networkRequest, int score) argument 262 addNetworkRequest(NetworkRequest networkRequest, int score) argument 271 setScoreFilter(int score) argument [all...] |
H A D | ConnectivityManager.java | 1999 NetworkCapabilities nc, int score, NetworkMisc misc) { 2001 mService.registerNetworkAgent(messenger, ni, lp, nc, score, misc); 1998 registerNetworkAgent(Messenger messenger, NetworkInfo ni, LinkProperties lp, NetworkCapabilities nc, int score, NetworkMisc misc) argument
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | CommonTimeManagementService.java | 214 public InterfaceScoreRule(String prefix, byte score) { argument 216 mScore = score;
|
H A D | ConnectivityService.java | 1926 Integer score = (Integer) msg.obj; 1927 if (score != null) updateNetworkScore(nai, score.intValue()); 1981 // If score has changed, rebroadcast to NetworkFactories. b/17726566 2149 // because they lost all their requests or because their score isn't good) 2275 final int score = bestNetwork == null ? 0 : bestNetwork.getCurrentScore(); 2277 nfi.asyncChannel.sendMessage(android.net.NetworkFactory.CMD_REQUEST_NETWORK, score, 3920 private void sendUpdatedScoreToFactories(NetworkRequest networkRequest, int score) { argument 3921 if (VDBG) log("sending new Min Network Score(" + score + "): " + networkRequest.toString()); 3923 nfi.asyncChannel.sendMessage(android.net.NetworkFactory.CMD_REQUEST_NETWORK, score, 4375 updateNetworkScore(NetworkAgentInfo nai, int score) argument [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | NetworkAgentInfo.java | 65 // This represents the last score received from the NetworkAgent. 76 // score. A non-empty list indicates that if this Network was validated it is lingered. 87 LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler, 95 currentScore = score; 118 // TODO: We may want to refactor this into a NetworkScore class that takes a base score from 120 // score. The NetworkScore class would provide a nice place to centralize score constants 123 int score = currentScore; 125 if (!everValidated && !pretendValidated) score -= UNVALIDATED_SCORE_PENALTY; 126 if (score < 86 NetworkAgentInfo(Messenger messenger, AsyncChannel ac, NetworkInfo info, LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler, NetworkMisc misc, NetworkRequest defaultRequest) argument [all...] |
/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/ex/variablespeed/jni/ |
H A D | sola_time_scaler.cc | 31 // Returns a cross-correlation score for the specified buffers. 36 int score = 0; local 39 // Increment the score if the sign bits match. 40 score += ((bit_cast<int32>(*buffer1++) ^ bit_cast<int32>(*buffer2++)) >= 0) 43 return score; 275 // find the best correlation score, working from the center out. 282 int score; local 284 score = analyzer_->Correlate(input_pointer, 287 if (score > best_score) { 288 best_score = score; [all...] |
/frameworks/minikin/libs/minikin/ |
H A D | FontCollection.cpp | 98 // 2. If a font matches both language and script, it gets a score of 4. 99 // 3. If a font matches just language, it gets a score of 2. 100 // 4. Matching the "compact" or "elegant" variant adds one to the score. 101 // 5. Highest score wins, with ties resolved to the first font. 120 int score = lang.match(family->lang()) * 2; local 122 score++; 124 if (score > bestScore) { 125 bestScore = score;
|
H A D | FontFamily.cpp | 138 int score = abs(style1.getWeight() - style2.getWeight()); local 140 score += 2; 142 return score;
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | VideoFrameScheduler.cpp | 227 int64_t score = 0; local 229 // simplest score: number of deltas that are near multiples 237 score = matches; 244 score *= max(0, err); 248 // or use the error as a negative score 252 score = -delta * err; 255 if (i == 0 || score > bestScore) { 256 bestScore = score;
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationRecord.java | 52 int score; field in class:NotificationRecord 74 public NotificationRecord(StatusBarNotification sbn, int score) argument 77 this.score = score; 106 pw.println(prefix + " pri=" + notification.priority + " score=" + sbn.getScore()); 197 "NotificationRecord(0x%08x: pkg=%s user=%s id=%d tag=%s score=%d key=%s: %s)",
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiInfo.java | 147 public int score; field in class:WifiInfo 246 score = 0; 273 score = source.score; 519 append(", score: ").append(Integer.toString(score)); 549 dest.writeInt(score); 579 info.score = in.readInt();
|
H A D | WifiConfiguration.java | 393 * - GOOD/LOW/BAD thresholds are used so as to calculate link score 462 * Boost given to RSSI on a home network for the purpose of calculating the score 490 public int score; // Debug only, indicate last score used for autojoin/cell-handover field in class:WifiConfiguration.Visibility 529 if (score != 0) { 530 sbuf.append("; ").append(score);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DctController.java | 616 protected void needNetworkFor(NetworkRequest networkRequest, int score) { argument
|
H A D | DataConnection.java | 1957 NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc) { 1958 super(l, c, TAG, ni, nc, lp, score, misc); 1956 DcNetworkAgent(Looper l, Context c, String TAG, NetworkInfo ni, NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
H A D | LLand.java | 342 private void setScore(int score) { argument 343 mScore = score; 345 mScoreField.setText(DEBUG_IDDQD ? "??" : String.valueOf(score));
|
/frameworks/native/opengl/libs/ETC1/ |
H A D | etc1.cpp | 236 etc1_uint32 score; // Lower is more accurate member in struct:__anon1379 241 if (a->score > b->score) { 312 etc1_uint32 score = (etc1_uint32) (6 * square(decodedG - pixelG)); local 313 if (score >= bestScore) { 317 score += (etc1_uint32) (3 * square(decodedR - pixelR)); 318 if (score >= bestScore) { 322 score += (etc1_uint32) square(decodedB - pixelB); 323 if (score < bestScore) { 324 bestScore = score; 338 int score = pCompressed->score; local [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AudioGroup.cpp | 384 int score = mBufferTail - tick - MEASURE_BASE; local 385 if (mLatencyScore > score || mLatencyScore <= 0) { 386 mLatencyScore = score;
|
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 1767 public int score; field in class:Camera.Face
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 1937 const int score = ((localeScript[0] != 0) ? 1 : 0) + local 1943 return score - oScore;
|