/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontStyle.java | 125 private final @IntRange(from = 0, to = 1000) int mWeight; field in FontStyle 130 mWeight = FONT_WEIGHT_NORMAL; in FontStyle() 212 mWeight = weight; in FontStyle() 224 return mWeight; in getWeight() 255 return fontStyle.mWeight == mWeight && fontStyle.mSlant == mSlant; in equals() 260 return Objects.hash(mWeight, mSlant); in hashCode() 265 return "FontStyle { weight=" + mWeight + ", slant=" + mSlant + "}"; in toString()
|
D | Font.java | 68 private @IntRange(from = -1, to = 1000) int mWeight = NOT_SPECIFIED; field in Font.Builder 299 mWeight = weight; in setWeight() 363 if (mWeight == NOT_SPECIFIED || mItalic == NOT_SPECIFIED) { in build() 366 if (mWeight == NOT_SPECIFIED) { in build() 367 mWeight = FontFileUtil.unpackWeight(packed); in build() 373 mWeight = 400; in build() 377 mWeight = Math.max(FontStyle.FONT_WEIGHT_MIN, in build() 378 Math.min(FontStyle.FONT_WEIGHT_MAX, mWeight)); in build() 390 final long ptr = nBuild(builderPtr, readonlyBuffer, filePath, mWeight, italic, in build() 393 new FontStyle(mWeight, slant), mTtcIndex, mAxes, mLocaleList); in build()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | MeteringRectangle.java | 78 private final int mWeight; field in MeteringRectangle 96 mWeight = checkArgumentInRange( in MeteringRectangle() 120 mWeight = checkArgumentNonnegative(meteringWeight, "meteringWeight must be nonnegative"); in MeteringRectangle() 141 mWeight = checkArgumentNonnegative(meteringWeight, "meteringWeight must be nonnegative"); in MeteringRectangle() 186 return mWeight; in getMeteringWeight() 247 && mWeight == other.mWeight); in equals() 255 return HashCodeHelpers.hashCode(mX, mY, mWidth, mHeight, mWeight); in hashCode() 267 return String.format("(x:%d, y:%d, w:%d, h:%d, wt:%d)", mX, mY, mWidth, mHeight, mWeight); in toString()
|
/frameworks/base/core/java/android/text/ |
D | FontConfig.java | 66 private final int mWeight; field in FontConfig.Font 79 mWeight = weight; in Font() 112 return mWeight; in getWeight() 148 private final int mWeight; field in FontConfig.Alias 153 mWeight = weight; in Alias() 174 return mWeight; in getWeight()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | FontFamily_Delegate.java | 102 public int mWeight; field in FontFamily_Delegate.FontInfo 114 return mWeight == fontInfo.mWeight && mIsItalic == fontInfo.mIsItalic; in equals() 119 return Objects.hash(mWeight, mIsItalic); in hashCode() 124 return "FontInfo{" + "mWeight=" + mWeight + ", mIsItalic=" + mIsItalic + '}'; in toString() 210 desiredStyle.mWeight = desiredWeight; in getFont() 417 fontInfo.mWeight = FontUtilities.getFont2D(font).getWeight(); 419 fontInfo.mWeight = weight; 504 fontInfo.mWeight = weight; 518 int score = Math.abs(font1.mWeight / 100 - font2.mWeight / 100); 534 int desiredWeight = outFont.mWeight; [all …]
|
D | Typeface_Delegate.java | 86 private final int mWeight; field in Typeface_Delegate 97 mWeight = weight; in Typeface_Delegate() 118 delegate.mWeight)); in nativeCreateFromTypeface() 232 return delegate.mWeight; in nativeGetWeight() 332 return new FontsIterator(mFontFamilies, mFontFamilyBuilders, variant, mWeight, mStyle); in getFonts()
|
/frameworks/minikin/include/minikin/ |
D | FontStyle.h | 48 constexpr FontStyle(uint16_t weight, Slant slant) : mWeight(weight), mSlant(slant) {} in FontStyle() 50 constexpr uint16_t weight() const { return mWeight; } in weight() 62 uint16_t mWeight;
|
D | Font.h | 71 mWeight = style.weight(); in setStyle() 79 mWeight = weight; in setWeight() 95 uint16_t mWeight = static_cast<uint16_t>(FontStyle::Weight::NORMAL); variable
|
/frameworks/base/libs/hwui/tests/macrobench/ |
D | TestSceneRunner.cpp | 46 explicit ModifiedMovingAverage(int weight) : mWeight(weight) {} in ModifiedMovingAverage() 52 mAverage = (((mWeight - 1) * mAverage) + today) / mWeight; in add() 61 int mWeight; member in ModifiedMovingAverage
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | EchoSuppressor.cpp | 82 mWeight = 1.0f / (mRecordLength * mWindowSize); in EchoSuppressor() 167 float varY = mY2Sum - mWeight * mYSum * mYSum; in run() 169 float cov = mXYSums[i] - mWeight * mXSums[i] * mYSum; in run() 171 float varXi = mX2Sums[i] - mWeight * mXSums[i] * mXSums[i]; in run()
|
D | EchoSuppressor.h | 55 float mWeight; variable
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 167 private @IntRange(from = 0, to = FontStyle.FONT_WEIGHT_MAX) int mWeight = 0; field in Typeface 195 return mWeight; in getWeight() 370 private int mWeight = RESOLVE_BY_FONT_TABLE; field in Typeface.Builder 451 mWeight = weight; in setWeight() 576 if (mWeight == RESOLVE_BY_FONT_TABLE && mItalic == RESOLVE_BY_FONT_TABLE) { in resolveFallbackTypeface() 580 final int weight = (mWeight == RESOLVE_BY_FONT_TABLE) ? base.mWeight : mWeight; in resolveFallbackTypeface() 599 mWeight, mItalic, in build() 611 final int weight = mWeight == RESOLVE_BY_FONT_TABLE in build() 612 ? font.getStyle().getWeight() : mWeight; in build() 1098 mWeight = nativeGetWeight(ni);
|
/frameworks/layoutlib/bridge/src/android/graphics/fonts/ |
D | FontFamily_Builder_Delegate.java | 83 builder.addFont(font.mBuffer, font.mTtcIndex, font.mWeight, font.mItalic); in nAddFont() 117 desiredStyle.mWeight = desiredWeight; 174 fontInfo.mWeight = weight;
|
D | Font_Builder_Delegate.java | 55 protected int mWeight; field in Font_Builder_Delegate 110 font.mWeight = weight; in nBuild()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | MockFontProvider.java | 103 mWeight = weight; in Font() 121 return mWeight; in getWeight() 140 private int mWeight; field in MockFontProvider.Font
|
/frameworks/base/core/java/android/content/res/ |
D | FontResourcesParser.java | 84 private int mWeight; field in FontResourcesParser.FontFileResourceEntry 93 mWeight = weight; in FontFileResourceEntry() 104 return mWeight; in getWeight()
|
/frameworks/minikin/libs/minikin/ |
D | FontFamily.cpp | 43 return Font(std::move(mTypeface), FontStyle(mWeight, mSlant), prepareFont(mTypeface)); in build() 49 mWeight = styleFromFont.weight(); in build() 54 return Font(std::move(mTypeface), FontStyle(mWeight, mSlant), std::move(font)); in build()
|
/frameworks/base/native/android/ |
D | system_fonts.cpp | 61 uint16_t mWeight; member 129 out->mWeight = weightStr ? in copyFont() 261 result->mWeight = font->style().weight(); in AFontMatcher_match() 344 return font->mWeight; in AFont_getWeight()
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 182 private final int mWeight; field in FontsContract.FontInfo 202 mWeight = weight; in FontInfo() 232 return mWeight; in getWeight()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 16614 Landroid/content/res/FontResourcesParser$FontFileResourceEntry;->mWeight:I 21350 Landroid/graphics/Typeface$Builder;->mWeight:I 21367 Landroid/graphics/Typeface;->mWeight:I 22213 Landroid/hardware/camera2/params/MeteringRectangle;->mWeight:I 55898 Landroid/provider/FontsContract$FontInfo;->mWeight:I 70042 Landroid/text/FontConfig$Alias;->mWeight:I 70062 Landroid/text/FontConfig$Font;->mWeight:I
|