/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 | 157 if (entry.weight < toRemove.weight) { 543 find(index + 1, weightLoss + me.weight, moveCost, itemsPlaced); 592 && itemsToPlace.get(index + 1).weight >= me.weight && !ignoreMove) { 593 find(index + 1, weightLoss + me.weight, moveCost, itemsPlaced); 598 weightLoss += itemsToPlace.get(i).weight; 600 find(itemsToPlace.size(), weightLoss + me.weight, moveCost, itemsPlaced); 639 entry.weight = entry.itemType == Favorites.ITEM_TYPE_APPLICATION ? 648 entry.weight = WT_FOLDER_FACTOR * total; 714 entry.weight = entry.itemType == Favorites.ITEM_TYPE_APPLICATION ? 722 entry.weight = Math.max(WT_WIDGET_MIN, WT_WIDGET_FACTOR [all …]
|
/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 | 123 private void setWeight(int id, float weight) { in setWeight() argument 126 params.weight = weight; in setWeight()
|
/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/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/apps/Car/libs/car-ui-lib/tests/robotests/src/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/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/apps/Settings/src/com/android/settings/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/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/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()
|
D | CameraUtil.java | 909 public static int addPixel(int pixel, int newPixel, float weight) { in addPixel() argument 912 int r = ((pixel & 0x00ff0000) + (int) ((newPixel & 0x00ff0000) * weight)) & 0x00ff0000; in addPixel() 913 int g = ((pixel & 0x0000ff00) + (int) ((newPixel & 0x0000ff00) * weight)) & 0x0000ff00; in addPixel() 914 int b = ((pixel & 0x000000ff) + (int) ((newPixel & 0x000000ff) * weight)) & 0x000000ff; in addPixel()
|
/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/modules/ExtServices/src/android/ext/services/resolver/ |
D | LRResolverRankerService.java | 145 float weight = mFeatureWeights.getOrDefault(featureName, 0.0f); in predict() local 146 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()
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ |
D | ShadowTypeface.java | 31 public static Typeface create(Typeface family, int weight, boolean italic) { in create() argument
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowTypeface.java | 30 public static Typeface create(Typeface family, int weight, boolean italic) { in create() argument
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrGuidedActionsStylist.java | 50 ((LinearLayout.LayoutParams) v.getLayoutParams()).weight = sWidthWeight; in onCreateView()
|