Home
last modified time | relevance | path

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

123456

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActivityChooserModel.java539 final float weight; in setDefaultActivity() local
542 weight = oldDefaultActivity.weight - newDefaultActivity.weight in setDefaultActivity()
545 weight = DEFAULT_HISTORICAL_RECORD_WEIGHT; in setDefaultActivity()
552 System.currentTimeMillis(), weight); in setDefaultActivity()
774 public final float weight; field in ActivityChooserModel.HistoricalRecord
783 public HistoricalRecord(String activityName, long time, float weight) { in HistoricalRecord() argument
784 this(ComponentName.unflattenFromString(activityName), time, weight); in HistoricalRecord()
794 public HistoricalRecord(ComponentName activityName, long time, float weight) { in HistoricalRecord() argument
797 this.weight = weight; in HistoricalRecord()
806 result = prime * result + Float.floatToIntBits(weight); in hashCode()
[all …]
/frameworks/base/core/java/android/widget/
DActivityChooserModel.java552 final float weight; in setDefaultActivity() local
555 weight = oldDefaultActivity.weight - newDefaultActivity.weight in setDefaultActivity()
558 weight = DEFAULT_HISTORICAL_RECORD_WEIGHT; in setDefaultActivity()
565 System.currentTimeMillis(), weight); in setDefaultActivity()
798 public final float weight; field in ActivityChooserModel.HistoricalRecord
807 public HistoricalRecord(String activityName, long time, float weight) { in HistoricalRecord() argument
808 this(ComponentName.unflattenFromString(activityName), time, weight); in HistoricalRecord()
818 public HistoricalRecord(ComponentName activityName, long time, float weight) { in HistoricalRecord() argument
821 this.weight = weight; in HistoricalRecord()
830 result = prime * result + Float.floatToIntBits(weight); in hashCode()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DTypeface_Delegate.java89 …int weight = mWeight + ((mStyle & Font.BOLD) == 0 ? 0 : FontFamily_Delegate.BOLD_FONT_WEIGHT_DELTA… in getFonts() local
90 if (weight > 900) { in getFonts()
91 weight = 900; in getFonts()
98 Font font = ffd.getFont(weight, isItalic); in getFonts()
112 Font font2 = ffd2.getFont(weight, isItalic); in getFonts()
162 /*package*/ static long nativeCreateWeightAlias(long native_instance, int weight) {
171 new Typeface_Delegate(delegate.mFontFamilies, delegate.mStyle, weight);
215 FontFamily_Delegate.addFont(fontFamily.mNativePtr, font.fontName, font.weight,
227 public Typeface_Delegate(@NonNull FontFamily_Delegate[] fontFamilies, int style, int weight) {
230 mWeight = weight;
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DHistoryEvaluator.java62 sumValue += data.evaluation * data.weight; in weightedAverage()
63 sumWeight += data.weight; in weightedAverage()
91 list.get(i).weight *= factor; in decayValue()
95 while (!list.isEmpty() && isZero(list.get(0).weight)) { in decayValue()
110 public float weight; field in HistoryEvaluator.Data
114 weight = 1.0f; in Data()
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
DTarget.java242 float weight = mWeights[i]; in normalizeWeights() local
243 if (weight > 0) { in normalizeWeights()
244 sum += weight; in normalizeWeights()
361 public Builder setSaturationWeight(@FloatRange(from = 0) float weight) { in setSaturationWeight()
362 mTarget.mWeights[INDEX_WEIGHT_SAT] = weight; in setSaturationWeight()
377 public Builder setLightnessWeight(@FloatRange(from = 0) float weight) { in setLightnessWeight()
378 mTarget.mWeights[INDEX_WEIGHT_LUMA] = weight; in setLightnessWeight()
392 public Builder setPopulationWeight(@FloatRange(from = 0) float weight) { in setPopulationWeight()
393 mTarget.mWeights[INDEX_WEIGHT_POP] = weight; in setPopulationWeight()
/frameworks/minikin/libs/minikin/
DFontFamily.cpp43 FontStyle::FontStyle(int variant, int weight, bool italic) in FontStyle() argument
44 : FontStyle(FontLanguageListCache::kEmptyListId, variant, weight, italic) { in FontStyle()
47 FontStyle::FontStyle(uint32_t languageListId, int variant, int weight, bool italic) in FontStyle() argument
48 : bits(pack(variant, weight, italic)), mLanguageListId(languageListId) { in FontStyle()
64 uint32_t FontStyle::pack(int variant, int weight, bool italic) { in pack() argument
65 return (weight & kWeightMask) | (italic ? kItalicMask : 0) | (variant << kVariantShift); in pack()
85 int weight; in addFont() local
87 if (analyzeStyle(os2Table.get(), os2Table.size(), &weight, &italic)) { in addFont()
89 FontStyle style(weight, italic); in addFont()
/frameworks/base/libs/hwui/hwui/
DTypeface.cpp38 int weight = typeface->fBaseWeight / 100; in resolveStyle() local
40 weight += 3; in resolveStyle()
42 if (weight > 9) { in resolveStyle()
43 weight = 9; in resolveStyle()
46 typeface->fStyle = FontStyle(weight, italic); in resolveStyle()
121 Typeface* Typeface::createWeightAlias(Typeface* src, int weight) { in createWeightAlias() argument
128 result->fBaseWeight = weight; in createWeightAlias()
/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/graphics/java/android/graphics/
DFontListParser.java56 Font(String fontName, int ttcIndex, List<Axis> axes, int weight, boolean isItalic) { in Font() argument
60 this.weight = weight; in Font()
66 public int weight; field in FontListParser.Font
73 public int weight; field in FontListParser.Alias
148 int weight = weightStr == null ? 400 : Integer.parseInt(weightStr); in readFont() local
165 return new Font(fullFilename, index, axes, weight, isItalic); in readFont()
209 alias.weight = 400; in readAlias()
211 alias.weight = Integer.parseInt(weightStr); in readAlias()
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/tools/
Dindex.jd13 <h3 style="font-size:18px;font-weight:bold">发布与推出</h3>
20 <h3 style="font-size:18px;font-weight:bold">宣传工具</h3>
27 <h3 style="font-size:18px;font-weight:bold">开发者支持</h3>
34 <h3 style="font-size:18px;font-weight:bold">开发者消息</h3>
41 <h3 style="font-size:18px;font-weight:bold">更多</h3>
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNoisyVelocityTracker.java74 float weight = 10f; in computeCurrentVelocity() local
96 mVX += weight * dx / dt; in computeCurrentVelocity()
97 mVY += weight * dy / dt; in computeCurrentVelocity()
98 totalweight += weight; in computeCurrentVelocity()
99 weight *= DECAY; in computeCurrentVelocity()
/frameworks/minikin/include/minikin/
DFontFamily.h39 FontStyle(int weight, bool italic) : FontStyle(0 /* variant */, weight, italic) {} in FontStyle() argument
43 FontStyle(int variant, int weight, bool italic);
44 FontStyle(uint32_t langListId, int variant, int weight, bool italic);
66 static uint32_t pack(int variant, int weight, bool italic);
/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/support_api_diff/22.2.1/
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/support_api_diff/23.1.0/
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/support_api_diff/23/
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/20/
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/24/
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/23/
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/support_api_diff/25.1.0/
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/support_api_diff/24.2.0/
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/22/
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/support_api_diff/23.2.0/
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/n-preview-4-incr/
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/21/
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;

123456