Searched refs:weight (Results 1 - 12 of 12) 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/base/media/libstagefright/codecs/aacdec/
H A Dlong_term_prediction.cpp30 Description: 1. Passed in "weight_index" instead of "weight".
31 2. Added weight table.
122 y(n) = weight * x(n - delay)
126 weight ----- LTP coefficient
167 weight = codebook[weight_index];
193 *pPredicted_samples = weight * (*pBuffer);
234 *pPredicted_samples = weight * (*pBuffer);
323 /* Purpose: Codebook for LTP weight coefficients. Stored in Q15 format */
383 UInt weight; local
403 weight
[all...]
/frameworks/base/core/java/android/widget/
H A DActivityChooserModel.java127 // This cannot be done by a simple comparator since an Activity weight
188 * Attribute for the choice weight.
190 private static final String ATTRIBUTE_WEIGHT = "weight";
209 * Default weight for a choice record.
520 * historical record with weight high enough that this activity will
522 * will eventually change if not used. Also the weight of the record for
532 final float weight;
534 // Add a record with weight enough to boost the chosen at the top.
535 weight = oldDefaultActivity.weight
781 public final float weight; field in class:ActivityChooserModel.HistoricalRecord
790 HistoricalRecord(String activityName, long time, float weight) argument
801 HistoricalRecord(ComponentName activityName, long time, float weight) argument
870 public float weight; field in class:ActivityChooserModel.ActivityResolveInfo
[all...]
H A DLinearLayout.java38 * grow to fill up any remaining space in the layout by setting the <em>weight</em> member of
393 * When true, all children with a weight will be considered having
397 * @return True to measure children with a weight using the minimum
405 * When set to true, all children with a weight will be considered having
411 * @param enabled True to measure children with a weight using the
525 * @return A number greater than 0.0f if the weight sum is defined, or
526 * a number lower than or equals to 0.0f if not weight sum is
542 * to 0.0f if the weight sum should be computed from the children's
636 totalWeight += lp.weight;
638 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight >
1747 public float weight; field in class:LinearLayout.LayoutParams
1804 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/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/core/java/android/hardware/
H A DCamera.java1361 * <p>Each Area consists of a rectangle specifying its bounds, and a weight
1369 * <p>The weight must range from 1 to 1000, and represents a weight for
1371 * the same weight as a smaller area will have more effect in the
1384 * Create an area with specified rectangle and weight.
1387 * @param weight the weight of the area.
1389 public Area(Rect rect, int weight) { argument
1391 this.weight = weight;
1436 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/core/java/com/android/internal/app/
H A DAlertController.java407 ((LinearLayout.LayoutParams) customPanel.getLayoutParams()).weight = 0;
575 params.weight = 0.5f;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderSessionImpl.java262 layoutParams.weight = 1;
297 layoutParams.weight = 1;
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java864 lp.weight = 1;
868 lp.weight = 0;

Completed in 248 milliseconds