/frameworks/minikin/include/minikin/ |
H A D | AnalyzeStyle.h | 22 bool analyzeStyle(const uint8_t* os2_data, size_t os2_size, int* weight, bool* italic);
|
H A D | FontFamily.h | 67 FontStyle(int weight = 4, bool italic = false) { 68 bits = (weight & kWeightMask) | (italic ? kItalicMask : 0); 70 FontStyle(FontLanguage lang, int variant = 0, int weight = 4, bool italic = false) { 71 bits = (weight & kWeightMask) | (italic ? kItalicMask : 0)
|
/frameworks/minikin/libs/minikin/ |
H A D | AnalyzeStyle.cpp | 29 bool analyzeStyle(const uint8_t* os2_data, size_t os2_size, int* weight, bool* italic) { argument 37 *weight = weightClass / 100;
|
/frameworks/base/core/java/android/gesture/ |
H A D | InstanceLearner.java | 60 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/graphics/java/android/graphics/ |
H A D | FontListParser.java | 46 Font(String fontName, int weight, boolean isItalic) { argument 48 this.weight = weight; 52 public int weight; field in class:FontListParser.Font 59 public int weight; field in class:FontListParser.Alias 115 String weightStr = parser.getAttributeValue(null, "weight"); 116 int weight = weightStr == null ? 400 : Integer.parseInt(weightStr); 120 fonts.add(new Font(fullFilename, weight, isItalic)); 133 String weightStr = parser.getAttributeValue(null, "weight"); 135 alias.weight [all...] |
H A D | FontFamily.java | 65 public boolean addFontWeightStyle(String path, int weight, boolean style) { argument 66 return nAddFontWeightStyle(mNativePtr, path, weight, style); 77 int weight, boolean isItalic); 76 nAddFontWeightStyle(long nativeFamily, String path, int weight, boolean isItalic) argument
|
H A D | Typeface.java | 265 fontFamily.addFontWeightStyle(font.fontName, font.weight, font.isItalic); 315 int weight = alias.weight; 316 if (weight != 400) { 317 newFace = new Typeface(nativeCreateWeightAlias(base.native_instance, weight)); 389 private static native long nativeCreateWeightAlias(long native_instance, int weight); argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Typeface_Delegate.java | 89 // Calculate the required weight based on style and weight of this typeface. 90 int weight = mWeight + ((mStyle & Font.BOLD) == 0 ? 0 : FontFamily_Delegate.BOLD_FONT_WEIGHT_DELTA); 91 if (weight > 900) { 92 weight = 900; 99 Font font = ffd.getFont(weight, isItalic); 113 Font font2 = ffd2.getFont(weight, isItalic); 151 /*package*/ static long nativeCreateWeightAlias(long native_instance, int weight) { argument 160 new Typeface_Delegate(delegate.mFontFamilies, delegate.mStyle, weight); 205 public Typeface_Delegate(@NonNull FontFamily_Delegate[] fontFamilies, int style, int weight) { argument [all...] |
H A D | FontFamily_Delegate.java | 261 final int weight, final boolean isItalic) { 268 delegate.addFont(path, weight, isItalic); 273 return delegate.addFont(path, weight, isItalic); 299 private boolean addFont(@NonNull String path, int weight, boolean isItalic) { argument 312 fontInfo.mWeight = weight; 319 int weight = fontInfo.mWeight; 324 if (font.mWeight == weight && font.mIsItalic == isItalic) { 260 nAddFontWeightStyle(long nativeFamily, final String path, final int weight, final boolean isItalic) argument
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | ILearning_StochasticLinearRanker.aidl | 32 boolean SetModelPriorWeight(in List<StringFloat> weight);
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
H A D | MarshalQueryableMeteringRectangle.java | 34 /** (xmin, ymin, xmax, ymax, weight) */ 47 int weight = value.getMeteringWeight(); 53 buffer.putInt(weight); 62 int weight = buffer.getInt(); 67 return new MeteringRectangle(xMin, yMin, width, height, weight);
|
/frameworks/base/core/java/android/widget/ |
H A D | ActivityChooserModel.java | 126 // This cannot be done by a simple comparator since an Activity weight 187 * Attribute for the choice weight. 189 private static final String ATTRIBUTE_WEIGHT = "weight"; 208 * Default weight for a choice record. 536 * historical record with weight high enough that this activity will 538 * will eventually change if not used. Also the weight of the record for 551 final float weight; 553 // Add a record with weight enough to boost the chosen at the top. 554 weight = oldDefaultActivity.weight 797 public final float weight; field in class:ActivityChooserModel.HistoricalRecord 806 HistoricalRecord(String activityName, long time, float weight) argument 817 HistoricalRecord(ComponentName activityName, long time, float weight) argument 886 public float weight; field in class:ActivityChooserModel.ActivityResolveInfo [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ActivityChooserModel.java | 123 // 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. 527 * historical record with weight high enough that this activity will 529 * will eventually change if not used. Also the weight of the record for 542 final float weight; 544 // Add a record with weight enough to boost the chosen at the top. 545 weight = oldDefaultActivity.weight 777 public final float weight; field in class:ActivityChooserModel.HistoricalRecord 786 HistoricalRecord(String activityName, long time, float weight) argument 797 HistoricalRecord(ComponentName activityName, long time, float weight) argument 866 public float weight; field in class:ActivityChooserModel.ActivityResolveInfo [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NoisyVelocityTracker.java | 74 float weight = 10f; 96 mVX += weight * dx / dt; 97 mVY += weight * dy / dt; 98 totalweight += weight; 99 weight *= DECAY;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | TypefaceImpl.cpp | 42 // Resolve the 1..9 weight based on base weight and bold flag 44 int weight = typeface->fBaseWeight / 100; local 46 weight += 3; 48 if (weight > 9) { 49 weight = 9; 52 typeface->fStyle = FontStyle(weight, italic); 124 TypefaceImpl* TypefaceImpl_createWeightAlias(TypefaceImpl* src, int weight) { argument 131 result->fBaseWeight = weight;
|
H A D | Typeface.cpp | 44 static jlong Typeface_createWeightAlias(JNIEnv* env, jobject, jlong familyHandle, jint weight) { argument 46 TypefaceImpl* face = TypefaceImpl_createWeightAlias(family, weight);
|
/frameworks/base/libs/hwui/ |
H A D | Interpolator.cpp | 109 float ipart, weight; local 110 weight = modff(lutpos, &ipart); 116 " i1=%d, i2=%d, input=%f, lutpos=%f, size=%zu, values=%p, ipart=%f, weight=%f", 117 i1, i2, input, lutpos, mSize, mValues, ipart, weight); 122 return MathUtils::lerp(v1, v2, weight);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | ColorfulnessFilter.java | 69 float weight = (float) Math.pow(2, r); 71 float value = histogramBuffer.get() * weight;
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | BakedBezierInterpolator.java | 79 float weight = difference / STEP_SIZE; 81 return VALUES[position] + weight * (VALUES[position + 1] - VALUES[position]);
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | ParameterUtils.java | 58 /** The default normalized area uses the default normalized rectangle with a weight=1 */ 61 /*weight*/1); 115 * arbitrary weight. 127 /** Arbitrary weight (the range is user-defined). */ 128 public final int weight; field in class:ParameterUtils.WeightedRectangle 131 * Create a new weighted-rectangle from a non-{@code null} rectangle; the {@code weight} 134 public WeightedRectangle(Rect rect, int weight) { argument 136 this.weight = weight; 147 int weight [all...] |
/frameworks/base/docs/html/reference/renderscript/ |
H A D | doxygen.css | 16 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/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | LinearLayoutCompat.java | 46 * grow to fill up any remaining space in the layout by setting the <em>weight</em> member of 392 * When true, all children with a weight will be considered having 396 * @return True to measure children with a weight using the minimum 404 * When set to true, all children with a weight will be considered having 410 * @param enabled True to measure children with a weight using the 520 * @return A number greater than 0.0f if the weight sum is defined, or 521 * a number lower than or equals to 0.0f if not weight sum is 537 * to 0.0f if the weight sum should be computed from the children's 631 totalWeight += lp.weight; 633 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight > 1764 public float weight; field in class:LinearLayoutCompat.LayoutParams 1805 LayoutParams(int width, int height, float weight) argument [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.h | 100 int weight; member in struct:android::camera2::Parameters::Area 102 Area(int left, int top, int right, int bottom, int weight): argument 104 weight(weight) {}
|
/frameworks/base/core/java/android/speech/srec/ |
H A D | Recognizer.java | 199 * @param weight weight to give the word. One is normal, 50 is low. 202 public void addWordToSlot(String slot, String word, String pron, int weight, String tag) { argument 203 SR_GrammarAddWordToSlot(mGrammar, slot, word, pron, weight, tag); 623 String ruleName, int weight); 662 String word, String pronunciation, int weight, String tag); 665 // const struct SR_Nametag_t* nametag, int weight, String tag); 622 SR_RecognizerActivateRule(long recognizer, long grammar, String ruleName, int weight) argument 661 SR_GrammarAddWordToSlot(long grammar, String slot, String word, String pronunciation, int weight, String tag) argument
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | Rotate3dTextActivity.java | 55 lp.weight = 1.0f;
|