Searched refs:weight (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/core/java/android/gesture/
H A DInstanceLearner.java60 double weight;
62 weight = Double.MAX_VALUE;
64 weight = 1 / distance;
67 if (score == null || weight > score) {
68 label2score.put(sample.label, weight);
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DILearning_StochasticLinearRanker.aidl32 boolean SetModelPriorWeight(in List<StringFloat> weight);
/frameworks/base/core/java/android/widget/
H A DActivityChooserModel.java123 // This cannot be done by a simple comparator since an Activity weight
184 * Attribute for the choice weight.
186 private static final String ATTRIBUTE_WEIGHT = "weight";
205 * Default weight for a choice record.
533 * historical record with weight high enough that this activity will
535 * will eventually change if not used. Also the weight of the record for
548 final float weight;
550 // Add a record with weight enough to boost the chosen at the top.
551 weight = oldDefaultActivity.weight
789 public final float weight; field in class:ActivityChooserModel.HistoricalRecord
798 HistoricalRecord(String activityName, long time, float weight) argument
809 HistoricalRecord(ComponentName activityName, long time, float weight) argument
878 public float weight; field in class:ActivityChooserModel.ActivityResolveInfo
[all...]
H A DLinearLayout.java40 * grow to fill up any remaining space in the layout by setting the <em>weight</em> member of
424 * When true, all children with a weight will be considered having
428 * @return True to measure children with a weight using the minimum
438 * When set to true, all children with a weight will be considered having
444 * @param enabled True to measure children with a weight using the
560 * @return A number greater than 0.0f if the weight sum is defined, or
561 * a number lower than or equals to 0.0f if not weight sum is
577 * to 0.0f if the weight sum should be computed from the children's
671 totalWeight += lp.weight;
673 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight >
1794 public float weight; field in class:LinearLayout.LayoutParams
1851 LayoutParams(int width, int height, float weight) argument
[all...]
/frameworks/compile/libbcc/runtime/www/
H A Dmenu.css27 font-weight: bold;
/frameworks/base/docs/html/reference/renderscript/
H A Ddoxygen.css16 font-weight: bold;
29 font-weight: bold;
58 font-weight: bold;
90 font-weight: normal;
103 font-weight: bold;
107 font-weight: bold;
118 font-weight: bold;
156 font-weight: bold;
175 font-weight: bold;
197 font-weight
[all...]
/frameworks/av/services/camera/libcameraservice/camera2/
H A DParameters.h98 int weight; member in struct:android::camera2::Parameters::Area
100 Area(int left, int top, int right, int bottom, int weight): argument
102 weight(weight) {}
H A DParameters.cpp1694 if (focusingAreas[i].weight != 0) {
1709 reqFocusingAreas[i + 4] = focusingAreas[i].weight;
1723 if (meteringAreas[i].weight != 0) {
1738 reqMeteringAreas[i + 4] = meteringAreas[i].weight;
2136 areas[0].weight == 0) {
2155 if (a->weight < 1 || a->weight > 1000) return BAD_VALUE;
/frameworks/base/core/java/android/speech/srec/
H A DRecognizer.java201 * @param weight weight to give the word. One is normal, 50 is low.
204 public void addWordToSlot(String slot, String word, String pron, int weight, String tag) { argument
205 SR_GrammarAddWordToSlot(mGrammar, slot, word, pron, weight, tag);
625 String ruleName, int weight);
664 String word, String pronunciation, int weight, String tag);
667 // const struct SR_Nametag_t* nametag, int weight, String tag);
624 SR_RecognizerActivateRule(int recognizer, int grammar, String ruleName, int weight) argument
663 SR_GrammarAddWordToSlot(int grammar, String slot, String word, String pronunciation, int weight, String tag) argument
/frameworks/base/docs/html/guide/google/gcm/client-javadoc/
H A Ddefault.css25 font-weight: 400;
38 font-weight: 100;
122 font-weight: 500; }
279 font-weight: 500;
300 font-weight: normal;
355 font-weight: bold;
573 font-weight: 500; }
613 font-weight: 500;
679 font-weight: 500;
731 font-weight
[all...]
/frameworks/base/docs/html/guide/google/gcm/server-javadoc/
H A Ddefault.css25 font-weight: 400;
38 font-weight: 100;
122 font-weight: 500; }
279 font-weight: 500;
300 font-weight: normal;
355 font-weight: bold;
573 font-weight: 500; }
613 font-weight: 500;
679 font-weight: 500;
731 font-weight
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java1568 * <p>Each Area consists of a rectangle specifying its bounds, and a weight
1576 * <p>The weight must range from 1 to 1000, and represents a weight for
1578 * the same weight as a smaller area will have more effect in the
1591 * Create an area with specified rectangle and weight.
1594 * @param weight the weight of the area.
1596 public Area(Rect rect, int weight) { argument
1598 this.weight = weight;
1643 public int weight; field in class:Camera.Area
[all...]
/frameworks/base/core/tests/coretests/src/android/util/
H A DListItemFactory.java99 lp.weight = 0.33f;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderSessionImpl.java299 layoutParams.weight = 1;
325 layoutParams.weight = 1;
360 layoutParams.weight = 1;
/frameworks/base/core/java/com/android/internal/app/
H A DAlertController.java419 ((LinearLayout.LayoutParams) customPanel.getLayoutParams()).weight = 0;
587 params.weight = 0.5f;
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp1251 int weight = 1; local
1253 weight = 4;
1254 tmpAvgGain += weight * gain;
1255 tmpAvgCount += weight;
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java889 lp.weight = 1;
893 lp.weight = 0;
/frameworks/av/services/camera/libcameraservice/
H A DCamera2Client.cpp283 result.appendFormat(" [ (%d, %d, %d, %d), weight %d ]\n",
288 p.focusingAreas[i].weight);
300 result.appendFormat(" [ (%d, %d, %d, %d), weight %d ]\n",
305 p.meteringAreas[i].weight);

Completed in 1155 milliseconds