Home
last modified time | relevance | path

Searched refs:weight (Results 1 – 25 of 97) sorted by relevance

1234

/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActivityChooserModel.java541 final float weight; in setDefaultActivity() local
544 weight = oldDefaultActivity.weight - newDefaultActivity.weight in setDefaultActivity()
547 weight = DEFAULT_HISTORICAL_RECORD_WEIGHT; in setDefaultActivity()
554 System.currentTimeMillis(), weight); in setDefaultActivity()
789 public final float weight; field in ActivityChooserModel.HistoricalRecord
798 public HistoricalRecord(String activityName, long time, float weight) { in HistoricalRecord() argument
799 this(ComponentName.unflattenFromString(activityName), time, weight); in HistoricalRecord()
809 public HistoricalRecord(ComponentName activityName, long time, float weight) { in HistoricalRecord() argument
812 this.weight = weight; in HistoricalRecord()
821 result = prime * result + Float.floatToIntBits(weight); in hashCode()
[all …]
/frameworks/base/core/java/android/widget/
DActivityChooserModel.java551 final float weight; in setDefaultActivity() local
554 weight = oldDefaultActivity.weight - newDefaultActivity.weight in setDefaultActivity()
557 weight = DEFAULT_HISTORICAL_RECORD_WEIGHT; in setDefaultActivity()
564 System.currentTimeMillis(), weight); in setDefaultActivity()
797 public final float weight; field in ActivityChooserModel.HistoricalRecord
806 public HistoricalRecord(String activityName, long time, float weight) { in HistoricalRecord() argument
807 this(ComponentName.unflattenFromString(activityName), time, weight); in HistoricalRecord()
817 public HistoricalRecord(ComponentName activityName, long time, float weight) { in HistoricalRecord() argument
820 this.weight = weight; in HistoricalRecord()
829 result = prime * result + Float.floatToIntBits(weight); in hashCode()
[all …]
DLinearLayout.java671 totalWeight += lp.weight; in measureVertical()
673 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight > 0) { in measureVertical()
682 if (lp.height == 0 && lp.weight > 0) { in measureVertical()
724 if (i < baselineChildIndex && lp.weight > 0) { in measureVertical()
747 if (lp.weight > 0) { in measureVertical()
821 float childExtra = lp.weight; in measureVertical()
895 float childExtra = lp.weight; in measureVertical()
1013 totalWeight += lp.weight; in measureHorizontal()
1015 if (widthMode == MeasureSpec.EXACTLY && lp.width == 0 && lp.weight > 0) { in measureHorizontal()
1039 if (lp.width == 0 && lp.weight > 0) { in measureHorizontal()
[all …]
/frameworks/base/services/java/com/android/server/wm/
DStackBox.java168 TaskStack split(int stackId, int relativeStackBoxId, int position, float weight) { in split() argument
175 TaskStack stack = mFirst.split(stackId, relativeStackBoxId, position, weight); in split()
179 return mSecond.split(stackId, relativeStackBoxId, position, weight); in split()
199 mWeight = weight; in split()
203 mWeight = 1.0f - weight; in split()
212 mWeight = weight; in split()
216 mWeight = 1.0f - weight; in split()
274 boolean resize(int stackBoxId, float weight) { in resize() argument
277 (mFirst.resize(stackBoxId, weight) || mSecond.resize(stackBoxId, weight)); in resize()
281 mParent.mWeight = isFirstChild() ? weight : 1.0f - weight; in resize()
/frameworks/base/core/java/android/gesture/
DInstanceLearner.java60 double weight; in classify() local
62 weight = Double.MAX_VALUE; in classify()
64 weight = 1 / distance; in classify()
67 if (score == null || weight > score) { in classify()
68 label2score.put(sample.label, weight); in classify()
/frameworks/base/docs/html/sdk/api_diff/11/
Dstylesheet-jdiff.css8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
42 font-size: 1.5em;font-weight:9;
/frameworks/base/docs/html/sdk/api_diff/8/
Dstylesheet-jdiff.css8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
42 font-size: 1.5em;font-weight:9;
/frameworks/base/docs/html/sdk/api_diff/15/
Dstylesheet-jdiff.css8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
42 font-size: 1.5em;font-weight:9;
/frameworks/base/docs/html/sdk/api_diff/12/
Dstylesheet-jdiff.css8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
42 font-size: 1.5em;font-weight:9;
/frameworks/base/docs/html/sdk/api_diff/16/
Dstylesheet-jdiff.css8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
42 font-size: 1.5em;font-weight:9;
/frameworks/base/docs/html/sdk/api_diff/17/
Dstylesheet-jdiff.css8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
42 font-size: 1.5em;font-weight:9;
/frameworks/base/docs/html/sdk/api_diff/19/
Dstylesheet-jdiff.css8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
42 font-size: 1.5em;font-weight:9;
/frameworks/base/docs/html/sdk/api_diff/3/
Dstylesheet-jdiff.css8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
42 font-size: 1.5em;font-weight:9;
/frameworks/base/docs/html/sdk/api_diff/18/
Dstylesheet-jdiff.css8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
42 font-size: 1.5em;font-weight:9;
/frameworks/base/docs/html/sdk/api_diff/6/
Dstylesheet-jdiff.css8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
42 font-size: 1.5em;font-weight:9;
/frameworks/base/docs/html/sdk/api_diff/7/
Dstylesheet-jdiff.css8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
42 font-size: 1.5em;font-weight:9;
/frameworks/base/docs/html/sdk/api_diff/14/
Dstylesheet-jdiff.css8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
42 font-size: 1.5em;font-weight:9;
/frameworks/base/docs/html/sdk/api_diff/4/
Dstylesheet-jdiff.css8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
42 font-size: 1.5em;font-weight:9;
/frameworks/base/docs/html/sdk/api_diff/10/
Dstylesheet-jdiff.css8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
42 font-size: 1.5em;font-weight:9;
/frameworks/base/docs/html/sdk/api_diff/5/
Dstylesheet-jdiff.css8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
42 font-size: 1.5em;font-weight:9;
/frameworks/base/docs/html/sdk/api_diff/13/
Dstylesheet-jdiff.css8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
42 font-size: 1.5em;font-weight:9;
/frameworks/base/docs/html/sdk/api_diff/9/
Dstylesheet-jdiff.css8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
42 font-size: 1.5em;font-weight:9;
/frameworks/base/docs/html/guide/topics/ui/layout/
Dlinear.jd57 <em>weight</em> to individual children with the <a
61 terms of how much space is should occupy on the screen. A larger weight value allows it to expand
63 Child views can specify a weight value, and then any remaining space in the view group is
64 assigned to children in the proportion of their declared weight. Default
65 weight is zero.</p>
67 <p>For example, if there are three text fields and two of them declare a weight of 1, while the
68 other is given no weight, the third text field without weight will not grow and will only occupy the
70 all three fields are measured. If the third field is then given a weight of 2 (instead of 0), then
/frameworks/base/docs/html/reference/renderscript/
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: bold;
[all …]
/frameworks/base/core/java/android/speech/srec/
DRecognizer.java204 public void addWordToSlot(String slot, String word, String pron, int weight, String tag) { in addWordToSlot() argument
205 SR_GrammarAddWordToSlot(mGrammar, slot, word, pron, weight, tag); in addWordToSlot()
625 String ruleName, int weight); in SR_RecognizerActivateRule() argument
664 String word, String pronunciation, int weight, String tag); in SR_GrammarAddWordToSlot() argument

1234