/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
D | HistoryEvaluator.java | 59 sumValue += data.evaluation * data.weight; in weightedAverage() 60 sumWeight += data.weight; in weightedAverage() 88 list.get(i).weight *= factor; in decayValue() 92 while (!list.isEmpty() && isZero(list.get(0).weight)) { in decayValue() 107 public float weight; field in HistoryEvaluator.Data 111 weight = 1.0f; in Data()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | GridSizeMigrationTask.java | 162 if (entry.weight < toRemove.weight) { 548 find(index + 1, weightLoss + me.weight, moveCost, itemsPlaced); 597 && itemsToPlace.get(index + 1).weight >= me.weight && !ignoreMove) { 598 find(index + 1, weightLoss + me.weight, moveCost, itemsPlaced); 603 weightLoss += itemsToPlace.get(i).weight; 605 find(itemsToPlace.size(), weightLoss + me.weight, moveCost, itemsPlaced); 644 entry.weight = entry.itemType == Favorites.ITEM_TYPE_APPLICATION ? 653 entry.weight = WT_FOLDER_FACTOR * total; 720 entry.weight = entry.itemType == Favorites.ITEM_TYPE_APPLICATION ? 728 entry.weight = Math.max(WT_WIDGET_MIN, WT_WIDGET_FACTOR [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | MatchParentShrinkingLinearLayout.java | 683 totalWeight += lp.weight; in measureVertical() 685 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight > 0) { in measureVertical() 695 if (lp.height == 0 && lp.weight > 0) { in measureVertical() 737 if (i < baselineChildIndex && lp.weight > 0) { in measureVertical() 760 if (lp.weight > 0) { in measureVertical() 835 float childExtra = lp.weight; in measureVertical() 928 float childExtra = lp.weight; in measureVertical() 1479 public float weight; field in MatchParentShrinkingLinearLayout.LayoutParams 1512 weight = a.getFloat( in LayoutParams() 1525 weight = 0; in LayoutParams() [all …]
|
D | UsageView.java | 123 private void setWeight(int id, float weight) { in setWeight() argument 126 params.weight = weight; in setWeight()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | MatchParentShrinkingLinearLayout.java | 683 totalWeight += lp.weight; in measureVertical() 685 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight > 0) { in measureVertical() 695 if (lp.height == 0 && lp.weight > 0) { in measureVertical() 737 if (i < baselineChildIndex && lp.weight > 0) { in measureVertical() 760 if (lp.weight > 0) { in measureVertical() 835 float childExtra = lp.weight; in measureVertical() 928 float childExtra = lp.weight; in measureVertical() 1479 public float weight; field in MatchParentShrinkingLinearLayout.LayoutParams 1512 weight = a.getFloat( in LayoutParams() 1525 weight = 0; in LayoutParams() [all …]
|
D | UsageView.java | 134 private void setWeight(int id, float weight) { in setWeight() argument 137 params.weight = weight; in setWeight()
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
D | DataKind.java | 48 public int weight; field in DataKind 91 public DataKind(String mimeType, int titleRes, int weight, boolean editable) { in DataKind() argument 94 this.weight = weight; in DataKind() 113 sb.append(" weight=").append(weight); in toString()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/ |
D | DataKind.java | 45 public int weight; field in DataKind 83 public DataKind(String mimeType, int titleRes, int weight, boolean editable) { in DataKind() argument 86 this.weight = weight; in DataKind() 117 sb.append(" weight=").append(weight); in toString()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/misc/ |
D | doxygenextra.css | 14 font-weight: normal; 23 font-weight: normal; 56 font-weight: normal; 64 font-weight: normal; 110 font-weight: normal; 141 font-weight: normal; 170 font-weight: bold;
|
/packages/services/Car/service/res/raw/ |
D | horizontal_blur_fragment_shader.glsl | 25 float weight = 0.0; 30 weight = computeWeight(x); 31 weightedColor += sampledColor * weight; 32 divisor += weight;
|
D | vertical_blur_fragment_shader.glsl | 25 float weight = 0.0; 30 weight = computeWeight(y); 31 weightedColor += sampledColor * weight; 32 divisor += weight;
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/test/java/com/android/car/ui/toolbar/ |
D | ExtendedShadowTypeface.java | 28 protected static Typeface create(Typeface family, int weight, boolean italic) { in create() argument 31 int style = italic ? weight + 10 : weight; in create()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | autocorrection_threshold_utils.cpp | 93 const float weight = 1.0f - static_cast<float>(distance) / static_cast<float>(afterLength); in calcNormalizedScore() local 97 return (static_cast<float>(score) / SUGGEST_INTERFACE_OUTPUT_SCALE) * weight; in calcNormalizedScore() 106 return (static_cast<float>(score) / maxScore) * weight; in calcNormalizedScore()
|
/packages/services/Car/cpp/surround_view/service-impl/ |
D | core_lib.h | 127 float weight; member 129 PixelWeight() : x(-1), y(-1), weight(0) {} in PixelWeight() 131 PixelWeight(int x_, int y_, int weight_) : x(x_), y(y_), weight(weight_) {} in PixelWeight() 134 return x == rhs.x && y == rhs.y && weight == rhs.weight; 140 weight = rhs.weight;
|
/packages/apps/TV/src/com/android/tv/recommendation/ |
D | Recommender.java | 103 public void registerEvaluator(Evaluator evaluator, double baseScore, double weight) { in registerEvaluator() argument 104 mEvaluators.add(new EvaluatorWrapper(this, evaluator, baseScore, weight)); in registerEvaluator() 281 Recommender recommender, Evaluator evaluator, double baseScore, double weight) { in EvaluatorWrapper() argument 285 mWeight = weight; in EvaluatorWrapper()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | ChartDataUsagePreference.java | 141 float weight = policy.warningBytes / RESOLUTION / (float) top; in bindNetworkPolicy() local 142 float above = 1 - weight; in bindNetworkPolicy() 143 chart.setSideLabelWeights(above, weight); in bindNetworkPolicy()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/shadows/ |
D | LShadowTypeface.java | 31 public static Typeface create(Typeface family, int weight, boolean italic) { in create() argument 33 if (weight >= 400) { in create()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | Gusterpolator.java | 78 float weight = difference / STEP_SIZE; in getInterpolation() local 80 return VALUES[position] + weight * (VALUES[position + 1] - VALUES[position]); in getInterpolation()
|
/packages/apps/PermissionController/src/android/support/wearable/view/ |
D | Gusterpolator.java | 80 float weight = difference / STEP_SIZE; in getInterpolation() local 82 return VALUES[position] + weight * (VALUES[position + 1] - VALUES[position]); in getInterpolation()
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ipmemorystore/ |
D | NetworkAttributes.java | 177 private float samenessContribution(final float weight, in samenessContribution() argument 180 return (null == o2) ? weight * NULL_MATCH_WEIGHT : 0f; in samenessContribution() 182 return Objects.equals(o1, o2) ? weight : 0f; in samenessContribution()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | ChartDataUsagePreference.java | 274 float weight = policy.warningBytes / RESOLUTION / (float) top; in bindNetworkPolicy() local 275 float above = 1 - weight; in bindNetworkPolicy() 276 chart.setSideLabelWeights(above, weight); in bindNetworkPolicy()
|
/packages/modules/ExtServices/src/android/ext/services/resolver/ |
D | LRResolverRankerService.java | 167 float weight = mFeatureWeights.getOrDefault(featureName, 0.0f); in predict() local 168 sum += weight * target.valueAt(i); in predict()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/account/ |
D | AccountType.java | 56 return object1.weight - object2.weight;
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
D | AccountType.java | 303 return object1.weight - object2.weight;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
D | SuggestionStripLayoutHelper.java | 559 static void setLayoutWeight(final View v, final float weight, final int height) { in setLayoutWeight() argument 563 llp.weight = weight; in setLayoutWeight()
|